Function at 0x457e5c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xd4
mov eax, 0x4eb50c
call fcn.004bc283
mov ebx, ecx
mov edi, dword [ebp + 8]
cmp edi, 1
jne 0x45802e
lea edi, [ebx + 0x10]
push 1
mov ecx, edi
call sym.CAD.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetForceUseSharedRes_bool_
xor eax, eax
mov ecx, edi
push eax
push dword [ebx + 4]
mov dword [ebp - 0xbc], eax
call sym.CAD.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND_____wchar_t_const__
push 0x6c0
call fcn.004bb92e
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
xor eax, eax
lea esi, [ebx + 0x498]
mov dword [ebp - 4], eax
mov dword [ebp - 0xb8], esi
test ecx, ecx
je 0x457ec6
push dword [esi]
call fcn.00456ead
jmp 0x457ecc
mov dword [ebp - 0xb8], esi
or dword [ebp - 4], 0xffffffff
mov ecx, eax
push 1
mov dword [ebx + 0x49c], ecx
push 0
mov eax, dword [ecx]
push edi
call dword [eax + 0x28]
mov ecx, dword [esi]
push str.VerticalLayout
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call sym.CAD.exe_public:_wchar_t_const____thiscall_DuiLib::CPaintManagerUI::GetDefaultAttributeList_wchar_t_const__const
test eax, eax
je 0x457f08
mov ecx, dword [ebx + 0x49c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x130]
xor eax, eax
lea ecx, [ebp - 0x20]
inc eax
push eax
push eax
push eax
push eax
call sym.CAD.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_long_int__long_int__long_int__long_int_
mov ecx, dword [ebx + 0x49c]
sub esp, 0x10
mov esi, eax
mov edi, esp
mov edx, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [edx + 0x15c]
mov ecx, dword [ebx + 0x49c]
push 0xffffffffffffffff
call sym.CAD.exe_public:_void___thiscall_DuiLib::CControlUI::SetBkColor_unsigned_long_int_
mov ecx, dword [ebx + 0x49c]
push 0xffc6c7d2
call sym.CAD.exe_public:_void___thiscall_DuiLib::CControlUI::SetBorderColor_unsigned_long_int_
mov ecx, dword [ebx + 0x49c]
xor esi, esi
inc esi
push esi
call sym.CAD.exe_public:_void___thiscall_DuiLib::CControlUI::SetBorderSize_int_
mov ecx, dword [ebx + 0x49c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x17c]
mov ecx, dword [ebx + 0x49c]
push 0
push esi
mov eax, dword [ecx]
call dword [eax + 0x1d0]
mov edi, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [edi]
call sym.CAD.exe_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CComboUI::GetDropBoxAttributeList_void_
mov ecx, dword [ebx + 0x49c]
mov dword [ebp - 4], esi
mov esi, dword [ecx]
mov ecx, eax
call sym.CAD.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov ecx, dword [ebx + 0x49c]
push eax
call dword [esi + 0x130]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call sym.CAD.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov ecx, dword [edi]
add ecx, 0x658
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jle 0x458019
mov eax, dword [ebx + 0x49c]
mov ecx, dword [edi]
push dword [ebp - 0xbc]
add ecx, 0x658
mov esi, dword [eax + 0x658]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebx + 0x49c]
push eax
add ecx, 0x658
call dword [esi + 0x14]
mov ecx, dword [edi]
inc dword [ebp - 0xbc]
add ecx, 0x658
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [ebp - 0xbc], eax
jl 0x457fd0
push dword [ebx + 0x49c]
lea ecx, [ebx + 0x10]
call sym.CAD.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__
xor eax, eax
jmp 0x458365
xor eax, eax
cmp edi, 0x10
jne 0x4580e7
mov eax, dword [ebx + 0x498]
mov esi, eax
push 0
mov ecx, esi
mov edi, dword [eax]
call dword [edi + 0x2c]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, dword [ebx + 0x498]
push eax
call dword [edi + 0x28]
mov ecx, dword [ebx + 0x498]
mov eax, dword [ecx]
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x498]
mov edx, dword [ecx]
mov dword [ebp - 0xb8], edx
test al, al
jne 0x458081
call dword [edx + 0x40]
jmp 0x458088
lea eax, [ebp - 0x20]
push eax
call dword [edx + 0x44]
mov ecx, dword [ebx + 0x498]
mov esi, eax
mov eax, dword [ebp - 0xb8]
push 0
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
mov ecx, dword [ebx + 0x498]
mov eax, dword [ecx]
call dword [eax + 0x104]
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc0], eax
lea ecx, [ebx + 0x10]
lea eax, [ebp - 0xc0]
push eax
push dword [ebp + 0x10]
push esi
push edi
call sym.CAD.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::MessageHandler_unsigned_int__unsigned_int__long_int__long_int__
test al, al
je 0x458359
mov eax, dword [ebp - 0xc0]
jmp 0x458365
cmp edi, 0x201
je 0x4582c8
cmp edi, 0x203
je 0x4582c8
cmp edi, 0x202
jne 0x4581a9
cmp byte [ebx + 0x4a4], al
je 0x45811b
mov byte [ebx + 0x4a4], al
jmp 0x4580b7
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x10]
call sym.CAD.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x14]
lea ecx, [ebx + 0x10]
push dword [ebp - 0x18]
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
test eax, eax
je 0x4580b5
mov edx, dword [eax]
mov ecx, eax
mov esi, str.ScrollBar
call dword [edx + 0x10]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x45818a
test cx, cx
je 0x458184
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x45818a
add eax, 4
add esi, 4
test cx, cx
jne 0x458162
xor eax, eax
mov ecx, eax
jmp 0x458191
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
je 0x4580b7
push eax
push eax
push 8
mov ecx, ebx
call sym.CAD.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
jmp 0x4580b5
cmp edi, 0x100
jne 0x458224
mov ecx, dword [ebp + 0xc]
cmp ecx, 0xd
je 0x458199
mov edx, dword [ebx + 0x498]
cmp ecx, 0x1b
je 0x4581fb
mov word [ebp - 0x1c], cx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 3
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0x120]
mov ecx, dword [ebx + 0x498]
add ecx, 0x690
mov eax, dword [ecx]
call dword [eax + 4]
push eax
mov ecx, ebx
call fcn.00457b35
jmp 0x458027
push 1
lea ecx, [edx + 0x690]
mov eax, dword [ecx]
push 1
push dword [ebx + 0x4a0]
call dword [eax + 8]
push dword [ebx + 0x4a0]
mov ecx, ebx
call fcn.00457b35
xor eax, eax
jmp 0x458199
cmp edi, 0x20a
jne 0x458287
xor eax, eax
mov dword [ebp - 0xe0], 0x12
mov dword [ebp - 0xdc], eax
xorps xmm0, xmm0
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0xc]
shr eax, 0x10
shr eax, 0xf
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x10]
movlpd qword [ebp - 0xd4], xmm0
mov dword [ebp - 0xc4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x498]
lea edx, [ebp - 0xe0]
mov dword [ebp - 0xd8], eax
push edx
mov eax, dword [ecx]
jmp 0x4581d7
mov esi, dword [ebp + 0xc]
cmp edi, 8
jne 0x4580ba
cmp dword [ebx + 4], esi
je 0x4580ba
call dword [sym.imp.USER32.dll_GetFocus]
jmp 0x4582ad
cmp dword [ebx + 4], eax
je 0x458352
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4582a4
push eax
push eax
push 0x10
mov ecx, ebx
call sym.CAD.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
jmp 0x458027
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x10]
call sym.CAD.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x14]
lea ecx, [ebx + 0x10]
push dword [ebp - 0x18]
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
test eax, eax
je 0x4580b5
mov edx, dword [eax]
mov ecx, eax
mov esi, str.ScrollBar
call dword [edx + 0x10]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x458337
test cx, cx
je 0x458331
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x458337
add eax, 4
add esi, 4
test cx, cx
jne 0x45830f
xor eax, eax
mov ecx, eax
jmp 0x45833e
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
jne 0x4580b7
mov byte [ebx + 0x4a4], 1
jmp 0x4580b7
xor eax, eax
jmp 0x4580ba
push dword [ebp + 0x10]
mov ecx, ebx
push esi
push edi
call sym.CAD.exe_protected_virtual:_long_int___thiscall_DuiLib::CWindowWnd::HandleMessage_unsigned_int__unsigned_int__long_int_
call fcn.004bc241
ret 0xc