Function at 0x4a40f0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c23a9
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4fb2a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], ecx
cmp dword [ebp + 8], 1
jne 0x4a4448
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x140]
add ecx, 0x10
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND____
push 0x688
call fcn.0042ec5c
add esp, 4
mov dword [ebp - 0x13c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x13c], 0
je 0x4a4179
mov ecx, dword [ebp - 0x13c]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CVerticalLayoutUI::constructor_void_
mov dword [ebp - 0x144], eax
jmp 0x4a4183
mov dword [ebp - 0x144], 0
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x138]
mov dword [eax + 0x42c], ecx
push 1
push 0
mov edx, dword [ebp - 0x140]
add edx, 0x10
push edx
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x42c]
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0x42c]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
push str.VerticalLayout
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x428]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x428]
mov edx, dword [edx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CPaintManagerUI::GetDefaultAttributeList_wchar_t_const__const
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
je 0x4a4229
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0x140]
mov ecx, dword [edx + 0x42c]
call sym.Setup.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CControlUI::ApplyAttributeList_wchar_t_const__
push 1
push 1
push 1
push 1
lea ecx, [ebp - 0x30]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_int__int__int__int_
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 - 0x140]
mov ecx, dword [eax + 0x42c]
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0x42c]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x138]
call eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx + 0x42c]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CControlUI::SetBkColor_unsigned_long_int_
push 0xffc6c7d2
mov edx, dword [ebp - 0x140]
mov ecx, dword [edx + 0x42c]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CControlUI::SetBorderColor_unsigned_long_int_
push 1
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x42c]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CControlUI::SetBorderSize_int_
push 0
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x42c]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x42c]
mov edx, dword [edx]
mov eax, dword [edx + 0x148]
call eax
push 0
push 1
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x42c]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x42c]
mov edx, dword [edx]
mov eax, dword [edx + 0x19c]
call eax
lea ecx, [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0x140]
mov ecx, dword [edx + 0x428]
call sym.Setup.exe_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CComboUI::GetDropBoxAttributeList_void_
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14c]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx + 0x42c]
call sym.Setup.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CControlUI::ApplyAttributeList_wchar_t_const__
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 0xd8], 0
jmp 0x4a4391
mov edx, dword [ebp - 0xd8]
add edx, 1
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x428]
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0x428]
add eax, 0x630
mov edx, dword [ecx + 0x630]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
cmp dword [ebp - 0xd8], eax
jge 0x4a4421
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0x428]
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx + 0x428]
add ecx, 0x630
mov edx, dword [eax + 0x630]
mov eax, dword [edx]
call eax
push eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x42c]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x42c]
add ecx, 0x630
mov edx, dword [edx + 0x630]
mov eax, dword [edx + 0x10]
call eax
jmp 0x4a4382
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x42c]
push edx
mov ecx, dword [ebp - 0x140]
add ecx, 0x10
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__
xor eax, eax
jmp 0x4a49c0
cmp dword [ebp + 8], 0x10
jne 0x4a45c4
push 0
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x428]
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0x428]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x24]
call eax
push eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x428]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x428]
mov edx, dword [edx]
mov eax, dword [edx + 0x1c]
call eax
push eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x428]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x428]
mov edx, dword [edx]
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x428]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x428]
mov edx, dword [edx]
mov eax, dword [edx + 0xf4]
call eax
movzx ecx, al
test ecx, ecx
jne 0x4a453b
push 0
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0x428]
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx + 0x428]
mov edx, dword [eax]
mov eax, dword [edx + 0x30]
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 - 0x140]
mov edx, dword [ecx + 0x428]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x428]
mov edx, dword [edx]
mov eax, dword [edx + 0x38]
call eax
jmp 0x4a459d
push 0
lea ecx, [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0x428]
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx + 0x428]
mov edx, dword [eax]
mov eax, dword [edx + 0x34]
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 - 0x140]
mov edx, dword [ecx + 0x428]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x428]
mov edx, dword [edx]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x428]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x428]
mov edx, dword [edx]
mov eax, dword [edx + 0xf0]
call eax
jmp 0x4a496f
cmp dword [ebp + 8], 0x201
je 0x4a45da
cmp dword [ebp + 8], 0x203
jne 0x4a4677
mov dword [ebp - 0xe0], 0
xor ecx, ecx
mov dword [ebp - 0xdc], ecx
lea edx, [ebp - 0xe0]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0x140]
add ecx, 0x10
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
mov ecx, dword [ebp - 0x140]
add ecx, 0x10
call sym.Setup.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x4a4672
push str.ScrollBarUI
mov eax, dword [ebp - 0xe4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xe4]
mov eax, dword [edx + 0xc]
call eax
push eax
call fcn.004bc35c
add esp, 8
test eax, eax
jne 0x4a4672
mov ecx, dword [ebp - 0x140]
mov byte [ecx + 0x434], 1
jmp 0x4a496f
cmp dword [ebp + 8], 0x202
jne 0x4a4748
mov edx, dword [ebp - 0x140]
movzx eax, byte [edx + 0x434]
test eax, eax
je 0x4a46a7
mov ecx, dword [ebp - 0x140]
mov byte [ecx + 0x434], 0
jmp 0x4a4743
mov dword [ebp - 0xec], 0
xor edx, edx
mov dword [ebp - 0xe8], edx
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0xec]
push ecx
mov ecx, dword [ebp - 0x140]
add ecx, 0x10
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0x140]
add ecx, 0x10
call sym.Setup.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
je 0x4a4743
push str.ScrollBarUI
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xf0]
mov eax, dword [edx + 0xc]
call eax
push eax
call fcn.004bc35c
add esp, 8
test eax, eax
je 0x4a4743
push 0
push 0
push 8
mov ecx, dword [ebp - 0x140]
call sym.Setup.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
jmp 0x4a496f
cmp dword [ebp + 8], 0x100
jne 0x4a4854
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x150], ecx
cmp dword [ebp - 0x150], 0xd
je 0x4a47c2
cmp dword [ebp - 0x150], 0x1b
je 0x4a4772
jmp 0x4a47d5
push 1
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0x430]
push eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x428]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x428]
add ecx, 0x660
mov edx, dword [edx + 0x660]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x430]
push edx
mov ecx, dword [ebp - 0x140]
call fcn.004a49e0
push 0
push 0
push 8
mov ecx, dword [ebp - 0x140]
call sym.Setup.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
jmp 0x4a484f
mov dword [ebp - 0x110], 3
mov ax, word [ebp + 0xc]
mov word [ebp - 0xfc], ax
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0x428]
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx + 0x428]
mov edx, dword [eax]
mov eax, dword [edx + 0x10c]
call eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x428]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x428]
add ecx, 0x660
mov edx, dword [edx + 0x660]
mov eax, dword [edx + 4]
call eax
push eax
mov ecx, dword [ebp - 0x140]
call fcn.004a49e0
xor eax, eax
jmp 0x4a49c0
jmp 0x4a496f
cmp dword [ebp + 8], 0x20a
jne 0x4a494a
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x134], 0
xor eax, 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 - 0x118], eax
mov dword [ebp - 0x134], 0x12
xor ecx, ecx
cmp dword [ebp - 0x114], 0
setl cl
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x118], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0x428]
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx + 0x428]
mov edx, dword [eax]
mov eax, dword [edx + 0x10c]
call eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x428]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x428]
add ecx, 0x660
mov edx, dword [edx + 0x660]
mov eax, dword [edx + 4]
call eax
push eax
mov ecx, dword [ebp - 0x140]
call fcn.004a49e0
xor eax, eax
jmp 0x4a49c0
cmp dword [ebp + 8], 8
jne 0x4a496f
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x4a496f
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x140]
call sym.Setup.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
mov dword [ebp - 0xd0], 0
lea eax, [ebp - 0xd0]
push eax
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 - 0x140]
add ecx, 0x10
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::MessageHandler_unsigned_int__unsigned_int__long_int__long_int__
movzx ecx, al
test ecx, ecx
je 0x4a49a9
mov eax, dword [ebp - 0xd0]
jmp 0x4a49c0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x140]
call sym.Setup.exe_protected_virtual:_long_int___thiscall_DuiLib::CWindowWnd::HandleMessage_unsigned_int__unsigned_int__long_int_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e217
mov esp, ebp
pop ebp
ret 0xc