Function at 0x499980
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524b69
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x56b910]
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 0x499b98
lea ebx, [esi + 0x10]
push 1
mov ecx, ebx
call fcn.0045f440
push 0
push dword [esi + 4]
mov ecx, ebx
call fcn.0045ac70
push 0x7c8
call fcn.004e16b1
add esp, 4
mov dword [ebp - 0xcc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x499a03
push dword [esi + 0x510]
mov ecx, eax
call fcn.004985e0
mov ecx, eax
jmp 0x499a05
xor ecx, ecx
push 1
mov dword [esi + 0x514], ecx
mov eax, dword [ecx]
push 0
push ebx
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x28]
mov ecx, dword [esi + 0x510]
push str.VerticalLayout
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0045a100
test eax, eax
je 0x499a46
mov ecx, dword [esi + 0x514]
push eax
mov edx, dword [ecx]
call dword [edx + 0x134]
push 1
push 1
push 1
push 1
lea ecx, [ebp - 0x20]
call fcn.00461640
mov edx, dword [esi + 0x514]
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 + 0x514]
push str.filecommon9combobox_list_bg.png_corner10_10_10_10
call fcn.0046ee80
mov ecx, dword [esi + 0x514]
push 0
mov eax, dword [ecx]
call dword [eax + 0x184]
mov ecx, dword [esi + 0x514]
push 0
push 1
mov eax, dword [ecx]
call dword [eax + 0x1d8]
mov ecx, dword [esi + 0x510]
lea eax, [ebp - 0xb4]
push eax
call fcn.00499810
mov ecx, dword [esi + 0x514]
mov dword [ebp - 4], 1
mov edi, dword [ecx]
mov ecx, eax
call fcn.00413d30
mov ecx, dword [esi + 0x514]
push eax
call dword [edi + 0x134]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xffffffff
call fcn.004617d0
mov ecx, dword [esi + 0x514]
push 0xff5e5e62
mov eax, dword [ecx]
call dword [eax + 0x1dc]
mov ecx, eax
call fcn.0048dfd0
mov ecx, dword [esi + 0x514]
push 0xff4c4c52
mov eax, dword [ecx]
call dword [eax + 0x1dc]
mov ecx, eax
call fcn.0046edc0
mov ecx, dword [esi + 0x510]
xor ebx, ebx
add ecx, 0x760
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jle 0x499b83
jmp 0x499b40
mov eax, dword [esi + 0x514]
mov ecx, dword [esi + 0x510]
add ecx, 0x760
push ebx
mov edi, dword [eax + 0x760]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi + 0x514]
push eax
add ecx, 0x760
call dword [edi + 0x14]
mov ecx, dword [esi + 0x510]
inc ebx
add ecx, 0x760
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp ebx, eax
jl 0x499b40
push dword [esi + 0x514]
lea ecx, [esi + 0x10]
call fcn.00459f00
xor eax, eax
jmp 0x499fc4
cmp ebx, 0x10
jne 0x499c16
mov eax, dword [esi + 0x510]
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 + 0x510]
push eax
call dword [ebx + 0x28]
mov ecx, dword [esi + 0x510]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10c]
call eax
mov ecx, dword [esi + 0x510]
mov edi, dword [ecx]
test al, al
jne 0x499be1
call dword [edi + 0x40]
jmp 0x499be8
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 + 0x510]
call dword [edi + 0x4c]
mov ecx, dword [esi + 0x510]
mov eax, dword [ecx]
call dword [eax + 0x108]
mov ebx, dword [ebp + 8]
jmp 0x499d1d
cmp ebx, 0x201
je 0x499f29
cmp ebx, 0x203
je 0x499f29
cmp ebx, 0x202
jne 0x499d51
cmp byte [esi + 0x51c], 0
je 0x499c4f
mov byte [esi + 0x51c], 0
jmp 0x499d1d
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.0045a8b0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x14]
lea ecx, [esi + 0x10]
push dword [ebp - 0x18]
call fcn.0045a0d0
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x499d1d
mov edx, dword [eax]
mov ecx, eax
mov edi, str.ScrollBar
call dword [edx + 0x10]
mov cx, word [eax]
cmp cx, word [edi]
jne 0x499cc8
test cx, cx
je 0x499cc4
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x499cc8
add eax, 4
add edi, 4
test cx, cx
jne 0x499ca2
xor eax, eax
jmp 0x499ccd
sbb eax, eax
or eax, 1
test eax, eax
je 0x499d1d
mov ecx, dword [ebp - 0xcc]
mov edi, 0x52de68
mov eax, dword [ecx]
call dword [eax + 0x10]
mov cx, word [eax]
cmp cx, word [edi]
jne 0x499d07
test cx, cx
je 0x499d03
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x499d07
add eax, 4
add edi, 4
test cx, cx
jne 0x499ce1
xor eax, eax
jmp 0x499d0c
sbb eax, eax
or eax, 1
test eax, eax
je 0x499d1d
push 0
push 0
push 8
mov ecx, esi
call fcn.00463ad0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], 0
push eax
push dword [ebp + 0x10]
lea ecx, [esi + 0x10]
push edi
push ebx
call fcn.0045b4d0
test al, al
je 0x499fb8
mov eax, dword [ebp - 0xc8]
jmp 0x499fc4
cmp ebx, 0x100
jne 0x499dce
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x499d10
mov ecx, dword [esi + 0x510]
cmp eax, 0x1b
je 0x499da3
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 + 0x510]
add ecx, 0x798
mov eax, dword [ecx]
call dword [eax + 4]
push eax
mov ecx, esi
call fcn.004996c0
xor eax, eax
jmp 0x499fc4
mov eax, dword [ecx + 0x798]
add ecx, 0x798
push 1
push 1
push dword [esi + 0x518]
call dword [eax + 8]
push dword [esi + 0x518]
mov ecx, esi
call fcn.004996c0
jmp 0x499d10
cmp ebx, 0x20a
jne 0x499e03
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.0049a810
xor eax, eax
jmp 0x499fc4
cmp ebx, 8
jne 0x499e4d
mov edi, dword [ebp + 0xc]
cmp dword [esi + 4], edi
je 0x499d20
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x499e39
cmp dword [esi + 4], eax
je 0x499d20
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x499e25
push 0
push 0
push 0x10
mov ecx, esi
call fcn.00463ad0
xor eax, eax
jmp 0x499fc4
cmp ebx, 5
jne 0x499ef8
call fcn.0046fd50
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x499d1d
lea ecx, [ebp - 0xc4]
call fcn.00461660
lea eax, [ebp - 0xc4]
mov ecx, esi
push eax
call fcn.0046fd50
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc4]
neg eax
push eax
mov eax, dword [ebp - 0xc4]
neg eax
push eax
call fcn.00462210
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
inc eax
push 9
push 9
push eax
inc ecx
mov dword [ebp - 0xb8], eax
push ecx
push dword [ebp - 0xc0]
mov dword [ebp - 0xbc], ecx
push dword [ebp - 0xc4]
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov edi, eax
mov ecx, esi
push 1
push edi
call fcn.0046fd50
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x499d1d
mov edi, dword [ebp + 0xc]
cmp ebx, 0x113
jne 0x499d20
cmp edi, 0x58f
jne 0x499d20
call fcn.0049c450
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x499fc4
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.0045a8b0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x14]
lea ecx, [esi + 0x10]
push dword [ebp - 0x18]
call fcn.0045a0d0
test eax, eax
je 0x499d1d
mov edx, dword [eax]
mov ecx, eax
mov edi, str.ScrollBar
call dword [edx + 0x10]
mov cx, word [eax]
cmp cx, word [edi]
jne 0x499f9c
test cx, cx
je 0x499f98
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x499f9c
add eax, 4
add edi, 4
test cx, cx
jne 0x499f76
xor eax, eax
jmp 0x499fa1
sbb eax, eax
or eax, 1
mov edi, dword [ebp + 0xc]
test eax, eax
jne 0x499d20
mov byte [esi + 0x51c], 1
jmp 0x499d20
push dword [ebp + 0x10]
mov ecx, esi
push edi
push ebx
call fcn.00463970
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.004e16a2
mov esp, ebp
pop ebp
ret 0xc