Function at 0x4c54c0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513b66
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x55b4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
cmp edi, 1
jne 0x4c56f4
lea edi, [esi + 0x10]
push 1
mov ecx, edi
call fcn.0048ea60
push 0
push dword [esi + 4]
mov ecx, edi
call fcn.0048a2b0
push 0x7c8
call fcn.004cfe82
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4c553f
push dword [esi + 0x508]
mov ecx, eax
call fcn.004c40a0
mov ecx, eax
jmp 0x4c5541
xor ecx, ecx
push 1
mov dword [esi + 0x50c], ecx
mov eax, dword [ecx]
push 0
push edi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x28]
mov ecx, dword [esi + 0x508]
push str.VerticalLayout
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
call fcn.00489730
test eax, eax
je 0x4c5584
mov ecx, dword [esi + 0x50c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x134]
push 1
push 1
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.004857e0
mov edx, dword [esi + 0x50c]
sub esp, 0x10
mov ecx, esp
movdqu xmm0, xmmword [eax]
mov edi, dword [edx]
movdqu xmmword [ecx], xmm0
mov ecx, edx
call dword [edi + 0x160]
mov ecx, dword [esi + 0x50c]
push 0xff0069bf
call fcn.004983e0
mov ecx, dword [esi + 0x50c]
push 1
call fcn.00498420
mov ecx, dword [esi + 0x50c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x180]
mov ecx, dword [esi + 0x50c]
push 0
push 1
mov eax, dword [ecx]
call dword [eax + 0x1d4]
mov ecx, dword [esi + 0x508]
lea eax, [ebp - 0xb4]
push eax
call fcn.004c5350
mov ecx, dword [esi + 0x50c]
mov dword [ebp - 4], 1
mov edi, dword [ecx]
mov ecx, eax
call fcn.00485a90
mov ecx, dword [esi + 0x50c]
push eax
call dword [edi + 0x134]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xffffffff
call fcn.00485970
mov ecx, dword [esi + 0x50c]
push 0xff5f6366
mov eax, dword [ecx]
mov eax, dword [eax + 0x1d8]
call eax
mov ecx, eax
call fcn.004b9b60
mov ecx, dword [esi + 0x50c]
push 0xff2d3038
mov eax, dword [ecx]
mov eax, dword [eax + 0x1d8]
call eax
mov ecx, eax
call fcn.00498290
mov ecx, dword [esi + 0x508]
add ecx, 0x760
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
jle 0x4c56df
lea ecx, [ecx]
mov eax, dword [esi + 0x50c]
mov ecx, dword [esi + 0x508]
push dword [ebp - 0x14]
add ecx, 0x760
mov edi, dword [eax + 0x760]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov ecx, dword [esi + 0x50c]
push eax
add ecx, 0x760
call dword [edi + 0x14]
mov ecx, dword [esi + 0x508]
mov edi, dword [ebp - 0x14]
add ecx, 0x760
inc edi
mov dword [ebp - 0x14], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
cmp edi, eax
jl 0x4c5690
push dword [esi + 0x50c]
lea ecx, [esi + 0x10]
call fcn.00489530
xor eax, eax
jmp 0x4c5a73
cmp edi, 0x10
jne 0x4c57b7
mov eax, dword [esi + 0x508]
mov edi, dword [esi + 0x508]
mov ecx, edi
push 0
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 0x2c]
call eax
push eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [esi + 0x508]
push eax
mov eax, dword [ebp - 0x14]
call dword [eax + 0x28]
mov ecx, dword [esi + 0x508]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10c]
call eax
mov ecx, dword [esi + 0x508]
mov edi, dword [ecx]
test al, al
jne 0x4c5751
mov eax, dword [edi + 0x40]
call eax
jmp 0x4c575a
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edi + 0x44]
call eax
movdqu xmm0, xmmword [eax]
push 0
sub esp, 0x10
mov ecx, esp
movdqu xmmword [ecx], xmm0
mov ecx, dword [esi + 0x508]
call dword [edi + 0x4c]
mov ecx, dword [esi + 0x508]
mov eax, dword [ecx]
call dword [eax + 0x108]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb8], 0
push ecx
push dword [ebp + 0x10]
lea ecx, [esi + 0x10]
push eax
push edi
call fcn.0048ab10
test al, al
je 0x4c5a65
mov eax, dword [ebp - 0xb8]
jmp 0x4c5a73
cmp edi, 0x201
je 0x4c59cc
cmp edi, 0x203
je 0x4c59cc
cmp edi, 0x202
jne 0x4c5885
cmp byte [esi + 0x514], 0
je 0x4c57ed
mov byte [esi + 0x514], 0
jmp 0x4c5783
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x10]
call fcn.00489ee0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x14]
lea ecx, [esi + 0x10]
push dword [ebp - 0x18]
call fcn.00489700
mov ecx, eax
test ecx, ecx
je 0x4c5783
mov eax, dword [ecx]
mov edi, str.ScrollBar
mov eax, dword [eax + 0x10]
call eax
lea esp, [esp]
mov cx, word [eax]
cmp cx, word [edi]
jne 0x4c5866
test cx, cx
je 0x4c5862
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x4c5866
add eax, 4
add edi, 4
test cx, cx
jne 0x4c5840
xor eax, eax
jmp 0x4c586b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4c5780
push 0
push 0
push 8
mov ecx, esi
call fcn.00486dc0
jmp 0x4c5780
cmp edi, 0x100
jne 0x4c5915
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x4c5903
mov ecx, dword [esi + 0x508]
cmp eax, 0x1b
je 0x4c58dd
mov dword [ebp - 0x30], 3
lea edx, [ebp - 0x30]
mov word [ebp - 0x1c], ax
mov eax, dword [ecx]
push edx
call dword [eax + 0x124]
mov ecx, dword [esi + 0x508]
add ecx, 0x798
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
push eax
mov ecx, esi
call fcn.004c51c0
xor eax, eax
jmp 0x4c5a73
mov eax, dword [ecx + 0x798]
add ecx, 0x798
push 1
push 1
push dword [esi + 0x510]
call dword [eax + 8]
push dword [esi + 0x510]
mov ecx, esi
call fcn.004c51c0
push 0
push 0
push 8
mov ecx, esi
call fcn.00486dc0
jmp 0x4c5783
cmp edi, 0x20a
jne 0x4c597e
mov eax, dword [ebp + 0xc]
xor ecx, ecx
shr eax, 0x10
xorps xmm0, xmm0
test ax, ax
movq qword [ebp - 0xc4], xmm0
mov eax, dword [ebp + 0x10]
sets cl
mov dword [ebp - 0xbc], 0
movdqu xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0xd8], 0x12
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x508]
lea edx, [ebp - 0xd8]
mov dword [ebp - 0xd0], eax
jmp 0x4c58b2
cmp edi, 8
jne 0x4c5783
mov eax, dword [ebp + 0xc]
cmp dword [esi + 4], eax
je 0x4c5786
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4c59b8
cmp dword [esi + 4], eax
je 0x4c5783
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4c59a4
push 0
push 0
push 0x10
mov ecx, esi
call fcn.00486dc0
xor eax, eax
jmp 0x4c5a73
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x10]
call fcn.00489ee0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x14]
lea ecx, [esi + 0x10]
push dword [ebp - 0x18]
call fcn.00489700
mov ecx, eax
test ecx, ecx
je 0x4c5783
mov eax, dword [ecx]
mov edi, str.ScrollBar
mov eax, dword [eax + 0x10]
call eax
jmp 0x4c5a20
mov cx, word [eax]
cmp cx, word [edi]
jne 0x4c5a46
test cx, cx
je 0x4c5a42
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x4c5a46
add eax, 4
add edi, 4
test cx, cx
jne 0x4c5a20
xor eax, eax
jmp 0x4c5a4b
sbb eax, eax
or eax, 1
mov edi, dword [ebp + 8]
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x4c5786
mov byte [esi + 0x514], 1
jmp 0x4c5786
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push edi
call fcn.00486c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cfd33
mov esp, ebp
pop ebp
ret 0xc