Function at 0x497f90
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55575d
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x5a9464]
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 0x498199
push ebx
lea ecx, [esi + 0x10]
call fcn.0045d510
push 0
push dword [esi + 4]
lea ecx, [esi + 0x10]
call fcn.00459570
push 0x6c0
call fcn.00508da6
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x498024
mov edi, dword [esi + 0x490]
mov ecx, ebx
call fcn.0048cfc0
mov dword [ebx], vtable.DuiLib::CComboBodyUI.0
mov dword [ebx + 0x658], 0x5676c0
mov dword [ebx + 0x6b8], edi
jmp 0x498026
xor ebx, ebx
push 1
mov dword [esi + 0x494], ebx
lea ecx, [esi + 0x10]
mov eax, dword [ebx]
push 0
push ecx
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x28]
mov ecx, dword [esi + 0x490]
push str.VerticalLayout
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00458cf0
test eax, eax
je 0x49806c
mov ecx, dword [esi + 0x494]
push eax
mov edx, dword [ecx]
call dword [edx + 0x130]
push 1
push 1
push 1
push 1
lea ecx, [ebp - 0x20]
call fcn.00452d80
mov edx, dword [esi + 0x494]
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
mov edi, dword [edx]
movups xmmword [ecx], xmm0
mov ecx, edx
call dword [edi + 0x15c]
mov ecx, dword [esi + 0x494]
push 0xffffffffffffffff
call fcn.00461070
mov ecx, dword [esi + 0x494]
push 0xffc6c7d2
call fcn.00461130
mov ecx, dword [esi + 0x494]
push 1
call fcn.00461170
mov ecx, dword [esi + 0x494]
push 0
mov eax, dword [ecx]
call dword [eax + 0x17c]
mov ecx, dword [esi + 0x494]
push 0
push 1
mov eax, dword [ecx]
call dword [eax + 0x1d0]
mov ecx, dword [esi + 0x490]
lea eax, [ebp - 0xb4]
push eax
call fcn.00497e30
mov ecx, dword [esi + 0x494]
mov dword [ebp - 4], 1
mov edi, dword [ecx]
mov ecx, eax
call fcn.004537d0
mov ecx, dword [esi + 0x494]
push eax
call dword [edi + 0x130]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xffffffff
call fcn.00452f30
mov ecx, dword [esi + 0x490]
xor ebx, ebx
add ecx, 0x658
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jle 0x498184
mov eax, dword [esi + 0x494]
mov ecx, dword [esi + 0x490]
add ecx, 0x658
push ebx
mov edi, dword [eax + 0x658]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi + 0x494]
push eax
add ecx, 0x658
call dword [edi + 0x14]
mov ecx, dword [esi + 0x490]
inc ebx
add ecx, 0x658
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp ebx, eax
jl 0x498141
push dword [esi + 0x494]
lea ecx, [esi + 0x10]
call fcn.00458a40
xor eax, eax
jmp 0x49847f
cmp ebx, 0x10
jne 0x498215
mov eax, dword [esi + 0x490]
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 + 0x490]
push eax
call dword [ebx + 0x28]
mov ecx, dword [esi + 0x490]
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
call eax
mov ecx, dword [esi + 0x490]
mov edi, dword [ecx]
test al, al
jne 0x4981e2
call dword [edi + 0x40]
jmp 0x4981e9
lea eax, [ebp - 0x20]
push eax
call dword [edi + 0x44]
movups xmm0, xmmword [eax]
push 0
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, dword [esi + 0x490]
call dword [edi + 0x4c]
mov ecx, dword [esi + 0x490]
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ebx, dword [ebp + 8]
jmp 0x4982d3
cmp ebx, 0x201
je 0x4983e4
cmp ebx, 0x203
je 0x4983e4
cmp ebx, 0x202
jne 0x498308
cmp byte [esi + 0x49c], 0
je 0x49824e
mov byte [esi + 0x49c], 0
jmp 0x4982d3
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.00459490
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x14]
lea ecx, [esi + 0x10]
push dword [ebp - 0x18]
call fcn.00458cc0
test eax, eax
je 0x4982d3
mov edx, dword [eax]
mov ecx, eax
mov edi, str.ScrollBar
call dword [edx + 0x10]
mov cx, word [eax]
cmp cx, word [edi]
jne 0x4982bd
test cx, cx
je 0x4982b9
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x4982bd
add eax, 4
add edi, 4
test cx, cx
jne 0x498297
xor eax, eax
jmp 0x4982c2
sbb eax, eax
or eax, 1
test eax, eax
je 0x4982d3
push 0
push 0
push 8
mov ecx, esi
call fcn.00469d80
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0xb8]
push ecx
push edi
push eax
push ebx
lea ecx, [esi + 0x10]
mov dword [ebp - 0xb8], 0
call fcn.00459920
test al, al
je 0x498473
mov eax, dword [ebp - 0xb8]
jmp 0x49847f
cmp ebx, 0x100
jne 0x498385
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x4982c6
mov ecx, dword [esi + 0x490]
cmp eax, 0x1b
je 0x49835a
mov dword [ebp - 0x30], 3
lea edx, [ebp - 0x30]
mov word [ebp - 0x1c], ax
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
mov ecx, dword [esi + 0x490]
add ecx, 0x690
mov eax, dword [ecx]
call dword [eax + 4]
push eax
mov ecx, esi
call fcn.00497ce0
xor eax, eax
jmp 0x49847f
mov eax, dword [ecx + 0x690]
add ecx, 0x690
push 1
push 1
push dword [esi + 0x498]
call dword [eax + 8]
push dword [esi + 0x498]
mov ecx, esi
call fcn.00497ce0
jmp 0x4982c6
cmp ebx, 0x20a
je 0x498192
mov eax, dword [ebp + 0xc]
cmp ebx, 8
jne 0x4982d6
cmp dword [esi + 4], eax
je 0x4982d6
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
test eax, eax
je 0x4983d0
nop dword [eax]
cmp dword [esi + 4], eax
je 0x4982d3
push eax
call edi
test eax, eax
jne 0x4983c0
push 0
push 0
push 0x10
mov ecx, esi
call fcn.00469d80
xor eax, eax
jmp 0x49847f
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.00459490
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x14]
lea ecx, [esi + 0x10]
push dword [ebp - 0x18]
call fcn.00458cc0
test eax, eax
je 0x4982d3
mov edx, dword [eax]
mov ecx, eax
mov edi, str.ScrollBar
call dword [edx + 0x10]
mov cx, word [eax]
cmp cx, word [edi]
jne 0x498457
test cx, cx
je 0x498453
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x498457
add eax, 4
add edi, 4
test cx, cx
jne 0x498431
xor eax, eax
jmp 0x49845c
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x4982d6
mov byte [esi + 0x49c], 1
jmp 0x4982d6
push edi
push dword [ebp + 0xc]
mov ecx, esi
push ebx
call fcn.00469a80
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.00508d64
mov esp, ebp
pop ebp
ret 0xc