Function at 0x10102670
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov ecx, dword [0x10323708]
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]
mov bl, byte [ebp + 9]
shr edx, 0x18
movd xmm2, edx
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x10270ecc]
movss dword [ebp - 4], xmm2
cmp al, 0xcc
jne 0x101026eb
mov ecx, eax
shr ecx, 8
cmp cl, 0xcc
jne 0x101026eb
mov ecx, eax
shr ecx, 0x10
cmp cl, 0xcc
jne 0x101026eb
cmp dl, 0xff
jne 0x101026eb
mov dword [ebp - 8], 0xffcccccc
mov byte [ebp - 0x10], cl
mov cl, byte [ebp - 6]
mov dword [ebp - 0x20], ecx
mov cl, byte [ebp - 7]
mov dword [ebp - 8], ecx
jmp 0x1010275d
movss xmm0, dword [0x10271294]
shr eax, 0x10
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1003ab50
movss xmm2, dword [ebp - 4]
cvttss2si eax, xmm0
movss xmm0, dword [0x10271294]
mov dword [ebp - 0x20], eax
movzx eax, bl
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1003ab50
movss xmm2, dword [ebp - 4]
cvttss2si eax, xmm0
movss xmm0, dword [0x10271294]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1003ab50
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 [0x102712b0]
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
cmp al, 0x80
mov al, byte [ebp + 0xa]
mov cl, byte [ecx]
mov byte [ebp + 0xf], cl
jne 0x101027c2
cmp bl, 0x80
jne 0x101027c2
cmp al, bl
jne 0x101027c2
cmp byte [ebp + 0xb], 0xff
jne 0x101027c2
mov dword [ebp - 0x2c], 0xff808080
mov dl, bl
mov byte [ebp - 4], bl
mov bl, byte [ebp - 0x2b]
jmp 0x10102829
movss xmm0, dword [0x1027124c]
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1003ab50
movss xmm2, dword [ebp - 4]
cvttss2si eax, xmm0
movss xmm0, dword [0x1027124c]
mov dword [ebp - 0x2c], eax
movzx eax, bl
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1003ab50
mov eax, dword [ebp + 8]
movss xmm2, dword [ebp - 4]
movzx eax, al
cvttss2si ebx, xmm0
movss xmm0, dword [0x1027124c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1003ab50
mov edx, dword [ebp - 0x2c]
cvttss2si eax, xmm0
mov dword [ebp - 4], eax
movss xmm1, dword [0x10270ecc]
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, bl
mulss xmm0, xmm1
movss dword [ebp - 0x1c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, dl
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.100a5a90
push 0xf
push ecx
lea ecx, [ebp - 0x40]
mov dword [esp], 0x40800000
mov esi, eax
call fcn.100a5a90
mov ecx, dword [edi + 0x284]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.100bf9d0
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 0x10102ab3
movss xmm3, dword [ebp + 0x18]
lea ecx, [ebx + 1]
movss xmm4, dword [ebp + 0x10]
nop dword [eax + eax]
comiss xmm7, xmm0
jbe 0x1010296f
movaps xmm5, xmm7
movss dword [ebp + 0xc], xmm7
jmp 0x1010297b
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 0x10102aa4
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 0x10102aa4
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
comiss xmm4, xmm2
jbe 0x101029dc
movaps xmm1, xmm4
jmp 0x101029e3
movaps xmm1, xmm3
minss xmm1, xmm2
movaps xmm0, xmm2
addss xmm0, dword [ebp - 0x24]
minss xmm0, xmm3
comiss xmm1, xmm0
jae 0x10102a8a
xor eax, eax
comiss xmm7, xmm5
jb 0x10102a0d
comiss xmm4, xmm1
cmovae eax, ecx
comiss xmm0, xmm3
jb 0x10102a0d
or eax, 2
movss xmm7, dword [ebp - 0x30]
comiss xmm7, xmm6
jb 0x10102a27
comiss xmm4, xmm1
jb 0x10102a1f
or eax, 4
comiss xmm0, xmm3
jb 0x10102a27
or eax, 8
test eax, eax
je 0x10102a35
movss xmm2, dword [0x102710e0]
jmp 0x10102a38
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.100bf9d0
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 0x101029d2
movss xmm0, dword [ebp - 0x28]
inc ebx
comiss xmm6, xmm0
ja 0x10102960
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret