Function at 0x4078a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a38d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov eax, dword [esp + 0xd0]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x74]
call fcn.0040f9a0
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], ebx
mov word [esp + 0x5e], bx
mov word [esp + 0x60], bx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], 0x3f800000
mov word [esp + 0x8e], bx
mov dword [esp + 0xb0], ebx
mov byte [esp + 0x8c], 1
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
push 0x4b206c
mov byte [esp + 0xdc], 1
mov dword [esp + 0x18], ebx
mov byte [esp + 0x17], bl
call fcn.00443600
mov eax, dword [esp + 0x7c]
add esp, 4
cmp eax, ebx
je 0x407975
mov dword [esp + 0x84], eax
jmp 0x40797d
mov byte [esp + 0x81], 1
mov byte [esp + 0x88], bl
mov ecx, dword [esp + 0x70]
cmp dword [ecx], ebx
je 0x407bc1
cmp eax, dword [esp + 0x84]
jne 0x4079a6
cmp byte [esp + 0x88], bl
jne 0x407bc1
lea edx, [eax + 0x2c]
mov dword [esp + 0x18], edx
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
mov eax, dword [edx]
cmp eax, ebx
je 0x4079bd
mov eax, dword [eax]
jmp 0x4079bf
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x4079cb
mov ecx, dword [eax]
jmp 0x4079cd
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
je 0x4079e7
mov dword [esp + 0x2c], eax
jmp 0x4079ec
mov byte [esp + 0x29], 1
mov byte [esp + 0x30], bl
cmp dword [edx], ebx
je 0x407baf
cmp eax, dword [esp + 0x2c]
jne 0x407a08
cmp byte [esp + 0x30], bl
jne 0x407baf
mov esi, eax
mov dword [esp + 0x54], esi
lea ecx, [esi + 0x20]
mov dword [esp + 0x34], ecx
mov edx, dword [ecx]
mov dword [esp + 0x38], edx
mov eax, dword [ecx]
cmp eax, ebx
je 0x407a25
mov eax, dword [eax]
jmp 0x407a27
xor eax, eax
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x3c], ebp
je 0x407a36
mov eax, dword [ebp]
jmp 0x407a38
xor eax, eax
cmp ebp, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
je 0x407a52
mov dword [esp + 0x48], ebp
jmp 0x407a57
mov byte [esp + 0x45], 1
mov byte [esp + 0x4c], bl
cmp dword [ecx], ebx
je 0x407b99
cmp ebp, dword [esp + 0x48]
jne 0x407a73
cmp byte [esp + 0x4c], bl
jne 0x407b99
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jne 0x407b83
lea ecx, [ebp + 0x10]
call fcn.0043ff80
cmp eax, 1
jne 0x407b83
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x8c]
mov edx, eax
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x60], eax
call fcn.0040fff0
mov esi, eax
add esp, 0x10
mov al, byte [esi + 6]
shr al, 6
test al, 1
jne 0x407ad7
push ebx
push 2
push 0x4b1624
push 0x4c94bc
call fcn.00441210
add esp, 0x10
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x407ae2
mov eax, dword [eax]
jmp 0x407ae4
xor eax, eax
mov ecx, dword [ebp + 0xc]
push ebx
push 1
mov dl, byte [ecx]
lea ecx, [esp + 0x1a]
mov byte [esp + 0x1a], dl
push ecx
lea edx, [esp + 0x98]
push 1
push edx
push eax
call fcn.00422ad0
add esp, 0x18
lea ecx, [esp + 0x58]
push esi
call fcn.0043f080
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x58]
push eax
call fcn.0043e990
mov cl, byte [esp + 0x5e]
shr cl, 6
test cl, 1
jne 0x407b44
push ebx
push 2
push 0x4b1624
push 0x4c94bc
call fcn.00441210
add esp, 0x10
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x407b50
mov eax, dword [eax]
jmp 0x407b52
xor eax, eax
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xbc], eax
cmp esi, ebx
mov al, byte [edx]
mov byte [esp + 0x12], al
je 0x407b76
mov ecx, esi
call fcn.00402140
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x54]
inc eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x34]
call fcn.004403e0
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x407a5b
lea ecx, [esp + 0x18]
call fcn.004403e0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
jmp 0x4079f0
lea ecx, [esp + 0x70]
call fcn.004403e0
mov eax, dword [esp + 0x78]
jmp 0x407984
movsx ecx, word [esp + 0x14]
push ecx
push 0x4b2044
call fcn.00443600
add esp, 8
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd8], bl
call fcn.00407c20
lea ecx, [esp + 0x58]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00402140
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret