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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80
mov eax, dword [0x100b6004]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, edx
mov dword [esp + 8], ecx
mov edx, dword [ebp + 0xc]
movaps xmm5, xmm3
movss dword [esp + 0x3c], xmm5
movaps xmm4, xmm2
mov dword [esp + 4], eax
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x1001fd55
cmp dword [eax], 0
jl 0x1001fd55
mov ecx, dword [eax + 0x24]
mov al, byte [ecx + 0x10]
movss xmm3, dword [ecx + 0xc]
cmp al, 3
mov byte [esp + 0x23], al
mov eax, dword [esp + 0xc]
jae 0x1001f559
movzx eax, byte [esp + 0x23]
movss xmm1, dword [esi + eax*4]
movss xmm2, dword [edx + eax*4]
mov eax, dword [esp + 0xc]
jmp 0x1001f5a1
movss xmm0, dword [ecx]
mulss xmm0, dword [esi]
movss xmm1, dword [esi + 4]
mulss xmm1, dword [ecx + 4]
movss xmm2, dword [edx + 4]
mulss xmm2, dword [ecx + 4]
addss xmm1, xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, dword [ecx + 8]
addss xmm1, xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [edx]
addss xmm2, xmm0
movss xmm0, dword [edx + 8]
mulss xmm0, dword [ecx + 8]
addss xmm2, xmm0
subss xmm2, xmm3
xor ecx, ecx
xorps xmm0, xmm0
subss xmm1, xmm3
comiss xmm0, xmm2
seta cl
mov dword [esp + 0x30], ecx
mov eax, dword [eax + ecx*4 + 0x28]
mov dword [esp + 0x28], eax
xor eax, eax
comiss xmm0, xmm1
seta al
cmp eax, ecx
jne 0x1001f5f6
mov ecx, dword [esp + 0x10]
movaps xmm3, xmm5
push esi
push edx
mov edx, dword [esp + 0x30]
movaps xmm2, xmm4
push edi
call fcn.1001f4e0
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.10048715
mov esp, ebp
pop ebp
ret
movaps xmm0, xmm2
mov ecx, dword [esp + 0x10]
subss xmm0, xmm1
lea eax, [esp + 0x78]
push eax
push edx
push edi
divss xmm2, xmm0
movss xmm0, dword [esi]
subss xmm0, dword [edx]
mulss xmm0, xmm2
addss xmm0, dword [edx]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, dword [edx + 4]
mulss xmm0, xmm2
addss xmm0, dword [edx + 4]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esi + 8]
subss xmm0, dword [edx + 8]
mulss xmm0, xmm2
addss xmm0, dword [edx + 8]
mov edx, dword [esp + 0x34]
movss dword [esp + 0x8c], xmm0
movaps xmm0, xmm5
subss xmm0, xmm4
mulss xmm0, xmm2
movaps xmm2, xmm4
addss xmm0, xmm4
movaps xmm3, xmm0
movss dword [esp + 0x24], xmm0
call fcn.1001f4e0
add esp, 0xc
test eax, eax
jne 0x1001fd3f
mov eax, dword [esp + 0xc]
xor edx, edx
movq xmm0, qword [esp + 0x78]
movq qword [0x100ea1a4], xmm0
movzx eax, word [eax + 0x30]
imul ecx, eax, 0x5c
mov eax, dword [esp + 0x10]
add ecx, dword [eax + 0xb4]
mov eax, dword [esp + 0x80]
mov dword [0x100ea1ac], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
movzx esi, word [eax + 0x32]
mov dword [esp + 8], esi
test esi, esi
mov esi, dword [esp + 0x1c]
je 0x1001f7b9
movss xmm5, dword [esp + 0x80]
movss xmm6, dword [esp + 0x7c]
movss xmm7, dword [esp + 0x78]
mov eax, dword [esp + 8]
test byte [ecx + 8], 0x20
mov esi, dword [ecx + 0x50]
jne 0x1001f7a1
movsx eax, word [esi + 0x30]
movaps xmm0, xmm7
mulss xmm0, dword [esi + 0x38]
movaps xmm1, xmm6
mulss xmm1, dword [esi + 0x3c]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esi + 0x40]
addss xmm1, xmm0
addss xmm1, dword [esi + 0x44]
comiss xmm3, xmm1
ja 0x1001f79d
movsx eax, word [esi + 0x32]
movaps xmm0, xmm7
mulss xmm0, dword [esi + 0x48]
movaps xmm2, xmm6
mulss xmm2, dword [esi + 0x4c]
movd xmm4, eax
cvtdq2ps xmm4, xmm4
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esi + 0x50]
addss xmm2, xmm0
addss xmm2, dword [esi + 0x54]
comiss xmm4, xmm2
ja 0x1001f79d
movsx eax, word [esi + 0x34]
subss xmm1, xmm3
subss xmm2, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x3c], xmm1
comiss xmm1, xmm0
movss dword [esp + 0x38], xmm2
ja 0x1001f79d
movsx eax, word [esi + 0x36]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x1001f7f4
mov eax, dword [esp + 8]
inc edx
add ecx, 0x5c
mov dword [esp + 0x24], ecx
cmp edx, eax
jl 0x1001f6f2
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x78]
movss xmm3, dword [esp + 0x44]
xor edx, 1
movss xmm2, dword [esp + 0x18]
push esi
push ecx
mov edx, dword [eax + edx*4 + 0x28]
mov ecx, dword [esp + 0x18]
push edi
call fcn.1001f4e0
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.10048715
mov esp, ebp
pop ebp
ret
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi], 0
cmp dword [ecx + 0x54], 0
je 0x1001fd3f
push ecx
call dword [0x11a5f394]
mov ecx, eax
movss xmm2, dword [esp + 0x3c]
movsx eax, word [esi + 0x34]
xorps xmm3, xmm3
cdq
add esp, 4
idiv ecx
movss xmm1, dword [esp + 0x3c]
inc eax
movd xmm0, ecx
mov dword [esp + 0x40], eax
movsx eax, word [esi + 0x36]
cdq
idiv ecx
cvtdq2ps xmm0, xmm0
inc eax
mov dword [esp + 0x28], eax
divss xmm2, xmm0
divss xmm1, xmm0
comiss xmm3, xmm2
movss xmm0, dword [0x100aa6fc]
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x38], xmm2
jbe 0x1001f87a
subss xmm2, xmm0
jmp 0x1001f87e
addss xmm2, xmm0
comiss xmm3, xmm1
cvttss2si ecx, xmm2
jbe 0x1001f88d
subss xmm1, xmm0
jmp 0x1001f891
addss xmm1, xmm0
imul ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
movss xmm2, dword [esp + 0x18]
cvttss2si eax, xmm1
mov dword [esp + 8], 0
movss dword [0x1036cce0], xmm2
add ecx, eax
mov eax, dword [esp + 0x28]
imul eax, dword [esp + 0x40]
lea edx, [ecx + ecx*2]
mov ecx, dword [esi + 0x50]
add edx, dword [esi + 0x54]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 0x58]
mov dword [esp + 0x44], eax
test eax, eax
je 0x1001fb49
test byte [esi + 8], 2
mov eax, dword [esi + 4]
movss xmm3, dword [0x100aaa70]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
je 0x1001f907
xorps xmm0, xmm3
xorps xmm1, xmm3
xorps xmm2, xmm3
movss xmm4, dword [ecx + 0x3c]
movss xmm5, dword [ecx + 0x40]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ecx + 0x48]
xorps xmm0, xmm3
movss dword [esp + 8], xmm1
movss dword [esp + 0x2c], xmm0
movaps xmm1, xmm4
movss xmm0, dword [ecx + 0x4c]
xorps xmm0, xmm3
movss dword [esp + 0xc], xmm2
movss xmm2, dword [ecx + 0x38]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [ecx + 0x50]
xorps xmm0, xmm3
mulss xmm1, xmm4
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x24], xmm4
addss xmm1, xmm0
movss dword [esp + 0x10], xmm5
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1001f993
sqrtsd xmm0, xmm0
jmp 0x1001f998
call fcn.10098f60
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
ucomiss xmm1, dword [0x100aa664]
lahf
test ah, 0x44
jnp 0x1001f9bb
movss xmm0, dword [0x100aa724]
divss xmm0, xmm1
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x24]
mulss xmm0, xmm1
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x18]
mulss xmm1, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, xmm0
addss xmm1, xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1001fa23
sqrtsd xmm0, xmm0
jmp 0x1001fa28
call fcn.10098f60
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
ucomiss xmm1, dword [0x100aa664]
lahf
test ah, 0x44
jnp 0x1001fa4b
movss xmm0, dword [0x100aa724]
divss xmm0, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x18]
mulss xmm1, dword [esp + 0x1c]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [esp + 8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1001faad
sqrtsd xmm0, xmm0
jmp 0x1001fab2
call fcn.10098f60
cvtsd2ss xmm0, xmm0
xorps xmm3, xmm3
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1001fad1
movss xmm1, dword [0x100aa724]
divss xmm1, xmm0
movaps xmm0, xmm1
movss xmm2, dword [esp + 0xc]
movss xmm6, dword [esp + 0x14]
movss xmm7, dword [esp + 8]
movss xmm1, dword [0x100aa6fc]
mulss xmm2, xmm0
mulss xmm6, xmm0
mulss xmm7, xmm0
movss xmm0, dword [esp + 0x38]
comiss xmm3, xmm0
movss dword [esp + 0xc], xmm2
jbe 0x1001fb0e
subss xmm0, xmm1
jmp 0x1001fb12
addss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [esp + 0x3c]
comiss xmm3, xmm0
jbe 0x1001fb27
subss xmm0, xmm1
jmp 0x1001fb2b
addss xmm0, xmm1
imul ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
cvttss2si eax, xmm0
add ecx, eax
mov eax, dword [esp + 0x44]
lea eax, [eax + ecx*2]
add eax, ecx
mov dword [esp + 8], eax
jmp 0x1001fba9
movss xmm0, dword [esp + 0x70]
movss xmm7, dword [esp + 0x6c]
movss xmm6, dword [esp + 0x68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [0x100aa918]
xor ecx, ecx
movss xmm1, dword [0x100aa6a4]
nop dword [eax + eax]
mov al, byte [ecx + esi + 0x3c]
cmp al, 0xff
je 0x1001fd3f
movzx eax, al
mov eax, dword [eax*4 + 0x11a227f4]
mov dword [esp + 0x14], eax
movzx eax, byte [edx]
imul eax, dword [esp + 0x14]
add dword [edi], eax
movzx eax, byte [edx + 1]
imul eax, dword [esp + 0x14]
add dword [edi + 4], eax
movzx eax, byte [edx + 2]
imul eax, dword [esp + 0x14]
add dword [edi + 8], eax
mov eax, dword [esp + 0x28]
lea eax, [eax + eax*2]
add edx, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 8]
test eax, eax
je 0x1001fd35
movzx eax, byte [eax]
xorps xmm5, xmm5
xorps xmm3, xmm3
xorps xmm4, xmm4
cvtsi2ss xmm5, eax
mov eax, dword [esp + 8]
movzx eax, byte [eax + 1]
subss xmm5, xmm0
cvtsi2ss xmm3, eax
mov eax, dword [esp + 8]
movzx eax, byte [eax + 2]
subss xmm3, xmm0
mulss xmm5, xmm1
cvtsi2ss xmm4, eax
mov eax, dword [esp + 0x14]
mulss xmm3, xmm1
subss xmm4, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
mulss xmm4, xmm1
movaps xmm1, xmm3
addsd xmm0, qword [eax*8 + 0x100aaa30]
mulss xmm1, dword [esp + 0x2c]
mov eax, dword [esp + 8]
add eax, dword [esp + 0x30]
mov dword [esp + 8], eax
cvtpd2ps xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x34]
mulss xmm2, dword [0x100aa984]
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm4
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x24]
mulss xmm5, dword [esp + 0x10]
mulss xmm1, xmm2
addss xmm1, dword [0x1036c8d4]
movss dword [0x1036c8d4], xmm1
movss xmm1, dword [esp + 0x18]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm4
addss xmm1, xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm4
mulss xmm1, xmm2
addss xmm1, dword [0x1036c8d8]
movss dword [0x1036c8d8], xmm1
movss xmm1, dword [esp + 0x1c]
mulss xmm1, xmm3
addss xmm1, xmm5
addss xmm1, xmm0
movss xmm0, dword [0x100aa918]
mulss xmm1, xmm2
addss xmm1, dword [0x1036c8dc]
movss dword [0x1036c8dc], xmm1
movss xmm1, dword [0x100aa6a4]
inc ecx
cmp ecx, 4
jl 0x1001fbc0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.10048715
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x84]
xor eax, eax
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi], 0
pop edi
pop esi
xor ecx, esp
call fcn.10048715
mov esp, ebp
pop ebp
ret