Function at 0x4a1a24
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5ce180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
mov dword [ebx + 0x9c], eax
cmp dword [ebx + 0x90], eax
je 0x4a1ab3
test edi, edi
jne 0x4a1ab3
cmp dword [ebx + 0x94], eax
jne 0x4a1ab3
cmp dword [ebx + 0x20], eax
je 0x4a1aa9
cmp dword [ebx + 0x20], 0xffffffff
je 0x4a1aa9
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 8]
lea eax, [ebx + 0xc8]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov dword [ebx + 0x9c], eax
test eax, eax
je 0x4a1c50
jmp 0x4a1ab3
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov esi, dword [eax + 0xf0]
mov ecx, esi
call dword [0x57b960]
mov ecx, ebx
call esi
test eax, eax
je 0x4a1b0a
test edi, edi
jne 0x4a1b0a
and dword [ebp - 0xc], edi
lea eax, [ebp - 0xc]
and dword [ebp - 8], edi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 8]
lea eax, [ebx + 0xd8]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4a1c50
cmp dword [ebx + 0x9c], 0
jne 0x4a1b35
cmp dword [ebx + 0x20], 0
jbe 0x4a1b35
cmp dword [ebx + 0x20], 0xffffffff
je 0x4a1b35
cmp dword [ebx + 0x90], 0
jne 0x4a1b35
cmp dword [ebx + 0xa8], 0
je 0x4a1c50
push dword [ebx + 0x6c]
push 0x5cd9b8
call fcn.0041faf8
mov edi, eax
mov eax, dword [ebx + 0x8c]
mov dword [ebp - 8], edi
pop ecx
pop ecx
test eax, eax
je 0x4a1b83
and dword [eax + 0x130], 0
mov edi, dword [ebx + 0x8c]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x57b960]
mov ecx, edi
call esi
and dword [ebx + 0x8c], 0
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4a1bbb
push 0
jmp 0x4a1bb6
push dword [ebx + 0x6c]
push 0x5cda7c
call fcn.0041faf8
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
je 0x4a1c0b
test eax, eax
je 0x4a1c0b
cmp dword [0x5d4974], 0
jne 0x4a1c0b
push 1
push ebx
mov ecx, eax
call fcn.004baf81
test edi, edi
je 0x4a1bbb
push ebx
mov ecx, edi
call fcn.0044743d
cmp dword [ebx + 0x6c], 0
je 0x4a1bf7
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043918a
push dword [eax + 0x7c]
push dword [eax + 0x7c]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebx + 0x6c]
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054c4e2
leave
ret 8
test edi, edi
je 0x4a1c31
push 0
mov ecx, edi
call fcn.0043ff11
mov dword [ebp - 8], eax
test eax, eax
je 0x4a1c31
mov eax, dword [eax]
mov esi, dword [eax + 0x58]
mov ecx, esi
call dword [0x57b960]
mov ecx, dword [ebp - 8]
call esi
mov eax, dword [ebx]
push dword [ebp - 0x18]
mov esi, dword [eax + 0xcc]
mov ecx, esi
call dword [0x57b960]
mov ecx, ebx
call esi
test eax, eax
jne 0x4a1baf
xor eax, eax
jmp 0x4a1bfa