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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4d706c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x4d8ff8]
push edi
mov edi, ecx
mov dword [ebp - 0xc], edx
cmp byte [edi + 0x7d], 0
movss xmm6, dword [edi + 0x3c]
movss xmm0, dword [edi + 0x40]
mov ebx, dword [edi + 8]
mov byte [edi + 0x7f], 0
movss dword [ebp - 0x1c], xmm6
movss dword [ebp - 0x10], xmm0
je 0x40978a
cmp byte [ebp + 8], 0
movss xmm1, dword [esi + 0x1554]
movss dword [ebp - 0x20], xmm1
movss dword [esi + 0x1554], xmm0
je 0x40974b
cmp byte [esi + 0x1b6e], 0
jne 0x40974b
push 0xb
jmp 0x40974d
push 0xc
movss xmm1, dword [0x4ce7bc]
pop ecx
call fcn.0040483f
mov ecx, dword [ebp - 0xc]
movaps xmm2, xmm6
mov dl, 1
push dword [ecx + 0xc]
push dword [ecx + 8]
push dword [ecx + 4]
push dword [ecx]
mov ecx, eax
call fcn.00404b90
movss xmm0, dword [ebp - 0x20]
add esp, 0x10
movss dword [esi + 0x1554], xmm0
jmp 0x409bd0
movss xmm5, dword [0x4ce7bc]
test bl, bl
js 0x40987e
test ebx, 0x6000000
je 0x4097a7
push 4
pop ecx
jmp 0x4097b8
mov ecx, ebx
and ecx, 0x1000000
or ecx, 0x2000000
shr ecx, 0x18
movaps xmm1, xmm5
call fcn.0040483f
test byte [esi + 0x1a78], 0x40
mov edx, eax
je 0x409801
movss xmm1, dword [esi + 0x1ac4]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x4097e2
movaps xmm0, xmm5
minss xmm0, xmm1
mulss xmm0, dword [0x4ce850]
and edx, 0xffffff
addss xmm0, dword [0x4ce78c]
cvttss2si eax, xmm0
shl eax, 0x18
or edx, eax
movss xmm1, dword [edi + 0xc]
mov ecx, edi
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x14]
addss xmm1, dword [0x4ce74c]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x10]
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x14], xmm0
call fcn.00403b24
addss xmm0, dword [edi + 0x10]
push 0xc
mov eax, ebx
and eax, 1
mov dword [ebp - 8], eax
pop eax
push 0xf
pop ecx
cmovne eax, ecx
movss dword [ebp - 0x20], xmm0
push eax
push ecx
mov ecx, dword [edi + 0x278]
lea eax, [ebp - 0x18]
movss dword [esp], xmm6
push edx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00418387
movss xmm5, dword [0x4ce7bc]
movss xmm6, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
jmp 0x409886
mov edx, ebx
and edx, 1
mov dword [ebp - 8], edx
test edx, edx
jne 0x4098b8
movzx ecx, byte [ebp + 8]
movaps xmm1, xmm5
add ecx, 0xa
call fcn.0040483f
push 3
push ecx
mov ecx, dword [ebp - 0xc]
movss dword [esp], xmm6
push eax
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, dword [edi + 0x278]
call fcn.00418387
mov edx, dword [ebp - 8]
test ebx, 0x400
je 0x4099fd
movss xmm3, dword [edi + 0x10]
mov ecx, edi
call fcn.00403b24
movss xmm1, dword [edi + 0xc]
movaps xmm2, xmm0
movss xmm5, dword [edi + 0x1c]
addss xmm2, xmm3
movss xmm0, dword [edi + 0x14]
addss xmm5, xmm1
addss xmm0, xmm1
movaps xmm6, xmm1
maxss xmm6, xmm1
movaps xmm7, xmm2
maxss xmm7, xmm3
minss xmm5, xmm0
movss dword [ebp - 8], xmm6
movss dword [ebp - 0xc], xmm5
call fcn.00403b7e
movaps xmm4, xmm0
addss xmm4, xmm2
xorps xmm2, xmm2
addss xmm3, dword [edi + 0x18]
minss xmm4, xmm3
movss dword [ebp - 0x20], xmm4
test edx, edx
je 0x409932
movss xmm3, dword [ebp - 0x1c]
jmp 0x409935
xorps xmm3, xmm3
movss xmm1, dword [0x4ce7bc]
addss xmm7, xmm2
movaps xmm0, xmm5
subss xmm0, dword [ebp - 0x10]
push 3
push ecx
movss dword [esp], xmm3
push 0xd
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm4
subss xmm0, xmm2
movss dword [ebp - 0x28], xmm7
pop ecx
movss dword [ebp - 0x14], xmm0
movaps xmm0, xmm6
addss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x2c], xmm0
call fcn.0040483f
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00418387
movss xmm2, dword [esi + 0x1554]
comiss xmm2, dword [0x4ce74c]
jbe 0x4099fd
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x10]
movss xmm1, dword [ebp - 0x20]
comiss xmm0, xmm1
jbe 0x4099fd
movss xmm0, dword [ebp - 0xc]
push ecx
movss dword [esp], xmm2
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 8]
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x14], xmm1
movss xmm1, dword [0x4ce7bc]
push 5
pop ecx
movss dword [ebp - 0x18], xmm0
call fcn.0040483f
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041821f
cmp byte [edi + 0x78], 0
je 0x409a0a
xor ecx, ecx
call fcn.0041de0d
cmp byte [edi + 0x79], 0
je 0x409a18
xor ecx, ecx
inc ecx
call fcn.0041de0d
test bl, 2
jne 0x409bc9
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], eax
jle 0x409bc9
movss xmm0, dword [ebp - 0x10]
mov ebx, 0x4d7a08
movaps xmm1, xmm0
addss xmm1, dword [ebp - 0x1c]
movss dword [ebp - 0x14], xmm1
movss xmm1, dword [edi + 0x14]
mov esi, eax
movss xmm2, dword [edi + 0x10]
movss xmm3, dword [ebp + 0x14]
addss xmm1, dword [edi + 0xc]
addss xmm2, dword [edi + 0x18]
subss xmm1, dword [edi + 0xc]
subss xmm2, dword [edi + 0x10]
mulss xmm1, dword [ebx - 8]
mulss xmm2, dword [ebx - 4]
addss xmm1, dword [edi + 0xc]
addss xmm2, dword [edi + 0x10]
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 0x20], xmm2
and esi, 1
je 0x409a9d
movss dword [ebp - 0x30], xmm3
movaps xmm3, xmm0
movss dword [ebp - 0x34], xmm0
jmp 0x409aa7
movss dword [ebp - 0x2c], xmm3
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebx]
lea ecx, [ebp - 0x30]
mulss xmm0, xmm3
lea eax, [ebp - 0x28]
test esi, esi
cmovne eax, ecx
mov ecx, dword [edi + 0x278]
addss xmm0, xmm1
add ecx, 0x58
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [eax]
lea eax, [ebp - 0x3c]
mulss xmm0, dword [ebx + 4]
push eax
addss xmm0, xmm2
movss dword [ebp - 0x38], xmm0
call fcn.00410dbf
movss xmm0, dword [ebp + 0x14]
movss xmm1, dword [ebp - 0x10]
test esi, esi
je 0x409b04
movss dword [ebp - 0x48], xmm1
movaps xmm1, xmm0
movss dword [ebp - 0x4c], xmm0
jmp 0x409b0e
movss dword [ebp - 0x44], xmm1
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebx]
lea ecx, [ebp - 0x48]
mulss xmm0, xmm1
lea eax, [ebp - 0x40]
test esi, esi
cmovne eax, ecx
mov ecx, dword [edi + 0x278]
addss xmm0, dword [ebp - 0xc]
add ecx, 0x58
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [eax]
lea eax, [ebp - 0x54]
mulss xmm0, dword [ebx + 4]
push eax
addss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x50], xmm0
call fcn.00410dbf
movss xmm0, dword [ebx]
lea eax, [ebp - 0x5c]
mulss xmm0, dword [ebp - 0x14]
mov ecx, dword [edi + 0x278]
push dword [ebx + 0xc]
movss xmm2, dword [ebp - 0x1c]
addss xmm0, dword [ebp - 0xc]
push dword [ebx + 8]
push eax
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebx + 4]
mulss xmm0, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x58], xmm0
call fcn.00417e50
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
mov esi, dword [edi + 0x278]
push dword [ecx + eax*4]
mov ecx, esi
push dword [esi + 0x58]
push dword [esi + 0x60]
call fcn.00417ab3
mov eax, dword [ebp - 8]
add ebx, 0x18
and dword [esi + 0x58], 0
inc eax
movss xmm0, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp eax, dword [ebp + 0xc]
jl 0x409a46
mov ecx, edi
call fcn.004093bf
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00431cb0
leave
ret