Advertisement
Guest User

Untitled

a guest
Aug 6th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             ; global      _mainCRTStartup        
  2.                     extern      _ExitProcess@4        
  3.                     extern      _GetStdHandle@4        
  4.                     extern      _WriteFile@20                        
  5.                     section     .data                          
  6. hello_world         db          'Hello World', 10, 0          
  7. bytes_written       dd           0                              
  8.                     section      .code                                                              
  9. _mainCRTStartup:  
  10.                     push        -11                            
  11.                     call        _GetStdHandle@4        
  12.  
  13.                     push        0                              
  14.                     push        dword bytes_written            
  15.                     push        13                            
  16.                     push        dword hello_world      
  17.                     push        eax                            
  18.                     call        _WriteFile@20          
  19.                     push        0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement