Function at 0x1009e7e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov ecx, dword [0x1025b460]
push ebx
push esi
push edi
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x19b0]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov ebx, eax
shr ebx, 0x18
movzx ecx, bl
mov dword [ebp - 0x30], ebx
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x10168648]
movss dword [ebp - 4], xmm1
cmp al, 0xcc
jne 0x1009e866
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x14], ecx
cmp cl, al
jne 0x1009e866
mov edx, eax
shr edx, 0x10
mov dword [ebp - 8], edx
cmp dl, al
jne 0x1009e866
cmp bl, 0xff
jne 0x1009e866
mov dword [ebp - 0xc], 0xffcccccc
mov bl, byte [ebp - 0xa]
mov dword [ebp - 0x28], ebx
mov bl, byte [ebp - 0xb]
mov dword [ebp - 0x24], ebx
mov bl, byte [ebp - 0xc]
mov dword [ebp - 0xc], ebx
jmp 0x1009e91d
mov ecx, eax
mov ebx, eax
movzx eax, al
sub esp, 0xc
shr ecx, 0x10
shr ebx, 8
mov dword [ebp - 8], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x14], ebx
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
mov dword [esp], 0x434c0000
call fcn.1009e640
movss xmm0, dword [ebp - 4]
fstp dword [ebp - 0x34]
cvttss2si eax, dword [ebp - 0x34]
movss dword [esp + 8], xmm0
mov dword [ebp - 0xc], eax
movzx eax, bl
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x434c0000
call fcn.1009e640
movss xmm0, dword [ebp - 4]
fstp dword [ebp - 0x34]
cvttss2si eax, dword [ebp - 0x34]
movss dword [esp + 8], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x434c0000
call fcn.1009e640
movss xmm1, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 8]
mov ecx, ebx
fstp dword [ebp - 0x34]
cvttss2si eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
movss xmm0, dword [ebp + 0x30]
mulss xmm0, dword [0x101686e4]
cvttss2si ebx, xmm0
cmp ebx, 0xff
jle 0x1009e93f
mov edx, dword [ebp - 8]
mov byte [ebp - 0x2c], 0xff
jmp 0x1009e94c
xor edi, edi
movzx esi, bl
test ebx, ebx
cmovs esi, edi
mov dword [ebp - 0x2c], esi
cmp al, 0x80
jne 0x1009e97b
cmp cl, al
jne 0x1009e97b
cmp dl, al
jne 0x1009e97b
cmp byte [ebp - 0x30], 0xff
jne 0x1009e97b
mov dword [ebp - 0x14], 0xff808080
mov cl, al
mov dl, byte [ebp - 0x13]
mov dword [ebp - 0x34], edx
mov dl, byte [ebp - 0x14]
mov byte [ebp + 0x30], al
mov dword [ebp - 0x30], edx
jmp 0x1009ea1a
movzx eax, al
sub esp, 0xc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
mov dword [esp], 0x43000000
call fcn.1009e640
movss xmm0, dword [ebp - 4]
fstp dword [ebp + 0x30]
cvttss2si eax, dword [ebp + 0x30]
movss dword [esp + 8], xmm0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x43000000
call fcn.1009e640
movss xmm0, dword [ebp - 4]
fstp dword [ebp + 0x30]
cvttss2si eax, dword [ebp + 0x30]
movss dword [esp + 8], xmm0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x43000000
call fcn.1009e640
fstp dword [ebp + 0x30]
cvttss2si eax, dword [ebp + 0x30]
add esp, 0xc
mov dword [ebp + 0x30], eax
mov cl, al
cmp ebx, 0xff
jle 0x1009ea27
or bl, 0xff
jmp 0x1009ea35
test ebx, ebx
jns 0x1009ea32
xor bl, bl
mov byte [ebp + 0x30], cl
jmp 0x1009ea35
mov byte [ebp + 0x30], al
mov eax, dword [ebp - 0xc]
movss xmm1, dword [0x10168648]
movzx eax, al
movd xmm0, eax
mov eax, dword [ebp - 0x24]
cvtdq2ps xmm0, xmm0
movzx eax, al
mulss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x28]
cvtdq2ps xmm0, xmm0
movzx eax, al
mulss xmm0, xmm1
movss dword [ebp - 0x1c], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x2c]
cvtdq2ps xmm0, xmm0
movzx eax, al
mulss xmm0, xmm1
movss dword [ebp - 0x18], xmm0
movd xmm0, eax
lea eax, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push eax
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
call fcn.10013350
movss xmm1, dword [0x10168648]
mov esi, eax
mov eax, dword [ebp - 0x30]
movzx ecx, al
mov eax, dword [ebp - 0x34]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movzx ecx, al
mov eax, dword [ebp + 0x30]
mulss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movzx ecx, al
movzx eax, bl
mulss xmm0, xmm1
movss dword [ebp - 0x1c], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x18], xmm0
movd xmm0, eax
lea eax, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push eax
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
call fcn.10013350
mov edi, dword [ebp + 0x2c]
add esp, 8
movss xmm0, dword [ebp + 0x28]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x10]
push edi
push ecx
mov ecx, dword [ebx + 0x284]
movss dword [esp], xmm0
push esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.10021850
movss xmm0, dword [ebp + 0x24]
xor esi, esi
movss xmm7, dword [ebp + 0xc]
movss xmm6, dword [ebp + 0x14]
addss xmm0, xmm7
mov dword [ebp - 0x30], esi
comiss xmm6, xmm0
jbe 0x1009ecb9
movss xmm3, dword [ebp + 0x10]
lea ecx, [esi + 1]
movss xmm4, dword [ebp + 8]
comiss xmm7, xmm0
jbe 0x1009eb6f
movaps xmm5, xmm7
movss dword [ebp + 0x30], xmm7
jmp 0x1009eb7b
movaps xmm5, xmm6
minss xmm5, xmm0
movss dword [ebp + 0x30], xmm5
movss xmm1, dword [ebp + 0x1c]
addss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
minss xmm0, xmm6
comiss xmm5, xmm0
movss dword [ebp - 0x38], xmm0
jae 0x1009eca7
movss xmm0, dword [ebp + 0x20]
mov eax, esi
and eax, 1
addss xmm0, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm1
addss xmm2, xmm0
comiss xmm3, xmm2
movss dword [ebp - 0x34], xmm2
jbe 0x1009eca7
mov esi, dword [ebp - 0x2c]
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
comiss xmm4, xmm2
jbe 0x1009ebdf
movaps xmm1, xmm4
jmp 0x1009ebe6
movaps xmm1, xmm3
minss xmm1, xmm2
movaps xmm0, xmm2
addss xmm0, dword [ebp + 0x1c]
minss xmm0, xmm3
comiss xmm1, xmm0
jae 0x1009ec8a
xor eax, eax
comiss xmm7, xmm5
jb 0x1009ec10
comiss xmm4, xmm1
cmovae eax, ecx
comiss xmm0, xmm3
jb 0x1009ec10
or eax, 2
movss xmm7, dword [ebp - 0x38]
comiss xmm7, xmm6
jb 0x1009ec2a
comiss xmm4, xmm1
jb 0x1009ec22
or eax, 4
comiss xmm0, xmm3
jb 0x1009ec2a
or eax, 8
and eax, edi
je 0x1009ec35
movss xmm2, dword [ebp + 0x28]
jmp 0x1009ec38
xorps xmm2, xmm2
push eax
push ecx
mov ecx, dword [ebx + 0x284]
lea eax, [ebp - 0x18]
movss dword [esp], xmm2
push esi
push eax
lea eax, [ebp - 0x10]
movss dword [ebp - 0x18], xmm0
push eax
movss dword [ebp - 0x14], xmm7
movss dword [ebp - 0x10], xmm1
movss dword [ebp - 0xc], xmm5
call fcn.10021850
movss xmm6, dword [ebp + 0x14]
mov ecx, 1
movss xmm3, dword [ebp + 0x10]
movss xmm7, dword [ebp + 0xc]
movss xmm4, dword [ebp + 8]
movss xmm2, dword [ebp - 0x34]
movss xmm5, dword [ebp + 0x30]
movss xmm0, dword [ebp - 0x28]
addss xmm0, xmm2
movaps xmm2, xmm0
movss dword [ebp - 0x34], xmm0
comiss xmm3, xmm2
ja 0x1009ebd5
mov esi, dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x24]
inc esi
comiss xmm6, xmm0
mov dword [ebp - 0x30], esi
ja 0x1009eb60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret