Function at 0x10089170
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov ecx, dword [0x1020f4d8]
push ebx
push esi
push edi
mov eax, dword [ecx + 0x19b0]
movss dword [ebp - 0x24], xmm1
mov byte [eax + 0x8c], 1
mov eax, dword [ebp + 8]
mov edx, eax
mov edi, dword [ecx + 0x19b0]
shr edx, 0x18
movd xmm2, edx
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x10155aa0]
movss dword [ebp - 4], xmm2
cmp al, 0xcc
jne 0x100891e6
mov ecx, eax
shr ecx, 8
cmp cl, al
jne 0x100891e6
mov ecx, eax
shr ecx, 0x10
cmp cl, al
jne 0x100891e6
cmp dl, 0xff
jne 0x100891e6
mov dword [ebp - 8], 0xffcccccc
mov bl, byte [ebp - 6]
mov dword [ebp - 0x20], ebx
mov bl, byte [ebp - 7]
mov byte [ebp - 0x10], al
mov dword [ebp - 8], ebx
jmp 0x1008925b
movss xmm0, dword [0x10155de4]
shr eax, 0x10
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.10085b20
movss xmm2, dword [ebp - 4]
cvttss2si eax, xmm0
movss xmm0, dword [0x10155de4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
movzx eax, ah
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.10085b20
movss xmm2, dword [ebp - 4]
cvttss2si eax, xmm0
movss xmm0, dword [0x10155de4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.10085b20
movss xmm2, dword [ebp - 4]
cvttss2si eax, xmm0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
movss xmm0, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mulss xmm0, dword [0x10155e08]
lea edx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
mov dword [ebp - 0x2c], 0xff
cvttss2si esi, xmm0
test esi, esi
mov dword [ebp - 0x28], esi
cmovns edx, ecx
cmp esi, 0xff
lea ecx, [ebp - 0x2c]
cmovle ecx, edx
mov cl, byte [ecx]
mov byte [ebp + 0xf], cl
mov cl, byte [ebp + 0xa]
cmp al, 0x80
jne 0x100892c0
cmp ah, 0x80
jne 0x100892c0
cmp cl, ah
jne 0x100892c0
cmp byte [ebp + 0xb], 0xff
jne 0x100892c0
mov dword [ebp - 0x2c], 0xff808080
mov bl, ah
mov dl, byte [ebp - 0x2b]
mov byte [ebp - 4], ah
jmp 0x1008932a
movss xmm0, dword [0x10155db0]
movzx eax, cl
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.10085b20
mov eax, dword [ebp + 8]
movss xmm2, dword [ebp - 4]
movzx eax, ah
cvttss2si ebx, xmm0
movss xmm0, dword [0x10155db0]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.10085b20
movss xmm2, dword [ebp - 4]
cvttss2si eax, xmm0
movss xmm0, dword [0x10155db0]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.10085b20
mov edx, dword [ebp - 0x2c]
cvttss2si eax, xmm0
mov dword [ebp - 4], eax
movss xmm1, dword [0x10155aa0]
lea eax, [ebp - 0x28]
test esi, esi
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 0xff
cmovns ecx, eax
mov dword [ebp - 0x2c], 0
cmp esi, 0xff
lea eax, [ebp - 0x30]
cmovle eax, ecx
mov cl, byte [eax]
mov eax, dword [ebp - 0x10]
movzx eax, al
movd xmm0, eax
mov eax, dword [ebp - 8]
cvtdq2ps xmm0, xmm0
movzx eax, al
mulss xmm0, xmm1
movss dword [ebp - 0x40], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
movzx eax, al
mulss xmm0, xmm1
movss dword [ebp - 0x3c], xmm0
movd xmm0, eax
movzx eax, byte [ebp + 0xf]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x38], xmm0
movd xmm0, eax
mov eax, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
movzx eax, al
mulss xmm0, xmm1
movss dword [ebp - 0x34], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, dl
mulss xmm0, xmm1
movss dword [ebp - 0x1c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, bl
mulss xmm0, xmm1
movss dword [ebp - 0x18], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
lea ecx, [ebp - 0x1c]
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
call fcn.1000a080
push 0xf
push ecx
lea ecx, [ebp - 0x40]
mov dword [esp], 0x40800000
mov esi, eax
call fcn.1000a080
mov ecx, dword [edi + 0x284]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.100243c0
movss xmm0, dword [ebp + 0x24]
xor ebx, ebx
movss xmm7, dword [ebp + 0x14]
movss xmm6, dword [ebp + 0x1c]
addss xmm0, xmm7
comiss xmm6, xmm0
jbe 0x100895b3
movss xmm3, dword [ebp + 0x18]
lea ecx, [ebx + 1]
movss xmm4, dword [ebp + 0x10]
nop dword [eax]
comiss xmm7, xmm0
jbe 0x1008946f
movaps xmm5, xmm7
movss dword [ebp + 0xc], xmm7
jmp 0x1008947b
movaps xmm5, xmm6
minss xmm5, xmm0
movss dword [ebp + 0xc], xmm5
movss xmm1, dword [ebp - 0x24]
addss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
minss xmm0, xmm6
comiss xmm5, xmm0
movss dword [ebp - 0x30], xmm0
jae 0x100895a4
movss xmm0, dword [ebp + 0x20]
mov eax, ebx
and eax, 1
addss xmm0, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm1
addss xmm2, xmm0
comiss xmm3, xmm2
movss dword [ebp - 0x20], xmm2
jbe 0x100895a4
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
comiss xmm4, xmm2
jbe 0x100894dc
movaps xmm1, xmm4
jmp 0x100894e3
movaps xmm1, xmm3
minss xmm1, xmm2
movaps xmm0, xmm2
addss xmm0, dword [ebp - 0x24]
minss xmm0, xmm3
comiss xmm1, xmm0
jae 0x1008958a
xor eax, eax
comiss xmm7, xmm5
jb 0x1008950d
comiss xmm4, xmm1
cmovae eax, ecx
comiss xmm0, xmm3
jb 0x1008950d
or eax, 2
movss xmm7, dword [ebp - 0x30]
comiss xmm7, xmm6
jb 0x10089527
comiss xmm4, xmm1
jb 0x1008951f
or eax, 4
comiss xmm0, xmm3
jb 0x10089527
or eax, 8
test eax, eax
je 0x10089535
movss xmm2, dword [0x10155c60]
jmp 0x10089538
xorps xmm2, xmm2
push eax
push ecx
mov ecx, dword [edi + 0x284]
lea eax, [ebp - 0x14]
movss dword [esp], xmm2
push esi
push eax
lea eax, [ebp - 0xc]
movss dword [ebp - 0x14], xmm0
push eax
movss dword [ebp - 0x10], xmm7
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 8], xmm5
call fcn.100243c0
movss xmm6, dword [ebp + 0x1c]
mov ecx, 1
movss xmm3, dword [ebp + 0x18]
movss xmm7, dword [ebp + 0x14]
movss xmm4, dword [ebp + 0x10]
movss xmm2, dword [ebp - 0x20]
movss xmm5, dword [ebp + 0xc]
movss xmm0, dword [ebp - 0x2c]
addss xmm0, xmm2
movaps xmm2, xmm0
movss dword [ebp - 0x20], xmm0
comiss xmm3, xmm2
ja 0x100894d2
movss xmm0, dword [ebp - 0x28]
inc ebx
comiss xmm6, xmm0
ja 0x10089460
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret