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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], edx
xor esi, esi
mov dword [esp + 0x14], edi
test edi, edi
jne 0x409cf7
lea eax, [ecx - 0x66]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x58]
add eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x5c]
adc ecx, dword [edi + 0x4c]
mov edx, dword [edi + 0x10]
test edx, edx
je 0x409d1c
push 0
push ecx
push eax
mov eax, dword [edi + 0x30]
push eax
push dword [edi + 0x1c]
call edx
add esp, 0x14
jmp 0x409d33
xor edx, edx
cmp edx, ecx
jne 0x409d5f
push edx
push eax
mov eax, dword [edi + 0x30]
push eax
push dword [edi + 0x1c]
mov eax, dword [edi + 0x28]
call eax
add esp, 0x10
test eax, eax
jne 0x409d5f
mov edx, dword [edi + 0x30]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00408e00
add esp, 4
test eax, eax
jne 0x409d5f
cmp dword [esp + 0x18], 0x2014b50
mov eax, 0xffffff99
cmovne esi, eax
jmp 0x409d62
or esi, 0xffffffff
mov edx, dword [edi + 0x30]
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.00408d20
mov edx, dword [edi + 0x30]
or ecx, 0xffffffff
add esp, 4
test eax, eax
lea eax, [esp + 0x34]
cmovne esi, ecx
mov ecx, edi
push eax
call fcn.00408d20
mov edx, dword [edi + 0x30]
add esp, 4
test eax, eax
mov ecx, edi
mov eax, 0xffffffff
cmovne esi, eax
lea eax, [esp + 0x38]
push eax
call fcn.00408d20
mov edx, dword [edi + 0x30]
add esp, 4
test eax, eax
mov ecx, edi
mov eax, 0xffffffff
cmovne esi, eax
lea eax, [esp + 0x3c]
push eax
call fcn.00408d20
mov edx, dword [edi + 0x30]
add esp, 4
test eax, eax
mov ecx, edi
mov eax, 0xffffffff
cmovne esi, eax
lea eax, [esp + 0x40]
push eax
call fcn.00408e00
mov edi, dword [esp + 0x44]
add esp, 4
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
xor edx, edx
shrd edi, edx, 0x10
mov eax, edi
shr edx, 0x10
and eax, 0x1f
mov ecx, edi
mov dword [esp + 0x7c], eax
mov eax, edx
shrd ecx, eax, 5
shrd edi, edx, 9
shr eax, 5
and ecx, 0xf
dec ecx
shr edx, 9
add edi, 0x7bc
mov dword [esp + 0x80], ecx
xor edx, edx
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x40]
mov eax, edx
mov ecx, edi
shrd ecx, eax, 0xb
shr eax, 0xb
and ecx, 0x1f
mov eax, edi
mov dword [esp + 0x78], ecx
shrd eax, edx, 5
and edi, 0x1f
and eax, 0x3f
shr edx, 5
mov dword [esp + 0x74], eax
add edi, edi
lea eax, [esp + 0x44]
mov dword [esp + 0x70], edi
push eax
mov edi, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [edi + 0x30]
call fcn.00408e00
mov edx, dword [edi + 0x30]
add esp, 4
test eax, eax
mov ecx, edi
mov eax, 0xffffffff
cmovne esi, eax
lea eax, [esp + 0x10]
push eax
call fcn.00408e00
mov edx, dword [edi + 0x30]
add esp, 4
test eax, eax
mov dword [esp + 0x4c], 0
mov eax, 0xffffffff
mov ecx, edi
cmovne esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x10]
push eax
call fcn.00408e00
mov edx, dword [edi + 0x30]
add esp, 4
test eax, eax
mov dword [esp + 0x54], 0
mov eax, 0xffffffff
mov ecx, edi
cmovne esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x58]
push eax
call fcn.00408d20
mov edx, dword [edi + 0x30]
add esp, 4
test eax, eax
mov ecx, edi
mov eax, 0xffffffff
cmovne esi, eax
lea eax, [esp + 0x5c]
push eax
call fcn.00408d20
mov edx, dword [edi + 0x30]
add esp, 4
test eax, eax
mov ecx, edi
mov eax, 0xffffffff
cmovne esi, eax
lea eax, [esp + 0x60]
push eax
call fcn.00408d20
mov edx, dword [edi + 0x30]
add esp, 4
test eax, eax
mov ecx, edi
mov eax, 0xffffffff
cmovne esi, eax
lea eax, [esp + 0x64]
push eax
call fcn.00408d20
mov edx, dword [edi + 0x30]
add esp, 4
test eax, eax
mov ecx, edi
mov eax, 0xffffffff
cmovne esi, eax
lea eax, [esp + 0x68]
push eax
call fcn.00408d20
mov edx, dword [edi + 0x30]
add esp, 4
test eax, eax
mov ecx, edi
mov eax, 0xffffffff
cmovne esi, eax
lea eax, [esp + 0x6c]
push eax
call fcn.00408e00
mov edx, dword [edi + 0x30]
add esp, 4
test eax, eax
mov ecx, edi
mov eax, 0xffffffff
cmovne esi, eax
lea eax, [esp + 0x10]
push eax
call fcn.00408e00
mov ecx, dword [esp + 0x5c]
add esp, 4
test eax, eax
mov dword [esp + 0x2c], 0
mov eax, 0xffffffff
cmovne esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
test esi, esi
jne 0x40a003
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x40a003
mov eax, dword [ebp + 0x10]
cmp ecx, eax
jae 0x409fcf
mov byte [ecx + edx], 0
mov edx, ecx
mov dword [esp + 0x10], edx
jmp 0x409fd5
mov edx, eax
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x40a001
test eax, eax
je 0x40a001
mov eax, dword [edi + 4]
push edx
push dword [ebp + 0xc]
push dword [edi + 0x30]
push dword [edi + 0x1c]
call eax
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esp + 0x58]
cmp eax, edx
mov eax, 0xffffffff
cmovne esi, eax
sub ecx, edx
mov eax, dword [esp + 0x5c]
add ecx, eax
test esi, esi
jne 0x40a1db
test eax, eax
je 0x40a185
mov dword [esp + 0x18], esi
sub ecx, eax
je 0x40a043
mov eax, ecx
mov ecx, edi
cdq
push 1
push edx
mov edx, dword [edi + 0x30]
push eax
call fcn.0040abe0
add esp, 0xc
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x40a181
nop dword [eax + eax]
mov edx, dword [edi + 0x30]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00408d20
mov edx, dword [edi + 0x30]
add esp, 4
test eax, eax
mov ecx, edi
mov eax, 0xffffffff
cmovne esi, eax
lea eax, [esp + 0x10]
push eax
call fcn.00408d20
add esp, 4
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
cmp dword [esp + 0x1c], 1
jne 0x40a133
cmp dword [esp + 0x50], eax
jne 0x40a0bc
cmp dword [esp + 0x54], 0
jne 0x40a0bc
mov edx, dword [edi + 0x30]
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call fcn.00408f50
add esp, 4
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
cmp dword [esp + 0x48], 0xffffffff
jne 0x40a0e6
cmp dword [esp + 0x4c], 0
jne 0x40a0e6
mov edx, dword [edi + 0x30]
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call fcn.00408f50
add esp, 4
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
cmp dword [esp + 0x14], 0xffffffff
jne 0x40a118
cmp dword [esp + 0x2c], 0
jne 0x40a118
mov edx, dword [edi + 0x30]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.00408f50
add esp, 4
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x64], 0xffffffff
jne 0x40a168
mov edx, dword [edi + 0x30]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.00408e00
add esp, 4
jmp 0x40a161
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x30]
push 1
test eax, eax
je 0x40a150
push 0
push dword [esp + 0x18]
push ecx
push dword [edi + 0x1c]
call eax
add esp, 0x14
jmp 0x40a161
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [edi + 0x28]
push ecx
push dword [edi + 0x1c]
call eax
add esp, 0x10
test eax, eax
je 0x40a168
or esi, 0xffffffff
mov ecx, dword [esp + 0x18]
add ecx, 4
add ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x5c]
jb 0x40a050
test esi, esi
jne 0x40a1db
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40a1c7
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmmword [eax + 0x40], xmm0
movq xmm0, qword [esp + 0x80]
movq qword [eax + 0x50], xmm0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x40a1db
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret