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
| .text:0000000000400761 push rbp .text:0000000000400762 mov rbp, rsp .text:0000000000400765 add rsp, 0FFFFFFFFFFFFFF80h .text:0000000000400769 mov rax, fs:28h .text:0000000000400772 mov [rbp+var_8], rax .text:0000000000400776 xor eax, eax .text:0000000000400778 cmp eax, 0 .text:000000000040077B jz _exit .text:0000000000400781 mov [rbp+var_70], offset off_606018 .text:0000000000400789 mov [rbp+var_68], offset off_606020 .text:0000000000400791 mov [rbp+var_60], offset off_606028 .text:0000000000400799 mov [rbp+var_58], offset off_606038 .text:00000000004007A1 mov eax, 0 .text:00000000004007A6 call sub_4006F6 .text:00000000004007AB mov [rbp+n], eax .text:00000000004007AE mov eax, 0 .text:00000000004007B3 call sub_40070C .text:00000000004007B8 mov eax, 0 .text:00000000004007BD call sub_40072A .text:00000000004007C2 mov rdx, cs:stdin ; stream .text:00000000004007C9 mov ecx, [rbp+n] .text:00000000004007CC lea rax, [rbp+s] .text:00000000004007D0 mov esi, ecx ; n .text:00000000004007D2 mov rdi, rax ; s .text:00000000004007D5 call _fgets .text:00000000004007DA movzx edx, [rbp+s] .text:00000000004007DE movzx eax, [rbp+var_4F] .text:00000000004007E2 xor eax, edx .text:00000000004007E4 mov [rbp+var_30], al .text:00000000004007E7 movzx eax, [rbp+var_30] .text:00000000004007EB cmp al, 0Fh .text:00000000004007ED jg short loc_400803 .text:00000000004007EF mov edi, offset aMelong ; "melong" .text:00000000004007F4 call _puts .text:00000000004007F9 mov edi, 1 ; status .text:00000000004007FE call _exit
|