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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [0x100e800c]
xor eax, esp
mov dword [esp + 0xa4], eax
cmp byte [0x101aec1c], 0
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x2c], eax
push edi
mov dword [esp + 0x60], esi
je 0x1003aeca
cmp byte [0x101ae5b0], 0
je 0x1003aeca
mov eax, dword [esi + 0x6553c]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x1003aeca
mov ecx, dword [0x101a9a7c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov edi, eax
test edi, edi
je 0x1003aeca
mov ecx, dword [esi + 0x6553c]
mov edx, dword [0x101a9cd4]
mov eax, dword [edi + 0xb0]
add edx, 0xffffffb8
xor edx, 0x976fd357
mov ecx, dword [ecx]
mov ecx, dword [edx + ecx]
lea ecx, [ecx + ecx*2]
lea edx, [eax + ecx*4]
add edx, edi
je 0x1003aeca
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
shl ecx, 4
add ecx, dword [ebp + 0xc]
lea eax, [eax + ecx*4]
add eax, edx
je 0x1003aeca
mov eax, dword [0x1011b48c]
mov ecx, dword [0x1011b490]
cmp eax, ecx
je 0x1003a73c
nop word [eax + eax]
cmp dword [eax], 1
je 0x1003a73c
add eax, 4
cmp eax, ecx
jne 0x1003a730
cmp eax, ecx
mov edx, 0x6f
mov eax, dword [0x101a9d08]
mov edi, 0xff
cmovne edi, edx
mov edx, dword [0x101ae588]
add eax, 0xffffffab
mov dword [esp + 0x64], edi
xor eax, 0x976fd364
cmp byte [eax + edx], 0
mov eax, dword [0x101aec08]
je 0x1003a777
movss xmm4, dword [eax + 0x130]
jmp 0x1003a77f
movss xmm4, dword [eax + 0x12c]
mulss xmm4, dword [0x100dcc68]
mov eax, dword [0x1011be00]
movss xmm2, dword [0x100dcf0c]
movss xmm1, dword [0x100dcf04]
andps xmm2, xmm4
mov ecx, dword [0x1011be04]
movaps xmm0, xmm4
movaps xmm3, xmm4
xorps xmm0, xmm2
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm2
addss xmm3, xmm1
subss xmm3, xmm1
movss xmm1, dword [0x100dccd8]
movaps xmm0, xmm3
subss xmm0, xmm4
cmpnless xmm0, xmm2
andps xmm0, xmm1
subss xmm3, xmm0
cmp eax, ecx
je 0x1003a82c
cmp dword [eax], 2
je 0x1003a7ee
add eax, 4
cmp eax, ecx
jne 0x1003a7e0
jmp 0x1003a82c
cmp eax, ecx
je 0x1003a82c
mov eax, dword [0x101a9c54]
add eax, 0xffffffd8
xor eax, 0x976fd337
add eax, edx
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10035c40
comiss xmm0, xmm3
jae 0x1003aeca
movss xmm1, dword [0x100dccd8]
cmp byte [0x1011ba39], 0
movq xmm0, qword [0x101ae5a4]
mov eax, dword [0x101ae5ac]
movq qword [esp + 0x6c], xmm0
mov dword [esp + 0x74], eax
je 0x1003a869
mov eax, dword [0x101a9cac]
add eax, 0xffffffc2
xor eax, 0x976fd34d
test byte [eax + edx], 1
jne 0x1003a869
movss xmm5, dword [0x1011bac4]
jmp 0x1003a871
movss xmm5, dword [0x1011b83c]
mov eax, dword [0x101a9cc8]
movaps xmm0, xmm1
mov ecx, dword [esp + 0x30]
add eax, 0xffffffbb
xor eax, 0x976fd354
movss dword [esp + 0x20], xmm0
cmp byte [0x1011b8f5], 0
movd xmm4, dword [eax + ecx]
cvtdq2ps xmm4, xmm4
je 0x1003a8e7
movss xmm0, dword [esi + 0x65538]
comiss xmm0, xmm4
movss dword [esp + 0x20], xmm0
jbe 0x1003a8b4
movaps xmm3, xmm4
jmp 0x1003a8c1
comiss xmm1, xmm0
jbe 0x1003a8be
movaps xmm3, xmm1
jmp 0x1003a8c1
movaps xmm3, xmm0
movss xmm2, dword [0x1011b980]
mulss xmm2, dword [0x100dcbe0]
mulss xmm2, xmm3
comiss xmm2, xmm0
ja 0x1003a8e7
movaps xmm0, xmm2
maxss xmm0, xmm1
movss dword [esp + 0x20], xmm0
cmp dword [0x101aec04], 0x1f
jne 0x1003a909
movss xmm5, dword [0x100dce5c]
movaps xmm0, xmm4
mulss xmm0, dword [0x100dcc6c]
movss dword [esp + 0x20], xmm0
mulss xmm5, dword [0x100dcbe4]
mov esi, dword [ebp + 0x10]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm5, xmm0
movss dword [esp + 0x18], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi]
mulss xmm0, dword [0x100dcbec]
movss dword [esp + 0x68], xmm5
movss dword [esp + 0x10], xmm0
call fcn.10035c00
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10035c30
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, dword [0x100dcbec]
movss dword [esp + 0x10], xmm0
call fcn.10035c00
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10035c30
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, dword [0x100dcbec]
movss dword [esp + 0x10], xmm0
call fcn.10035c00
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10035c30
movss xmm4, dword [esp + 0x14]
movaps xmm2, xmm0
movss xmm5, dword [esp + 0x1c]
movaps xmm0, xmm4
movss xmm3, dword [esp + 0xc]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x2c]
mov ecx, dword [0x101aec00]
movss xmm6, dword [esp + 0x28]
mulss xmm0, xmm5
movaps xmm7, xmm6
mulss xmm7, xmm3
mov eax, dword [ecx]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm5
mov eax, dword [eax + 0x754]
mov dword [esp + 0xc], eax
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
mulss xmm1, xmm3
subss xmm7, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm4
xorps xmm0, xmmword [0x100dcff0]
subss xmm0, xmm1
movss dword [esp + 0x44], xmm7
movaps xmm1, xmm6
mulss xmm6, xmm5
mulss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm5
movaps xmm7, xmm1
movss dword [esp + 0x28], xmm6
mulss xmm7, xmm4
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm3
mulss xmm2, xmm4
addss xmm7, xmm0
subss xmm1, xmm2
movss dword [esp + 0x4c], xmm7
movss dword [esp + 0x58], xmm1
call dword [esp + 0xc]
mov ecx, dword [0x101aec00]
fstp dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6dc]
mov dword [esp + 0xc], eax
call dword [esp + 0xc]
xor esi, esi
fstp dword [esp + 0x40]
mov dword [esp + 0x1c], esi
mov edi, dword [0x101aec00]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x6f8]
call eax
test eax, eax
je 0x1003ac62
cmp dword [eax + 0xf4], 0
je 0x1003ac62
mov eax, dword [0x101a9d7c]
push dword [esp + 0x1c]
add eax, 0xffffff8e
xor eax, 0x976fd381
mov esi, dword [eax + edi]
mov eax, dword [0x101a9da8]
add eax, 0xffffff83
xor eax, 0x976fd38c
movss xmm0, dword [eax + edi]
movss dword [esp + 0x38], xmm0
call dword [0x101a9b90]
mov eax, dword [0x101a9b98]
mov dword [esp], 0x3f800000
push ecx
mov dword [esp + 0x14], eax
mov dword [esp], 0
call dword [esp + 0x14]
mov eax, dword [0x101a9b98]
fstp dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [esp + 0x14]
mov eax, dword [0x101a9b98]
fstp dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call dword [esp + 0x14]
mov eax, dword [0x101a9b98]
fstp dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [esp + 0x14]
add esp, 8
fstp dword [esp + 0xc]
cmp esi, 0x1c
jne 0x1003abee
movss xmm3, dword [esp + 0x34]
movss xmm0, dword [0x100dcd98]
comiss xmm0, xmm3
jbe 0x1003abee
movss xmm1, dword [esp + 0x14]
lea eax, [esi - 0x19]
movss xmm2, dword [esp + 0x10]
movaps xmm0, xmm1
dec eax
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
ja 0x1003abb3
movss xmm0, dword [0x100dccd8]
subss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movss xmm0, dword [0x100dccd8]
subss xmm0, xmm2
jmp 0x1003ac00
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0xc]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x38]
call fcn.100ca160
movss xmm4, dword [esp + 0x14]
movaps xmm1, xmm0
movss xmm5, dword [esp + 0x10]
movaps xmm3, xmm1
mulss xmm4, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
mulss xmm5, dword [esp + 0x40]
shufps xmm3, xmm1, 0xe
movaps xmm2, xmm3
shufps xmm0, xmm1, 1
shufps xmm2, xmm3, 1
mulss xmm2, xmm5
mulss xmm0, xmm4
mulss xmm3, xmm5
mulss xmm1, xmm4
addss xmm2, xmm0
addss xmm3, xmm1
jmp 0x1003ac68
xorps xmm2, xmm2
xorps xmm3, xmm3
movss xmm6, dword [esp + 0x44]
movss xmm0, dword [esp + 0x4c]
movss xmm5, dword [esp + 0x50]
movss xmm4, dword [esp + 0x28]
mulss xmm6, xmm2
mulss xmm0, xmm3
addss xmm6, dword [esp + 0x48]
mulss xmm5, xmm2
mulss xmm2, dword [esp + 0x5c]
addss xmm5, dword [esp + 0x54]
addss xmm6, xmm0
mulss xmm4, xmm3
movss xmm0, dword [esp + 0x58]
addss xmm2, dword [esp + 0x2c]
mulss xmm0, xmm3
movaps xmm1, xmm6
mulss xmm1, xmm6
addss xmm5, xmm0
subss xmm4, xmm2
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.10035c40
addss xmm0, dword [0x100dcbb8]
movss xmm3, dword [0x100dccd8]
lea edx, [esp + 0x98]
mov edi, dword [esp + 0x60]
lea ecx, [esp + 0x78]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
divss xmm3, xmm0
mov eax, dword [0x101ae588]
mov word [esp + 0x94], 1
mov dword [esp + 0x78], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0xffffffff
mov word [esp + 0xa4], 0
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [edi + 0x65520]
subss xmm1, dword [0x101ae5a4]
movss xmm2, dword [edi + 0x65524]
subss xmm2, dword [0x101ae5a8]
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x90], xmm0
movss xmm0, dword [edi + 0x65528]
subss xmm0, dword [0x101ae5ac]
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm6
addss xmm0, dword [0x100dce88]
addss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm5
mulss xmm3, xmm4
mulss xmm1, xmm2
mulss xmm0, xmm2
addss xmm1, dword [esp + 0x6c]
mulss xmm3, xmm2
addss xmm0, dword [esp + 0x70]
addss xmm3, dword [esp + 0x74]
movss dword [esp + 0x80], xmm1
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm3
call fcn.100aed80
movss xmm1, dword [esp + 0x24]
test al, al
je 0x1003ae27
movss xmm0, dword [esp + 0x9c]
comiss xmm0, dword [0x100dcba4]
jbe 0x1003ae27
addss xmm1, dword [0x100dccd8]
movss dword [esp + 0x24], xmm1
inc esi
mov dword [esp + 0x1c], esi
cmp esi, dword [esp + 0x64]
jle 0x1003aab0
test byte [0x101ae59c], 1
jne 0x1003ae63
cmp byte [0x1011bd4d], 0
je 0x1003ae63
mov eax, dword [0x1011be00]
mov ecx, dword [0x1011be04]
cmp eax, ecx
je 0x1003ae63
cmp dword [eax], 3
je 0x1003ae9e
add eax, 4
cmp eax, ecx
jne 0x1003ae57
movss xmm2, dword [esp + 0x18]
comiss xmm1, dword [esp + 0x68]
movaps xmm0, xmm1
divss xmm0, xmm2
setae al
mulss xmm0, dword [0x100dce7c]
movss dword [edi + 0x65540], xmm0
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100c8fa5
mov esp, ebp
pop ebp
ret 0xc
movss xmm2, dword [esp + 0x18]
cmp eax, ecx
je 0x1003ae69
movss xmm0, dword [0x1011bf20]
mulss xmm0, dword [0x100dcbe4]
mulss xmm0, xmm2
comiss xmm1, xmm0
jb 0x1003ae69
mov byte [edi + 0x65555], 1
jmp 0x1003ae69
mov ecx, dword [esp + 0xac]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100c8fa5
mov esp, ebp
pop ebp
ret 0xc