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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov word [esp + 0x1e], dx
movss dword [esp + 0x70], xmm5
movss dword [esp + 0x6c], xmm4
movss dword [esp + 0x68], xmm3
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x74], xmm0
mov ebx, ecx
mov dword [esp + 0x30], ebx
movss xmm0, dword [0x10214330]
lea eax, [ebx + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [esp + 0x48], eax
xor eax, eax
mov word [ebx + 0x24], 1
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov word [ebx + 0x30], ax
mov eax, dword [0x1023fc7c]
movss xmm2, dword [0x102143b4]
xorps xmm1, xmm1
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
movss xmm6, dword [eax + 0x20]
divss xmm0, xmm6
addss xmm0, xmm2
movss dword [esp + 0x2c], xmm6
movss dword [esp + 0x18], xmm1
cvttss2si ecx, xmm0
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x24], ecx
test edx, edx
jle 0x100a19b5
add edx, dword [ebp + 0xc]
movss xmm5, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
sub eax, edx
movd xmm0, edx
mov edx, eax
cvtdq2ps xmm0, xmm0
mov dword [ebp + 8], edx
mulss xmm0, xmm6
subss xmm5, xmm0
movss dword [esp + 0x18], xmm5
movss xmm0, dword [0x10214654]
mov edi, edx
divss xmm0, xmm6
mov dword [esp + 0x28], edi
addss xmm0, xmm2
cvttss2si eax, xmm0
cmp edx, eax
jge 0x100a1ed3
mov ax, word [esp + 0x1e]
movaps xmm0, xmm6
mulss xmm0, dword [0x10214728]
cwde
movss xmm4, dword [esp + 0x70]
movss xmm2, dword [esp + 0x6c]
movss xmm3, dword [esp + 0x68]
lea esi, [eax - 0x2b]
movss dword [esp + 0x44], xmm0
mov dword [esp + 0x34], esi
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x14], xmm3
jmp 0x100a1a24
mov edi, dword [esp + 0x28]
test ecx, ecx
jne 0x100a1a4f
lea eax, [esp + 0x74]
mov ecx, ebx
push eax
call fcn.1008bca0
movss xmm2, dword [esp + 0x10]
xorps xmm1, xmm1
movss xmm3, dword [esp + 0x14]
movss xmm4, dword [esp + 0x20]
movss xmm6, dword [esp + 0x2c]
movaps xmm0, xmm3
mov dword [esp + 0xa0], 0
addss xmm0, xmm1
mov dword [esp + 0xa4], 0
lea eax, [esp + 0x80]
mov dword [esp + 0xa8], 0
push eax
lea edx, [esp + 0x54]
lea ecx, [esp + 0x78]
mulss xmm0, xmm6
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
mulss xmm0, xmm6
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x48]
addss xmm4, xmm0
movss dword [esp + 0x3c], xmm0
mulss xmm4, dword [0x102143b4]
addss xmm4, xmm1
mulss xmm4, xmm6
movss dword [esp + 0x5c], xmm4
movaps xmm4, xmm0
xorps xmm0, xmm0
movss dword [esp + 0x24], xmm4
movq qword [esp + 0x9c], xmm0
call fcn.100a17d0
cmp esi, 5
mov esi, dword [0x1023fc7c]
ja case.default.0x100a1af8
mov eax, dword [esp + 0x34]
jmp dword [eax*4 + 0x100a1f54]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x10214460]
jb case.default.0x100a1af8
mov eax, dword [esi + 0xc]
movss xmm0, dword [0x10214364]
divss xmm0, dword [eax + 0x20]
mov eax, edi
cdq
addss xmm0, dword [0x102143b4]
cvttss2si ecx, xmm0
idiv ecx
test edx, edx
jne case.default.0x100a1af8
lea ebx, [edx + 1]
jmp 0x100a1c1a
movss xmm1, dword [esp + 0x10]
movss xmm0, dword [esp + 0x14]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x100a1b6d
sqrtsd xmm0, xmm0
jmp 0x100a1b72
call fcn.101ddb50
movss xmm1, dword [0x10214364]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jb case.default.0x100a1af8
mov eax, dword [esi + 0xc]
movaps xmm0, xmm1
divss xmm0, dword [eax + 0x20]
mov eax, edi
cdq
addss xmm0, dword [0x102143b4]
cvttss2si ecx, xmm0
idiv ecx
test edx, edx
jne case.default.0x100a1af8
lea ebx, [edx + 1]
jmp 0x100a1c1a
movss xmm1, dword [esp + 0xac]
ucomiss xmm1, dword [0x10214420]
movss xmm2, dword [esp + 0xa0]
lahf
test ah, 0x44
jnp 0x100a1bdb
comiss xmm2, dword [0x102143d0]
jbe 0x100a1bdb
mov ebx, 1
jmp 0x100a1c2c
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x102144c8]
jb 0x100a1c14
mov eax, dword [esi + 0xc]
movss xmm0, dword [0x10214344]
divss xmm0, dword [eax + 0x20]
mov eax, edi
cdq
addss xmm0, dword [0x102143b4]
cvttss2si ecx, xmm0
idiv ecx
test edx, edx
jne 0x100a1c14
lea ebx, [edx + 1]
jmp 0x100a1c2c
xor ebx, ebx
jmp 0x100a1c2c
xor ebx, ebx
movss xmm2, dword [esp + 0xa0]
movss xmm1, dword [esp + 0xac]
movss xmm0, dword [0x10214420]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x100a1e31
comiss xmm0, xmm1
ja 0x100a1c5e
cmp byte [esp + 0xb6], 0
jne 0x100a1c5e
cmp byte [esp + 0xb7], 0
je 0x100a1e31
movss xmm1, dword [esp + 0x98]
or ebx, 2
movss xmm6, dword [esp + 0x9c]
movaps xmm0, xmm1
movss xmm5, dword [esp + 0x14]
movaps xmm4, xmm6
movss xmm3, dword [esp + 0x10]
mulss xmm0, xmm5
mulss xmm4, xmm3
addss xmm4, xmm0
movaps xmm0, xmm2
movss xmm2, dword [esp + 0x38]
mulss xmm0, xmm2
addss xmm4, xmm0
movss xmm0, dword [0x102147b0]
addss xmm4, xmm4
mulss xmm1, xmm4
subss xmm5, xmm1
movss xmm1, dword [0x10214344]
comiss xmm5, xmm0
jbe 0x100a1ccb
comiss xmm1, xmm5
jbe 0x100a1ccb
xorps xmm5, xmm5
mulss xmm6, xmm4
subss xmm3, xmm6
comiss xmm3, xmm0
jbe 0x100a1ce0
comiss xmm1, xmm3
jbe 0x100a1ce0
xorps xmm3, xmm3
movss xmm6, dword [esp + 0xa0]
movaps xmm0, xmm6
mulss xmm0, xmm4
subss xmm2, xmm0
comiss xmm2, dword [0x102147b0]
jbe 0x100a1d05
comiss xmm1, xmm2
jbe 0x100a1d05
xorps xmm2, xmm2
movss xmm0, dword [0x102143ac]
mulss xmm3, xmm0
mulss xmm5, xmm0
mulss xmm2, xmm0
movaps xmm1, xmm3
movaps xmm0, xmm5
mulss xmm1, xmm3
mulss xmm0, xmm5
movss dword [esp + 0x5c], xmm5
movss dword [esp + 0x60], xmm3
addss xmm1, xmm0
movss dword [esp + 0x64], xmm2
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movss xmm0, dword [0x10214744]
comiss xmm0, xmm1
jbe 0x100a1d70
xorps xmm5, xmm5
xorps xmm3, xmm3
xorps xmm2, xmm2
movss dword [esp + 0x5c], xmm5
movss dword [esp + 0x60], xmm3
movss dword [esp + 0x64], xmm2
comiss xmm6, dword [0x102143d0]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], eax
jbe 0x100a1de8
movss xmm1, dword [0x10214420]
lea eax, [esp + 0x80]
subss xmm1, dword [esp + 0xac]
movaps xmm0, xmm5
lea edx, [esp + 0x5c]
unpcklps xmm0, xmm3
lea ecx, [esp + 0x8c]
movq qword [esp + 0x5c], xmm0
movq qword [esp + 0x68], xmm0
mulss xmm1, dword [esp + 0x2c]
push eax
movaps xmm0, xmm1
mulss xmm0, xmm5
movss dword [esp + 0x60], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x68], xmm1
call fcn.100a17d0
jmp 0x100a1df4
movq xmm0, qword [esp + 0x5c]
movq qword [esp + 0x68], xmm0
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x8c]
push eax
call fcn.1008bca0
movss xmm4, dword [esp + 0x70]
movss xmm2, dword [esp + 0x6c]
movss xmm3, dword [esp + 0x68]
mov esi, dword [0x1023fc7c]
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x14], xmm3
jmp 0x100a1e43
movss xmm4, dword [esp + 0x20]
movss xmm3, dword [esp + 0x14]
movss xmm2, dword [esp + 0x10]
movq xmm0, qword [esp + 0x8c]
mov edi, dword [esp + 0x94]
movq qword [esp + 0x38], xmm0
movq qword [esp + 0x74], xmm0
mov dword [esp + 0x7c], edi
test bl, 1
jne 0x100a1ee5
test bl, 2
jne 0x100a1e7a
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x4c]
jge 0x100a1e7a
inc ecx
jmp 0x100a1e7c
xor ecx, ecx
mov eax, dword [esi + 0xc]
mov esi, dword [esp + 0x28]
movss xmm6, dword [esp + 0x2c]
inc esi
mov ebx, dword [esp + 0x30]
movss xmm1, dword [eax + 0x20]
movaps xmm0, xmm1
mov dword [esp + 0x28], esi
addss xmm0, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
movss dword [esp + 0x18], xmm0
movss xmm0, dword [0x10214654]
divss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, dword [0x102143b4]
cvttss2si eax, xmm0
cmp esi, eax
mov esi, dword [esp + 0x34]
jl 0x100a1a20
jmp 0x100a1ee9
movq xmm0, qword [esp + 0x74]
mov edi, dword [esp + 0x7c]
movq qword [esp + 0x38], xmm0
jmp 0x100a1ee9
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x74]
mov ecx, ebx
push eax
call fcn.1008bca0
mov ax, word [esp + 0x1e]
movq xmm0, qword [esp + 0x38]
mov word [ebx + 0x30], ax
mov eax, dword [ebp + 8]
movq qword [ebx + 0x18], xmm0
mov dword [ebx + 0x20], edi
test eax, eax
je 0x100a1f38
movss xmm0, dword [esp + 0x18]
movss dword [ebx + 0x28], xmm0
mov ecx, dword [0x1023fc7c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov ecx, dword [ecx + 0xc]
mulss xmm0, dword [ecx + 0x20]
movss dword [ebx + 0x2c], xmm0
mov ecx, dword [esp + 0xdc]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret 0xc