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

Disassembly:
push 0xffffffffffffffff
push 0x445991
mov eax, dword fs:[0]
push eax
mov eax, 0x1060
call fcn.0043f2c0
mov eax, dword [0x4541b0]
xor eax, esp
mov dword [esp + 0x1058], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4541b0]
xor eax, esp
push eax
lea eax, [esp + 0x1074]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1084]
push 0
push 0
push 0
push 0
mov ebx, edx
push 0
mov edi, ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x44ab14
call dword [0x4483d0]
mov ebp, eax
mov dword [esp + 0x38], ebp
push 4
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x1084], 0
mov esi, dword [0x4483cc]
push 2
push ebp
mov dword [esp + 0x2c], 0xbb8
call esi
push 4
lea edx, [esp + 0x20]
push edx
push 3
push ebp
mov dword [esp + 0x2c], 5
call esi
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], 0x44a94c
mov dword [esp + 0x28], esi
mov byte [esp + 0x107c], 1
cmp dword [ebx + 0x18], 8
jb 0x40c4be
mov ebx, dword [ebx + 4]
jmp 0x40c4c1
add ebx, 4
mov eax, ebx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], esi
mov word [esp + 0x40], si
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40c4d7
sub eax, edx
sar eax, 1
push eax
push ebx
lea esi, [esp + 0x44]
call fcn.00402690
push ebp
mov edx, esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x1080], 2
call fcn.0040de90
test al, al
sete bl
mov byte [esp + 0x107c], 1
cmp dword [esp + 0x54], 8
jb 0x40c526
mov eax, dword [esp + 0x40]
push eax
call fcn.00430a06
add esp, 4
test bl, bl
jne 0x40c55a
lea eax, [esp + 0x20]
call fcn.0040e0a0
test al, al
je 0x40c575
cmp dword [edi], 0
je 0x40c55a
sub esp, 0x1c
mov edx, 0x44a714
mov eax, esp
mov dword [esp + 0x34], esp
call fcn.00403a30
mov edi, dword [edi]
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
lea ecx, [esp + 0x20]
call fcn.0040dcf0
test ebp, ebp
je 0x40c56e
push ebp
call dword [0x4483bc]
xor al, al
jmp 0x40c7d1
lea eax, [esp + 0x20]
call fcn.0040e1d0
mov ebx, eax
test ebx, ebx
jne 0x40c5c1
cmp dword [edi], eax
je 0x40c5a6
sub esp, 0x1c
mov edx, 0x44a714
mov eax, esp
mov dword [esp + 0x34], esp
call fcn.00403a30
mov edi, dword [edi]
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
lea ecx, [esp + 0x20]
call fcn.0040dcf0
test ebp, ebp
je 0x40c56e
push ebp
call dword [0x4483bc]
xor al, al
jmp 0x40c7d1
mov ecx, dword [edi]
test ecx, ecx
mov esi, dword [edi + 4]
mov dword [esp + 0x18], esi
je 0x40c60f
fldz
mov edx, dword [ecx]
mov ebp, dword [esp + 0x30]
mov eax, dword [edx + 0xc]
sub esp, 8
fstp qword [esp]
push 0
push 0
push ebp
call eax
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push esi
call eax
fldz
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
sub esp, 8
fstp qword [esp]
push 0
push ebx
push ebp
call eax
push 0xfff
lea ecx, [esp + 0x71]
push 0
push ecx
mov dword [esp + 0x38], 0
mov byte [esp + 0x78], 0
call fcn.00432700
xor ebp, ebp
xor esi, esi
add esp, 0xc
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call dword [0x448204]
fldz
test esi, esi
fst qword [esp + 0x54]
fstp qword [esp + 0x5c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
jb 0x40c73e
ja 0x40c66e
test ebx, ebx
jbe 0x40c73e
mov ecx, dword [edi]
test ecx, ecx
je 0x40c683
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
test al, al
jne 0x40c756
push 0x1000
lea esi, [esp + 0x40]
lea edx, [esp + 0x70]
lea eax, [esp + 0x24]
call fcn.0040e0f0
mov ebp, dword [esp + 0x4c]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c6af
cmp dword [edi], 0
jne 0x40c74f
jmp 0x40c721
test esi, esi
jbe 0x40c712
mov eax, dword [esp + 0x68]
push 0
lea ecx, [esp + 0x20]
push ecx
push esi
lea edx, [esp + 0x78]
push edx
push eax
mov dword [esp + 0x30], 0
call dword [0x448074]
cmp dword [esp + 0x1c], esi
je 0x40c6e2
cmp dword [edi], 0
jne 0x40c788
mov ecx, dword [edi]
test ecx, ecx
je 0x40c721
fld qword [esp + 0x5c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 0xc]
sub esp, 8
fstp qword [esp]
push ebp
push ebx
push eax
call edx
mov ecx, dword [edi]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
add edx, ebp
push edx
call eax
jmp 0x40c721
jne 0x40c73e
push 5
call dword [0x448208]
add dword [esp + 0x2c], 1
cmp dword [esp + 0x2c], 5
ja 0x40c73e
xor eax, eax
cmp dword [esp + 0x50], eax
jb 0x40c66e
ja 0x40c73e
cmp ebp, ebx
jb 0x40c66e
cmp ebp, ebx
jne 0x40c74a
xor eax, eax
cmp dword [esp + 0x50], eax
je 0x40c78f
cmp dword [edi], 0
je 0x40c772
mov edx, 0x44a714
jmp 0x40c75b
mov edx, 0x44a724
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x34], esp
call fcn.00403a30
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
lea ecx, [esp + 0x20]
call fcn.0040dcf0
lea ecx, [esp + 0x34]
call fcn.00410550
xor al, al
jmp 0x40c7d1
mov edx, 0x44a738
jmp 0x40c75b
mov ecx, dword [edi]
add dword [edi + 4], ebx
test ecx, ecx
je 0x40c7bd
fld qword [esp + 0x5c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 0xc]
sub esp, 8
fstp qword [esp]
push ebx
push ebx
push eax
call edx
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [edi + 4]
mov eax, dword [eax + 8]
push edx
call eax
lea ecx, [esp + 0x20]
call fcn.0040dcf0
lea ecx, [esp + 0x34]
call fcn.00410550
mov al, 1
mov ecx, dword [esp + 0x1074]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1058]
xor ecx, esp
call fcn.00431099
add esp, 0x106c
ret 4