Function at 0x4a7a31
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xd8
mov eax, 0x5c49fe
call fcn.0041d26d
mov ebx, ecx
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
cmp esi, edi
jne 0x4a7c5c
lea esi, [ebx + 0x14]
push edi
mov ecx, esi
call fcn.0046c853
push 0
push dword [ebx + 4]
mov ecx, esi
call fcn.0046dd97
mov ecx, dword [ebx + 0x558]
mov eax, dword [ecx]
mov esi, str.VScrollBar
push esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.0046d1b4
test eax, eax
je 0x4a7a95
cmp word [eax], 0
je 0x4a7a95
push 0
push eax
push esi
lea ecx, [ebx + 0x14]
call fcn.0046e736
mov ecx, dword [ebx + 0x558]
mov eax, dword [ecx]
mov esi, 0x5cf618
push esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.0046d1b4
test eax, eax
je 0x4a7ac3
cmp word [eax], 0
je 0x4a7ac3
push 0
push eax
push esi
lea ecx, [ebx + 0x14]
call fcn.0046e736
push 0x6c0
call fcn.00419c40
pop ecx
mov dword [ebp + 0xc], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4a7ae8
push dword [ebx + 0x558]
mov ecx, eax
call fcn.004a73a6
jmp 0x4a7aea
xor eax, eax
or dword [ebp - 4], 0xffffffff
push edi
push 0
lea ecx, [ebx + 0x14]
mov dword [ebx + 0x55c], eax
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x28]
mov ecx, dword [ebx + 0x558]
mov eax, dword [ecx]
push str.VerticalLayout
call dword [eax + 0x24]
mov ecx, eax
call fcn.0046d1b4
test eax, eax
je 0x4a7b2c
mov ecx, dword [ebx + 0x55c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x130]
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x1c]
call fcn.00472e95
mov ecx, dword [ebx + 0x55c]
mov edx, dword [ecx]
sub esp, 0x10
mov esi, eax
mov edi, esp
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 dword [edx + 0x15c]
mov ecx, dword [ebx + 0x55c]
push 0xffffffffffffffff
call fcn.0048b8b6
mov ecx, dword [ebx + 0x55c]
push 0xffc6c7d2
call fcn.0048b97a
mov ecx, dword [ebx + 0x55c]
xor esi, esi
inc esi
push esi
call fcn.0048b9dc
mov ecx, dword [ebx + 0x55c]
mov eax, dword [ecx]
xor edi, edi
push edi
call dword [eax + 0x17c]
mov ecx, dword [ebx + 0x55c]
mov eax, dword [ecx]
push edi
push esi
call dword [eax + 0x1d0]
mov ecx, dword [ebx + 0x558]
lea eax, [ebp - 0xe4]
push eax
call fcn.004a676d
mov ecx, dword [ebx + 0x55c]
mov dword [ebp - 4], esi
mov esi, dword [ecx]
mov ecx, eax
add esi, 0x130
call fcn.004730dd
mov ecx, dword [ebx + 0x55c]
push eax
call dword [esi]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.00473225
mov eax, dword [ebx + 0x558]
lea ecx, [eax + 0x658]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jle 0x4a7c3a
mov eax, dword [ebx + 0x55c]
mov esi, dword [eax + 0x658]
mov eax, dword [ebx + 0x558]
lea ecx, [eax + 0x658]
mov eax, dword [ecx]
push edi
add esi, 0x14
call dword [eax]
mov ecx, dword [ebx + 0x55c]
push eax
add ecx, 0x658
call dword [esi]
mov eax, dword [ebx + 0x558]
lea ecx, [eax + 0x658]
mov eax, dword [ecx]
inc edi
call dword [eax + 0x10]
cmp edi, eax
jl 0x4a7bf5
push dword [ebx + 0x55c]
lea esi, [ebx + 0x14]
mov ecx, esi
call fcn.0047161b
add ebx, 0x10
push ebx
mov ecx, esi
call fcn.0046c576
xor eax, eax
jmp 0x4a7f05
cmp esi, 0x10
jne 0x4a7ce8
mov eax, dword [ebx + 0x558]
mov esi, dword [eax]
mov edi, eax
push 0
mov ecx, edi
call dword [esi + 0x2c]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov ecx, dword [ebx + 0x558]
push eax
call dword [esi + 0x28]
mov ecx, dword [ebx + 0x558]
mov eax, dword [ecx]
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x558]
test al, al
mov eax, dword [ecx]
jne 0x4a7caf
mov dword [ebp - 0x10], eax
call dword [eax + 0x40]
mov esi, eax
mov eax, dword [ebp - 0x10]
jmp 0x4a7cbe
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x10], eax
call dword [eax + 0x44]
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x558]
push 0
sub esp, 0x10
mov edi, esp
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 dword [eax + 0x4c]
mov ecx, dword [ebx + 0x558]
mov eax, dword [ecx]
call dword [eax + 0x104]
mov esi, dword [ebp + 8]
jmp 0x4a7ed7
cmp esi, 0x201
je 0x4a7e7e
cmp esi, 0x203
je 0x4a7e7e
cmp esi, 0x202
jne 0x4a7d77
lea eax, [ebx + 0x564]
cmp byte [eax], 0
je 0x4a7d1b
mov byte [eax], 0
jmp 0x4a7ed7
and dword [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14]
lea edi, [ebx + 0x14]
push eax
mov ecx, edi
call fcn.0046bf74
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x14]
call fcn.0046ee40
test eax, eax
je 0x4a7ed7
mov edx, dword [eax]
push str.ScrollBar
mov ecx, eax
call dword [edx + 0x10]
push eax
call fcn.004f23b4
pop ecx
pop ecx
test eax, eax
je 0x4a7ed7
jmp 0x4a7dec
cmp esi, 0x100
jne 0x4a7dfe
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x4a7dec
cmp eax, 0x1b
je 0x4a7dc5
mov dword [ebp - 0x60], 3
mov word [ebp - 0x4c], ax
lea edx, [ebp - 0x60]
lea esi, [ebx + 0x558]
mov ecx, dword [esi]
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
mov esi, dword [esi]
lea ecx, [esi + 0x690]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
mov ecx, ebx
call fcn.004a7605
jmp 0x4a7c55
mov eax, dword [ebx + 0x558]
push edi
push edi
lea ecx, [eax + 0x690]
mov eax, dword [ecx]
lea esi, [ebx + 0x560]
push dword [esi]
call dword [eax + 8]
push dword [esi]
mov ecx, ebx
call fcn.004a7605
mov esi, dword [ebp + 8]
push 0
push 0
push 8
mov ecx, ebx
call fcn.00472c0a
jmp 0x4a7ed7
cmp esi, 0x20a
jne 0x4a7e3f
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
shr eax, 0x10
xor ecx, ecx
test ax, ax
mov eax, dword [ebp + 0x10]
setl cl
mov dword [ebp - 0x40], 0x12
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x40]
jmp 0x4a7d9a
cmp esi, 8
jne 0x4a7ed7
mov eax, dword [ebp + 0xc]
cmp dword [ebx + 4], eax
je 0x4a7ed7
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x4a7e67
cmp dword [ebx + 4], eax
je 0x4a7ed7
push eax
call edi
test eax, eax
jne 0x4a7e62
push eax
push eax
push 0x10
mov ecx, ebx
call fcn.00472c0a
jmp 0x4a7c55
and dword [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14]
lea edi, [ebx + 0x14]
push eax
mov ecx, edi
call fcn.0046bf74
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x14]
call fcn.0046ee40
test eax, eax
je 0x4a7ed7
mov edx, dword [eax]
push str.ScrollBar
mov ecx, eax
call dword [edx + 0x10]
push eax
call fcn.004f23b4
pop ecx
pop ecx
test eax, eax
jne 0x4a7ed7
mov byte [ebx + 0x564], 1
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
lea ecx, [ebx + 0x14]
push dword [ebp + 0xc]
push esi
call fcn.0046f59d
test al, al
je 0x4a7ef7
mov eax, dword [ebp - 0x20]
jmp 0x4a7f05
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push esi
call fcn.00472c22
call fcn.0041d30c
ret 0xc