Function at 0x140186650
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
lea rcx, [rsp + 0x20]
call qword [0x140409500]
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x818], 0
jne 0x14018668b
mov dword [rsp + 0x68], 1
jmp 0x140186693
mov dword [rsp + 0x68], 0
cmp dword [rsp + 0x68], 0
jne 0x140186730
mov rax, qword [rsp + 0x80]
add rax, 0x800
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
je 0x1401866c7
mov dword [rsp + 0x6c], 1
jmp 0x1401866cf
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x1401866e3
call sub.mfc90u.dll_AfxOleUnregisterServerClass
xor eax, eax
test eax, eax
jne 0x1401866b1
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x10]
add rax, 0x10
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
xor r9d, r9d
mov r8, qword [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [rax + AfxOleInit]
jmp 0x140186751
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x4a8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CStatusBar::GetThisMessageMap]
movzx eax, al
test eax, eax
je 0x14018677f
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x30]
jmp 0x140186899
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1401867b1
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x34]
jmp 0x140186899
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x1401867dd
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x38]
jmp 0x140186899
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.1401868a0
test rax, rax
jne 0x14018682c
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x3c]
jmp 0x140186899
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.1401870e0
test rax, rax
jne 0x14018687b
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x40]
jmp 0x140186899
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov dword [rsp + 0x44], 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x44]
add rsp, 0x70
pop rbx
ret