Function at 0x14000fab0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x808]
sub rsp, 0x8e0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14013bf40]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov rdi, rcx
mov qword [rbp + 0x7c8], 7
xor r14d, r14d
mov qword [rbp + 0x7c0], r14
mov word [rbp + 0x7b0], r14w
add rcx, 0xc8
call qword [sym.imp.MFC42u.dll_CFileFind::GetLength64]
nop dword [rax + rax]
mov rsi, rax
lea r9d, [r14 + 2]
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, qword [rdi + 0x108]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
add eax, 1
movsxd r15, eax
je 0x1400102ce
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
nop dword [rax + rax]
test eax, eax
jne 0x14000fb82
xor r8d, r8d
xor edx, edx
lea rcx, str.Edit_failed._Cannot_open_the_clipboard.
call qword [sym.imp.MFC42u.dll_Ordinal_1499]
nop dword [rax + rax]
jmp 0x1400102ce
mov byte [rsp + 0x69], 1
call qword [sym.imp.USER32.dll_EmptyClipboard]
nop dword [rax + rax]
test eax, eax
jne 0x14000fbb4
xor r8d, r8d
xor edx, edx
lea rcx, str.Edit_failed._Cannot_empty_the_clipboard.
call qword [sym.imp.MFC42u.dll_Ordinal_1499]
nop dword [rax + rax]
jmp 0x1400102c1
mov rbx, qword [rbp + 0x7c0]
mov edx, 0x400
cmp rbx, rdx
ja 0x14000fc08
mov rcx, qword [rbp + 0x7c8]
cmp rcx, rdx
je 0x14000fc08
jae 0x14000fbe9
mov r8, rbx
lea rcx, [rbp + 0x7b0]
call fcn.140011ef8
mov rcx, qword [rbp + 0x7c8]
lea rax, [rbp + 0x7b0]
cmp rcx, 8
cmovae rax, qword [rbp + 0x7b0]
mov qword [rbp + 0x7c0], rbx
mov word [rax + rbx*2], r14w
xor r9d, r9d
xor r8d, r8d
mov edx, CWinApp::OnFilePrintSetup
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
movsxd r12, eax
lea r13, [rdi + 0x10850]
lea rsi, [rdi + 0x10800]
lea rax, [r15 - 1]
movsxd rbx, eax
mov r9d, 2
mov r8, rbx
mov edx, 0x100c
mov rcx, qword [rdi + 0x108]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
inc eax
movsxd r15, eax
or edx, 0xffffffff
mov rcx, qword [rdi + reloc.MFC42u.dll_CRuntimeClassconstCSyncObject::classCSyncObject]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
mov rdx, rbx
mov rcx, rsi
call fcn.140011ab0
mov ebx, dword [rax]
or edx, 0xffffffff
mov rcx, qword [r13 + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
lea r8, [rbp - 0x50]
mov edx, ebx
mov rcx, r13
call fcn.14004dfb0
mov ebx, eax
mov rcx, qword [r13 + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop dword [rax + rax]
mov rcx, qword [rdi + reloc.MFC42u.dll_CRuntimeClassconstCSyncObject::classCSyncObject]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop dword [rax + rax]
test ebx, ebx
je 0x1400101eb
mov rsi, r14
test r12, r12
jle 0x1400101d1
lea r14, [rdi + 0x1d0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
test rsi, rsi
je 0x14000fd33
lea rdx, [0x140081edc]
lea rcx, [rbp + 0x7b0]
call fcn.140011ba8
mov ecx, dword [r14]
cmp ecx, 9
jg 0x1400100ec
je 0x140010084
test ecx, ecx
je 0x140010074
sub ecx, 1
je 0x14001006b
sub ecx, 1
je 0x14000feca
sub ecx, 1
je 0x14000fdbd
sub ecx, 1
je 0x14000fdb1
sub ecx, 1
je 0x14000fda8
sub ecx, 1
je 0x14000fd9f
sub ecx, 1
je 0x14000fd96
cmp ecx, 1
jne 0x140010189
mov r8d, dword [rbp + 0xe0]
test r8d, r8d
js 0x140010189
jmp 0x14001015f
mov r8d, dword [rbp + 0xe8]
jmp 0x14000fd88
mov r8d, dword [rbp + 0xc4]
jmp 0x14000fd88
mov r8d, dword [rbp + 0xe4]
jmp 0x14000fd88
lea rdx, [rbp + 0x1f0]
jmp 0x14001017c
lea rdx, [rbp + 0x44]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
mov edx, 0x5f
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CRichEditView::FindTextSimple]
nop dword [rax + rax]
test eax, eax
jle 0x14000feb4
mov rax, qword [rsp + 0x58]
mov ebx, dword [rax - 8]
mov edx, 0x5f
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CRichEditView::FindTextSimple]
nop dword [rax + rax]
sub ebx, eax
lea r8d, [rbx - 1]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CFormView::SetOccDialogInfo]
nop dword [rax + rax]
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_AfxDaoGetEngine]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
mov rax, qword [rsp + 0x50]
mov ebx, dword [rax - 8]
lea rdx, [0x140082078]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_COleDataSource::FlushClipboard]
nop dword [rax + rax]
sub ebx, eax
mov r8d, ebx
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CFormView::SetOccDialogInfo]
nop dword [rax + rax]
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_AfxDaoGetEngine]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
jmp 0x140010177
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CPropertySheet::EnableStackedTabs]
nop dword [rax + rax]
jmp 0x140010177
lea rdx, [rbp + 0x44]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
mov ebx, 0x5f
mov edx, ebx
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CRichEditView::FindTextSimple]
nop dword [rax + rax]
test eax, eax
jle 0x140010050
mov edx, ebx
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CRichEditView::FindTextSimple]
nop dword [rax + rax]
mov r8d, eax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CDialog::OnCommandHelp]
nop dword [rax + rax]
nop
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
mov rax, qword [rsp + 0x50]
cmp dword [rax - 8], 0
je 0x140010177
lea rdx, [0x140082074]
lea rcx, [rsp + 0x70]
call qword [0x14007e108]
nop dword [rax + rax]
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_Ordinal_1284]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
mov rax, qword [rsp + 0x58]
mov ebx, dword [rax - 8]
mov edx, 0x5f
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CRichEditView::FindTextSimple]
nop dword [rax + rax]
sub ebx, eax
lea r8d, [rbx - 1]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CFormView::SetOccDialogInfo]
nop dword [rax + rax]
nop
mov rdx, qword [rax]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
lea rdx, [0x140082078]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_COleDataSource::FlushClipboard]
nop dword [rax + rax]
mov r8d, eax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDialog::OnCommandHelp]
nop dword [rax + rax]
nop
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_Ordinal_1287]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x78]
jmp 0x14000fea3
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
jmp 0x140010177
lea rdx, [rbp - 0x3c]
jmp 0x14001017c
mov r8d, dword [rbp - 0x50]
lea rdx, str._8.8u
jmp 0x140010166
movzx eax, word [rbp + 0xd6]
movzx ecx, word [rbp + 0xd4]
movzx edx, word [rbp + 0xd2]
movzx r10d, word [rbp + 0xd0]
movzx r11d, word [rbp + 0xc8]
movzx r9d, word [rbp + 0xce]
movzx r8d, word [rbp + 0xca]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea rdx, str._02d_02d_4d__02d:_02d:_02d:_02d
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CPtrList::FreeNode]
nop dword [rax + rax]
jmp 0x140010177
sub ecx, 0xa
je 0x140010153
sub ecx, 1
je 0x14001014a
sub ecx, 1
je 0x140010141
sub ecx, 1
je 0x140010138
sub ecx, 1
je 0x14001012f
sub ecx, 1
je 0x140010126
sub ecx, 1
je 0x14001011d
cmp ecx, 1
jne 0x140010189
lea rdx, [rbp + reloc.MFC42u.dll_operator__]
jmp 0x14001017c
lea rdx, [rbp + 0x2f0]
jmp 0x14001017c
lea rdx, [rbp + reloc.MFC42u.dll_CDaoException::CDaoException]
jmp 0x14001017c
lea rdx, [rbp + 0x170]
jmp 0x14001017c
lea rdx, [rbp + 0xf0]
jmp 0x14001017c
mov r8d, dword [rbp + 0xec]
jmp 0x14001015f
mov r8d, dword [rbp + 0xd8]
jmp 0x14001015a
mov r8d, dword [rbp + 0xdc]
test r8d, r8d
je 0x140010189
lea rdx, [0x140081500]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CPtrList::FreeNode]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0x7b0]
call fcn.140011ba8
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
inc rsi
add r14, 4
cmp rsi, r12
jl 0x14000fce5
xor r14d, r14d
lea rdx, [0x1400820d4]
lea rcx, [rbp + 0x7b0]
call fcn.140011ba8
lea rsi, [rdi + 0x10800]
test r15, r15
jne 0x14000fc34
mov rdx, qword [rbp + 0x7c0]
lea rdx, [rdx*2 + 2]
lea ecx, [r15 + 0x42]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1400102ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
nop dword [rax + rax]
test rax, rax
je 0x1400102ac
lea r8, [rbp + 0x7b0]
cmp qword [rbp + 0x7c8], 8
cmovae r8, qword [rbp + 0x7b0]
mov rdx, qword [rbp + 0x7c0]
inc rdx
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop dword [rax + rax]
mov rdx, rbx
lea ecx, [r15 + 0xd]
call qword [sym.imp.USER32.dll_SetClipboardData]
nop dword [rax + rax]
test rax, rax
jne 0x1400102a9
xor r8d, r8d
xor edx, edx
lea rcx, str.Edit_failed._Cannot_write_to_the_clipboard.
call qword [sym.imp.MFC42u.dll_Ordinal_1499]
nop dword [rax + rax]
jmp 0x1400102ac
mov rbx, r14
test rbx, rbx
je 0x1400102c1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop dword [rax + rax]
nop
cmp qword [rbp + 0x7c8], 8
jb 0x1400102eb
mov rcx, qword [rbp + 0x7b0]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.14006e720
lea r11, [rsp + 0x8e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret