Function at 0x4a5cd0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [ebp - 0x18], ebx
jne 0x4a613e
mov eax, dword [ebp + 0xc]
lea ecx, [edi - 4]
cmp eax, 0x110
jne 0x4a5d32
lea eax, [ebp - 0x18]
push eax
push edx
push esi
push 0x110
call fcn.004a5500
mov dword [ebx], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xf
jne 0x4a5d5e
lea eax, [ebp - 0x18]
push eax
push edx
push esi
push 0xf
call fcn.004a56b0
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x113
jne 0x4a5d8f
lea eax, [ebp - 0x18]
push eax
push edx
push esi
push 0x113
call fcn.004a59a0
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x83
jne 0x4a5de7
test esi, esi
je 0x4a5dc9
mov eax, dword [edx + 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [edx + 0x14]
mov dword [edx + 0x24], eax
mov eax, dword [edx + 0x18]
mov dword [edx + 0x28], eax
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2c], eax
mov eax, dword [edx]
mov dword [edx + 0x10], eax
mov eax, dword [edx + 4]
mov dword [edx + 0x14], eax
mov eax, dword [edx + 8]
mov dword [edx + 0x18], eax
mov eax, dword [edx + 0xc]
mov dword [edx + 0x1c], eax
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 2
jne 0x4a5e30
mov eax, dword [edi + 0x18]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 1
mov dword [eax + 0x20], 1
mov eax, dword [edi + 0x18]
mov dword [eax + 0x20], 0
push dword [edi + 4]
call esi
push 2
push dword [edi + 4]
call esi
mov dword [ebx], 0
mov eax, dword [edi + 0x18]
mov dword [0x56d130], 0
cmp dword [eax + 0x20], 0
jmp 0x4a6138
cmp eax, 0x20
jne 0x4a5e9c
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [eax + 0x20], 1
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x304]
call fcn.0045f390
test eax, eax
jne 0x4a5e8a
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebx], 1
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jmp 0x4a6138
cmp eax, 0x201
jne 0x4a5eed
mov eax, dword [edi + 0x18]
movsx ecx, dx
shr edx, 0x10
mov dword [ebp - 0x1c], ecx
lea ecx, [edi + 0x304]
mov dword [eax + 0x20], 1
movsx eax, dx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0046c890
test eax, eax
js 0x4a5edb
push eax
lea ecx, [edi + 0x304]
call fcn.0046c350
mov dword [ebx], 0
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jmp 0x4a6138
cmp eax, 0x10301
jne 0x4a5f1e
lea eax, [ebp - 0x18]
push eax
push edx
push esi
push 0x10301
call fcn.004a52f0
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x4fd
jne 0x4a5f71
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
test eax, eax
je 0x4a5f53
xor ebx, ebx
mov eax, dword [esi]
push 1
push dword [eax + ebx*4]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 4]
inc ebx
sub eax, dword [esi]
sar eax, 2
cmp ebx, eax
jb 0x4a5f33
mov ebx, dword [ebp - 0x18]
pop edi
pop esi
mov dword [ebx], 1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x84
jne 0x4a5fe4
mov eax, dword [edi + 0x18]
movsx ecx, dx
shr edx, 0x10
mov dword [ebp - 0x1c], ecx
mov dword [eax + 0x20], 1
movsx eax, dx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4a5fd1
lea eax, [ebp - 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
cmp eax, 0x64
jg 0x4a5fd1
push eax
push dword [ebp - 0x1c]
lea eax, [edi + 0x568]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
mov eax, 2
je 0x4a5fd6
mov eax, 1
mov dword [ebx], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jmp 0x4a6138
cmp eax, 0x200
jne 0x4a602c
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x18], 1
mov dword [eax + 0x20], 1
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov dword [ebx], 0
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jmp 0x4a6138
cmp eax, 0x2a1
jne 0x4a6059
mov eax, dword [edi + 0x18]
mov dword [eax + 0x20], 1
mov dword [edi + 0x564], 1
mov dword [ebx], 1
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jmp 0x4a6138
cmp eax, 0x2a3
jne 0x4a60b8
mov eax, dword [edi + 0x18]
mov dword [eax + 0x20], 1
lea eax, [ebp - 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4a60a6
mov dword [edi + 0x564], eax
mov dword [ebx], 1
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jmp 0x4a6138
cmp eax, 0x111
jne 0x4a613e
movzx eax, si
mov ecx, 0x235
cmp cx, ax
jne 0x4a60e6
mov eax, dword [edi - 4]
lea ecx, [edi - 4]
push 1
mov dword [ebp - 0x18], 1
call dword [eax + 0x28]
mov dword [ebx], 0
jmp 0x4a6134
mov ecx, 0x236
cmp cx, ax
jne 0x4a610a
mov eax, dword [edi - 4]
lea ecx, [edi - 4]
push 2
mov dword [ebp - 0x18], 1
call dword [eax + 0x28]
mov dword [ebx], 0
jmp 0x4a6134
mov ecx, 0x234
cmp cx, ax
jne 0x4a613e
mov eax, dword [edi - 4]
lea ecx, [edi - 4]
lea edi, [ebp - 0x18]
shr esi, 0x10
push edi
push edx
push 0x234
push esi
mov dword [ebp - 0x18], 1
call dword [eax + 0x24]
mov dword [ebx], eax
cmp dword [ebp - 0x18], 0
jne 0x4a5d1a
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 0x18