Function at 0x5170b0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x632c39
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x6bae70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc8], ecx
cmp dword [ebp + 8], 1
jne 0x517444
push 1
mov ecx, dword [ebp - 0xc8]
add ecx, 0x10
call fcn.004c31d0
push 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x10
call fcn.004bd000
push 0x6c0
call fcn.005e8f55
add esp, 4
mov dword [ebp - 0xf4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xf4], 0
je 0x517158
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x498]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.00515630
mov dword [ebp - 0xf8], eax
jmp 0x517162
mov dword [ebp - 0xf8], 0
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x110]
mov dword [edx + 0x49c], eax
push 1
push 0
mov ecx, dword [ebp - 0xc8]
add ecx, 0x10
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x49c]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x49c]
mov eax, dword [edx + 0x28]
call eax
push str.VerticalLayout
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x498]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x498]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.004bc430
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x517217
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x49c]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x49c]
mov eax, dword [edx + 0x130]
call eax
push 1
push 1
push 1
push 1
lea ecx, [ebp - 0x40]
call fcn.004b8aa0
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x14], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x49c]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x49c]
mov edx, dword [eax + 0x15c]
call edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x49c]
call fcn.004c79f0
push 0xffc6c7d2
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x49c]
call fcn.004c7b00
push 1
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x49c]
call fcn.004c7b70
push 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x49c]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x49c]
mov edx, dword [eax + 0x17c]
call edx
push 0
push 1
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x49c]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x49c]
mov edx, dword [eax + 0x1d0]
call edx
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x498]
call fcn.00516f10
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x114], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x114]
call fcn.004b8f40
push eax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x49c]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x49c]
mov edx, dword [eax + 0x130]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.004b8d30
mov dword [ebp - 0xd4], 0
jmp 0x51738e
mov eax, dword [ebp - 0xd4]
add eax, 1
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x498]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x498]
add ecx, 0x658
mov edx, dword [edx + 0x658]
mov eax, dword [edx + 0x10]
call eax
cmp dword [ebp - 0xd4], eax
jge 0x51741d
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x498]
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x498]
add ecx, 0x658
mov edx, dword [eax + 0x658]
mov eax, dword [edx]
call eax
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x49c]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x49c]
add ecx, 0x658
mov edx, dword [edx + 0x658]
mov eax, dword [edx + 0x14]
call eax
jmp 0x51737f
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x49c]
push edx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x10
call fcn.004bc0b0
xor eax, eax
jmp 0x517a50
cmp dword [ebp + 8], 0x10
jne 0x5175bb
push 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x498]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x498]
mov edx, dword [eax + 0x2c]
call edx
push eax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x498]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x498]
mov edx, dword [eax + 0x24]
call edx
push eax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x498]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x498]
mov edx, dword [eax + 0x28]
call edx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x498]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x498]
mov edx, dword [eax + 0x108]
call edx
movzx eax, al
test eax, eax
jne 0x517535
push 0
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x498]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x498]
mov eax, dword [edx + 0x40]
call eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x498]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x498]
mov eax, dword [edx + 0x4c]
call eax
jmp 0x517594
push 0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x498]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x498]
mov eax, dword [edx + 0x44]
call eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x498]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x498]
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x498]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x498]
mov eax, dword [edx + 0x104]
call eax
jmp 0x5179ff
cmp dword [ebp + 8], 0x201
je 0x5175d1
cmp dword [ebp + 8], 0x203
jne 0x51766e
mov dword [ebp - 0xe8], 0
xor ecx, ecx
mov dword [ebp - 0xe4], ecx
lea edx, [ebp - 0xe8]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x10
call fcn.004bcf10
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x10
call fcn.004bc320
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
je 0x517669
push str.ScrollBar
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x10]
call eax
push eax
call fcn.005ecf88
add esp, 8
test eax, eax
jne 0x517669
mov ecx, dword [ebp - 0xc8]
mov byte [ecx + 0x4a4], 1
jmp 0x5179ff
cmp dword [ebp + 8], 0x202
jne 0x51773f
mov edx, dword [ebp - 0xc8]
movzx eax, byte [edx + 0x4a4]
test eax, eax
je 0x51769e
mov ecx, dword [ebp - 0xc8]
mov byte [ecx + 0x4a4], 0
jmp 0x51773a
mov dword [ebp - 0xf0], 0
xor edx, edx
mov dword [ebp - 0xec], edx
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x10
call fcn.004bcf10
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x10
call fcn.004bc320
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x51773a
push str.ScrollBar
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xdc]
mov eax, dword [edx + 0x10]
call eax
push eax
call fcn.005ecf88
add esp, 8
test eax, eax
je 0x51773a
push 0
push 0
push 8
mov ecx, dword [ebp - 0xc8]
call fcn.004b81f0
jmp 0x5179ff
cmp dword [ebp + 8], 0x100
jne 0x51784d
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x108], ecx
cmp dword [ebp - 0x108], 0xd
je 0x5177bb
cmp dword [ebp - 0x108], 0x1b
je 0x517769
jmp 0x5177ce
push 1
push 1
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x4a0]
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x498]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x498]
add ecx, 0x690
mov edx, dword [edx + 0x690]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x4a0]
push edx
mov ecx, dword [ebp - 0xc8]
call fcn.00516d10
push 0
push 0
push 8
mov ecx, dword [ebp - 0xc8]
call fcn.004b81f0
jmp 0x517848
mov dword [ebp - 0x158], 3
mov ax, word [ebp + 0xc]
mov word [ebp - 0x144], ax
lea ecx, [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x498]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x498]
mov eax, dword [edx + 0x120]
call eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x498]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x498]
add ecx, 0x690
mov edx, dword [edx + 0x690]
mov eax, dword [edx + 4]
call eax
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.00516d10
xor eax, eax
jmp 0x517a50
jmp 0x5179ff
cmp dword [ebp + 8], 0x20a
jne 0x517962
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x138], 0
xor eax, eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x138], 0x12
cmp dword [ebp - 0x118], 0
jge 0x5178c4
mov dword [ebp - 0x104], 1
jmp 0x5178ce
mov dword [ebp - 0x104], 0
mov ecx, dword [ebp - 0x104]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x120], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x498]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x498]
mov eax, dword [edx + 0x120]
call eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x498]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x498]
add ecx, 0x690
mov edx, dword [edx + 0x690]
mov eax, dword [edx + 4]
call eax
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.00516d10
xor eax, eax
jmp 0x517a50
cmp dword [ebp + 8], 8
jne 0x5179ff
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x5179ff
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xc9], 0
mov eax, dword [ebp - 0xfc]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x5179df
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp - 0xd0]
jne 0x5179d1
mov byte [ebp - 0xc9], 1
jmp 0x5179df
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xfc], eax
jmp 0x51799b
movzx ecx, byte [ebp - 0xc9]
test ecx, ecx
jne 0x5179ff
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0xc8]
call fcn.004b81f0
xor eax, eax
jmp 0x517a50
mov dword [ebp - 0xe0], 0
lea edx, [ebp - 0xe0]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x10
call fcn.004bd510
movzx eax, al
test eax, eax
je 0x517a39
mov eax, dword [ebp - 0xe0]
jmp 0x517a50
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.004b8010
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e9734
mov esp, ebp
pop ebp
ret 0xc