Function at 0x1401c9f30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x140284028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, r8
mov rbx, rdx
mov r15, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rax, [rsp + 0x198]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
mov rsi, qword [rax]
xor rsi, rcx
mov qword [rsp + 0x40], rsi
mov qword [rax], 0
lea r14, [r8 + 0x10]
cmp qword [r14], 0
je 0x1401ca166
mov r13, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1401c9fb9
add r13, qword [rdx]
mov r12, qword [rdx]
jmp 0x1401c9fbf
add r13, rbx
mov r12, rbx
mov rbp, qword [r15]
test rbp, rbp
je 0x1401ca166
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.140241de8
mov eax, dword [rbp + 0x20]
mov ecx, dword [rbp + 0x28]
lea r9, [r15 + 8]
mov dword [rsp + 0x38], 0x10
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbp
mov r8, r13
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.1402260b0
nop
mov r8b, 1
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140227660
movzx ebp, al
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x1401ca085
mov rdx, qword [rsp + 0xf0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ca063
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401ca063
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140240c80
xor r15d, r15d
mov qword [rsp + 0xe0], r15
mov qword [rsp + 0xe8], r15
mov qword [rsp + 0xf0], r15
jmp 0x1401ca088
xor r15d, r15d
lea rcx, [rsp + 0xa0]
call fcn.140225de0
lea rcx, [rsp + 0x60]
call fcn.140225de0
test bpl, bpl
je 0x1401ca166
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1401ca0b5
mov rdx, qword [rdi]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1401ca0c3
mov rbx, qword [rbx]
cmp r8, qword [r14]
jne 0x1401ca0d8
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401ca166
lea rax, [rsp + 0x198]
mov qword [rax], r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401ca162
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [r14]
inc rdx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
jne 0x1401ca118
call qword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
jmp 0x1401ca168
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp qword [rdi + 0x18], 0x10
jb 0x1401ca12b
mov rdi, qword [rdi]
mov r8, qword [r14]
inc r8
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, 1
jmp 0x1401ca168
xor al, al
movabs rcx, 0xff00ff00ff00ff00
xor rsi, rcx
lea rcx, [rsp + 0x198]
mov qword [rcx], rsi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140240c60
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret