Function at 0x4a8d60
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 [0x52278c], 0
jne 0x4a8da0
cmp dword [0x522788], 0
jne 0x4a8da0
push esi
lea eax, [ebp + 8]
push eax
mov ecx, 0x113
mov edx, ebx
mov eax, edi
call fcn.004b34a0
mov dword [ebp - 4], eax
mov al, 1
jmp 0x4a8da2
xor eax, eax
cmp esi, 0xfff2
jne 0x4a8ee0
cmp byte [edi + 0x84], 0
jne 0x4a8fa6
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_GetCursorPos
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x524e34
call sub.user32.dll_PtInRect
test eax, eax
jne 0x4a8e1c
mov eax, dword [0x522788]
push eax
push ebx
call sub.user32.dll_KillTimer
xor eax, eax
mov dword [0x522788], eax
mov dword [0x52276c], 0xffffffff
mov dword [0x522774], 0xffffffff
mov dword [0x522778], 0xffffffff
push 0
or ecx, 0xffffffff
mov edx, ebx
mov eax, edi
call fcn.004a6d20
jmp 0x4a8fa6
cmp dword [0x52276c], 0
jne 0x4a8e46
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [edi + 0x7c]
mov ecx, 0x524e34
mov edx, ebx
call fcn.004a7fa0
mov dword [0x522778], eax
mov esi, dword [edi + 0x7c]
jmp 0x4a8e6b
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [edi + 0x80]
mov ecx, 0x524e34
mov edx, ebx
call fcn.004a7fe4
mov dword [0x522778], eax
mov esi, dword [edi + 0x80]
mov eax, dword [0x522774]
cmp eax, dword [0x522778]
je 0x4a8ed1
push esi
mov esi, 0x524e34
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.004a80ac
lea eax, [ebp - 0x2c]
push eax
push ebx
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x28]
neg eax
push eax
mov eax, dword [ebp - 0x2c]
neg eax
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_OffsetRect
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.004a7260
push edi
push ebx
call sub.user32.dll_ReleaseDC
mov eax, dword [0x522778]
mov dword [0x522774], eax
jmp 0x4a8fa6
cmp esi, 0xfffd
jne 0x4a8f12
mov eax, dword [0x52278c]
push eax
push ebx
call sub.user32.dll_KillTimer
push 0
push 0x37
push 0xfffe
push ebx
call sub.user32.dll_SetTimer
mov dword [0x52278c], eax
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4a8fa6
cmp esi, 0xfffe
jne 0x4a8f8c
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 0x4a8f38
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
jge 0x4a8f43
xor eax, eax
mov dword [ebp - 8], eax
mov dx, word [ebp - 8]
mov ax, word [ebp - 0xc]
call fcn.00407484
push eax
mov ecx, 1
mov edx, ebx
mov eax, edi
call fcn.004a80c0
cmp dword [0x522770], 0xffffffff
je 0x4a8f85
mov byte [edi + 0x5c], 1
push 0
mov ecx, dword [0x522770]
mov edx, dword [0x522784]
mov eax, ebx
call fcn.004a850c
mov byte [edi + 0x5c], 0
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4a8fa6
test al, al
jne 0x4a8fa6
push esi
lea eax, [ebp + 8]
push eax
mov ecx, 0x113
mov edx, ebx
mov eax, edi
call fcn.004b34a0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4