- - x 8 6   a n d   x 6 4   c o m p a t i b l e 
 
 - - t h i s   s c r i p t   w a s   i n t e n d e d   t o   b e   p r i v a t e ,   w h e r e   t h e   f u c k   d i d   y o u   g e t   i t ? 
 
 - - w e l l ,   I   g u e s s   y o u ' r e   o n e   o f   t h e   g u y s   w h o m   I   t r u s t ,   d o n ' t   f a i l   m e 
 
 
 
 u n h o o k a r r a y = { } ; 
 
 
 
 o e p b r e a k s = 1 ; 
 
 l e t h a l b r e a k s = 5 ; 
 
 
 
 f u n c t i o n   U n h o o k A r r a y L i s t ( ) 
 
 	 C l e a r U n h o o k L i s t ( ) ; 
 
 	 l o c a l   z = 1 ; 
 
 	 w h i l e   t r u e   d o 
 
 	 	 i f   u n h o o k a r r a y [ z ] = = n i l   t h e n 
 
 	 	 	 b r e a k ; 
 
 	 	 e n d ; 
 
 	 	 A d d M o d u l e T o U n h o o k L i s t ( u n h o o k a r r a y [ z ] ) ; 
 
 	 	 z = z + 1 ; 
 
 	 e n d ; 
 
 e n d ; 
 
 
 
 f u n c t i o n   S t a r t P r o c e s s I n t e r n a l ( ) 
 
 	 U n h o o k A r r a y L i s t ( ) ; 
 
 	 S t a r t ( f a l s e ) ; 
 
 	 l o c a l   b r e a k s a t o e p = 0 ; 
 
 	 u n h o o k _ i n a c t i o n = t r u e ; 
 
 	 A d d B r e a k ( j m p _ t o _ o e p + v i c t i m _ b a s e , 3 , 0 ) ;   E n a b l e B r e a k ( j m p _ t o _ o e p + v i c t i m _ b a s e ) ; 
 
 	 w h i l e   t r u e   d o 
 
 	 	 C o n t i n u e ( t r u e ) ; 
 
 	 	 i f   b r e a k _ w h e r e = = 0 x f 4 0   t h e n 
 
 	 	 	 b r e a k s a t o e p = b r e a k s a t o e p + 1 ; 
 
 	 	 	 i f   b r e a k s a t o e p = = o e p b r e a k s   t h e n 
 
 	 	 	 	 b r e a k ; 
 
 	 	 	 e l s e 
 
 	 	 	 	 T r a c e A n d R e p l a c e ( E I P ) ; 
 
 	 	 	 e n d ; 
 
 	 	 e l s e i f   b r e a k _ w h e r e = = 0 x f 0 0   t h e n 
 
 	 	 	 b r e a k ; 
 
 	 	 e n d ; 
 
 	 e n d ; 
 
 	 u n h o o k _ i n a c t i o n = f a l s e ; 
 
 e n d ; 
 
 
 
 f u n c t i o n   S t a r t P r o c e s s ( ) 
 
 	 l o c a l   o e p c o u n t e r = 0 ; 
 
 	 w h i l e   t r u e   d o 
 
 	 	 S t a r t P r o c e s s I n t e r n a l ( ) ; 
 
 	 	 i f   b r e a k _ w h e r e = = 0 x f 0 0   t h e n 
 
 	 	 	 o e p c o u n t e r = o e p c o u n t e r + 1 ; 
 
 	 	 	 W r i t e E x ( s t r i n g . f o r m a t ( " D i e d   w h i l e   s t a r t i n g   p r o c e s s   % u   o f   % u " , o e p c o u n t e r , l e t h a l b r e a k s ) , t r u e , t r u e , 0 x 0 0 0 0 f f ) ; 
 
 	 	 	 i f   o e p c o u n t e r = = l e t h a l b r e a k s   t h e n 
 
 	 	 	 	 W r i t e E x ( " L e t h a l l y   d i e d   w h i l e   s t a r t i n g   p r o c e s s " , t r u e , t r u e , 0 x 0 0 0 0 f f ) ; 
 
 	 	 	 	 r e t u r n   - 1 ; 
 
 	 	 	 e n d ; 
 
 	 	 e l s e 
 
 	 	 	 b r e a k ; 
 
 	 	 e n d ; 
 
 	 e n d ; 
 
 	 S u s p e n d A l l O t h e r ( ) ; 
 
 - - 	 W r i t e M e m ( 0 x 7 c 9 7 c 0 d c , 0 x f f f f f f f f , 4 ) ; 
 
 	 r e t u r n   0 ; 
 
 e n d ; 
 
 
 
 i f   S t a r t P r o c e s s ( ) = = - 1   t h e n 
 
 	 r e t u r n   - 1 ; 
 
 e n d ; 
 
 D e l e t e B r e a k ( O E P ) ; 
 
 t e m p = N e x t I n s t r ( N e x t I n s t r ( E I P ) ) ; 
 
 A d d B r e a k ( t e m p , 1 , 0 ) ;   E n a b l e B r e a k ( t e m p ) ; 
 
 o l d b y t e s = R e a d M e m ( E I P , 2 ) ; 
 
 o l d e i p = E I P ; 
 
 
 
 t e m p = 0 x F E E B ; 
 
 W r i t e M e m ( E I P , t e m p , 2 ) ; 
 
 W r i t e L o g ( " E e e ,   a t t a c h   t o   m e ,   b a b y ! " ) ; 
 
 
 
 C o n t i n u e ( t r u e ) ; 
 
 P a u s e ( " D e t a c h   i n   d e b u g g e r   a n d   p r e s s   O K " ) ; 
 
 
 
 W r i t e M e m ( o l d e i p , o l d b y t e s , 2 ) ; 
 
 E I P = o l d e i p ; 
 
 
 
 D u m p ( ) ; 
 
 i m p o r t _ m e t h = 1 ; 
 
 i f   c u t _ s e c t i o n s = = t r u e   t h e n 
 
 	 P r o c e s s R e s o u r c e s ( ) ; 
 
 	 C u t S e c t i o n s ( ) ; 
 
 	 P r o c e s s E x p o r t ( ) ; 
 
 	 P r o c e s s T L S ( ) ; 
 
 e n d ; 
 
 P r o c e s s D e l p h i I n i t ( ) ; 
 
 R e s t o r e I m p o r t R e l o c s ( ) ; 
 
 i f   c u t _ s e c t i o n s = = t r u e   t h e n 
 
 	 S a v e R e s o u r c e s ( ) ; 
 
 e n d ; 
 
 P r o c e s s O v e r l a y ( ) ; 
 
 S a v e F i l e ( ) ; 
 
 T e r m i n a t e ( ) ; 