Function at 0x59827e
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xd0
mov eax, 0x5ba2f7
call fcn.005a73e9
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
mov ebx, ecx
cmp esi, edi
jne 0x598442
lea esi, [ebx + 0x10]
push edi
mov ecx, esi
mov dword [ebp - 0xb8], esi
call sym.GameDemo_u.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetForceUseSharedRes_bool_
push 0
push dword [ebx + 4]
mov ecx, esi
call sym.GameDemo_u.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND_____wchar_t_const__
push 0x6c0
call fcn.005a757a
pop ecx
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5982df
push dword [ebx + 0x498]
mov ecx, eax
call fcn.00597e80
jmp 0x5982e1
xor eax, eax
or dword [ebp - 4], 0xffffffff
push edi
push 0
mov dword [ebx + 0x49c], eax
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x28]
mov ecx, dword [ebx + 0x498]
mov eax, dword [ecx]
push 0x5bef80
call dword [eax + 0x24]
mov ecx, eax
call sym.GameDemo_u.exe_public:_wchar_t_const____thiscall_DuiLib::CPaintManagerUI::GetDefaultAttributeList_wchar_t_const__const
test eax, eax
je 0x598320
mov ecx, dword [ebx + 0x49c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x130]
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x20]
call sym.GameDemo_u.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_long_int__long_int__long_int__long_int_
mov ecx, dword [ebx + 0x49c]
mov edx, dword [ecx]
sub esp, 0x10
mov esi, eax
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 [edx + 0x15c]
mov ecx, dword [ebx + 0x49c]
push 0xffffffffffffffff
call sym.GameDemo_u.exe_public:_void___thiscall_DuiLib::CControlUI::SetBkColor_unsigned_long_int_
mov ecx, dword [ebx + 0x49c]
push 0xffc6c7d2
call sym.GameDemo_u.exe_public:_void___thiscall_DuiLib::CControlUI::SetBorderColor_unsigned_long_int_
mov ecx, dword [ebx + 0x49c]
xor esi, esi
inc esi
push esi
call sym.GameDemo_u.exe_public:_void___thiscall_DuiLib::CControlUI::SetBorderSize_int_
mov ecx, dword [ebx + 0x49c]
mov eax, dword [ecx]
xor edi, edi
push edi
call dword [eax + 0x17c]
mov ecx, dword [ebx + 0x49c]
mov eax, dword [ecx]
push edi
push esi
call dword [eax + 0x1d0]
mov ecx, dword [ebx + 0x498]
lea eax, [ebp - 0xb4]
push eax
call sym.GameDemo_u.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.GameDemo_u.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.GameDemo_u.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov ecx, dword [ebx + 0x498]
add ecx, 0x658
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jle 0x59842a
mov eax, dword [ebx + 0x49c]
mov ecx, dword [ebx + 0x498]
mov esi, dword [eax + 0x658]
add ecx, 0x658
mov eax, dword [ecx]
push edi
call dword [eax]
mov ecx, dword [ebx + 0x49c]
push eax
add ecx, 0x658
call dword [esi + 0x14]
mov ecx, dword [ebx + 0x498]
add ecx, 0x658
mov eax, dword [ecx]
inc edi
call dword [eax + 0x10]
cmp edi, eax
jl 0x5983e7
push dword [ebx + 0x49c]
mov ecx, dword [ebp - 0xb8]
call sym.GameDemo_u.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__
xor eax, eax
jmp 0x598713
cmp esi, 0x10
jne 0x5984da
mov eax, dword [ebx + 0x498]
mov esi, dword [eax]
mov edi, eax
push 0
mov ecx, edi
call dword [esi + 0x2c]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov ecx, dword [ebx + 0x498]
push eax
call dword [esi + 0x28]
mov ecx, dword [ebx + 0x498]
mov eax, dword [ecx]
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x498]
test al, al
mov eax, dword [ecx]
jne 0x59849b
mov dword [ebp - 0xb8], eax
call dword [eax + 0x40]
mov esi, eax
mov eax, dword [ebp - 0xb8]
jmp 0x5984b0
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0xb8], eax
call dword [eax + 0x44]
mov esi, eax
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebx + 0x498]
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 esi, dword [ebp + 8]
jmp 0x5986dc
cmp esi, 0x201
je 0x598684
cmp esi, 0x203
je 0x598684
cmp esi, 0x202
jne 0x59856a
cmp byte [ebx + 0x4a4], 0
je 0x59850f
mov byte [ebx + 0x4a4], 0
jmp 0x5986dc
and dword [ebp - 0x18], 0
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x10]
call sym.GameDemo_u.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.GameDemo_u.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
test eax, eax
je 0x5986dc
mov edx, dword [eax]
push 0x5c17f0
mov ecx, eax
call dword [edx + 0x10]
push eax
call fcn.005a7442
pop ecx
pop ecx
test eax, eax
je 0x5986dc
jmp 0x5985da
cmp esi, 0x100
jne 0x5985ec
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x5985da
mov ecx, dword [ebx + 0x498]
cmp eax, 0x1b
je 0x5985ba
mov dword [ebp - 0x30], 3
mov word [ebp - 0x1c], ax
lea edx, [ebp - 0x30]
mov eax, dword [ecx]
push 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.005980cf
jmp 0x59843b
push edi
push edi
push dword [ebx + 0x4a0]
add ecx, 0x690
mov eax, dword [ecx]
call dword [eax + 8]
push dword [ebx + 0x4a0]
mov ecx, ebx
call fcn.005980cf
push 0
push 0
push 8
mov ecx, ebx
call sym.GameDemo_u.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
jmp 0x5986dc
cmp esi, 0x20a
jne 0x598645
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0xd8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
shr eax, 0x10
xor ecx, ecx
test ax, ax
mov eax, dword [ebp + 0x10]
sets cl
mov dword [ebp - 0xdc], 0x12
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xc4], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x498]
mov dword [ebp - 0xd4], eax
lea edx, [ebp - 0xdc]
jmp 0x598593
cmp esi, 8
jne 0x5986dc
mov eax, dword [ebp + 0xc]
cmp dword [ebx + 4], eax
je 0x5986dc
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x59866d
cmp dword [ebx + 4], eax
je 0x5986dc
push eax
call edi
test eax, eax
jne 0x598668
push eax
push eax
push 0x10
mov ecx, ebx
call sym.GameDemo_u.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
jmp 0x59843b
and dword [ebp - 0x18], 0
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x10]
call sym.GameDemo_u.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.GameDemo_u.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
test eax, eax
je 0x5986dc
mov edx, dword [eax]
push 0x5c17f0
mov ecx, eax
call dword [edx + 0x10]
push eax
call fcn.005a7442
pop ecx
pop ecx
test eax, eax
jne 0x5986dc
mov byte [ebx + 0x4a4], 1
and dword [ebp - 0xbc], 0
lea eax, [ebp - 0xbc]
push eax
push dword [ebp + 0x10]
lea ecx, [ebx + 0x10]
push dword [ebp + 0xc]
push esi
call sym.GameDemo_u.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::MessageHandler_unsigned_int__unsigned_int__long_int__long_int__
test al, al
je 0x598705
mov eax, dword [ebp - 0xbc]
jmp 0x598713
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push esi
call sym.GameDemo_u.exe_protected_virtual:_long_int___thiscall_DuiLib::CWindowWnd::HandleMessage_unsigned_int__unsigned_int__long_int_
call fcn.005a7433
ret 0xc