Function at 0x1402121b0
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 [0x1402bd028]
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 0x1402123e6
mov r13, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140212239
add r13, qword [rdx]
mov r12, qword [rdx]
jmp 0x14021223f
add r13, rbx
mov r12, rbx
mov rbp, qword [r15]
test rbp, rbp
je 0x1402123e6
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.14027df58
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.140264f60
nop
mov r8b, 1
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1402665a0
movzx ebp, al
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x140212305
mov rdx, qword [rsp + 0xf0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402122e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402122e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027cdf0
xor r15d, r15d
mov qword [rsp + 0xe0], r15
mov qword [rsp + 0xe8], r15
mov qword [rsp + 0xf0], r15
jmp 0x140212308
xor r15d, r15d
lea rcx, [rsp + 0xa0]
call fcn.140264db0
lea rcx, [rsp + 0x60]
call fcn.140264db0
test bpl, bpl
je 0x1402123e6
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140212335
mov rdx, qword [rdi]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140212343
mov rbx, qword [rbx]
cmp r8, qword [r14]
jne 0x140212358
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1402123e6
lea rax, [rsp + 0x198]
mov qword [rax], r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1402123e2
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 0x140212398
call qword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
jmp 0x1402123e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp qword [rdi + 0x18], 0x10
jb 0x1402123ab
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 0x1402123e8
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.14027cdd0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret