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 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
push ebp
mov ebp, esp
push 0FFFFFFFFh
push offset sub_402298
mov eax, large fs:0
push eax
sub esp, 20h
mov eax, ___security_cookie
xor eax, ebp
mov [ebp+var_10], eax
push esi
push edi
push eax
lea eax, [ebp+var_C]
mov large fs:0, eax
mov edi, 23h
lea esi, [ebp+var_2C]
mov [ebp+var_18], 0Fh
mov [ebp+var_1C], 0
mov byte ptr [ebp+var_2C], 0
call sub_401300
mov [ebp+var_4], 0
call loc_401040
mov ecx, ds:?cout@std@@3V?$basic_ostream@DU?$char_traits@D@std@@@1@A ; std::basic_ostream<char,std::char_traits<char>> std::cout
mov eax, esi
push eax
push ecx
call sub_401690
add esp, 8
cmp [ebp+var_18], 10h
jb short loc_4011BA
mov edx, [ebp+var_2C]
push edx
call ds:__imp_??3@YAXPAX@Z ; operator delete(void *)
add esp, 4
loc_4011BA:
xor eax, eax
mov ecx, [ebp+var_C]
mov large fs:0, ecx
pop ecx
pop edi
pop esi
mov ecx, [ebp+var_10]
xor ecx, ebp
call @__security_check_cookie@4 ; __security_check_cookie(x)
mov esp, ebp
pop ebp
retn
endp
|