Function at 0x14017cdc0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov rax, qword [rsp + 0x140]
cmp dword [rax + 0xb34], 0
jge 0x14017ce04
mov rax, qword [rsp + 0x140]
cmp dword [rax + reloc.mfc90u.dll_COleServerDoc::XOleInPlaceActiveObject::ContextSensitiveHelp], 0
jne 0x14017ce04
mov rax, qword [rsp + 0x140]
cmp dword [rax + 0x850], 0
je 0x14017ce1e
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x140]
call sub.mfc90u.dll_CDocObjectServerItem::OnShow
jmp 0x14017d7b2
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 8]
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 0x104
ja 0x14017ce8d
cmp dword [rsp + 0xf0], 0x104
je case.0x14017cec6.513
mov eax, dword [rsp + 0xf0]
sub eax, 0xa1
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 0x5f
ja case.0x14017cec6.515
mov eax, dword [rsp + 0xf0]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x17d7c4]
mov eax, dword [rcx + rax*4 + 0x17d7bc]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0xf0]
sub eax, reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 8
ja case.0x14017cec6.515
mov eax, dword [rsp + 0xf0]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x17d824]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x140]
add rax, 0x120
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x14017cef7
mov qword [rsp + 0xf8], 0
jmp 0x14017cf0b
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
je 0x14017cfa4
mov rcx, qword [rsp + 0x140]
mov rcx, qword [rcx + 0x160]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14017cfa4
mov rcx, qword [rsp + 0x140]
add rcx, 0x120
call fcn.1402e2d30
cmp qword [rsp + 0x140], 0
jne 0x14017cf60
mov qword [rsp + 0x100], 0
jmp 0x14017cf74
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x100], rax
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, qword [rsp + 0x100]
jne 0x14017cf8a
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x140]
call sub.mfc90u.dll_CDocObjectServerItem::OnShow
jmp 0x14017d7b2
jmp case.0x14017cec6.515
mov rax, qword [rsp + 0x148]
cmp qword [rax + 0x10], 0
jne case.0x14017cec6.515
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x140]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x140]
call qword [rax + CDockBar::Create]
mov rcx, qword [rsp + 0x140]
call fcn.14017b1f0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x148]
cmp dword [rax + 8], 0x104
jne 0x14017d0ea
mov rax, qword [rsp + 0x148]
cmp qword [rax + 0x10], 0x28
je 0x14017d03e
mov rax, qword [rsp + 0x148]
cmp qword [rax + 0x10], 0x27
jne 0x14017d0ea
cmp qword [rsp + 0x20], 0
je 0x14017d0ea
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0
je 0x14017d0ea
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x140]
call fcn.14017b270
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14017d0e0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xe8]
and eax, 1
test eax, eax
je 0x14017d0e0
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
xor r8d, r8d
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x140]
call qword [rax + CToolBarCtrl::~CToolBarCtrl]
test eax, eax
je 0x14017d0e0
mov dword [rsp + 0x88], 0xffffffff
mov dword [rsp + 0x8c], 0xffffffff
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x98]
mov eax, 1
jmp 0x14017d7b2
cmp qword [rsp + 0x20], 0
je 0x14017d79d
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x50], 0
je 0x14017d79d
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0
je 0x14017d79d
mov rax, qword [rsp + 0x148]
cmp dword [rax + 8], 0x100
jne 0x14017d2b5
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0xd
je 0x14017d15c
cmp qword [rsp + 0x108], 0x1b
je 0x14017d206
jmp 0x14017d238
mov rcx, qword [rsp + 0x20]
call fcn.1401646c0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14017d1c7
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14017d1c7
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
call qword [rax + 0xe0]
mov rcx, qword [rsp + 0x20]
call fcn.1401645f0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
mov eax, 1
jmp 0x14017d7b2
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x140]
call qword [rax + 0x320]
test eax, eax
jne 0x14017d1f4
mov ecx, 0xffffffff
call qword [sym.imp.USER32.dll_MessageBeep]
mov rcx, qword [rsp + 0x140]
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
jmp 0x14017d2a6
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rsp + 0x140]
call qword [rax + 0x320]
mov rcx, qword [rsp + 0x140]
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
mov eax, 1
jmp 0x14017d7b2
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x64], 0
jne 0x14017d26c
mov r8, qword [rsp + 0x20]
mov r8, qword [r8]
mov rax, qword [rsp + 0x148]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x20]
call qword [r8 + 0xf0]
mov eax, 1
jmp 0x14017d7b2
mov r8, qword [rsp + 0x140]
mov r8, qword [r8]
mov rax, qword [rsp + 0x148]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x140]
call qword [r8 + CMonikerFile::Attach]
test eax, eax
je 0x14017d29f
mov eax, 1
jmp 0x14017d7b2
xor eax, eax
jmp 0x14017d7b2
mov eax, 1
jmp 0x14017d7b2
mov rax, qword [rsp + 0x148]
cmp dword [rax + 8], reloc.mfc90u.dll_COleStreamFile::COleStreamFile
jb 0x14017d79d
mov rax, qword [rsp + 0x148]
cmp dword [rax + 8], 0x20e
ja 0x14017d79d
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x140]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [rsp + 0x20]
call fcn.140164790
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14017d474
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
cmp qword [rsp + 0x140], 0
jne 0x14017d349
mov qword [rsp + 0x110], 0
jmp 0x14017d35d
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x110], rax
mov r9d, 2
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x14017d474
cmp qword [rsp + 0x58], 0
jne 0x14017d3bd
mov qword [rsp + 0x118], 0
jmp 0x14017d3ce
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x118], rax
mov r9d, 1
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x140]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_MapWindowPoints]
movsxd rax, dword [rsp + 0x64]
and rax, 0xffff
movzx ecx, ax
shl ecx, 0x10
movsxd rax, dword [rsp + 0x60]
and rax, 0xffff
movzx eax, ax
or eax, ecx
mov eax, eax
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 8]
mov dword [rsp + 0xc0], eax
mov r9, qword [rsp + 0xd0]
mov r8, qword [rsp + 0xc8]
mov edx, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x14017d7b2
mov rcx, qword [rsp + 0x20]
call fcn.1401645f0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14017d4a5
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x140]
call sub.mfc90u.dll_CDocObjectServerItem::OnShow
jmp 0x14017d7b2
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x64], 0
jne 0x14017d4bf
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_HideCaret]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
cmp qword [rsp + 0x140], 0
jne 0x14017d4ec
mov qword [rsp + 0x120], 0
jmp 0x14017d500
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x120], rax
mov r9d, 2
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x14017d57d
mov rax, qword [rsp + 0x148]
cmp dword [rax + 8], 0x203
jne 0x14017d57d
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call qword [rax + 0xc0]
test eax, eax
je 0x14017d57d
mov eax, 1
jmp 0x14017d7b2
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x14017d5c7
mov rax, qword [rsp + 0x148]
cmp dword [rax + 8], 0x204
jne 0x14017d5c7
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x64], 0
jne 0x14017d5c7
mov eax, 1
jmp 0x14017d7b2
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x14017d6d3
mov rax, qword [rsp + 0x148]
cmp dword [rax + 8], reloc.mfc90u.dll_COleTemplateServer::COleTemplateServer
je 0x14017d615
mov rax, qword [rsp + 0x148]
cmp dword [rax + 8], 0xa1
jne 0x14017d6d3
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x140]
call fcn.14017b270
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x14017d690
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x80]
add rcx, 0xc8
mov rdx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x14017d690
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x98]
mov eax, 1
jmp 0x14017d7b2
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x140]
call qword [rax + 0x320]
test eax, eax
jne 0x14017d6ce
mov rax, qword [rsp + 0x140]
mov dword [rax + 0x870], 0
mov eax, 1
jmp 0x14017d7b2
jmp 0x14017d79d
cmp qword [rsp + 0x68], 0
jne 0x14017d6e9
mov qword [rsp + 0x128], 0
jmp 0x14017d6fa
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x128], rax
mov r9d, 1
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x140]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_MapWindowPoints]
movsxd rax, dword [rsp + 0x64]
and rax, 0xffff
movzx ecx, ax
shl ecx, 0x10
movsxd rax, dword [rsp + 0x60]
and rax, 0xffff
movzx eax, ax
or eax, ecx
mov eax, eax
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 8]
mov dword [rsp + 0xd8], eax
mov r9, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xe0]
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x14017d7b2
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x140]
call sub.mfc90u.dll_CDocObjectServerItem::OnShow
add rsp, 0x138
ret