Function at 0x4c2050
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
sub ecx, 0x1f4
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 3
ja case.default.0x4c2078
mov edx, dword [ebp - 0x50]
jmp dword [edx*4 + 0x4c2258]
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x488], 0
jne 0x4c2093
mov ecx, dword [ebp - 0x4c]
call fcn.004c1100
jmp case.default.0x4c2078
push 0x1f5
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4c2154
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x480]
jne 0x4c2154
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x484]
jne 0x4c2154
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4c2154
push 0
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 8]
sub edx, eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x30], ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x4c]
call fcn.004c1130
jmp case.default.0x4c2078
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4c2204
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x38]
cmp edx, dword [ecx + 0x480]
jne 0x4c2187
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax + 0x484]
je 0x4c2204
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4c21cb
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x48]
jl 0x4c21cb
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x40]
jg 0x4c21cb
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x44]
jl 0x4c21cb
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x3c]
jg 0x4c21cb
jmp case.default.0x4c2078
mov ecx, dword [ebp - 0x4c]
call fcn.004c10d0
push 0x1f5
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x1f6
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x488], 0
jmp case.default.0x4c2078
movzx ecx, byte [0x66e5bc]
test ecx, ecx
je 0x4c221f
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x474]
mov dword [ebp - 0x54], eax
jmp 0x4c2226
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.004c2630
movzx edx, byte [0x66e5bc]
neg edx
sbb edx, edx
add edx, 1
mov byte [0x66e5bc], dl
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10