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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x101f80c0]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov word [esp + 0x1a], dx
movss dword [esp + 0x74], xmm5
movss dword [esp + 0x70], xmm4
movss dword [esp + 0x6c], xmm3
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x30], xmm0
mov ebx, ecx
mov dword [esp + 0x2c], ebx
movss xmm0, dword [0x101ea1e0]
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 + 0x4c], 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 [0x10213404]
movss xmm2, dword [0x101ea26c]
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 + 0x28], xmm6
movss dword [esp + 0x14], xmm1
cvttss2si ecx, xmm0
mov dword [esp + 0x50], ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
test edx, edx
jle 0x1009b255
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 + 0x14], xmm5
movss xmm0, dword [0x101ea4fc]
mov edi, edx
divss xmm0, xmm6
mov dword [esp + 0x24], edi
addss xmm0, xmm2
cvttss2si eax, xmm0
cmp edx, eax
jge 0x1009b76d
mov ax, word [esp + 0x1a]
movaps xmm0, xmm6
mulss xmm0, dword [0x101ea5d4]
cwde
movss xmm4, dword [esp + 0x74]
movss xmm2, dword [esp + 0x70]
movss xmm3, dword [esp + 0x6c]
lea esi, [eax - 0x2b]
movss dword [esp + 0x48], xmm0
mov dword [esp + 0x3c], esi
movss dword [esp + 0x1c], xmm4
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x10], xmm3
jmp 0x1009b2c4
mov edi, dword [esp + 0x24]
test ecx, ecx
jne 0x1009b2ef
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call fcn.10089300
movss xmm2, dword [esp + 0xc]
xorps xmm1, xmm1
movss xmm3, dword [esp + 0x10]
movss xmm4, dword [esp + 0x1c]
movss xmm6, dword [esp + 0x28]
movaps xmm0, xmm3
mov dword [esp + 0x98], 0
addss xmm0, xmm1
mov dword [esp + 0x9c], 0
lea eax, [esp + 0x78]
mov dword [esp + 0xa0], 0
push eax
lea edx, [esp + 0x58]
lea ecx, [esp + 0x34]
mulss xmm0, xmm6
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
mulss xmm0, xmm6
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x4c]
addss xmm4, xmm0
movss dword [esp + 0x44], xmm0
mulss xmm4, dword [0x101ea26c]
addss xmm4, xmm1
mulss xmm4, xmm6
movss dword [esp + 0x60], xmm4
movaps xmm4, xmm0
xorps xmm0, xmm0
movss dword [esp + 0x20], xmm4
movq qword [esp + 0x94], xmm0
call fcn.1009b070
cmp esi, 5
mov esi, dword [0x10213404]
ja case.default.0x1009b395
mov eax, dword [esp + 0x3c]
jmp dword [eax*4 + 0x1009b7ec]
movss xmm0, dword [esp + 0x14]
comiss xmm0, dword [0x101ea320]
jb case.default.0x1009b395
mov eax, dword [esi + 0xc]
movss xmm0, dword [0x101ea214]
divss xmm0, dword [eax + 0x20]
mov eax, edi
cdq
addss xmm0, dword [0x101ea26c]
cvttss2si ecx, xmm0
idiv ecx
test edx, edx
jne case.default.0x1009b395
lea ebx, [edx + 1]
jmp 0x1009b4b7
movss xmm1, dword [esp + 0xc]
movss xmm0, dword [esp + 0x10]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1009b40a
sqrtsd xmm0, xmm0
jmp 0x1009b40f
call fcn.101b5e60
movss xmm1, dword [0x101ea214]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jb case.default.0x1009b395
mov eax, dword [esi + 0xc]
movaps xmm0, xmm1
divss xmm0, dword [eax + 0x20]
mov eax, edi
cdq
addss xmm0, dword [0x101ea26c]
cvttss2si ecx, xmm0
idiv ecx
test edx, edx
jne case.default.0x1009b395
lea ebx, [edx + 1]
jmp 0x1009b4b7
movss xmm1, dword [esp + 0xa4]
ucomiss xmm1, dword [0x101ea2dc]
movss xmm2, dword [esp + 0x98]
lahf
test ah, 0x44
jnp 0x1009b478
comiss xmm2, dword [0x101ea288]
jbe 0x1009b478
mov ebx, 1
jmp 0x1009b4c9
movss xmm0, dword [esp + 0x14]
comiss xmm0, dword [0x101ea380]
jb 0x1009b4b1
mov eax, dword [esi + 0xc]
movss xmm0, dword [0x101ea1f4]
divss xmm0, dword [eax + 0x20]
mov eax, edi
cdq
addss xmm0, dword [0x101ea26c]
cvttss2si ecx, xmm0
idiv ecx
test edx, edx
jne 0x1009b4b1
lea ebx, [edx + 1]
jmp 0x1009b4c9
xor ebx, ebx
jmp 0x1009b4c9
xor ebx, ebx
movss xmm2, dword [esp + 0x98]
movss xmm1, dword [esp + 0xa4]
movss xmm0, dword [0x101ea2dc]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1009b6cb
comiss xmm0, xmm1
ja 0x1009b4fb
cmp byte [esp + 0xae], 0
jne 0x1009b4fb
cmp byte [esp + 0xaf], 0
je 0x1009b6cb
movss xmm1, dword [esp + 0x90]
or ebx, 2
movss xmm6, dword [esp + 0x94]
movaps xmm0, xmm1
movss xmm5, dword [esp + 0x10]
movaps xmm4, xmm6
movss xmm3, dword [esp + 0xc]
mulss xmm0, xmm5
mulss xmm4, xmm3
addss xmm4, xmm0
movaps xmm0, xmm2
movss xmm2, dword [esp + 0x40]
mulss xmm0, xmm2
addss xmm4, xmm0
movss xmm0, dword [0x101ea660]
addss xmm4, xmm4
mulss xmm1, xmm4
subss xmm5, xmm1
movss xmm1, dword [0x101ea1f4]
comiss xmm5, xmm0
jbe 0x1009b568
comiss xmm1, xmm5
jbe 0x1009b568
xorps xmm5, xmm5
mulss xmm6, xmm4
subss xmm3, xmm6
comiss xmm3, xmm0
jbe 0x1009b57d
comiss xmm1, xmm3
jbe 0x1009b57d
xorps xmm3, xmm3
movss xmm6, dword [esp + 0x98]
movaps xmm0, xmm6
mulss xmm0, xmm4
subss xmm2, xmm0
comiss xmm2, dword [0x101ea660]
jbe 0x1009b5a2
comiss xmm1, xmm2
jbe 0x1009b5a2
xorps xmm2, xmm2
movss xmm0, dword [0x101ea264]
mulss xmm3, xmm0
mulss xmm5, xmm0
mulss xmm2, xmm0
movaps xmm1, xmm3
movaps xmm0, xmm5
mulss xmm1, xmm3
mulss xmm0, xmm5
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x64], xmm3
addss xmm1, xmm0
movss dword [esp + 0x68], xmm2
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movss xmm0, dword [0x101ea5f0]
comiss xmm0, xmm1
jbe 0x1009b60d
xorps xmm5, xmm5
xorps xmm3, xmm3
xorps xmm2, xmm2
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x68], xmm2
comiss xmm6, dword [0x101ea288]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x74], eax
jbe 0x1009b682
movss xmm1, dword [0x101ea2dc]
lea eax, [esp + 0x78]
subss xmm1, dword [esp + 0xa4]
movaps xmm0, xmm5
lea edx, [esp + 0x60]
unpcklps xmm0, xmm3
lea ecx, [esp + 0x84]
movq qword [esp + 0x60], xmm0
movq qword [esp + 0x6c], xmm0
mulss xmm1, dword [esp + 0x28]
push eax
movaps xmm0, xmm1
mulss xmm0, xmm5
movss dword [esp + 0x64], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm1
call fcn.1009b070
jmp 0x1009b68e
movq xmm0, qword [esp + 0x60]
movq qword [esp + 0x6c], xmm0
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x84]
push eax
call fcn.10089300
movss xmm4, dword [esp + 0x74]
movss xmm2, dword [esp + 0x70]
movss xmm3, dword [esp + 0x6c]
mov esi, dword [0x10213404]
movss dword [esp + 0x1c], xmm4
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x10], xmm3
jmp 0x1009b6dd
movss xmm4, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x10]
movss xmm2, dword [esp + 0xc]
movq xmm0, qword [esp + 0x84]
mov edi, dword [esp + 0x8c]
movq qword [esp + 0x40], xmm0
movq qword [esp + 0x30], xmm0
mov dword [esp + 0x38], edi
test bl, 1
jne 0x1009b77f
test bl, 2
jne 0x1009b714
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x50]
jge 0x1009b714
inc ecx
jmp 0x1009b716
xor ecx, ecx
mov eax, dword [esi + 0xc]
mov esi, dword [esp + 0x24]
movss xmm6, dword [esp + 0x28]
inc esi
mov ebx, dword [esp + 0x2c]
movss xmm1, dword [eax + 0x20]
movaps xmm0, xmm1
mov dword [esp + 0x24], esi
addss xmm0, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
movss dword [esp + 0x14], xmm0
movss xmm0, dword [0x101ea4fc]
divss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, dword [0x101ea26c]
cvttss2si eax, xmm0
cmp esi, eax
mov esi, dword [esp + 0x3c]
jl 0x1009b2c0
jmp 0x1009b783
movq xmm0, qword [esp + 0x30]
mov edi, dword [esp + 0x38]
movq qword [esp + 0x40], xmm0
jmp 0x1009b783
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call fcn.10089300
mov ax, word [esp + 0x1a]
movq xmm0, qword [esp + 0x40]
mov word [ebx + 0x30], ax
mov eax, dword [ebp + 8]
movq qword [ebx + 0x18], xmm0
mov dword [ebx + 0x20], edi
test eax, eax
je 0x1009b7d2
movss xmm0, dword [esp + 0x14]
movss dword [ebx + 0x28], xmm0
mov ecx, dword [0x10213404]
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 + 0xd4]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret 0xc