Function at 0x474a40
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 0x474f00
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 0x14]
cmp ecx, dword [ebp + 8]
jne 0x474ef2
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx + 0x150]
cmp ecx, 1
jne 0x474ef2
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx + 0x151]
test ecx, ecx
jne 0x474ef2
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 0x474adc
cmp dword [ebp - 0x1c], 1
je 0x474bcc
cmp dword [ebp - 0x1c], 3
je 0x474dc4
jmp 0x474ef2
imul edx, dword [ebp - 8], 0x558
mov eax, dword [ebp - 4]
cmp dword [eax + edx + 0x10], 0
jl 0x474bc5
imul ecx, dword [ebp - 8], 0x558
mov edx, dword [ebp - 4]
cmp dword [edx + ecx + 0x10], 1
jne 0x474b43
imul eax, dword [ebp - 8], 0x558
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax + 0x18], 0
jl 0x474b1a
mov al, 1
jmp 0x474f02
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 0x474bc5
mov dword [ebp - 0x10], 0
imul eax, dword [ebp - 8], 0x558
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax + 0x18], 0
jl 0x474ba1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 4]
jge 0x474ba1
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 0x474b96
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 0x474b5b
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 0x474f02
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x489e1d0
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, 0x4926138
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.00475840
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 0x474c71
imul esi, dword [ebp - 8], 0x558
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
call fcn.00475840
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.00475840
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 0x474d00
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.00475840
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 + 0x4c8270]
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.00475880
mov eax, dword [ebp - 0x18]
fstp dword [eax + 0x1c]
push ecx
movss xmm0, dword [0x4c7ff8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x4c7ff8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x4c7ff8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x4c7ff8]
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, 0x4926138
call fcn.004409f0
mov al, 1
jmp 0x474f02
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x489e1d0
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 0x474e18
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 0x474e75
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 [0x4c7d84]
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.004750a0
mov al, 1
jmp 0x474f02
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x474a51
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4