Function at 0x440a40
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440cca
push eax
mov dword fs:[0], esp
xor eax, eax
sub esp, 0x18
mov dword [0x50ae44], eax
mov cl, byte [ebp - 0xd]
mov dword [0x50ae48], eax
push ebx
mov byte [0x50ae4c], cl
push esi
inc dword [0x4fe644]
push edi
cmp dword [0x4fe640], eax
jne 0x440b99
mov ecx, dword [0x4fe650]
cmp ecx, eax
je 0x440a9d
mov edx, dword [ecx + 0xc]
mov dword [0x4fe650], edx
jmp 0x440b73
mov eax, dword [0x4fe64c]
cmp dword [0x4fe648], eax
jne 0x440b66
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 0x440af1
mov esi, 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 esi
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 esi, eax
test esi, esi
jne 0x440b37
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
mov dword [edi + 4], esi
mov eax, dword [0x4fe654]
mov dword [edi], eax
mov dword [0x4fe654], edi
mov esi, dword [edi + 4]
mov ecx, esi
mov dword [0x4fe64c], esi
add dword [0x4fe64c], 0x14
lea eax, [esi + 0xff0]
mov dword [0x4fe648], eax
jmp 0x440b73
mov ecx, dword [0x4fe64c]
add dword [0x4fe64c], 0x14
mov dword [0x4fe640], ecx
mov dword [ecx], 1
xor ecx, ecx
mov eax, dword [0x4fe640]
mov dword [eax + 4], ecx
mov eax, dword [0x4fe640]
mov dword [eax + 8], ecx
mov eax, dword [0x4fe640]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x4fe650]
test ecx, ecx
je 0x440bb1
mov edx, dword [ecx + 0xc]
mov dword [0x4fe650], edx
jmp 0x440c87
mov eax, dword [0x4fe64c]
cmp dword [0x4fe648], eax
jne 0x440c7a
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 0x440c05
mov esi, 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 esi
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 0x440c4b
mov esi, 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 esi
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov dword [edi + 4], ebx
mov eax, dword [0x4fe654]
mov dword [edi], eax
mov dword [0x4fe654], edi
mov ebx, dword [edi + 4]
mov ecx, ebx
mov dword [0x4fe64c], ebx
add dword [0x4fe64c], 0x14
lea eax, [ebx + 0xff0]
mov dword [0x4fe648], eax
jmp 0x440c87
mov ecx, dword [0x4fe64c]
add dword [0x4fe64c], 0x14
mov dword [0x50ae40], ecx
mov dword [ecx], 0
mov ecx, dword [0x50ae40]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4fe640]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [0x50ae40]
pop edi
pop esi
pop ebx
mov dword [edx + 8], edx
mov edx, dword [0x50ae40]
mov dword [edx + 0xc], edx
mov esp, ebp
pop ebp
ret