Function at 0x100a4240
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov ecx, dword [0x1029ec20]
push ebx
push esi
push edi
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp + 0x18]
mov edx, eax
mov edi, dword [ecx + 0x19b0]
shr edx, 0x18
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1017c6f0]
movss dword [ebp - 4], xmm1
cmp al, 0xcc
jne 0x100a42b4
mov ecx, eax
shr ecx, 8
cmp cl, al
jne 0x100a42b4
mov ecx, eax
shr ecx, 0x10
cmp cl, al
jne 0x100a42b4
cmp dl, 0xff
jne 0x100a42b4
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 0x100a435c
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.100a0410
movss xmm0, dword [ebp - 4]
fstp dword [ebp - 0x28]
cvttss2si eax, dword [ebp - 0x28]
movss dword [esp + 8], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
movzx eax, ah
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x434c0000
call fcn.100a0410
movss xmm0, dword [ebp - 4]
fstp dword [ebp - 0x28]
cvttss2si eax, dword [ebp - 0x28]
movss dword [esp + 8], xmm0
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x434c0000
call fcn.100a0410
movss xmm1, dword [ebp - 4]
add esp, 0xc
fstp dword [ebp - 0x28]
cvttss2si eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
movss xmm0, dword [ebp + 0x30]
lea ecx, [ebp - 0x28]
mulss xmm0, dword [0x1017c78c]
lea edx, [ebp + 0x30]
mov dword [ebp - 0x24], 0xff
mov dword [ebp + 0x30], 0
cvttss2si esi, xmm0
test esi, esi
mov dword [ebp - 0x28], esi
cmovns edx, ecx
cmp esi, 0xff
lea ecx, [ebp - 0x24]
cmovle ecx, edx
mov bh, byte [ecx]
mov cl, byte [ebp + 0x1a]
cmp al, 0x80
jne 0x100a43c5
cmp ah, 0x80
jne 0x100a43c5
cmp cl, ah
jne 0x100a43c5
cmp byte [ebp + 0x1b], 0xff
jne 0x100a43c5
mov dword [ebp - 0x24], 0xff808080
mov al, byte [ebp - 0x23]
mov byte [ebp + 0x30], ah
mov byte [ebp - 0x28], ah
mov dword [ebp - 0x24], eax
jmp 0x100a4462
movzx eax, cl
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.100a0410
movss xmm0, dword [ebp - 4]
fstp dword [ebp + 0x30]
cvttss2si eax, dword [ebp + 0x30]
movss dword [esp + 8], xmm0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
movzx eax, ah
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x43000000
call fcn.100a0410
movss xmm0, dword [ebp - 4]
fstp dword [ebp + 0x30]
cvttss2si eax, dword [ebp + 0x30]
movss dword [esp + 8], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x43000000
call fcn.100a0410
fstp dword [ebp + 0x30]
cvttss2si eax, dword [ebp + 0x30]
add esp, 0xc
mov dword [ebp + 0x30], eax
movss xmm1, dword [0x1017c6f0]
lea eax, [ebp - 0x2c]
test esi, esi
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 4]
mov dword [ebp - 0x30], 0xff
cmovns ecx, eax
mov dword [ebp - 4], 0
cmp esi, 0xff
lea eax, [ebp - 0x30]
cmovle eax, ecx
mov bl, 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 - 0x1c], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
movzx eax, al
mulss xmm0, xmm1
movss dword [ebp - 0x18], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, bh
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
movd xmm0, eax
lea eax, [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
push eax
mulss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
call fcn.10013850
movss xmm1, dword [0x1017c6f0]
mov esi, eax
mov eax, dword [ebp + 0x30]
movzx ecx, al
mov eax, dword [ebp - 0x24]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movzx ecx, al
mov eax, dword [ebp - 0x28]
movzx eax, al
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
cvtdq2ps xmm0, xmm0
movzx eax, bl
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
movd xmm0, eax
lea eax, [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
push eax
mulss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
call fcn.10013850
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.10021da0
xor ecx, ecx
movss xmm0, dword [ebp + 0x24]
movss xmm7, dword [ebp + 0xc]
movss xmm6, dword [ebp + 0x14]
addss xmm0, xmm7
mov dword [ebp - 0x24], ecx
comiss xmm6, xmm0
jbe 0x100a470a
movss xmm3, dword [ebp + 0x10]
lea edx, [ecx + 1]
movss xmm4, dword [ebp + 8]
mov esi, dword [ebp + 0x30]
comiss xmm7, xmm0
jbe 0x100a45c3
movaps xmm5, xmm7
movss dword [ebp + 0x30], xmm7
jmp 0x100a45cf
movaps xmm5, xmm6
minss xmm5, xmm0
movss dword [ebp + 0x30], xmm5
movss xmm1, dword [ebp + 0x1c]
addss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
minss xmm0, xmm6
comiss xmm5, xmm0
movss dword [ebp - 0x30], xmm0
jae 0x100a46f8
movss xmm0, dword [ebp + 0x20]
mov eax, ecx
and eax, 1
addss xmm0, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm1
addss xmm2, xmm0
comiss xmm3, xmm2
movss dword [ebp - 0x28], xmm2
jbe 0x100a46f8
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
comiss xmm4, xmm2
jbe 0x100a4630
movaps xmm1, xmm4
jmp 0x100a4637
movaps xmm1, xmm3
minss xmm1, xmm2
movaps xmm0, xmm2
addss xmm0, dword [ebp + 0x1c]
minss xmm0, xmm3
comiss xmm1, xmm0
jae 0x100a46db
xor eax, eax
comiss xmm7, xmm5
jb 0x100a4661
comiss xmm4, xmm1
cmovae eax, edx
comiss xmm0, xmm3
jb 0x100a4661
or eax, 2
movss xmm7, dword [ebp - 0x30]
comiss xmm7, xmm6
jb 0x100a467b
comiss xmm4, xmm1
jb 0x100a4673
or eax, 4
comiss xmm0, xmm3
jb 0x100a467b
or eax, 8
and eax, ebx
je 0x100a4686
movss xmm2, dword [ebp + 0x28]
jmp 0x100a4689
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.10021da0
movss xmm6, dword [ebp + 0x14]
mov edx, 1
movss xmm3, dword [ebp + 0x10]
movss xmm7, dword [ebp + 0xc]
movss xmm4, dword [ebp + 8]
movss xmm2, dword [ebp - 0x28]
movss xmm5, dword [ebp + 0x30]
movss xmm0, dword [ebp - 0x2c]
addss xmm0, xmm2
movaps xmm2, xmm0
movss dword [ebp - 0x28], xmm0
comiss xmm3, xmm2
ja 0x100a4626
mov ecx, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x20]
inc ecx
comiss xmm6, xmm0
mov dword [ebp - 0x24], ecx
ja 0x100a45b4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret