Function at 0x14000a484
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 [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140126510]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov r14, rcx
mov qword [rbp + 0x798], 7
xor r15d, r15d
mov qword [rbp + 0x790], r15
mov word [rbp + 0x780], r15w
xor r9d, r9d
xor r8d, r8d
mov edx, 0x101f
mov rcx, qword [rcx + 0x50]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
mov rbx, rax
lea r9d, [r15 + 2]
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
mov rsi, rax
test eax, eax
js 0x14000aaf6
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_OpenClipboard]
nop dword [rax + rax]
test eax, eax
jne 0x14000a551
xor edx, edx
lea rcx, str.Edit_failed._Cannot_open_the_clipboard.
call fcn.14002e3b4
jmp 0x14000aaf6
mov byte [rsp + 0x51], 1
call qword [sym.imp.USER32.dll_EmptyClipboard]
nop dword [rax + rax]
test eax, eax
jne 0x14000a579
xor edx, edx
lea rcx, str.Edit_failed._Cannot_empty_the_clipboard.
call fcn.14002e3b4
jmp 0x14000aae9
mov rdi, qword [rbp + 0x790]
mov edx, 0x400
cmp rdi, rdx
ja 0x14000a5cd
mov rcx, qword [rbp + 0x798]
cmp rcx, rdx
je 0x14000a5cd
jae 0x14000a5ae
mov r8, rdi
lea rcx, [rbp + 0x780]
call fcn.14000265c
mov rcx, qword [rbp + 0x798]
lea rax, [rbp + 0x780]
cmp rcx, 8
cmovae rax, qword [rbp + 0x780]
mov qword [rbp + 0x790], rdi
mov word [rax + rdi*2], r15w
xor r9d, r9d
xor r8d, r8d
mov edx, CWinApp::OnFilePrintSetup
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
movsxd r15, eax
lea r12, [r14 + 0x6c0]
lea r13, [r14 + 0x10788]
lea rbx, [r14 + 0x10738]
xor edi, edi
mov esi, esi
mov qword [rsp + 0x60], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov byte [rsp + 0x68], 1
mov edx, esi
mov rcx, rbx
call fcn.14000c040
lea r8, [rbp - 0x80]
mov edx, dword [rax]
mov rcx, r13
call fcn.140031d28
movzx ebx, al
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov byte [rsp + 0x68], dil
test ebx, ebx
je 0x14000a9f9
mov rbx, rdi
test r15, r15
jle 0x14000a9df
lea rdi, [r14 + 0x104]
xor r13d, r13d
test rbx, rbx
je 0x14000a687
mov r8d, 1
lea rdx, [0x1400733e4]
lea rcx, [rbp + 0x780]
call fcn.14000254c
mov ecx, dword [rdi]
cmp ecx, 9
jg 0x14000a8af
je 0x14000a810
test ecx, ecx
je 0x14000a7f4
sub ecx, 1
je 0x14000a7da
sub ecx, 1
je 0x14000a7cc
sub ecx, 1
je 0x14000a7be
sub ecx, 1
je 0x14000a7b0
sub ecx, 1
je 0x14000a77c
sub ecx, 1
je 0x14000a748
sub ecx, 1
je 0x14000a714
cmp ecx, 1
jne 0x14000a9c6
mov edx, dword [rbp - 0x54]
test edx, edx
js 0x14000a9c6
lea rcx, [rbp + 0x7a0]
call fcn.14000f110
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x780]
call fcn.140002468
nop
jmp 0x14000a9a9
mov edx, dword [rbp - 0x4c]
test edx, edx
js 0x14000a9c6
lea rcx, [rbp + 0x7a0]
call fcn.14000f110
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x780]
call fcn.140002468
nop
jmp 0x14000a9a9
mov edx, dword [rbp - 0x68]
test edx, edx
js 0x14000a9c6
lea rcx, [rbp + 0x7a0]
call fcn.14000f110
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x780]
call fcn.140002468
nop
jmp 0x14000a9a9
mov edx, dword [rbp - 0x50]
test edx, edx
js 0x14000a9c6
lea rcx, [rbp + 0x7a0]
call fcn.14000f110
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x780]
call fcn.140002468
nop
jmp 0x14000a9a9
movzx eax, word [rbp - 0x42]
movzx r8d, word [rbp - 0x40]
jmp 0x14000a8ec
movzx eax, word [rbp - 0x3a]
movzx r8d, word [rbp - 0x38]
jmp 0x14000a8ec
movzx eax, word [rbp - 0x3c]
movzx r8d, word [rbp - 0x3a]
jmp 0x14000a8ec
movzx r8d, word [rbp - 0x6c]
lea rdx, [rbp - 0x32]
lea rcx, [rbp + 0x780]
call fcn.14000254c
jmp 0x14000a9c6
mov r8d, dword [rbp - 0x80]
lea rdx, [0x1400733e8]
lea rcx, [rbp + 0x780]
call fcn.14000cc08
jmp 0x14000a9c6
mov qword [rsp + 0x58], r13
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x64]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x7c0], xmm0
lea rdx, [rbp + 0x7c0]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
nop dword [rax + rax]
movzx eax, word [rbp + 0x7ce]
movzx ecx, word [rbp + 0x7cc]
movzx edx, word [rbp + 0x7ca]
movzx r10d, word [rbp + 0x7c8]
movzx r11d, word [rbp + 0x7c0]
movzx r9d, word [rbp + 0x7c6]
movzx r8d, word [rbp + 0x7c2]
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, [rbp + 0x780]
call fcn.14000cc08
jmp 0x14000a9c6
sub ecx, 0xa
je 0x14000a97e
sub ecx, 1
je 0x14000a951
sub ecx, 1
je 0x14000a928
sub ecx, 1
je 0x14000a91d
sub ecx, 1
je 0x14000a912
sub ecx, 1
je 0x14000a907
sub ecx, 1
je 0x14000a8fc
cmp ecx, 1
jne 0x14000a9c6
movzx eax, word [rbp - 0x38]
movzx r8d, word [rbp - 0x36]
lea rdx, [rbp - 0x32]
lea rdx, [rdx + rax*2]
sub r8, rax
jmp 0x14000a7e3
movzx eax, word [rbp - 0x3e]
movzx r8d, word [rbp - 0x3c]
jmp 0x14000a8ec
movzx eax, word [rbp - 0x40]
movzx r8d, word [rbp - 0x3e]
jmp 0x14000a8ec
movzx eax, word [rbp - 0x44]
movzx r8d, word [rbp - 0x42]
jmp 0x14000a8ec
movzx eax, word [rbp - 0x6a]
movzx r8d, word [rbp - 0x44]
jmp 0x14000a8ec
mov edx, dword [rbp - 0x48]
lea rcx, [rbp + 0x7a0]
call fcn.14000f110
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x780]
call fcn.140002468
nop
jmp 0x14000a9a9
mov edx, dword [rbp - 0x5c]
test edx, edx
je 0x14000a9c6
lea rcx, [rbp + 0x7a0]
call fcn.14000f110
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x780]
call fcn.140002468
nop
jmp 0x14000a9a9
mov edx, dword [rbp - 0x58]
test edx, edx
je 0x14000a9c6
lea rcx, [rbp + 0x7a0]
call fcn.14000f110
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x780]
call fcn.140002468
nop
cmp qword [rbp + 0x7b8], 8
jb 0x14000a9c6
mov rcx, qword [rbp + 0x7a0]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
inc rbx
add rdi, 4
cmp rbx, r15
jl 0x14000a669
lea r13, [r14 + 0x10788]
xor edi, edi
mov r8d, 2
lea rdx, [0x140073444]
lea rcx, [rbp + 0x780]
call fcn.14000254c
nop
mov r9d, 2
mov r8, rsi
mov edx, 0x100c
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
lea rbx, [r14 + 0x10738]
jns 0x14000a601
mov rdx, qword [rbp + 0x790]
lea rdx, [rdx*2 + 2]
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14000aad4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
nop dword [rax + rax]
test rax, rax
je 0x14000aad4
lea r8, [rbp + 0x780]
cmp qword [rbp + 0x798], 8
cmovae r8, qword [rbp + 0x780]
mov rdx, qword [rbp + 0x790]
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
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_SetClipboardData]
nop dword [rax + rax]
test rax, rax
jne 0x14000aad1
xor edx, edx
lea rcx, str.Edit_failed._Cannot_write_to_the_clipboard.
call fcn.14002e3b4
jmp 0x14000aad4
mov rbx, rdi
test rbx, rbx
je 0x14000aae9
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 + 0x798], 8
jb 0x14000ab13
mov rcx, qword [rbp + 0x780]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.140062a30
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