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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 0xc]
movups xmmword [esp + 0x3c], xmm0
push edi
movups xmmword [esp + 0x50], xmm0
sub esp, 8
movss xmm2, dword [esi]
movss xmm3, dword [esi + 8]
movups xmmword [esp + 0x68], xmm0
movss xmm0, dword [esi + 4]
movaps xmm1, xmm0
movss dword [esp + 0x14], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x20], xmm3
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100ef450
fstp dword [esp + 0x28]
movss xmm4, dword [esp + 0x28]
add esp, 8
xorps xmm0, xmm0
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jnp 0x1014d5b9
movss xmm1, dword [esp + 8]
movss xmm2, dword [esp + 0xc]
movss xmm3, dword [esp + 0x18]
divss xmm1, xmm4
divss xmm2, xmm4
divss xmm3, xmm4
jmp 0x1014d5c7
movss xmm3, dword [0x102dd87c]
xorps xmm1, xmm1
xorps xmm2, xmm2
movss xmm0, dword [0x102ddb88]
lea eax, [esp + 0x30]
mulss xmm1, xmm0
lea ecx, [esp + 0x40]
push eax
mulss xmm2, xmm0
push esi
addss xmm1, dword [esi]
mulss xmm3, xmm0
addss xmm2, dword [esi + 4]
addss xmm3, dword [esi + 8]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x40], xmm3
call fcn.10003f50
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
lea esi, [eax + eax*2]
lea ecx, [edi + 0x74]
shl esi, 4
add esi, ecx
lea eax, [esp + 0x30]
push eax
mov eax, dword [esi + 0x2c]
movss xmm2, dword [esi + 0x20]
add eax, 0x13
movss xmm1, dword [esi + 0x24]
movss xmm0, dword [esi + 0x28]
subss xmm2, dword [esi + 0x14]
subss xmm1, dword [esi + 0x18]
subss xmm0, dword [esi + 0x1c]
lea eax, [eax + eax*2]
shl eax, 4
add eax, ecx
movss dword [esp + 0x34], xmm2
push eax
lea eax, [esp + 0xb0]
movss dword [esp + 0x3c], xmm1
push eax
movss dword [esp + 0x44], xmm0
call fcn.1014d430
lea eax, [esp + 0x30]
mov dword [esp + 0x74], 0
push eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [eax + eax*2]
shl eax, 4
add eax, 0x10f4
add eax, edi
push eax
lea eax, [esp + 0xec]
push eax
call fcn.1014d430
lea eax, [esp + 0xa8]
xorps xmm0, xmm0
push eax
push dword [ebp + 0xc]
lea ecx, [esp + 0x48]
movups xmmword [esp + 0x48], xmm0
movups xmmword [esp + 0x58], xmm0
movups xmmword [esp + 0x68], xmm0
call fcn.10003f50
movups xmm0, xmmword [esp + 0x40]
movss xmm1, dword [esp + 0xe4]
subss xmm1, xmm0
movaps xmm2, xmm0
shufps xmm2, xmm0, 0x55
movaps xmmword [esp + 0x30], xmm2
movss dword [esp + 0x24], xmm1
movss xmm1, dword [esp + 0xe8]
subss xmm1, xmm2
movaps xmm2, xmm0
shufps xmm2, xmm0, 0xaa
movss xmm0, dword [0x102ddc14]
movups xmmword [esp + 0x80], xmm2
movss dword [esp + 0x28], xmm1
movss xmm1, dword [esp + 0xec]
subss xmm1, xmm2
movss dword [esp + 0x2c], xmm1
movss xmm7, dword [esp + 0x54]
lea esi, [esp + 0x104]
movups xmm5, xmmword [esp + 0x50]
xor edi, edi
movss xmm6, dword [esp + 0x4c]
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [0x102ddbac]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x10], xmm0
nop dword [eax + eax]
movss xmm4, dword [esi - 8]
sub esp, 8
mulss xmm4, dword [esp + 0x2c]
movss xmm0, dword [esi - 4]
mulss xmm0, dword [esp + 0x30]
mulss xmm5, dword [esi - 4]
mulss xmm7, dword [esi]
addss xmm4, xmm0
movss xmm0, dword [esi]
mulss xmm0, dword [esp + 0x34]
addss xmm4, xmm0
movss dword [esp + 0x10], xmm4
movaps xmm4, xmm6
mulss xmm4, dword [esi - 8]
addss xmm4, xmm5
addss xmm4, xmm7
cvtps2pd xmm0, xmm4
movss dword [esp + 0x24], xmm4
movsd qword [esp], xmm0
call fcn.100ef210
movss xmm1, dword [esp + edi*4 + 0xf8]
add esp, 8
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
cvtps2pd xmm0, xmm0
comisd xmm0, xmmword [0x102dd810]
jbe 0x1014d87d
movss xmm0, dword [esp + 8]
subss xmm0, xmm1
addss xmm1, dword [esp + 8]
divss xmm0, dword [esp + 0x1c]
divss xmm1, dword [esp + 0x1c]
movss dword [esp + 0xc], xmm0
movaps xmm2, xmm0
comiss xmm0, xmm1
movss dword [esp + 8], xmm1
jbe 0x1014d836
movss dword [esp + 0xc], xmm1
movaps xmm2, xmm1
movss dword [esp + 8], xmm0
movaps xmm1, xmm0
comiss xmm2, dword [esp + 0x14]
lea ecx, [esp + 0x14]
lea eax, [esp + 0xc]
movss xmm2, dword [esp + 0x10]
cmovbe eax, ecx
lea ecx, [esp + 0x10]
comiss xmm2, xmm1
movss xmm0, dword [eax]
lea eax, [esp + 8]
movss dword [esp + 0x14], xmm0
cmovbe eax, ecx
movss xmm1, dword [eax]
comiss xmm0, xmm1
movss dword [esp + 0x10], xmm1
jbe 0x1014d8a8
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
movss xmm2, dword [esp + 8]
xorps xmm3, xmm3
movaps xmm0, xmm2
xorps xmm0, xmmword [0x102ddfe0]
subss xmm0, xmm1
comiss xmm0, xmm3
ja 0x1014d873
subss xmm1, xmm2
comiss xmm3, xmm1
ja 0x1014d873
movss xmm0, dword [esp + 0x14]
movups xmm5, xmmword [esp + 0x50]
inc edi
add esi, 0xc
movss xmm6, dword [esp + 0x4c]
movss xmm7, dword [esp + 0x54]
cmp edi, 3
jl 0x1014d770
movups xmm1, xmmword [esp + 0x50]
mov esi, dword [ebp + 0xc]
sub esp, 8
movaps xmm4, xmmword [esp + 0x38]
movaps xmm2, xmm6
movups xmm5, xmmword [esp + 0x88]
mulss xmm2, xmm0
movaps xmm3, xmm7
mulss xmm1, xmm0
mulss xmm3, xmm0
movups xmm0, xmmword [esp + 0x48]
addss xmm4, xmm1
movss xmm1, dword [esi + 8]
addss xmm0, xmm2
movss xmm2, dword [esi]
addss xmm5, xmm3
movaps xmmword [esp + 0x38], xmm4
subss xmm2, xmm0
movups xmmword [esp + 0xa0], xmm0
movss xmm0, dword [esi + 4]
subss xmm1, xmm5
subss xmm0, xmm4
mulss xmm2, xmm2
movups xmmword [esp + 0x88], xmm5
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100ef450
movss xmm3, dword [0x102ddbac]
add esp, 8
fstp dword [esp + 0x1c]
comiss xmm3, dword [esp + 0x1c]
jbe 0x1014d873
movups xmm0, xmmword [esp + 0x98]
lea ecx, [esp + 0x40]
movss dword [esp + 0x74], xmm0
movaps xmm0, xmmword [esp + 0x30]
movss dword [esp + 0x78], xmm0
movups xmm0, xmmword [esp + 0x80]
movss dword [esp + 0x7c], xmm0
call fcn.10003010
lea eax, [esp + 0x74]
push eax
push esi
call fcn.10003f50
movss xmm0, dword [esp + 0xa8]
lea esi, [esp + 0xc8]
subss xmm0, dword [esp + 0x40]
movss xmm7, dword [esp + 0x54]
xor edi, edi
movss xmm6, dword [esp + 0x50]
movss xmm5, dword [esp + 0x4c]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0xac]
subss xmm0, dword [esp + 0x44]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0xb0]
subss xmm0, dword [esp + 0x48]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [0x102ddc14]
movss dword [esp + 0xc], xmm0
nop dword [eax]
nop dword [eax + eax]
movss xmm4, dword [esi - 8]
sub esp, 8
movss xmm1, dword [esi - 4]
movaps xmm3, xmm4
mulss xmm3, dword [esp + 0x24]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x34]
movss xmm2, dword [esi]
mulss xmm4, xmm5
mulss xmm1, xmm6
addss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm7
mulss xmm0, dword [esp + 0x30]
addss xmm4, xmm1
addss xmm3, xmm0
addss xmm4, xmm2
movss dword [esp + 0x10], xmm3
cvtps2pd xmm0, xmm4
movss dword [esp + 0x18], xmm4
movsd qword [esp], xmm0
call fcn.100ef210
movss xmm2, dword [esp + 0x10]
add esp, 8
movss xmm1, dword [esp + edi*4 + 0xb4]
fstp dword [esp + 0x24]
movss xmm0, dword [esp + 0x24]
cvtps2pd xmm0, xmm0
comisd xmm0, xmmword [0x102dd810]
movaps xmm0, xmm2
jbe 0x1014db3a
subss xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [esp + 0x10]
divss xmm1, dword [esp + 0x10]
movss dword [esp + 8], xmm0
movaps xmm2, xmm0
comiss xmm0, xmm1
movss dword [esp + 0x10], xmm1
jbe 0x1014daeb
movss dword [esp + 8], xmm1
movaps xmm2, xmm1
movss dword [esp + 0x10], xmm0
movaps xmm1, xmm0
comiss xmm2, dword [esp + 0x18]
lea ecx, [esp + 0xc]
lea eax, [esp + 8]
movss xmm2, dword [esp + 0x20]
cmovbe eax, ecx
lea ecx, [esp + 0x14]
comiss xmm2, xmm1
movss xmm0, dword [eax]
lea eax, [esp + 0x10]
movss dword [esp + 0x18], xmm0
cmovbe eax, ecx
movss dword [esp + 0xc], xmm0
movss xmm1, dword [eax]
comiss xmm0, xmm1
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x14], xmm1
ja 0x1014d873
jmp 0x1014db64
xorps xmm0, xmmword [0x102ddfe0]
xorps xmm3, xmm3
subss xmm0, xmm1
comiss xmm0, xmm3
ja 0x1014d873
subss xmm1, xmm2
comiss xmm3, xmm1
ja 0x1014d873
movss xmm0, dword [esp + 0x18]
movss xmm5, dword [esp + 0x4c]
inc edi
movss xmm6, dword [esp + 0x50]
add esi, 0xc
movss xmm7, dword [esp + 0x54]
cmp edi, 3
jl 0x1014da20
mov eax, dword [ebp + 0x14]
movaps xmm1, xmm5
mulss xmm1, xmm0
movaps xmm2, xmm6
pop edi
mulss xmm2, xmm0
movaps xmm3, xmm7
pop esi
mulss xmm3, xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, xmm1
movss xmm1, dword [esp + 0x3c]
addss xmm1, xmm2
movss xmm2, dword [esp + 0x40]
addss xmm2, xmm3
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
movss dword [eax + 8], xmm2
mov al, 1
mov esp, ebp
pop ebp
ret 0x10