Function at 0x140201340
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 [0x140291040]
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 rbp, qword [rax]
xor rbp, rcx
mov qword [rsp + 0x40], rbp
mov qword [rax], 0
cmp qword [r8 + 0x10], 0
je 0x140201583
lea rsi, [rdx + 0x10]
mov r13, qword [rsi]
cmp qword [rdx + 0x18], 0xf
jbe 0x1402013c9
add r13, qword [rdx]
mov r12, qword [rdx]
jmp 0x1402013cf
add r13, rbx
mov r12, rbx
mov r14, qword [r15]
test r14, r14
je 0x140201583
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.14026eb14
mov eax, dword [r14 + 0x20]
mov ecx, dword [r14 + 0x28]
lea r9, [r15 + 8]
mov dword [rsp + 0x38], 0x10
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r14
mov r8, r13
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140254b90
nop
mov r8b, 1
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140256120
movzx r14d, al
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x14020149c
mov rdx, qword [rsp + 0xf0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140201476
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140201476
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14026da10
xor r15d, r15d
mov qword [rsp + 0xe0], r15
mov qword [rsp + 0xe8], r15
mov qword [rsp + 0xf0], r15
lea rsi, [rbx + 0x10]
jmp 0x14020149f
xor r15d, r15d
lea rcx, [rsp + 0xa0]
call fcn.1402549a0
lea rcx, [rsp + 0x60]
call fcn.1402549a0
test r14b, r14b
je 0x140201583
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1402014d0
mov rdx, qword [rdi]
lea rsi, [rbx + 0x10]
mov r8, qword [rsi]
cmp qword [rbx + 0x18], 0xf
jbe 0x1402014dd
mov rbx, qword [rbx]
cmp r8, qword [rdi + 0x10]
jne 0x1402014f3
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140201583
lea rax, [rsp + 0x198]
mov qword [rax], r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14020157f
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rdi + 0x10]
inc rdx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
jne 0x140201534
call qword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
jmp 0x140201585
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14020154a
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
inc r8
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 0x140201585
xor al, al
movabs rcx, 0xff00ff00ff00ff00
xor rbp, rcx
lea rcx, [rsp + 0x198]
mov qword [rcx], rbp
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14026d9f0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret