Guest User

Untitled

a guest
Oct 16th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. format PE GUI 4.0
  2. entry plop
  3.  
  4. include "WIN32AX.inc"
  5.  
  6. ;section code
  7. section '.text' code readable executable
  8.  
  9. ;affiche un simple msgbox
  10. start:
  11.    push 0
  12.    push szCaption
  13.    push szOriginalMessage
  14.    push 0
  15.    call [MessageBox]
  16.    ret
  17.  
  18. plop:
  19.    ret
  20.  
  21. ;section data
  22. section '.data' data readable writeable
  23.  
  24. szCaption db "Hello !",0
  25. szOriginalMessage db "Hello World",0
  26.  
  27.  
  28. ;imports
  29. section '.idata' import data readable writeable
  30.  
  31. library user32, "user32.dll"
  32.  
  33. import user32, MessageBox,'MessageBoxA'
Add Comment
Please, Sign In to add comment