8AB8=3  4 0 . 1 .   AE>4=K9  :>4  45<>=AB@0F8>==>9  ?@>3@0<<K  v a _ t h r e a d . c ,   
 
                             :><?8;8@C5<>9  A  =0AB@>9:0<8  ?>  C<>;G0=8N
 
 
 
 # i n c l u d e   < s t d i o . h > 
 
 # i n c l u d e   < w i n d o w s . h > 
 
 
 
 / /   :>4  ?>B>:0,   :>B>@K9  =8G53>  =5  45;05B,   0  B>;L:>  <>B05B  F8:;
 
 t h r e a d ( ) { w h i l e ( 1 ) ; } 
 
 
 
 m a i n ( ) 
 
 { 
 
               v o i d   * p ;               / /   ?5@5<5==0O  <=>3>F5;52>3>  =07=0G5=8O
 
               
 
               / /   A>7405<  " G5AB=K9"   ?>B>:
 
               C r e a t e T h r e a d ( 0 , 0 , ( v o i d * ) & t h r e a d , 0 x 9 9 9 , 0 , & p ) ; 	 
 
               
 
               / /   A>7405<  " =5G5AB=K9"   ?>B>:  B0:,   :0:  MB>  45;05B  m a l w a r e : 
 
               / /   2K45;O5<  1;>:  ?0<OB8  87  :CG8,   :>?8@C5<  BC40  :>4  ?>B>:0
 
               / /   8  2K7K205<  C r e a t e T h r e a d 
 
               p   =   V i r t u a l A l l o c ( 0 ,   0 x 1 0 0 0 ,   M E M _ C O M M I T ,   P A G E _ E X E C U T E _ R E A D W R I T E ) ; 
 
               m e m c p y ( p , t h r e a d , 0 x 1 0 0 0 ) ; C r e a t e T h r e a d ( 0 , 0 , p , 0 x 6 6 6 , 0 , & p ) ; 
 
               
 
               / /   645<  =060B8O  =0  E N T E R 
 
               g e t s ( & p ) ; 
 
 } 
 
 