Function at 0x1403419e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov qword [rsp + 0x110], 0xfffffffffffffffe
mov edx, 2
mov rcx, qword [rsp + 0x130]
call sub.mfc90u.dll_COleControlSite::XOleIPSite::GetCapture
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140341a38
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.mfc90u.dll_CSemaphore::CSemaphore
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x140341d7a
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x130]
call qword [rax + 0x2a0]
test eax, eax
jne 0x140341a5c
xor eax, eax
jmp 0x140341d7a
call fcn.140001240
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140341a86
xor eax, eax
jmp 0x140341d7a
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x140341a9d
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
jmp 0x140341d7a
lea rcx, [rsp + 0x38]
call qword [0x1403f4428]
nop
mov qword [rsp + 0x28], 0
mov r8d, reloc.mfc90u.dll_CDaoTableDef::GetValidationRule
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.1403ad0e4
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x130]
call fcn.140340c80
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x210]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x140341bef
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x140341bea
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc0]
call qword [rax + 0x38]
test eax, eax
je 0x140341bea
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call qword [rax + 0x28]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc90u.dll_CStatusBar::GetThisMessageMap]
movzx eax, al
test eax, eax
jne 0x140341bdc
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CStatusBar::GetThisMessageMap]
movzx eax, al
test eax, eax
jne 0x140341bc8
lea rdx, [0x1404030a0]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc90u.dll_CView::CView]
jmp 0x140341b01
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x40]
call qword [rax + 0x60]
lea rcx, [rsp + 0x40]
call sub.mfc90u.dll_CDHtmlDialog::GetExternal
mov rdx, rax
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x40]
call sub.mfc90u.dll_CDHtmlDialog::GetExternal
mov r8d, eax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x40]
call sub.mfc90u.dll_COleServerItem::OnUpdateItems
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea rcx, [rsp + 0x40]
call sub.mfc90u.dll_CRichEditView::CanPaste
nop
lea rcx, [rsp + 0x40]
call sub.mfc90u.dll_CPrintInfo::CPrintInfo
call fcn.140339dd0
movzx ecx, ax
mov rdx, qword [rsp + 0x28]
call qword [sym.imp.USER32.dll_SetClipboardData]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140341d30
xor edx, edx
mov ecx, 0x80
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CStatusBar::GetThisMessageMap]
movzx eax, al
test eax, eax
jne 0x140341d23
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
add eax, 1
movsxd rdx, eax
shl rdx, 1
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rsp + 0x28]
mov ecx, recv
call qword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x140341d30
xor edx, edx
mov ecx, recv
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
cmp qword [rsp + 0x30], 0
je 0x140341d4b
mov dword [rsp + 0x118], 1
jmp 0x140341d56
mov dword [rsp + 0x118], 0
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0xe8], eax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0xe8]
jmp 0x140341d7a
add rsp, 0x128
ret