Function at 0x484070
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484329
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov esi, ecx
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00440f40
xor eax, eax
mov cl, byte [ebp - 0xd]
mov dword [ebp - 4], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov byte [esi + 0x50], cl
inc dword [0x4fe19c]
cmp dword [0x4fe198], eax
jne 0x4841dc
mov ecx, dword [0x4fe1a8]
cmp ecx, eax
je 0x4840dd
mov edx, dword [ecx + 0xc]
mov dword [0x4fe1a8], edx
jmp 0x4841b6
mov eax, dword [0x4fe1a4]
cmp dword [0x4fe1a0], eax
jne 0x4841a9
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 edi, eax
test edi, edi
jne 0x484131
mov ebx, 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 ebx
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 ebx, eax
test ebx, ebx
jne 0x48417a
mov eax, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call dword [ebp - 0x10]
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov dword [edi + 4], ebx
mov eax, dword [0x4fe1ac]
mov dword [edi], eax
mov dword [0x4fe1ac], edi
mov ebx, dword [edi + 4]
mov ecx, ebx
mov dword [0x4fe1a4], ebx
add dword [0x4fe1a4], 0x14
lea eax, [ebx + 0xff0]
mov dword [0x4fe1a0], eax
jmp 0x4841b6
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 0x4841f4
mov edx, dword [ecx + 0xc]
mov dword [0x4fe1a8], edx
jmp 0x4842cd
mov eax, dword [0x4fe1a4]
cmp dword [0x4fe1a0], eax
jne 0x4842c0
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 edi, eax
test edi, edi
jne 0x484248
mov ebx, 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 ebx
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 ebx, eax
test ebx, ebx
jne 0x484291
mov eax, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call dword [ebp - 0x10]
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov dword [edi + 4], ebx
mov eax, dword [0x4fe1ac]
mov dword [edi], eax
mov dword [0x4fe1ac], edi
mov ebx, dword [edi + 4]
mov ecx, ebx
mov dword [0x4fe1a4], ebx
add dword [0x4fe1a4], 0x14
lea eax, [ebx + 0xff0]
mov dword [0x4fe1a0], eax
jmp 0x4842cd
mov ecx, dword [0x4fe1a4]
add dword [0x4fe1a4], 0x14
mov dword [esi + 0x44], ecx
mov dword [ecx], 0
mov ecx, dword [esi + 0x44]
mov byte [ebp - 4], 2
mov eax, dword [0x4fe198]
mov dword [ebp - 4], 0xffffffff
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x44]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov dword [eax + 8], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 0xc], eax
mov eax, esi
mov dword [esi], vtable.CPlabelBase.0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8