Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1.  
  2.  
  3. main:
  4. 0804845d push ebp ; XREF=_start+23
  5. 0804845e mov ebp, esp
  6. 08048460 and esp, 0xfffffff0
  7. 08048463 sub esp, 0x20
  8. 08048466 cmp dword [ss:ebp+arg_0], 0x0
  9. 0804846a je 0x8048484
  10.  
  11. 0804846c mov dword [ss:esp], 0x8048540 ; 0x8048540 (_IO_stdin_used + 0x4), argument "s" for method puts@PLT
  12. 08048473 call puts@PLT
  13. 08048478 mov dword [ss:esp], 0x1 ; argument "status" for method exit@PLT
  14. 0804847f call exit@PLT
  15.  
  16. 08048484 mov eax, dword [ss:ebp+arg_4] ; XREF=main+13
  17. 08048487 add eax, 0x28
  18. 0804848a mov eax, dword [ds:eax]
  19. 0804848c mov dword [ss:esp+0x4], eax ; argument "src" for method strcpy@PLT
  20. 08048490 lea eax, dword [ss:esp+0x14]
  21. 08048494 mov dword [ss:esp], eax ; argument "dst" for method strcpy@PLT
  22. 08048497 call strcpy@PLT
  23. 0804849c mov eax, 0x0
  24. 080484a1 leave
  25. 080484a2 ret
  26. ; endp
  27. 080484a3 nop
  28. 080484a5 nop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement