Function at 0x1401a9520
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140324030]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
mov rcx, qword [rcx + 0x2b0]
call qword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, 1
jne 0x1401a956a
lea rbx, [rsi + 0x270]
jmp 0x1401a9587
mov rcx, qword [rsi + 0x740]
call qword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, 1
jne 0x1401a97b8
lea rbx, [rsi + 0x700]
test rbx, rbx
je 0x1401a97b8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x360]
test eax, eax
jle 0x1401a97b8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x378]
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov ecx, 0xd
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1401a97ae
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401a97ae
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x1401a9624
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1401a9624
mov r8, rax
lea rdx, [0x14022875c]
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, qword [rbp - 0x38]
cmp dword [rax - 0x10], 0
je 0x1401a97ae
xor r14d, r14d
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
lea rdx, [0x140225ed0]
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
mov r8, rax
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x30]
call fcn.1401d1ba0
nop
mov rdi, qword [rbp - 0x20]
mov rax, rdi
mov rbx, qword [rbp - 0x28]
sub rax, rbx
sar rax, 3
cmp eax, 4
jl 0x1401a9779
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401a9771
lea r8d, [r14 + 2]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.1401d2340
mov rcx, qword [rax]
mov eax, dword [rcx - 0x10]
lea ebx, [rax*2 + 2]
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
movsxd rdx, ebx
lea ecx, [r14 + 0x42]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
jne 0x1401a96de
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1401a9771
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
mov r8d, 2
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.1401d2340
mov r8, qword [rax]
lea rdx, [0x14022875c]
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rdi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x1401a97ae
mov rdi, qword [rbp - 0x20]
cmp rbx, rdi
je 0x1401a9766
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
add rbx, 8
cmp rbx, rdi
jne 0x1401a9750
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
jmp 0x1401a97ae
mov rbx, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
test rbx, rbx
je 0x1401a97ae
cmp rbx, rdi
je 0x1401a9799
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
add rbx, 8
cmp rbx, rdi
jne 0x1401a9783
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401e3980
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret