Function at 0x445630
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push ebx
push esi
inc dword [ecx + 4]
push edi
push ebp
mov esi, ecx
mov ecx, dword [0x4fe650]
test ecx, ecx
je 0x445654
mov edx, dword [ecx + 0xc]
mov dword [0x4fe650], edx
jmp 0x445728
mov eax, dword [0x4fe64c]
cmp dword [0x4fe648], eax
jne 0x44571b
push 0
mov ebp, dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
call ebp
add esp, 4
push 8
call sub.MFC40.DLL_operator_new
add esp, 4
mov ebx, eax
test ebx, ebx
jne 0x4456aa
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 ebp
add esp, 4
push 0xff0
call sub.MFC40.DLL_operator_new
add esp, 4
mov ebp, eax
test ebp, ebp
jne 0x4456ec
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 [0x4fe654]
mov dword [ebx], eax
mov dword [0x4fe654], ebx
mov ebp, dword [ebx + 4]
mov ecx, ebp
mov dword [0x4fe64c], ebp
add dword [0x4fe64c], 0x14
lea eax, [ebp + 0xff0]
mov dword [0x4fe648], eax
jmp 0x445728
mov ecx, dword [0x4fe64c]
add dword [0x4fe64c], 0x14
lea eax, [ecx + 0x10]
mov edi, dword [esp + 0x28]
test eax, eax
je 0x445737
mov edx, dword [edi]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
cmp dword [esi], edx
je 0x445762
mov eax, dword [esp + 0x20]
cmp eax, dword [0x4fe640]
jne 0x445762
mov eax, dword [edi]
cmp dword [edx + 0x10], eax
ja 0x445762
mov dword [edx + 0xc], ecx
mov eax, dword [esi]
add eax, 0xc
cmp dword [eax], edx
jne 0x44577d
mov dword [eax], ecx
jmp 0x44577d
mov dword [edx + 8], ecx
mov eax, dword [esi]
cmp edx, eax
je 0x445775
cmp dword [eax + 8], edx
jne 0x44577d
mov dword [eax + 8], ecx
jmp 0x44577d
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov dword [eax + 0xc], ecx
mov dword [ecx + 4], edx
mov edx, ecx
mov eax, dword [0x4fe640]
mov dword [ecx + 8], eax
mov eax, dword [0x4fe640]
mov dword [ecx + 0xc], eax
mov dword [ecx], 0
mov ebx, dword [esi]
cmp dword [ebx + 4], ecx
je 0x44596a
lea edi, [edx + 4]
mov eax, dword [edi]
cmp dword [eax], 0
jne 0x44596a
lea ebx, [eax + 4]
mov ebp, dword [ebx]
mov ebp, dword [ebp + 8]
cmp ebp, eax
jne 0x445883
mov ebp, dword [ebx]
mov ebp, dword [ebp + 0xc]
cmp dword [ebp], 0
je 0x445942
lea ebp, [eax + 0xc]
mov edi, dword [ebp]
cmp edx, edi
jne 0x445813
mov edx, eax
mov eax, dword [edi + 8]
mov dword [ebp], eax
mov eax, dword [edi + 8]
cmp dword [0x4fe640], eax
je 0x4457f0
mov dword [eax + 4], edx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov eax, dword [esi]
add eax, 4
cmp dword [eax], edx
je 0x44580c
mov ebp, dword [ebx]
lea eax, [ebp + 8]
cmp dword [eax], edx
je 0x44580c
mov dword [ebp + 0xc], edi
jmp 0x44580e
mov dword [eax], edi
mov dword [edi + 8], edx
mov dword [ebx], edi
mov eax, dword [edx + 4]
mov dword [eax], 1
mov eax, dword [edx + 4]
mov ebx, dword [eax + 4]
mov dword [ebx], 0
mov eax, dword [edx + 4]
mov edi, dword [eax + 4]
mov ebx, dword [edi + 8]
mov eax, dword [ebx + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
cmp dword [0x4fe640], eax
je 0x445845
mov dword [eax + 4], edi
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi]
add eax, 4
cmp dword [eax], edi
je 0x445879
mov ebp, dword [edi + 4]
lea eax, [ebp + 0xc]
cmp dword [eax], edi
je 0x44586c
mov dword [ebp + 8], ebx
mov dword [ebx + 0xc], edi
mov dword [edi + 4], ebx
jmp 0x44595f
mov dword [eax], ebx
mov dword [ebx + 0xc], edi
mov dword [edi + 4], ebx
jmp 0x44595f
mov dword [eax], ebx
mov dword [ebx + 0xc], edi
jmp 0x44593d
cmp dword [ebp], 0
je 0x445942
lea ebp, [eax + 8]
mov edi, dword [ebp]
cmp edx, edi
jne 0x4458d6
mov edx, eax
mov eax, dword [edi + 0xc]
mov dword [ebp], eax
mov eax, dword [edi + 0xc]
cmp dword [0x4fe640], eax
je 0x4458ad
mov dword [eax + 4], edx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov eax, dword [esi]
add eax, 4
cmp dword [eax], edx
je 0x4458cf
mov eax, dword [ebx]
lea ebp, [eax + 0xc]
cmp dword [ebp], edx
je 0x4458ca
mov dword [eax + 8], edi
jmp 0x4458d1
mov dword [ebp], edi
jmp 0x4458d1
mov dword [eax], edi
mov dword [edi + 0xc], edx
mov dword [ebx], edi
mov eax, dword [edx + 4]
mov dword [eax], 1
mov eax, dword [edx + 4]
mov ebx, dword [eax + 4]
mov dword [ebx], 0
mov eax, dword [edx + 4]
mov edi, dword [eax + 4]
mov ebx, dword [edi + 0xc]
mov eax, dword [ebx + 8]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 8]
cmp dword [0x4fe640], eax
je 0x445908
mov dword [eax + 4], edi
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi]
add eax, 4
cmp dword [eax], edi
je 0x445938
mov eax, dword [edi + 4]
lea ebp, [eax + 8]
cmp dword [ebp], edi
je 0x44592d
mov dword [eax + 0xc], ebx
mov dword [ebx + 8], edi
mov dword [edi + 4], ebx
jmp 0x44595f
mov dword [ebp], ebx
mov dword [ebx + 8], edi
mov dword [edi + 4], ebx
jmp 0x44595f
mov dword [eax], ebx
mov dword [ebx + 8], edi
mov dword [edi + 4], ebx
jmp 0x44595f
mov dword [eax], 1
mov dword [ebp], 1
mov edx, dword [edi]
mov ebx, dword [edx + 4]
mov dword [ebx], 0
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [esi]
cmp dword [eax + 4], edx
jne 0x4457a3
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
mov dword [edx], 1
pop ebx
mov dword [eax], ecx
add esp, 8
ret 0x10