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

Disassembly:
sub esp, 0x124
xorps xmm0, xmm0
movss xmm1, dword [0x7389bc]
cvtsi2ss xmm2, dword [0x9405d0]
cvtsi2ss xmm3, dword [0x9405d4]
cvtsi2ss xmm4, dword [0x9405d8]
cvtsi2ss xmm5, dword [0x9405dc]
push ebx
mov ebx, dword [esp + 0x12c]
push esi
push edi
mov edi, dword [0x80e05c]
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x74], xmm3
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0xa0], xmm4
movss dword [esp + 0xa4], xmm3
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0xac], xmm1
movss dword [esp + 0xb0], xmm1
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0xb8], xmm1
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xc8], xmm1
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0xd0], xmm4
movss dword [esp + 0xd4], xmm5
movss dword [esp + 0xd8], xmm0
movss dword [esp + 0xdc], xmm1
movss dword [esp + 0xe0], xmm1
movss dword [esp + 0xe4], xmm1
movss dword [esp + 0xe8], xmm1
movss dword [esp + 0xec], xmm1
movss dword [esp + 0xf0], xmm1
movss dword [esp + 0xf4], xmm1
movss dword [esp + 0xf8], xmm1
movss dword [esp + 0xfc], xmm1
movss dword [esp + 0x100], xmm2
movss dword [esp + 0x104], xmm5
movss dword [esp + 0x108], xmm0
movss dword [esp + 0x10c], xmm1
movss dword [esp + 0x110], xmm0
movss dword [esp + 0x114], xmm1
movss dword [esp + 0x118], xmm0
movss dword [esp + 0x11c], xmm1
movss dword [esp + 0x120], xmm0
movss dword [esp + 0x124], xmm1
movss dword [esp + 0x128], xmm0
movss dword [esp + 0x12c], xmm1
call fcn.00407370
movss xmm2, dword [0x755e90]
xorps xmm0, xmm0
movss xmm1, dword [0x738a1c]
movss dword [esp + 0x28], xmm2
movss xmm2, dword [0x739034]
movss dword [esp + 0x30], xmm2
movss xmm2, dword [0x739030]
movss dword [esp + 0x34], xmm2
movss xmm2, dword [0x73902c]
movss dword [esp + 0x38], xmm2
movss xmm2, dword [0x739028]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm0
movss xmm2, dword [0x739024]
mov eax, dword [0x80edd8]
push 6
lea edx, [esp + 0x14]
push edx
movss dword [esp + 0x50], xmm2
movss xmm2, dword [0x739020]
push 0
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1b4]
xor esi, esi
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
push 2
push 6
push esi
push eax
call dword [ecx + 0x114]
mov eax, dword [0x80edd8]
mov edx, dword [eax]
push 2
push 5
push esi
push eax
call dword [edx + 0x114]
inc esi
cmp esi, 4
jl 0x40e2c6
mov eax, dword [ebx + 0x790]
xor cl, cl
cmp eax, 2
jge 0x40e3bd
mov eax, dword [0x85ece4]
movss xmm0, dword [eax*4 + 0x85ecdc]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x40e3bd
mulss xmm0, dword [0x738a00]
comiss xmm1, xmm0
jbe 0x40e33a
subss xmm1, xmm0
movss dword [esp + 0xc], xmm1
jmp 0x40e340
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
call fcn.00686364
mov edi, dword [0x956cb8]
movzx eax, al
mov esi, eax
shl esi, 8
or esi, eax
shl esi, 8
or esi, eax
shl esi, 8
or esi, eax
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
push esi
push 0xc1
push eax
call dword [ecx + 0xe4]
mov dword [edi + 0x304], esi
mov eax, dword [0x80edd8]
mov edx, dword [eax]
mov esi, dword [0x956cb8]
push 0xe
push 0x14
push eax
call dword [edx + 0xe4]
mov dword [esi + 0x50], 0xe
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
mov esi, dword [0x956cb8]
push 2
push 0x13
push eax
call dword [ecx + 0xe4]
mov dword [esi + 0x4c], 2
mov cl, 1
mov eax, dword [0x80edd8]
mov edx, dword [eax]
mov edi, dword [0x956cb8]
movzx esi, cl
push esi
push 0x1b
push eax
call dword [edx + 0xe4]
mov eax, dword [0x80e05c]
mov dword [edi + 0x6c], esi
mov dword [eax + 0x34], 0
mov eax, dword [0x85ec20]
mov esi, dword [ebx + 0x110]
cmp esi, dword [eax*4 + 0x85ec00]
mov edi, dword [ebx + 0x114]
jne 0x40e409
cmp edi, dword [eax*4 + 0x85ec10]
je 0x40e442
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
push esi
push 0
push eax
call dword [ecx + 0x94]
mov eax, dword [0x80edd8]
mov edx, dword [eax]
push edi
push eax
call dword [edx + 0x9c]
mov eax, dword [0x85ec20]
mov dword [eax*4 + 0x85ec00], esi
mov ecx, dword [0x85ec20]
mov dword [ecx*4 + 0x85ec10], edi
mov eax, dword [0x80edd8]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x170]
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
push 0x404
push eax
call dword [ecx + 0x164]
mov eax, dword [0x80edd8]
mov edx, dword [eax]
push 0x30
lea ecx, [esp + 0x74]
push ecx
push 2
push 6
push eax
call dword [edx + 0x14c]
pop edi
pop esi
pop ebx
add esp, 0x124
ret 4