Function at 0x475ac0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 4]
jge 0x475f80
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 0x14]
cmp ecx, dword [ebp + 8]
jne 0x475f72
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx + 0x150]
cmp ecx, 1
jne 0x475f72
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx + 0x151]
test ecx, ecx
jne 0x475f72
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 8]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x475b5c
cmp dword [ebp - 0x1c], 1
je 0x475c4c
cmp dword [ebp - 0x1c], 3
je 0x475e44
jmp 0x475f72
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
cmp dword [eax + edx + 0x10], 0
jl 0x475c45
imul ecx, dword [ebp - 8], 0x558
mov edx, dword [ebp - 4]
cmp dword [edx + ecx + 0x10], 1
jne 0x475bc3
imul eax, dword [ebp - 8], 0x558
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax + 0x18], 0
jl 0x475b9a
mov al, 1
jmp 0x475f82
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0xc], 1
imul ecx, dword [ebp - 8], 0x558
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
jmp 0x475c45
mov dword [ebp - 0x10], 0
imul eax, dword [ebp - 8], 0x558
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax + 0x18], 0
jl 0x475c21
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 4]
jge 0x475c21
imul ecx, dword [ebp - 0x10], 0x558
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 4]
mov ecx, dword [eax + ecx + 0x18]
cmp ecx, dword [esi + edx + 0x18]
jne 0x475c16
imul edx, dword [ebp - 0x10], 0x558
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x10], 0
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x475bdb
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0xc], 2
imul ecx, dword [ebp - 8], 0x558
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 1
mov al, 1
jmp 0x475f82
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x489f1d0
call fcn.00415d90
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 0x158]
push ecx
mov ecx, 0x4927138
call fcn.00415e00
mov dword [ebp - 0x18], eax
cvtsi2ss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0xc], xmm0
imul esi, dword [ebp - 8], 0x558
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
call fcn.004768c0
fstp dword [ebp - 0x24]
mov edx, dword [ebp - 4]
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [edx + esi + 0x20]
comiss xmm0, dword [ebp - 0xc]
jbe 0x475cf1
imul esi, dword [ebp - 8], 0x558
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
call fcn.004768c0
fstp dword [ebp - 0x28]
mov eax, dword [ebp - 4]
movss xmm0, dword [ebp - 0x28]
addss xmm0, dword [eax + esi + 0x20]
movss dword [ebp - 0xc], xmm0
imul esi, dword [ebp - 8], 0x558
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
call fcn.004768c0
fstp dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
movss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [ecx + esi + 0x20]
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
cvtsi2ss xmm1, dword [eax + edx + 0x28]
addss xmm0, xmm1
movss xmm1, dword [ebp - 0xc]
comiss xmm1, xmm0
jbe 0x475d80
imul ecx, dword [ebp - 8], 0x558
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
cvtsi2ss xmm0, dword [eax + edx + 0x28]
mov edx, dword [ebp - 4]
addss xmm0, dword [edx + ecx + 0x20]
push ecx
xorps xmm1, xmm1
movss dword [esp], xmm1
mov ecx, dword [ebp - 4]
movss dword [ebp - 0x30], xmm0
call fcn.004768c0
fstp dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0xc], xmm0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
sub ecx, 1
shr ecx, 1
mov dword [ebp - 0x20], ecx
cvtsi2sd xmm0, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x4c9540]
movsd qword [ebp - 0x50], xmm0
cvtsd2ss xmm0, qword [ebp - 0x50]
movss xmm1, dword [ebp - 0xc]
subss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
push ecx
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
call fcn.00476900
mov eax, dword [ebp - 0x18]
fstp dword [eax + 0x1c]
push ecx
movss xmm0, dword [0x4c92b8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x4c92b8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x4c92b8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x4c92b8]
movss dword [esp], xmm0
lea ecx, [ebp - 0x60]
call fcn.00411280
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, 0x4927138
call fcn.004416c0
mov al, 1
jmp 0x475f82
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x489f1d0
call fcn.00415d90
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cvtsi2ss xmm0, dword [ebp - 0x44]
movss dword [ebp - 0x14], xmm0
imul ecx, dword [ebp - 8], 0x558
mov edx, dword [ebp - 4]
movss xmm0, dword [edx + ecx + 0x24]
comiss xmm0, dword [ebp - 0x14]
jbe 0x475e98
imul eax, dword [ebp - 8], 0x558
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + eax + 0x24]
movss dword [ebp - 0x14], xmm0
imul edx, dword [ebp - 8], 0x558
imul eax, dword [ebp - 8], 0x558
mov ecx, dword [ebp - 4]
cvtsi2ss xmm0, dword [ecx + eax + 0x170]
mov eax, dword [ebp - 4]
addss xmm0, dword [eax + edx + 0x24]
movss xmm1, dword [ebp - 0x14]
comiss xmm1, xmm0
jb 0x475ef5
imul ecx, dword [ebp - 8], 0x558
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
cvtsi2ss xmm0, dword [eax + edx + 0x170]
mov edx, dword [ebp - 4]
addss xmm0, dword [edx + ecx + 0x24]
subss xmm0, dword [0x4c9034]
movss dword [ebp - 0x14], xmm0
imul eax, dword [ebp - 8], 0x558
mov ecx, dword [ebp - 4]
movss xmm0, dword [ebp - 0x14]
subss xmm0, dword [ecx + eax + 0x24]
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
cvtsi2ss xmm1, dword [eax + edx + 0x170]
imul ecx, dword [ebp - 8], 0x558
mov edx, dword [ebp - 4]
cvtsi2ss xmm2, dword [edx + ecx + 0x168]
divss xmm1, xmm2
divss xmm0, xmm1
cvttss2si eax, xmm0
add eax, 1
mov dword [ebp - 0x38], eax
imul ecx, dword [ebp - 8], 0x558
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 0x168]
sub eax, dword [ebp - 0x38]
push eax
imul ecx, dword [ebp - 8], 0x558
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 0x14]
push eax
mov ecx, dword [ebp - 4]
call fcn.00476120
mov al, 1
jmp 0x475f82
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x475ad1
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4