Function at 0x4a166c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov edi, 0x567548
push 4
lea eax, [edi + 0x15d]
push eax
lea edx, [ebx + 5]
push edx
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a16e9
cmp dword [0x561474], 0
jl 0x4a16ad
mov ecx, dword [0x56147c]
mov dword [ebp - 0x10], ecx
jmp 0x4a16b6
lea eax, [ebp - 0x10]
push eax
call fcn.0043c65c
xor eax, eax
test byte [ebp - 0x10], 1
je 0x4a16c1
or eax, 1
test byte [ebp - 0x10], 8
je 0x4a16ca
or eax, 2
test byte [ebp - 0x10], 4
je 0x4a16d3
or eax, 4
push eax
lea edx, [edi + 0x163]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4a1af4
cmp dword [ebp + 0x14], 0
je 0x4a1821
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 0xc54], 0
je 0x4a1821
push 2
lea eax, [edi + 0x167]
push eax
lea edx, [ebx + 5]
push edx
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a1755
lea ecx, [ebp - 0xc]
push ecx
call sub.USER32.dll_GetCursorPos
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + 0xc54]
push dword [ecx + 0xc8]
call sub.USER32.dll_ScreenToClient
push dword [ebp - 0xc]
lea eax, [edi + 0x16b]
push eax
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4a1af4
push 2
lea edx, [edi + 0x16f]
push edx
lea ecx, [ebx + 5]
push ecx
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a17a7
lea eax, [ebp - 0xc]
push eax
call sub.USER32.dll_GetCursorPos
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0xc54]
push dword [eax + 0xc8]
call sub.USER32.dll_ScreenToClient
push dword [ebp - 8]
lea edx, [edi + 0x173]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4a1af4
push 4
lea ecx, [edi + 0x177]
push ecx
lea eax, [ebx + 5]
push eax
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a17ef
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + 0xc54]
push esi
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4a1af4
push 3
lea eax, [edi + 0x17d]
push eax
lea edx, [ebx + 5]
push edx
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a1821
push esi
push edi
lea eax, [edi + 0x182]
mov edi, esi
mov esi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x4a1af4
mov eax, dword [0x561474]
test eax, eax
jl 0x4a1843
mov dword [ebp - 0xc], eax
mov edx, dword [0x561478]
mov dword [ebp - 8], edx
push dword [ebp + 8]
call fcn.0051fafa
mov dword [ebp - 4], eax
jmp 0x4a187c
lea ecx, [ebp - 0xc]
push ecx
call sub.USER32.dll_GetCursorPos
push dword [ebp - 8]
push dword [ebp - 0xc]
call sub.USER32.dll_WindowFromPoint
mov dword [ebp + 8], eax
push dword [ebp + 8]
call fcn.0051fafa
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4a187c
push dword [ebp + 8]
call sub.USER32.dll_GetParent
push eax
call fcn.0051fafa
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a19bd
push 2
lea edx, [edi + 0x18a]
push edx
lea ecx, [ebx + 5]
push ecx
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a18c3
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call sub.USER32.dll_ScreenToClient
push dword [ebp - 0xc]
lea edx, [edi + 0x18e]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4a1af4
push 2
lea ecx, [edi + 0x192]
push ecx
lea eax, [ebx + 5]
push eax
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a1900
lea edx, [ebp - 0xc]
push edx
push dword [ebp + 8]
call sub.USER32.dll_ScreenToClient
push dword [ebp - 8]
lea ecx, [edi + 0x196]
push ecx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4a1af4
push 4
lea eax, [edi + 0x19a]
push eax
lea edx, [ebx + 5]
push edx
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a1945
mov ecx, dword [ebp - 4]
add ecx, 8
push esi
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4a1af4
push 3
lea eax, [edi + 0x1a0]
push eax
lea edx, [ebx + 5]
push edx
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a19bd
push esi
push edi
lea eax, [edi + 0x1a5]
mov edi, esi
mov esi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov edx, dword [ebp - 4]
cmp dword [edx + 0x820], 0
je 0x4a1af4
lea ecx, [ebp - 0xc]
push ecx
call sub.USER32.dll_GetCursorPos
push dword [ebp - 8]
push dword [ebp - 0xc]
call sub.USER32.dll_WindowFromPoint
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x820]
jne 0x4a1af4
push esi
push edi
lea eax, [edi + 0x1ad]
mov edi, esi
mov esi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
jmp 0x4a1af4
push 3
lea edx, [edi + 0x1b4]
push edx
lea ecx, [ebx + 5]
push ecx
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a19fd
lea eax, [ebp - 0xc]
push eax
push dword [0x56f01c]
call sub.USER32.dll_ScreenToClient
push dword [ebp - 0xc]
lea edx, [edi + 0x1b9]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4a1af4
push 3
lea ecx, [edi + 0x1bd]
push ecx
lea eax, [ebx + 5]
push eax
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a1a3d
lea edx, [ebp - 0xc]
push edx
push dword [0x56f01c]
call sub.USER32.dll_ScreenToClient
push dword [ebp - 8]
lea ecx, [edi + 0x1c2]
push ecx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4a1af4
push 3
lea eax, [edi + 0x1c6]
push eax
lea edx, [ebx + 5]
push edx
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a1a82
push 0
lea ecx, [ebp - 0x20]
push ecx
lea eax, [ebp - 0xc]
push eax
push 0
call fcn.004d56b4
mov edx, dword [ebp - 0x20]
sub dword [ebp - 0xc], edx
push dword [ebp - 0xc]
lea ecx, [edi + 0x1cb]
push ecx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4a1af4
push 3
lea eax, [edi + 0x1cf]
push eax
lea edx, [ebx + 5]
push edx
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a1ac7
push 0
lea ecx, [ebp - 0x20]
push ecx
lea eax, [ebp - 0xc]
push eax
push 0
call fcn.004d56b4
mov edx, dword [ebp - 0x1c]
sub dword [ebp - 8], edx
push dword [ebp - 8]
lea ecx, [edi + 0x1d4]
push ecx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4a1af4
push 3
lea eax, [edi + 0x1d8]
push eax
add ebx, 5
push ebx
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x4a1af4
push esi
push edi
lea eax, [edi + 0x1dd]
mov edi, esi
mov esi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10