Advertisement
MichaelPetch

SO 76981119

Aug 27th, 2023
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. format pe64 efi
  2. entry main
  3.  
  4. section '.text' code executable readable
  5.  
  6. main:
  7. mov rcx, [rdx + 64]
  8. mov rax, [rcx + 8]
  9. lea rdx, [string]
  10. sub rsp, 32
  11. call rax
  12. add rsp,32
  13. jmp $
  14.  
  15. section '.data' data readable writable
  16.  
  17. string du 'Hello, World!', 0xD, 0xA, 0
  18.  
  19. section '.reloc' fixups data discardable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement