Function at 0x1009fd20
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov ecx, dword [0x10273be0]
movss xmm4, dword [0x1016a6b0]
push ebx
push esi
mov eax, dword [ecx + 0x19b0]
push edi
mov byte [eax + 0x8c], 1
mov eax, dword [ebp + 0x18]
mov edx, eax
shr edx, 0x18
mov edi, dword [ecx + 0x19b0]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
divss xmm1, xmm4
movss dword [ebp - 4], xmm1
cmp al, 0xcc
jne 0x1009fd98
mov ecx, eax
shr ecx, 8
cmp cl, al
jne 0x1009fd98
mov ecx, eax
shr ecx, 0x10
cmp cl, al
jne 0x1009fd98
cmp dl, 0xff
jne 0x1009fd98
mov dword [ebp - 4], 0xffcccccc
mov bl, byte [ebp - 2]
mov dword [ebp - 8], ebx
mov bl, byte [ebp - 3]
mov byte [ebp - 0x20], al
mov dword [ebp - 0x10], ebx
jmp 0x1009fe3f
shr eax, 0x10
sub esp, 0xc
movzx eax, al
movss dword [esp + 8], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x434c0000
call fcn.1009fb40
movss xmm1, dword [ebp - 4]
fstp dword [ebp - 0x28]
cvttss2si eax, dword [ebp - 0x28]
movss dword [esp + 8], xmm1
mov dword [ebp - 8], eax
movzx eax, byte [ebp + 0x19]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x434c0000
call fcn.1009fb40
movss xmm1, dword [ebp - 4]
fstp dword [ebp - 0x28]
cvttss2si eax, dword [ebp - 0x28]
movss dword [esp + 8], xmm1
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp + 0x18]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x434c0000
call fcn.1009fb40
movss xmm4, dword [0x1016a6b0]
add esp, 0xc
fstp dword [ebp - 0x28]
cvttss2si eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
movss xmm0, dword [ebp + 0x30]
lea ecx, [ebp - 0x24]
mulss xmm0, xmm4
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 0xff
mov dword [ebp - 0x28], 0
cvttss2si esi, xmm0
test esi, esi
mov dword [ebp - 0x24], esi
cmovns edx, ecx
cmp esi, 0xff
lea ecx, [ebp - 4]
cmovle ecx, edx
mov dl, byte [ebp + 0x1b]
cmp al, 0x80
mov al, byte [ebp + 0x1a]
mov bh, byte [ecx]
movzx ecx, dl
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
divss xmm1, xmm4
movss dword [ebp - 4], xmm1
jne 0x1009feba
cmp byte [ebp + 0x19], 0x80
jne 0x1009feba
cmp al, 0x80
jne 0x1009feba
cmp dl, 0xff
jne 0x1009feba
mov dword [ebp - 0x28], 0xff808080
mov byte [ebp - 4], al
mov byte [ebp - 0x24], al
mov al, byte [ebp - 0x27]
mov dword [ebp - 0x28], eax
jmp 0x1009ff5b
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.1009fb40
movss xmm1, dword [ebp - 4]
fstp dword [ebp - 0x28]
cvttss2si eax, dword [ebp - 0x28]
movss dword [esp + 8], xmm1
mov dword [ebp - 0x24], eax
movzx eax, byte [ebp + 0x19]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x43000000
call fcn.1009fb40
movss xmm1, dword [ebp - 4]
fstp dword [ebp - 0x28]
cvttss2si eax, dword [ebp - 0x28]
movss dword [esp + 8], xmm1
mov dword [ebp - 0x28], eax
movzx eax, byte [ebp + 0x18]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x43000000
call fcn.1009fb40
movss xmm4, dword [0x1016a6b0]
add esp, 0xc
fstp dword [ebp - 4]
cvttss2si eax, dword [ebp - 4]
mov dword [ebp - 4], eax
movss xmm0, dword [ebp + 0x30]
lea eax, [ebp - 0x2c]
mulss xmm0, xmm4
lea ecx, [ebp + 0x30]
mov dword [ebp - 0x30], 0xff
mov dword [ebp + 0x30], 0
cvttss2si edx, xmm0
test edx, edx
mov dword [ebp - 0x2c], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x30]
cmovle eax, ecx
mov bl, byte [eax]
movzx eax, bh
movd xmm3, eax
mov eax, dword [ebp - 8]
movzx eax, al
cvtdq2ps xmm3, xmm3
movd xmm2, eax
mov eax, dword [ebp - 0x10]
movzx eax, al
cvtdq2ps xmm2, xmm2
movd xmm1, eax
mov eax, dword [ebp - 0x20]
movzx eax, al
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
push eax
divss xmm3, xmm4
divss xmm2, xmm4
divss xmm1, xmm4
divss xmm0, xmm4
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x10], xmm3
call fcn.100134a0
movss xmm4, dword [0x1016a6b0]
mov esi, eax
mov eax, dword [ebp - 0x24]
movzx ecx, bl
movd xmm3, ecx
movzx ecx, al
mov eax, dword [ebp - 0x28]
cvtdq2ps xmm3, xmm3
movd xmm2, ecx
movzx ecx, al
mov eax, dword [ebp - 4]
movzx eax, al
cvtdq2ps xmm2, xmm2
movd xmm0, eax
lea eax, [ebp - 0x1c]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
push eax
cvtdq2ps xmm0, xmm0
divss xmm3, xmm4
divss xmm2, xmm4
divss xmm1, xmm4
divss xmm0, xmm4
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x10], xmm3
call fcn.100134a0
mov ebx, dword [ebp + 0x2c]
add esp, 8
movss xmm0, dword [ebp + 0x28]
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x10]
push ebx
push ecx
mov ecx, dword [edi + 0x284]
movss dword [esp], xmm0
push esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.10021bd0
movss xmm1, dword [ebp + 0x24]
xor ecx, ecx
movss xmm0, dword [ebp + 0xc]
movss xmm7, dword [ebp + 0x14]
addss xmm1, xmm0
mov dword [ebp - 0x20], ecx
comiss xmm7, xmm1
movss dword [ebp - 0x24], xmm1
jbe 0x100a0229
movss xmm2, dword [ebp + 0x1c]
lea edx, [ecx + 1]
movss xmm3, dword [ebp + 0x10]
movss xmm4, dword [ebp + 8]
mov esi, dword [ebp + 0x30]
nop dword [eax]
comiss xmm0, xmm1
jbe 0x100a00cf
movaps xmm6, xmm0
movss dword [ebp + 0x30], xmm0
jmp 0x100a00db
movaps xmm6, xmm7
minss xmm6, xmm1
movss dword [ebp + 0x30], xmm6
movaps xmm5, xmm1
addss xmm5, xmm2
minss xmm5, xmm7
comiss xmm6, xmm5
movss dword [ebp - 0x30], xmm5
jae 0x100a0213
movss xmm0, dword [ebp + 0x20]
mov eax, ecx
and eax, 1
addss xmm0, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [ebp + 0x1c]
addss xmm2, xmm0
comiss xmm3, xmm2
movss dword [ebp - 0x28], xmm2
jbe 0x100a0209
movss xmm0, dword [ebp + 0x1c]
mulss xmm0, dword [0x1016a668]
movss dword [ebp - 0x2c], xmm0
comiss xmm4, xmm2
jbe 0x100a013c
movaps xmm1, xmm4
jmp 0x100a0143
movaps xmm1, xmm3
minss xmm1, xmm2
movaps xmm0, xmm2
addss xmm0, dword [ebp + 0x1c]
minss xmm0, xmm3
comiss xmm1, xmm0
jae 0x100a01e7
movss xmm2, dword [ebp + 0xc]
xor eax, eax
comiss xmm2, xmm6
jb 0x100a0172
comiss xmm4, xmm1
cmovae eax, edx
comiss xmm0, xmm3
jb 0x100a0172
or eax, 2
comiss xmm5, xmm7
jb 0x100a0187
comiss xmm4, xmm1
jb 0x100a017f
or eax, 4
comiss xmm0, xmm3
jb 0x100a0187
or eax, 8
and eax, ebx
je 0x100a0192
movss xmm2, dword [ebp + 0x28]
jmp 0x100a0195
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], xmm5
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 8], xmm6
call fcn.10021bd0
movss xmm7, dword [ebp + 0x14]
mov edx, 1
movss xmm3, dword [ebp + 0x10]
movss xmm4, dword [ebp + 8]
movss xmm2, dword [ebp - 0x28]
movss xmm5, dword [ebp - 0x30]
movss xmm6, dword [ebp + 0x30]
movss xmm0, dword [ebp - 0x2c]
addss xmm0, xmm2
movaps xmm2, xmm0
movss dword [ebp - 0x28], xmm0
comiss xmm3, xmm2
ja 0x100a0132
movss xmm1, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movss xmm2, dword [ebp + 0x1c]
movss xmm0, dword [ebp + 0xc]
addss xmm1, xmm2
inc ecx
mov dword [ebp - 0x20], ecx
comiss xmm7, xmm1
movss dword [ebp - 0x24], xmm1
ja 0x100a00c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret