Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main:
- 0804845d push ebp ; XREF=_start+23
- 0804845e mov ebp, esp
- 08048460 and esp, 0xfffffff0
- 08048463 sub esp, 0x20
- 08048466 cmp dword [ss:ebp+arg_0], 0x0
- 0804846a je 0x8048484
- 0804846c mov dword [ss:esp], 0x8048540 ; 0x8048540 (_IO_stdin_used + 0x4), argument "s" for method puts@PLT
- 08048473 call puts@PLT
- 08048478 mov dword [ss:esp], 0x1 ; argument "status" for method exit@PLT
- 0804847f call exit@PLT
- 08048484 mov eax, dword [ss:ebp+arg_4] ; XREF=main+13
- 08048487 add eax, 0x28
- 0804848a mov eax, dword [ds:eax]
- 0804848c mov dword [ss:esp+0x4], eax ; argument "src" for method strcpy@PLT
- 08048490 lea eax, dword [ss:esp+0x14]
- 08048494 mov dword [ss:esp], eax ; argument "dst" for method strcpy@PLT
- 08048497 call strcpy@PLT
- 0804849c mov eax, 0x0
- 080484a1 leave
- 080484a2 ret
- ; endp
- 080484a3 nop
- 080484a5 nop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement