1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
| ; Attributes: bp-based frame
; int __cdecl main(int argc, const char **argv, const char **envp) public main main proc near
buf= byte ptr -410h var_4= dword ptr -4
; __unwind { push rbp mov rbp, rsp sub rsp, 410h mov rax, cs:stdin@@GLIBC_2_2_5 mov esi, 0 ; buf mov rdi, rax ; stream call _setbuf mov rax, cs:stdout@@GLIBC_2_2_5 mov esi, 0 ; buf mov rdi, rax ; stream call _setbuf mov rax, cs:stderr@@GLIBC_2_2_5 mov esi, 0 ; buf mov rdi, rax ; stream call _setbuf lea rdi, s ; "Show me your magic!" call _puts lea rax, [rbp+buf] mov edx, 400h ; nbytes mov rsi, rax ; buf mov edi, 0 ; fd mov eax, 0 call _read mov [rbp+var_4], eax cmp [rbp+var_4], 0 jg short loc_11D6
|