Function at 0x491330
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a6b6
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x55d910]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
cmp ebx, 1
jne 0x491549
lea ebx, [esi + 0x10]
push 1
mov ecx, ebx
call fcn.004575b0
push 0
push dword [esi + 4]
mov ecx, ebx
call fcn.00452df0
push 0x7c8
call fcn.004d83c5
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4913b0
push dword [esi + 0x508]
mov ecx, eax
call fcn.0048ffc0
mov ecx, eax
jmp 0x4913b2
xor ecx, ecx
push 1
mov dword [esi + 0x50c], ecx
mov eax, dword [ecx]
push 0
push ebx
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x28]
mov ecx, dword [esi + 0x508]
push str.VerticalLayout
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00452280
test eax, eax
je 0x4913f3
mov ecx, dword [esi + 0x50c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x134]
push 1
push 1
push 1
push 1
lea ecx, [ebp - 0x20]
call fcn.00459520
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 + 0x164]
mov ecx, dword [esi + 0x50c]
push 0xff6685fe
call fcn.00466c20
mov ecx, dword [esi + 0x50c]
push 1
call fcn.00466c60
mov ecx, dword [esi + 0x50c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x184]
mov ecx, dword [esi + 0x50c]
push 0
push 1
mov eax, dword [ecx]
call dword [eax + 0x1d8]
mov ecx, dword [esi + 0x508]
lea eax, [ebp - 0xb4]
push eax
call fcn.004911c0
mov ecx, dword [esi + 0x50c]
mov dword [ebp - 4], 1
mov edi, dword [ecx]
mov ecx, eax
call fcn.0040f830
mov ecx, dword [esi + 0x50c]
push eax
call dword [edi + 0x134]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xffffffff
call fcn.00459690
mov ecx, dword [esi + 0x50c]
push 0xff6685fe
mov eax, dword [ecx]
call dword [eax + 0x1dc]
mov ecx, eax
call fcn.00485a10
mov ecx, dword [esi + 0x50c]
push 0xfff5f5f5
mov eax, dword [ecx]
call dword [eax + 0x1dc]
mov ecx, eax
call fcn.00466ad0
mov ecx, dword [esi + 0x508]
xor ebx, ebx
add ecx, 0x760
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jle 0x491534
mov eax, dword [esi + 0x50c]
mov ecx, dword [esi + 0x508]
add ecx, 0x760
push ebx
mov edi, dword [eax + 0x760]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi + 0x50c]
push eax
add ecx, 0x760
call dword [edi + 0x14]
mov ecx, dword [esi + 0x508]
inc ebx
add ecx, 0x760
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp ebx, eax
jl 0x4914f1
push dword [esi + 0x50c]
lea ecx, [esi + 0x10]
call fcn.00452080
xor eax, eax
jmp 0x491863
cmp ebx, 0x10
jne 0x4915c7
mov eax, dword [esi + 0x508]
mov edi, eax
push 0
mov ecx, edi
mov ebx, dword [eax]
call dword [ebx + 0x2c]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov ecx, dword [esi + 0x508]
push eax
call dword [ebx + 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 0x491592
call dword [edi + 0x40]
jmp 0x491599
lea eax, [ebp - 0x20]
push eax
call dword [edi + 0x44]
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 ebx, dword [ebp + 8]
jmp 0x49168c
cmp ebx, 0x201
je 0x4917c8
cmp ebx, 0x203
je 0x4917c8
cmp ebx, 0x202
jne 0x4916c0
cmp byte [esi + 0x514], 0
je 0x491600
mov byte [esi + 0x514], 0
jmp 0x49168c
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.00452a30
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x14]
lea ecx, [esi + 0x10]
push dword [ebp - 0x18]
call fcn.00452250
test eax, eax
je 0x49168c
mov edx, dword [eax]
mov ecx, eax
mov edi, str.ScrollBar
call dword [edx + 0x10]
lea esp, [esp]
mov cx, word [eax]
cmp cx, word [edi]
jne 0x491676
test cx, cx
je 0x491672
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x491676
add eax, 4
add edi, 4
test cx, cx
jne 0x491650
xor eax, eax
jmp 0x49167b
sbb eax, eax
or eax, 1
test eax, eax
je 0x49168c
push 0
push 0
push 8
mov ecx, esi
call fcn.0045b960
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], 0
push eax
push dword [ebp + 0x10]
lea ecx, [esi + 0x10]
push edi
push ebx
call fcn.00453640
test al, al
je 0x491857
mov eax, dword [ebp - 0xb8]
jmp 0x491863
cmp ebx, 0x100
jne 0x49173d
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x49167f
mov ecx, dword [esi + 0x508]
cmp eax, 0x1b
je 0x491712
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]
call dword [eax + 4]
push eax
mov ecx, esi
call fcn.00491090
xor eax, eax
jmp 0x491863
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.00491090
jmp 0x49167f
cmp ebx, 0x20a
jne 0x491772
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp + 0xc]
mov edx, 0x10
shr eax, 0x10
mov ecx, 0xfffffff0
test ax, ax
cmovs ecx, edx
push ecx
push 0
mov ecx, esi
call fcn.00491f70
xor eax, eax
jmp 0x491863
mov edi, dword [ebp + 0xc]
cmp ebx, 8
jne 0x49168f
cmp dword [esi + 4], edi
je 0x49168f
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4917b4
jmp 0x4917a0
cmp dword [esi + 4], eax
je 0x49168f
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4917a0
push 0
push 0
push 0x10
mov ecx, esi
call fcn.0045b960
xor eax, eax
jmp 0x491863
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.00452a30
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x14]
lea ecx, [esi + 0x10]
push dword [ebp - 0x18]
call fcn.00452250
test eax, eax
je 0x49168c
mov edx, dword [eax]
mov ecx, eax
mov edi, str.ScrollBar
call dword [edx + 0x10]
mov cx, word [eax]
cmp cx, word [edi]
jne 0x49183b
test cx, cx
je 0x491837
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x49183b
add eax, 4
add edi, 4
test cx, cx
jne 0x491815
xor eax, eax
jmp 0x491840
sbb eax, eax
or eax, 1
mov edi, dword [ebp + 0xc]
test eax, eax
jne 0x49168f
mov byte [esi + 0x514], 1
jmp 0x49168f
push dword [ebp + 0x10]
mov ecx, esi
push edi
push ebx
call fcn.0045b800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d83a6
mov esp, ebp
pop ebp
ret 0xc