Function at 0x46be1c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xd4
mov eax, 0x501f04
call fcn.004d0123
mov ebx, ecx
mov edi, dword [ebp + 8]
cmp edi, 1
jne 0x46bfee
lea edi, [ebx + 0x10]
push 1
mov ecx, edi
call sym.Office2.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.Office2.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND_____wchar_t_const__
push 0x6c0
call fcn.004cf87e
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 0x46be86
push dword [esi]
call fcn.0046ae6d
jmp 0x46be8c
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.Office2.exe_public:_wchar_t_const____thiscall_DuiLib::CPaintManagerUI::GetDefaultAttributeList_wchar_t_const__const
test eax, eax
je 0x46bec8
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.Office2.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.Office2.exe_public:_void___thiscall_DuiLib::CControlUI::SetBkColor_unsigned_long_int_
mov ecx, dword [ebx + 0x49c]
push 0xffc6c7d2
call sym.Office2.exe_public:_void___thiscall_DuiLib::CControlUI::SetBorderColor_unsigned_long_int_
mov ecx, dword [ebx + 0x49c]
xor esi, esi
inc esi
push esi
call sym.Office2.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.Office2.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.Office2.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.Office2.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 0x46bfd9
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 0x46bf90
push dword [ebx + 0x49c]
lea ecx, [ebx + 0x10]
call sym.Office2.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__
xor eax, eax
jmp 0x46c325
xor eax, eax
cmp edi, 0x10
jne 0x46c0a7
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 0x46c041
call dword [edx + 0x40]
jmp 0x46c048
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.Office2.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::MessageHandler_unsigned_int__unsigned_int__long_int__long_int__
test al, al
je 0x46c319
mov eax, dword [ebp - 0xc0]
jmp 0x46c325
cmp edi, 0x201
je 0x46c288
cmp edi, 0x203
je 0x46c288
cmp edi, 0x202
jne 0x46c169
cmp byte [ebx + 0x4a4], al
je 0x46c0db
mov byte [ebx + 0x4a4], al
jmp 0x46c077
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.Office2.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.Office2.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
test eax, eax
je 0x46c075
mov edx, dword [eax]
mov ecx, eax
mov esi, str.ScrollBar
call dword [edx + 0x10]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x46c14a
test cx, cx
je 0x46c144
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x46c14a
add eax, 4
add esi, 4
test cx, cx
jne 0x46c122
xor eax, eax
mov ecx, eax
jmp 0x46c151
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
je 0x46c077
push eax
push eax
push 8
mov ecx, ebx
call sym.Office2.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
jmp 0x46c075
cmp edi, 0x100
jne 0x46c1e4
mov ecx, dword [ebp + 0xc]
cmp ecx, 0xd
je 0x46c159
mov edx, dword [ebx + 0x498]
cmp ecx, 0x1b
je 0x46c1bb
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.0046baf5
jmp 0x46bfe7
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.0046baf5
xor eax, eax
jmp 0x46c159
cmp edi, 0x20a
jne 0x46c247
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 0x46c197
mov esi, dword [ebp + 0xc]
cmp edi, 8
jne 0x46c07a
cmp dword [ebx + 4], esi
je 0x46c07a
call dword [sym.imp.USER32.dll_GetFocus]
jmp 0x46c26d
cmp dword [ebx + 4], eax
je 0x46c312
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x46c264
push eax
push eax
push 0x10
mov ecx, ebx
call sym.Office2.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
jmp 0x46bfe7
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.Office2.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.Office2.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
test eax, eax
je 0x46c075
mov edx, dword [eax]
mov ecx, eax
mov esi, str.ScrollBar
call dword [edx + 0x10]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x46c2f7
test cx, cx
je 0x46c2f1
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x46c2f7
add eax, 4
add esi, 4
test cx, cx
jne 0x46c2cf
xor eax, eax
mov ecx, eax
jmp 0x46c2fe
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
jne 0x46c077
mov byte [ebx + 0x4a4], 1
jmp 0x46c077
xor eax, eax
jmp 0x46c07a
push dword [ebp + 0x10]
mov ecx, ebx
push esi
push edi
call sym.Office2.exe_protected_virtual:_long_int___thiscall_DuiLib::CWindowWnd::HandleMessage_unsigned_int__unsigned_int__long_int_
call fcn.004d00e1
ret 0xc