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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, dword [ebp + 8]
cvtss2sd xmm0, dword [ebp + 0x14]
cvtss2sd xmm1, dword [ebp + 0x18]
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm1
call fcn.10252100
fstp dword [esp + 0x3c]
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [ebp + 0x1c]
cvtss2sd xmm0, xmm0
movss xmm1, dword [ebp + 0x20]
cvtss2sd xmm1, xmm1
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm1
call fcn.10252100
fstp dword [esp + 0x38]
movss xmm0, dword [esp + 0x38]
movaps xmmword [esp + 0x20], xmm0
movaps xmm1, xmmword [0x1026ac90]
movss xmm0, dword [ebp + 0x24]
xorps xmm1, xmm0
maxss xmm1, xmm0
movss xmm0, dword [0x10318fb0]
divss xmm0, dword [ebp + 0x28]
addss xmm0, xmm1
movaps xmmword [esp + 0x40], xmm1
divss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.10252060
fstp dword [esp + 0x34]
movss xmm3, dword [esp + 0x34]
addss xmm3, xmm3
movsd xmm0, qword [ebp + 0xc]
movsd xmm1, qword [ebp + 0x14]
addps xmm1, xmm0
mov eax, dword [esi]
mov edi, eax
shr edi, 6
cmp edi, dword [esi + 4]
movss dword [esp + 0x1c], xmm3
jb 0x1013f9ae
mov dword [esp], edi
mov ecx, esi
movaps xmmword [esp + 0x50], xmm1
call fcn.1013cab0
sub esp, 4
movaps xmm1, xmmword [esp + 0x50]
movss xmm3, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + edi*4]
and eax, 0x3f
lea eax, [eax + eax*2]
movlps qword [ecx + eax*4], xmm1
mov dword [ecx + eax*4 + 8], 0
mov eax, dword [esi]
inc eax
mov dword [esi], eax
ucomiss xmm3, dword [0x1028bbd0]
xorps xmm5, xmm5
jbe 0x1013fbfd
movss xmm2, dword [esp + 0x18]
movaps xmm0, xmm2
movaps xmm4, xmmword [esp + 0x20]
subss xmm0, xmm4
movss xmm1, dword [0x1028ca5c]
cmpltps xmm5, xmm0
cmpltps xmm0, xmm1
andps xmm0, xmm5
movd ecx, xmm0
movss xmm0, dword [0x1028e4c8]
mulss xmm0, xmm3
test cl, 1
je 0x1013fb0c
movss xmm1, dword [0x10318fb8]
addss xmm1, xmm4
movaps xmm5, xmm2
cmpltss xmm5, xmm4
andps xmm1, xmm5
andnps xmm5, xmm4
orps xmm5, xmm1
addss xmm5, xmm0
subss xmm2, xmm3
movaps xmmword [esp + 0x50], xmm5
ucomiss xmm2, xmm5
jbe 0x1013fbfd
movsldup xmm0, xmmword [esp + 0x40]
movaps xmmword [esp + 0x40], xmm0
movss dword [esp + 0x18], xmm2
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movsd qword [esp + 0x20], xmm0
movsd qword [esp], xmm0
call fcn.10254fd0
fstp qword [esp + 0x68]
movsd xmm0, qword [esp + 0x20]
movsd qword [esp], xmm0
call fcn.10252880
fstp qword [esp + 0x60]
movsd xmm0, qword [esp + 0x60]
movhpd xmm0, qword [esp + 0x68]
mov eax, dword [esi]
mov edi, eax
shr edi, 6
cmp edi, dword [esi + 4]
jb 0x1013fabf
mov dword [esp], edi
mov ecx, esi
movapd xmmword [esp + 0x20], xmm0
call fcn.1013cab0
sub esp, 4
movapd xmm0, xmmword [esp + 0x20]
mov eax, dword [esi]
cvtpd2ps xmm0, xmm0
mulps xmm0, xmmword [esp + 0x40]
movsd xmm1, qword [ebp + 0xc]
addps xmm0, xmm1
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + edi*4]
and eax, 0x3f
lea eax, [eax + eax*2]
movlps qword [ecx + eax*4], xmm0
mov dword [ecx + eax*4 + 8], 0
mov eax, dword [esi]
inc eax
mov dword [esi], eax
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [esp + 0x1c]
ucomiss xmm0, dword [esp + 0x50]
movaps xmm2, xmm0
ja 0x1013fa57
jmp 0x1013fbfd
movss xmm1, dword [0x10304190]
addss xmm1, xmm4
movaps xmm5, xmm4
cmpltss xmm5, xmm2
andps xmm1, xmm5
andnps xmm5, xmm4
orps xmm5, xmm1
subss xmm5, xmm0
addss xmm2, xmm3
movaps xmmword [esp + 0x50], xmm5
ucomiss xmm5, xmm2
jbe 0x1013fbfd
movsldup xmm0, xmmword [esp + 0x40]
movaps xmmword [esp + 0x40], xmm0
movss dword [esp + 0x18], xmm2
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movsd qword [esp + 0x20], xmm0
movsd qword [esp], xmm0
call fcn.10254fd0
fstp qword [esp + 0x78]
movsd xmm0, qword [esp + 0x20]
movsd qword [esp], xmm0
call fcn.10252880
fstp qword [esp + 0x70]
movsd xmm0, qword [esp + 0x70]
movhpd xmm0, qword [esp + 0x78]
mov eax, dword [esi]
mov edi, eax
shr edi, 6
cmp edi, dword [esi + 4]
jb 0x1013fbb2
mov dword [esp], edi
mov ecx, esi
movapd xmmword [esp + 0x20], xmm0
call fcn.1013cab0
sub esp, 4
movapd xmm0, xmmword [esp + 0x20]
mov eax, dword [esi]
cvtpd2ps xmm0, xmm0
mulps xmm0, xmmword [esp + 0x40]
movsd xmm1, qword [ebp + 0xc]
addps xmm0, xmm1
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + edi*4]
and eax, 0x3f
lea eax, [eax + eax*2]
movlps qword [ecx + eax*4], xmm0
mov dword [ecx + eax*4 + 8], 0
mov eax, dword [esi]
inc eax
mov dword [esi], eax
movss xmm1, dword [esp + 0x18]
addss xmm1, dword [esp + 0x1c]
movaps xmm0, xmmword [esp + 0x50]
ucomiss xmm0, xmm1
movaps xmm2, xmm1
ja 0x1013fb4a
mov edi, eax
shr edi, 6
cmp edi, dword [esi + 4]
jb 0x1013fc16
mov dword [esp], edi
mov ecx, esi
call fcn.1013cab0
sub esp, 4
mov eax, dword [esi]
movss xmm0, dword [ebp + 0x1c]
movss xmm1, dword [ebp + 0x20]
unpcklps xmm0, xmm1
movsd xmm1, qword [ebp + 0xc]
addps xmm1, xmm0
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + edi*4]
and eax, 0x3f
lea eax, [eax + eax*2]
movlps qword [ecx + eax*4], xmm1
mov dword [ecx + eax*4 + 8], 0
inc dword [esi]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret