Function at 0x4f8a9c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x65d7b0], 0
jne 0x4f8adc
cmp dword [0x65d7a0], 0
jne 0x4f8adc
push esi
lea eax, [ebp + 8]
push eax
mov ecx, 0x113
mov edx, ebx
mov eax, edi
call fcn.0050172c
mov dword [ebp - 4], eax
mov al, 1
jmp 0x4f8ade
xor eax, eax
cmp esi, 0xfff2
jne 0x4f8c1c
cmp byte [edi + 0x84], 0
jne 0x4f8ce2
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_GetCursorPos
lea edx, [ebp - 0xc]
mov eax, 0x665f9c
call fcn.00407d6c
test al, al
jne 0x4f8b5b
mov eax, dword [0x65d7a0]
push eax
push ebx
call sub.user32.dll_KillTimer
xor eax, eax
mov dword [0x65d7a0], eax
mov dword [0x65d7a4], 0xffffffff
mov dword [0x65d794], 0xffffffff
mov dword [0x65d7a8], 0xffffffff
push 0
push 0xffffffffffffffff
push 0
mov ecx, 1
mov edx, ebx
mov eax, edi
call fcn.004f4f10
jmp 0x4f8ce2
cmp dword [0x65d7a4], 0
jne 0x4f8b85
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [edi + 0x7c]
mov ecx, 0x665f9c
mov edx, ebx
call fcn.004f7d1c
mov dword [0x65d7a8], eax
mov esi, dword [edi + 0x7c]
jmp 0x4f8baa
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [edi + 0x80]
mov ecx, 0x665f9c
mov edx, ebx
call fcn.004f7d60
mov dword [0x65d7a8], eax
mov esi, dword [edi + 0x80]
mov eax, dword [0x65d794]
cmp eax, dword [0x65d7a8]
je 0x4f8c0d
push esi
mov esi, 0x665f9c
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.004f81ec
lea eax, [ebp - 0x2c]
push eax
push ebx
call sub.user32.dll_GetWindowRect
mov ecx, dword [ebp - 0x28]
neg ecx
mov edx, dword [ebp - 0x2c]
neg edx
lea eax, [ebp - 0x1c]
call fcn.00407da8
push ebx
call sub.user32.dll_GetWindowDC
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.004f6d70
push edi
push ebx
call sub.user32.dll_ReleaseDC
mov eax, dword [0x65d7a8]
mov dword [0x65d794], eax
jmp 0x4f8ce2
cmp esi, 0xfffd
jne 0x4f8c4e
mov eax, dword [0x65d7b0]
push eax
push ebx
call sub.user32.dll_KillTimer
push 0
push 0x37
push 0xfffe
push ebx
call sub.user32.dll_SetTimer
mov dword [0x65d7b0], eax
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4f8ce2
cmp esi, 0xfffe
jne 0x4f8cc8
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebp - 0xc]
push eax
push ebx
call sub.user32.dll_ScreenToClient
cmp dword [ebp - 0xc], 0
jge 0x4f8c74
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
jge 0x4f8c7f
xor eax, eax
mov dword [ebp - 8], eax
movzx eax, word [ebp - 0xc]
movzx edx, word [ebp - 8]
shl edx, 0x10
or eax, edx
push eax
mov ecx, 1
mov edx, ebx
mov eax, edi
call fcn.004f78f0
cmp dword [0x65d790], 0xffffffff
je 0x4f8cc1
mov byte [edi + 0x60], 1
push 0
mov ecx, dword [0x65d790]
mov edx, dword [0x65d79c]
mov eax, ebx
call fcn.004f8208
mov byte [edi + 0x60], 0
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4f8ce2
test al, al
jne 0x4f8ce2
push esi
lea eax, [ebp + 8]
push eax
mov ecx, 0x113
mov edx, ebx
mov eax, edi
call fcn.0050172c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4