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

Disassembly:
sub esp, 0x4cc
mov eax, dword [0x448010]
xor eax, esp
mov dword [esp + 0x4c4], eax
push ebx
mov ebx, dword [esp + 0x4d4]
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
call fcn.0040522e
push eax
lea ecx, [esp + 0x30]
call fcn.004028b4
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
call fcn.0040db44
test eax, eax
jne 0x40e647
xor esi, esi
xorps xmm0, xmm0
cmp dword [ebx + 4], esi
movlpd qword [esp + 0x18], xmm0
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x3c], esi
jle 0x40e64c
lea ecx, [esp + 0x40]
call fcn.0041c152
lea eax, [esp + 0x2c]
push eax
call fcn.0041c1f1
test al, al
je 0x40e63e
mov ecx, dword [esp + 0x24]
push esi
call fcn.00409706
cmp byte [esp + 0x4e4], 0
push dword [eax]
je 0x40e52d
lea ecx, [edi + 0x78]
call fcn.0040e9b5
mov ecx, dword [edi + 0x60]
sub ecx, 0x10
mov dword [esp + 0x14], eax
call fcn.0040ab13
lea esi, [eax + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov eax, dword [eax + 8]
shr eax, 1
test al, 1
je 0x40e4da
mov eax, dword [esp + 0x28]
add eax, 4
neg edi
sbb edi, edi
and edi, eax
jmp 0x40e4dc
xor edi, edi
call fcn.0040522e
push eax
lea ecx, [esp + 0x34]
call fcn.004028b4
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x40]
add eax, 0xf8
push eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x1c]
push edi
push 0
push dword [eax + 0xc]
push 0
push dword [eax + 0x10]
lea eax, [esp + 0x34]
push eax
call fcn.0041c28a
mov ecx, dword [esp + 0x30]
mov edi, eax
add ecx, 0xfffffff0
call fcn.004052ff
lea ecx, [esi - 0x10]
jmp 0x40e602
lea ecx, [edi + 0x98]
call fcn.00409fc2
lea edx, [edi + 0x60]
mov esi, eax
lea ecx, [esp + 0x10]
call fcn.0040ad8c
lea ecx, [esp + 0x10]
call fcn.0040ab6c
push esi
lea edx, [esp + 0x14]
lea ecx, [esp + 0x38]
call fcn.004098cf
mov dword [esp], 0x250
lea eax, [esp + 0x284]
push 0
push eax
call fcn.00425780
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x28c]
add esp, 0xc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [esp + 0x29c]
xor ecx, ecx
add ecx, dword [esp + 0x2a0]
mov dword [esp + 0x14], ecx
adc edx, 0
mov dword [esp + 0x18], edx
test eax, eax
je 0x40e5af
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.0040522e
push eax
lea ecx, [esp + 0x3c]
call fcn.004028b4
lea eax, [edi + 0xf8]
push eax
lea eax, [esp + 0x3c]
push eax
xor eax, eax
lea ecx, [esp + 0x48]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push eax
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0041c28a
mov ecx, dword [esp + 0x38]
mov edi, eax
add ecx, 0xfffffff0
call fcn.004052ff
lea ecx, [esi - 0x10]
call fcn.004052ff
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004052ff
test edi, edi
jne 0x40e63e
lea eax, [esp + 0x40]
push eax
call dword [0x449a40]
add ebp, eax
lea ecx, [esp + 0x40]
adc ebx, edx
call fcn.0041c18f
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
inc esi
mov dword [esp + 0x3c], esi
cmp esi, dword [eax + 4]
jge 0x40e64c
mov edi, dword [esp + 0x28]
jmp 0x40e46b
lea ecx, [esp + 0x40]
call fcn.0041c18f
or ebx, 0xffffffff
mov ebp, ebx
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004052ff
mov ecx, dword [esp + 0x4d4]
mov eax, ebp
pop edi
pop esi
pop ebp
mov edx, ebx
pop ebx
xor ecx, esp
call fcn.004246ea
add esp, 0x4cc
ret 8