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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x100b6004]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov edi, ecx
movss dword [esp + 0x3c], xmm1
lea esi, [edi + 0x78]
push esi
mov dword [esp + 0x3c], esi
call dword [0x11a5f3b4]
mov esi, dword [esi]
add esp, 4
xor edx, edx
xorps xmm0, xmm0
test byte [edi + 8], 1
movss dword [esp + 0xc], xmm0
je 0x1000c6c3
test esi, esi
je 0x1000c5b9
movss xmm1, dword [esi]
movss xmm2, dword [esi + 4]
subss xmm2, dword [edi + 0x10]
subss xmm1, dword [edi + 0xc]
movss xmm0, dword [esi + 8]
subss xmm0, dword [edi + 0x14]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x1000c59d
sqrtsd xmm0, xmm0
jmp 0x1000c5a2
call fcn.10098f60
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x100aa8f4]
movss dword [esp + 0xc], xmm0
jb 0x1000c6d3
call dword [0x11a5f3b8]
mov edx, eax
test edx, edx
je 0x1000c6bd
mov eax, dword [edi + 0xc]
mov dword [edx], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 4], eax
mov eax, dword [edi + 0x14]
mov dword [edx + 8], eax
movss xmm0, dword [edi + 0x40]
mov eax, dword [0x11a5f1d0]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [eax]
mov dword [edx + 0x10], esi
mov esi, edx
mov dword [edx + 0x1c], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x14], 0
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x24], xmm0
mov dword [edi + 0x78], edx
xorps xmm6, xmm6
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1000cc4b
movss xmm0, dword [esi]
lea edx, [esp + 0x40]
movss dword [esp + 0x1c], xmm0
mov ecx, esi
movss xmm0, dword [esi + 4]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 0xc], xmm0
call fcn.1003dee0
mov ecx, dword [esp + 0x14]
mov esi, ecx
lea edx, [esp + 0x24]
call fcn.1003dee0
movss xmm0, dword [esp + 0x40]
movss xmm2, dword [esp + 0x24]
movss xmm1, dword [esp + 0x44]
subss xmm2, xmm0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, xmm1
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x18], xmm2
movaps xmm1, xmm0
movss dword [esp + 0x10], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
addss xmm1, xmm6
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1000c717
sqrtsd xmm0, xmm0
jmp 0x1000c71c
movss xmm0, dword [esp + 0xc]
test esi, esi
je 0x1000cc4b
test edx, edx
jne 0x1000c611
xorps xmm6, xmm6
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x1000c614
movss xmm0, dword [edi + 0xc]
lea ecx, [edi + 0xc]
movss dword [esp + 0x1c], xmm0
lea edx, [esp + 0x40]
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0xc], xmm0
call fcn.1003dee0
mov ecx, esi
jmp 0x1000c654
call fcn.10098f60
movss xmm5, dword [0x100aa724]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x1000c741
movaps xmm0, xmm5
divss xmm0, xmm2
movaps xmm2, xmm0
movss xmm4, dword [esp + 0x18]
movss xmm1, dword [esp + 0x10]
mulss xmm1, xmm2
mov eax, dword [0x11a5f1d0]
mulss xmm4, xmm2
movaps xmm0, xmm1
mulss xmm0, dword [0x11a0808c]
movaps xmm3, xmm4
movaps xmm2, xmm4
mulss xmm3, dword [0x11a08098]
mulss xmm2, dword [0x11a0809c]
mulss xmm4, dword [0x11a080a0]
addss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm1, dword [0x11a08094]
mulss xmm0, dword [0x11a08090]
addss xmm4, xmm1
movss xmm1, dword [edi + 0x3c]
addss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm1
xorps xmm1, xmmword [0x100aaa70]
addss xmm0, dword [esp + 0xc]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm2
mulss xmm1, xmm4
addss xmm0, dword [esp + 0x30]
addss xmm1, dword [esp + 0xc]
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm5
divss xmm0, dword [edi + 0x40]
movss dword [esp + 0x60], xmm1
cvtps2pd xmm1, xmm0
movss xmm0, dword [edi + 0x38]
movsd qword [esp + 0x30], xmm1
cvtps2pd xmm0, xmm0
subsd xmm0, qword [eax]
mulsd xmm0, xmm1
cvtpd2ps xmm2, xmm0
movss dword [esp + 0xc], xmm2
test esi, esi
je 0x1000cbf8
movss xmm1, dword [0x115e3bf0]
sub esp, 0x10
movss xmm0, dword [0x115e3bec]
mulss xmm0, xmm1
mov dword [esp + 0xc], 0x3f800000
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [0x115e3be8]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 4], xmm0
movss xmm0, dword [0x115e3be4]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp], xmm0
call dword [0x11a5f264]
sub esp, 8
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [0x11a5f230]
lea eax, [esp + 0x58]
push eax
call dword [0x11a5f1fc]
movss xmm1, dword [0x115e3bf0]
sub esp, 0x10
movss xmm0, dword [0x115e3bec]
movss xmm2, dword [esp + 0x1c]
mulss xmm0, xmm1
mov dword [esp + 0xc], 0x3f800000
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [0x115e3be8]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 4], xmm0
movss xmm0, dword [0x115e3be4]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp], xmm0
call dword [0x11a5f264]
sub esp, 8
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call dword [0x11a5f230]
lea eax, [esp + 0x4c]
push eax
call dword [0x11a5f1fc]
lea edx, [esp + 0x24]
mov ecx, esi
call fcn.1003dee0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [esp + 0x14]
movss xmm2, dword [esp + 0x24]
subss xmm2, dword [esp + 0x20]
movaps xmm1, xmm0
movss dword [esp + 0x18], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x10], xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1000c9aa
sqrtsd xmm0, xmm0
jmp 0x1000c9af
call fcn.10098f60
xorps xmm2, xmm2
xorps xmm5, xmm5
cvtsd2ss xmm2, xmm0
ucomiss xmm2, xmm5
lahf
test ah, 0x44
jnp 0x1000c9d1
movss xmm0, dword [0x100aa724]
divss xmm0, xmm2
movaps xmm2, xmm0
movss xmm4, dword [esp + 0x10]
lea eax, [esi + 0x10]
movss xmm1, dword [esp + 0x18]
mulss xmm4, xmm2
mov dword [esp + 0x10], eax
mulss xmm1, xmm2
movaps xmm3, xmm4
movaps xmm2, xmm4
mulss xmm3, dword [0x11a08098]
mulss xmm2, dword [0x11a0809c]
movaps xmm0, xmm1
mulss xmm0, dword [0x11a0808c]
mulss xmm4, dword [0x11a080a0]
addss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x11a08090]
mulss xmm1, dword [0x11a08094]
addss xmm2, xmm0
movaps xmm0, xmm3
addss xmm4, xmm1
movss xmm1, dword [edi + 0x3c]
mulss xmm0, xmm1
addss xmm0, dword [esi]
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
addss xmm0, dword [esi + 4]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm1
xorps xmm1, xmmword [0x100aaa70]
mulss xmm3, xmm1
addss xmm0, dword [esi + 8]
mulss xmm2, xmm1
mulss xmm4, xmm1
movss dword [esp + 0x54], xmm0
addss xmm3, dword [esi]
movss dword [esp + 0x58], xmm3
addss xmm2, dword [esi + 4]
movss dword [esp + 0x5c], xmm2
addss xmm4, dword [esi + 8]
movss dword [esp + 0x60], xmm4
cmp dword [eax], 0
je 0x1000cac3
movss xmm0, dword [esi + 0x24]
mov eax, dword [0x11a5f1d0]
cvtps2pd xmm0, xmm0
subsd xmm0, qword [eax]
mulsd xmm0, qword [esp + 0x30]
cvtpd2ps xmm2, xmm0
jmp 0x1000cac6
xorps xmm2, xmm2
movss xmm1, dword [0x115e3bf0]
sub esp, 0x10
movss xmm0, dword [0x115e3bec]
mulss xmm0, xmm1
mov dword [esp + 0xc], 0x3f800000
movss dword [esp + 0x1c], xmm2
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [0x115e3be8]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 4], xmm0
movss xmm0, dword [0x115e3be4]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp], xmm0
call dword [0x11a5f264]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [0x11a5f230]
lea eax, [esp + 0x4c]
push eax
call dword [0x11a5f1fc]
movss xmm1, dword [0x115e3bf0]
sub esp, 0x10
movss xmm0, dword [0x115e3bec]
movss xmm2, dword [esp + 0x1c]
mulss xmm0, xmm1
mov dword [esp + 0xc], 0x3f800000
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [0x115e3be8]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 4], xmm0
movss xmm0, dword [0x115e3be4]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp], xmm0
call dword [0x11a5f264]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
call dword [0x11a5f230]
lea eax, [esp + 0x58]
push eax
call dword [0x11a5f1fc]
mov esi, dword [esp + 0x10]
movss xmm0, dword [esp + 0x24]
movss xmm2, dword [esp + 0xc]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x28]
mov esi, dword [esi]
movss dword [esp + 0x14], xmm0
test esi, esi
jne 0x1000c850
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
test eax, eax
je 0x1000cc4b
movss xmm1, dword [esp + 0x3c]
nop dword [eax + eax]
movaps xmm0, xmm1
mulss xmm0, dword [eax + 0x14]
addss xmm0, dword [eax]
movss dword [eax], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [eax + 0x18]
addss xmm0, dword [eax + 4]
movss dword [eax + 4], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [eax + 0x1c]
addss xmm0, dword [eax + 8]
movss dword [eax + 8], xmm0
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x1000cc10
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
call fcn.10048715
mov esp, ebp
pop ebp
ret