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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0
movss xmm0, dword [ebp + 0x18]
mulss xmm0, dword [0x1015555c]
push esi
push edi
mov edi, ecx
mov esi, edx
movaps xmm1, xmm0
movss dword [esp + 0x24], xmm0
addss xmm1, dword [edi + 8]
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.10140e00
xorps xmm1, xmm1
sub esp, 8
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x101556c8]
addss xmm1, xmm1
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
fstp qword [esp]
call fcn.1013e450
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
mov ecx, 2
cvtpd2ps xmm0, xmm0
add esp, 8
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov byte [esp + 0x70], 0
mov dword [esp + 0x84], 0
xorps xmm1, xmm1
mov dword [esp + 0x88], 0
cvttss2si eax, xmm0
mov dword [esp + 0x8c], 0
mov byte [esp + 0x90], 0
xorps xmm0, xmm0
movss dword [esp + 0x44], xmm1
cmp eax, ecx
movss dword [esp + 0x40], xmm0
movups xmmword [esp + 0x54], xmm0
cmovl eax, ecx
cmp dword [ebp + 0xc], 0
movss dword [esp + 0x4c], xmm1
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 8]
movups xmmword [esp + 0x74], xmm0
movss dword [esp + 0x48], xmm0
je 0x1009d0ea
movss xmm0, dword [esi + 4]
movss xmm2, dword [esi]
shl eax, 5
add eax, 0xffffffe0
mov dword [esp + 0x28], 0
add eax, esi
mov dword [esp + 0x18], eax
subss xmm0, dword [eax + 4]
subss xmm2, dword [eax]
movaps xmm1, xmm0
movss dword [esp + 0x10], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1009cfbc
sqrtsd xmm0, xmm0
jmp 0x1009cfc1
call fcn.101424f0
movss xmm1, dword [0x10155570]
xorps xmm4, xmm4
movss xmm2, dword [esp + 0xc]
cvtsd2ss xmm4, xmm0
comiss xmm4, dword [0x10155530]
jbe 0x1009cff2
divss xmm1, xmm4
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x10]
mulss xmm2, xmm0
jmp 0x1009cff8
movss xmm1, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movaps xmm0, xmm4
movss xmm3, dword [esp + 0x24]
mulss xmm0, xmm2
mov ecx, dword [ebp + 8]
xorps xmm2, xmmword [0x10155a10]
mulss xmm4, xmm1
mulss xmm0, dword [0x1015555c]
mulss xmm4, dword [0x1015555c]
addss xmm0, dword [eax]
mulss xmm1, xmm3
addss xmm4, dword [eax + 4]
mulss xmm2, xmm3
movaps xmm6, xmm0
subss xmm6, xmm1
addss xmm1, xmm0
movaps xmm7, xmm4
subss xmm7, xmm2
addss xmm2, xmm4
movss dword [esp + 0x54], xmm6
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x58], xmm7
movups xmm0, xmmword [esp + 0x54]
movss dword [esp + 0x78], xmm2
movups xmmword [esp + 0x98], xmm0
movups xmm0, xmmword [esp + 0x64]
movss dword [esp + 0x10], xmm1
movups xmmword [esp + 0xa8], xmm0
movups xmm0, xmmword [esp + 0x74]
movss dword [esp + 0xc], xmm2
movups xmmword [esp + 0xb8], xmm0
movups xmm0, xmmword [esp + 0x84]
movups xmmword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x98]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x4c], xmm0
jmp 0x1009d2fe
movss xmm0, dword [esi + 0x24]
mov ecx, esi
movss xmm2, dword [esi + 0x20]
add esi, 0x20
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], 1
subss xmm0, dword [ecx + 4]
subss xmm2, dword [ecx]
mov dword [esp + 0x20], eax
movaps xmm1, xmm0
movss dword [esp + 0x14], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1009d143
sqrtsd xmm0, xmm0
jmp 0x1009d148
call fcn.101424f0
movss xmm1, dword [0x10155570]
movss xmm2, dword [esp + 0xc]
movss xmm3, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x10155530]
jbe 0x1009d178
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm0
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x1009d1b6
mov eax, dword [esp + 0x18]
xorps xmm2, xmmword [0x10155a10]
movss xmm0, dword [esp + 0x24]
mulss xmm2, dword [esp + 0x24]
movss xmm5, dword [eax]
movss xmm1, dword [eax + 4]
mulss xmm0, xmm3
subss xmm1, xmm2
addss xmm2, dword [eax + 4]
subss xmm5, xmm0
addss xmm0, dword [eax]
jmp 0x1009d209
cmp eax, 2
jne 0x1009d285
movss xmm1, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, xmm2
xorps xmm2, xmmword [0x10155a10]
movss xmm4, dword [eax]
subss xmm4, xmm0
mulss xmm2, xmm1
movaps xmm0, xmm1
mulss xmm0, xmm3
movss xmm3, dword [eax + 4]
movaps xmm5, xmm4
subss xmm3, xmm0
subss xmm5, xmm0
addss xmm0, xmm4
movaps xmm1, xmm3
subss xmm1, xmm2
addss xmm2, xmm3
push ecx
movss dword [esp + 0x10], xmm2
movaps xmm3, xmm0
movss dword [esp], xmm2
mov ecx, edi
movss dword [esp + 0x18], xmm1
movaps xmm2, xmm1
movaps xmm1, xmm5
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x20], xmm5
call fcn.1009bef0
movss xmm0, dword [esp + 0x14]
add esp, 4
movss xmm6, dword [esp + 0x1c]
movss xmm7, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0xc]
movss dword [esp + 0x54], xmm6
movss dword [esp + 0x58], xmm7
movss dword [esp + 0x78], xmm0
mov dword [esp + 0x28], 1
jmp 0x1009d30a
cmp eax, 1
mov eax, dword [esp + 0x18]
jne 0x1009d2d0
movss xmm0, dword [ebp + 0x18]
lea edx, [esp + 0x54]
push 0
push dword [esp + 0x54]
mov ecx, edi
sub esp, 0xc
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm3
movss dword [esp], xmm2
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.1009c490
mov eax, dword [esp + 0x34]
add esp, 0x1c
mov dword [esp + 0x28], 1
movss xmm0, dword [esp + 0x78]
mov ecx, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
movss xmm6, dword [esp + 0x54]
movss xmm7, dword [esp + 0x58]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x1c], xmm6
movss dword [esp + 0x14], xmm7
mov edx, dword [esp + 0x28]
cmp edx, ecx
jge 0x1009d5d9
sub ecx, edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x20], ecx
jmp 0x1009d327
movss xmm3, dword [esp + 0x24]
mov cl, byte [esi + 0x1c]
test cl, 1
je 0x1009d4fc
cmp edx, 1
jne 0x1009d388
push dword [esp + 0x50]
movss xmm0, dword [ebp + 0x18]
lea edx, [esp + 0x58]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push esi
push eax
lea eax, [esp + 0x84]
push eax
call fcn.1009cab0
add esp, 0x14
movss xmm0, dword [esp + 0x78]
movss xmm7, dword [esp + 0x58]
movss xmm6, dword [esp + 0x54]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x10], xmm0
jmp 0x1009d5b4
cmp edx, 2
je 0x1009d3b7
test cl, 2
jne 0x1009d3b7
movss xmm0, dword [ebp + 0x18]
lea edx, [esp + 0x54]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push esi
push eax
lea eax, [esp + 0x80]
push eax
call fcn.1009c890
add esp, 0x10
jmp 0x1009d35f
movss xmm5, dword [eax + 8]
movaps xmm0, xmm3
xorps xmm5, xmmword [0x10155a10]
mulss xmm0, dword [eax + 0xc]
push ecx
movss xmm6, dword [esi]
mov ecx, edi
movss xmm1, dword [esi + 4]
movaps xmm4, xmm6
mulss xmm5, xmm3
subss xmm4, xmm0
movaps xmm3, xmm6
movss dword [esp], xmm7
addss xmm3, xmm0
movaps xmm2, xmm1
movss xmm0, dword [esp + 0x28]
subss xmm2, xmm5
mulss xmm0, dword [esi + 0xc]
addss xmm5, xmm1
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x1c], xmm3
movaps xmm3, xmm6
subss xmm3, xmm0
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x2c], xmm5
addss xmm6, xmm0
movss xmm5, dword [esi + 8]
xorps xmm5, xmmword [0x10155a10]
mulss xmm5, dword [esp + 0x28]
movss dword [esp + 0x18], xmm3
movaps xmm3, xmm1
movss dword [esp + 0x30], xmm6
subss xmm3, xmm5
addss xmm5, xmm1
movaps xmm1, xmm4
movss dword [esp + 0x98], xmm3
movss xmm3, dword [esp + 0x20]
movss dword [esp + 0x34], xmm5
call fcn.1009bef0
movss xmm0, dword [esp + 0x38]
mov ecx, edi
movss xmm3, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x98]
movss xmm1, dword [esp + 0x18]
movss dword [esp], xmm0
call fcn.1009bef0
movss xmm0, dword [esp + 0x2c]
mov ecx, edi
movss xmm3, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
movss dword [esp], xmm0
call fcn.1009bef0
movss xmm0, dword [esp + 0x34]
mov ecx, edi
movss xmm3, dword [esp + 0x30]
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x1c]
movss dword [esp], xmm0
call fcn.1009bef0
movss xmm6, dword [esp + 0x18]
movss xmm7, dword [esp + 0x98]
movss xmm1, dword [esp + 0x30]
movss xmm0, dword [esp + 0x34]
jmp 0x1009d58d
movss xmm5, dword [esi]
movaps xmm1, xmm3
mulss xmm3, dword [esi + 0x18]
movaps xmm4, xmm5
push ecx
mulss xmm1, dword [esi + 0x14]
mov ecx, edi
movss xmm2, dword [esi + 4]
subss xmm2, xmm3
movss dword [esp], xmm7
addss xmm3, dword [esi + 4]
subss xmm4, xmm1
addss xmm5, xmm1
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x30], xmm3
movaps xmm3, xmm6
movaps xmm1, xmm4
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x34], xmm5
call fcn.1009bef0
movss xmm0, dword [esp + 0x30]
mov ecx, edi
movss xmm3, dword [esp + 0x34]
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
movss dword [esp], xmm0
call fcn.1009bef0
movss xmm6, dword [esp + 0x3c]
movss xmm7, dword [esp + 0x38]
movss xmm1, dword [esp + 0x34]
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x7c], xmm0
add esp, 4
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x58], xmm7
movss dword [esp + 0x54], xmm6
mov ecx, dword [esp + 0x20]
mov eax, esi
mov edx, dword [ebp + 0x10]
add esi, 0x20
sub ecx, 1
movss dword [esp + 0x1c], xmm6
mov dword [esp + 0x20], ecx
jne 0x1009d321
movss dword [esp + 0x14], xmm7
cmp dword [ebp + 0xc], 0
je 0x1009d757
movss xmm0, dword [esp + 0x40]
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x1009d693
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
inc eax
cmp eax, ecx
jle 0x1009d635
lea eax, [ecx + ecx]
test ecx, ecx
jg 0x1009d60d
mov eax, 0x40
mov dword [edi + 0x18], eax
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [edi + 0x10]
call fcn.1012f0c9
add esp, 8
mov dword [edi + 0x10], eax
test eax, eax
je 0x1009d693
movss xmm7, dword [esp + 0x14]
movss xmm0, dword [esp + 0x40]
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
movss xmm1, dword [esp + 0x44]
movss xmm5, dword [esp + 0x1c]
lea ecx, [eax + eax*2]
inc eax
comiss xmm7, xmm0
mov dword [edi + 0x14], eax
jbe 0x1009d674
movss dword [edx + ecx*8], xmm1
movss dword [edx + ecx*8 + 4], xmm0
movss dword [edx + ecx*8 + 8], xmm5
movss dword [edx + ecx*8 + 0xc], xmm7
mov dword [edx + ecx*8 + 0x10], 1
jmp 0x1009d693
movss dword [edx + ecx*8], xmm5
movss dword [edx + ecx*8 + 4], xmm7
movss dword [edx + ecx*8 + 8], xmm1
movss dword [edx + ecx*8 + 0xc], xmm0
mov dword [edx + ecx*8 + 0x10], 0xffffffff
movss xmm0, dword [esp + 0xc]
movss xmm1, dword [esp + 0x48]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1009d950
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
inc eax
cmp eax, ecx
jle 0x1009d6ef
lea eax, [ecx + ecx]
test ecx, ecx
jg 0x1009d6c3
mov eax, 0x40
mov dword [edi + 0x18], eax
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [edi + 0x10]
call fcn.1012f0c9
add esp, 8
mov dword [edi + 0x10], eax
test eax, eax
je 0x1009d950
movss xmm0, dword [esp + 0xc]
movss xmm1, dword [esp + 0x48]
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
movss xmm3, dword [esp + 0x10]
movss xmm2, dword [esp + 0x4c]
lea ecx, [eax + eax*2]
inc eax
comiss xmm1, xmm0
mov dword [edi + 0x14], eax
jbe 0x1009d732
movss dword [edx + ecx*8], xmm3
movss dword [edx + ecx*8 + 4], xmm0
movss dword [edx + ecx*8 + 8], xmm2
movss dword [edx + ecx*8 + 0xc], xmm1
mov dword [edx + ecx*8 + 0x10], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss dword [edx + ecx*8], xmm2
movss dword [edx + ecx*8 + 4], xmm1
movss dword [edx + ecx*8 + 8], xmm3
movss dword [edx + ecx*8 + 0xc], xmm0
mov dword [edx + ecx*8 + 0x10], 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [esi + 4]
movss xmm1, dword [esi]
movaps xmm2, xmm1
movss dword [esp + 0x20], xmm0
subss xmm0, dword [eax + 4]
subss xmm2, dword [eax]
movss dword [esp + 0x18], xmm1
movaps xmm1, xmm0
movss dword [esp + 0x2c], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [esp + 0x30], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1009d7a8
sqrtsd xmm0, xmm0
jmp 0x1009d7ad
call fcn.101424f0
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x2c]
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x10155530]
jbe 0x1009d7dd
movss xmm1, dword [0x10155570]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm0
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x1009d836
movss xmm5, dword [0x10155a10]
movss xmm4, dword [esp + 0x18]
xorps xmm2, xmm5
xorps xmm3, xmm5
xorps xmm2, xmm5
mulss xmm3, dword [esp + 0x24]
movaps xmm1, xmm4
push ecx
mulss xmm2, dword [esp + 0x28]
movss xmm5, dword [esp + 0x24]
addss xmm4, xmm3
movaps xmm0, xmm5
subss xmm1, xmm3
addss xmm5, xmm2
movss dword [esp + 0x1c], xmm4
movaps xmm3, xmm4
movss dword [esp + 0x24], xmm5
movss dword [esp], xmm5
jmp 0x1009d8a0
cmp eax, 2
jne 0x1009d90b
movss xmm7, dword [0x10155a10]
movss xmm4, dword [esp + 0x24]
xorps xmm2, xmm7
movss xmm5, dword [esp + 0x18]
movaps xmm0, xmm4
movss xmm6, dword [esp + 0x20]
xorps xmm3, xmm7
mulss xmm0, xmm2
xorps xmm2, xmm7
push ecx
mulss xmm3, xmm4
subss xmm5, xmm0
mulss xmm2, xmm4
subss xmm6, xmm3
movaps xmm1, xmm5
addss xmm5, xmm3
subss xmm1, xmm3
movaps xmm0, xmm6
addss xmm6, xmm2
movss dword [esp + 0x1c], xmm5
movaps xmm3, xmm5
movss dword [esp + 0x24], xmm6
movss dword [esp], xmm6
subss xmm0, xmm2
movss dword [esp + 0x38], xmm1
mov ecx, edi
movaps xmm2, xmm0
movss dword [esp + 0x3c], xmm0
call fcn.1009bef0
movss xmm0, dword [esp + 0x3c]
mov ecx, edi
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
movss dword [esp], xmm0
call fcn.1009bef0
movss xmm1, dword [esp + 0x18]
mov ecx, edi
movss xmm3, dword [esp + 0x20]
movss xmm2, dword [esp + 0x24]
movss dword [esp], xmm1
movss xmm1, dword [esp + 0x1c]
call fcn.1009bef0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x1009d950
movss xmm0, dword [ebp + 0x18]
lea edx, [esp + 0x74]
xorps xmm3, xmmword [0x10155a10]
mov ecx, edi
xorps xmm2, xmmword [0x10155a10]
push eax
push dword [esp + 0x54]
lea eax, [esp + 0x5c]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm3
movss dword [esp], xmm2
push esi
push eax
call fcn.1009c490
add esp, 0x1c
pop edi
pop esi
mov esp, ebp
pop ebp
ret