Function at 0x488000
Capabilities:
Terminate process

Disassembly:
sub esp, 8
inc dword [0x4fe19c]
cmp dword [0x4fe198], 0
push ebx
push esi
push edi
mov esi, ecx
push ebp
jne 0x488130
mov ecx, dword [0x4fe1a8]
test ecx, ecx
je 0x488034
mov edx, dword [ecx + 0xc]
mov dword [0x4fe1a8], edx
jmp 0x48810a
mov eax, dword [0x4fe1a4]
cmp dword [0x4fe1a0], eax
jne 0x4880fd
push 0
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
add esp, 4
push 8
call sub.MFC40.DLL_operator_new
add esp, 4
mov ebx, eax
test ebx, ebx
jne 0x488088
mov edi, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call edi
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
push 0
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
add esp, 4
push 0xff0
call sub.MFC40.DLL_operator_new
add esp, 4
mov ebp, eax
test ebp, ebp
jne 0x4880ce
mov edi, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call edi
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov dword [ebx + 4], ebp
mov eax, dword [0x4fe1ac]
mov dword [ebx], eax
mov dword [0x4fe1ac], ebx
mov ebp, dword [ebx + 4]
mov ecx, ebp
mov dword [0x4fe1a4], ebp
add dword [0x4fe1a4], 0x14
lea eax, [ebp + 0xff0]
mov dword [0x4fe1a0], eax
jmp 0x48810a
mov ecx, dword [0x4fe1a4]
add dword [0x4fe1a4], 0x14
mov dword [0x4fe198], ecx
mov dword [ecx], 1
xor ecx, ecx
mov eax, dword [0x4fe198]
mov dword [eax + 4], ecx
mov eax, dword [0x4fe198]
mov dword [eax + 8], ecx
mov eax, dword [0x4fe198]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x4fe1a8]
test ecx, ecx
je 0x488148
mov edx, dword [ecx + 0xc]
mov dword [0x4fe1a8], edx
jmp 0x48821e
mov eax, dword [0x4fe1a4]
cmp dword [0x4fe1a0], eax
jne 0x488211
push 0
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
add esp, 4
push 8
call sub.MFC40.DLL_operator_new
add esp, 4
mov ebx, eax
test ebx, ebx
jne 0x48819c
mov edi, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call edi
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
push 0
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
add esp, 4
push 0xff0
call sub.MFC40.DLL_operator_new
add esp, 4
mov edi, eax
test edi, edi
jne 0x4881e2
mov ebp, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call ebp
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov dword [ebx + 4], edi
mov eax, dword [0x4fe1ac]
mov dword [ebx], eax
mov dword [0x4fe1ac], ebx
mov edi, dword [ebx + 4]
mov ecx, edi
mov dword [0x4fe1a4], edi
add dword [0x4fe1a4], 0x14
lea eax, [edi + 0xff0]
mov dword [0x4fe1a0], eax
jmp 0x48821e
mov ecx, dword [0x4fe1a4]
add dword [0x4fe1a4], 0x14
mov dword [esi], ecx
mov dword [ecx], 0
mov ecx, dword [esi]
mov eax, dword [0x4fe198]
pop ebp
pop edi
mov dword [ecx + 4], eax
mov eax, dword [esi]
mov dword [eax + 8], eax
mov eax, dword [esi]
pop esi
pop ebx
mov dword [eax + 0xc], eax
add esp, 8
ret