Function at 0x4961c0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x35b0]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4961f7
push 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x35b0
call fcn.0042c4f0
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ecx + 0x3670]
test edx, edx
jne 0x4962bf
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x28
call fcn.0047e1f0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4962a9
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x20]
call edx
cmp eax, 5
je 0x49625c
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0x20]
call eax
cmp eax, 4
jne 0x4962a9
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x28
call fcn.0047b7d0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x35a0], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x35a0]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x35a0]
mov edx, dword [edx]
mov eax, dword [edx + 0x20]
call eax
cmp eax, 4
jne 0x4962a7
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x35a0]
mov dword [ecx + 0x3674], eax
jmp 0x4962ba
mov ecx, dword [ebp - 0x28]
add ecx, 0x28
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x28]
mov edx, dword [eax + 0x34]
call edx
jmp 0x496390
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x3674], 0
je 0x496390
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 4
call fcn.0043ffd0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x3674]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x3674]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
call eax
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x496337
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x3674]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x28
call fcn.0047b7d0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x3674]
mov dword [eax + 0x35a0], edx
jmp 0x496390
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x3674]
call fcn.004b89d0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x496385
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0x20]
call eax
cmp eax, 5
jne 0x496385
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x28
call fcn.0047b7d0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x35a0], eax
jmp 0x496390
mov ecx, dword [ebp - 0x28]
add ecx, 0x28
call fcn.0047b740
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x35a8], 0
je 0x4963c5
push 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x35a8]
call fcn.004baf40
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 0x10