Function at 0x1401868a0
Capabilities:
Write clipboard data

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0xf0
mov qword [rsp + 0xe8], 0xfffffffffffffffe
lea rcx, str.HTML_Format
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
jne 0x1401868e8
xor eax, eax
jmp 0x140186f7e
lea rcx, [rsp + 0x80]
call qword [0x140409500]
nop
lea rdx, str._HTML__r_n
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str._BODY__r_n
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.____StartFragment_____r_n
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8d, ebx
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140186f90
mov dword [rsp + 0x7c], eax
mov qword [rsp + 0x30], 0
mov r8d, dword [rsp + 0x110]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x108]
call fcn.140186f90
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0xa0]
call qword [0x140409500]
nop
lea rdx, str.____EndFragment_____r_n
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.__BODY__r_n
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.__HTML__r_n
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8d, ebx
lea rdx, [rsp + 0x98]
mov rcx, rax
call fcn.140186f90
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0x90]
call qword [0x140409500]
nop
lea rdx, str.Version:0.9_r_n
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.StartHTML:00_r_n
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.EndHTML:00_r_n
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.StartFragment:00_r_n
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.EndFragment:00_r_n
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8d, ebx
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140186f90
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x68], 0xfffffff8
mov ecx, dword [rsp + 0x78]
call fcn.140187090
mov r11d, eax
mov eax, dword [rsp + 0x68]
add eax, r11d
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x78]
add ecx, eax
add ecx, dword [rsp + 0x48]
add ecx, dword [rsp + 0x48]
call fcn.140187090
mov r11d, eax
mov eax, dword [rsp + 0x68]
add eax, r11d
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x78]
add ecx, eax
call fcn.140187090
mov r11d, eax
mov eax, dword [rsp + 0x68]
add eax, r11d
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x78]
add ecx, eax
add ecx, dword [rsp + 0x48]
call fcn.140187090
mov r11d, eax
mov eax, dword [rsp + 0x68]
add eax, r11d
mov dword [rsp + 0x68], eax
mov ecx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x78]
add eax, ecx
mov dword [rsp + 0x78], eax
lea rcx, [rsp + 0x60]
call qword [0x140409500]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::DoBeginPrinting]
lea rdx, str.Version:0.9_r_n
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
mov r8d, dword [rsp + 0x78]
lea rdx, str.StartHTML:_d_r_n
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_]
mov r11d, dword [rsp + 0x7c]
mov r8d, dword [rsp + 0x78]
add r8d, r11d
add r8d, dword [rsp + 0x48]
add r8d, dword [rsp + 0x48]
lea rdx, str.EndHTML:_d_r_n
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_]
mov r11d, dword [rsp + 0x7c]
mov r8d, dword [rsp + 0x78]
add r8d, r11d
lea rdx, str.StartFragment:_d_r_n
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_]
mov r11d, dword [rsp + 0x7c]
mov r8d, dword [rsp + 0x78]
add r8d, r11d
add r8d, dword [rsp + 0x48]
lea rdx, str.EndFragment:_d_r_n
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call sub.mfc90u.dll_delete__
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8d, ebx
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140186f90
mov dword [rsp + 0x78], eax
mov ecx, dword [rsp + 0x7c]
mov eax, dword [rsp + 0x78]
add eax, ecx
add eax, dword [rsp + 0x48]
add eax, dword [rsp + 0x6c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
add eax, 1
cdqe
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140186d4f
mov qword [rsp + 0xb0], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rax, qword [rsp + 0xb0]
jmp 0x140186f7e
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140186dc3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rsp + 0xb8], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rax, qword [rsp + 0xb8]
jmp 0x140186f7e
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
movsxd r8, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
call sub.MSVCR90.dll_memcpy
movsxd r11, dword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
add rax, r11
mov qword [rsp + 0x70], rax
movsxd r8, dword [rsp + 0x7c]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call sub.MSVCR90.dll_memcpy
movsxd r11, dword [rsp + 0x7c]
mov rax, qword [rsp + 0x70]
add rax, r11
mov qword [rsp + 0x70], rax
movsxd r8, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call sub.MSVCR90.dll_memcpy
movsxd r11, dword [rsp + 0x48]
mov rax, qword [rsp + 0x70]
add rax, r11
mov qword [rsp + 0x70], rax
movsxd r8, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
call sub.MSVCR90.dll_memcpy
movsxd r11, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x70]
add rax, r11
mov qword [rsp + 0x70], rax
movsxd rcx, dword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov byte [rax + rcx], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call sub.mfc90u.dll_delete__
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call sub.mfc90u.dll_delete__
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call sub.mfc90u.dll_delete__
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call sub.mfc90u.dll_delete__
mov qword [rsp + 0x98], 0
cmp qword [rsp + 0x38], 0
je 0x140186f2d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x88]
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rax, qword [rsp + 0xe0]
jmp 0x140186f7e
add rsp, 0xf0
pop rbx
ret