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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140010040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xor esi, esi
mov dword [rbp - 0x29], esi
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400017d1
lea ecx, [rsi + 1]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x1400017cb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400017cb
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140001f50
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
mov qword [rbp + 0x47], rax
lea rcx, [rbp + 0x27]
call fcn.140001a30
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
movdqa xmm1, xmmword [0x14000cb90]
movdqu xmmword [rbp - 0x11], xmm1
mov byte [rbp - 0x21], sil
mov dword [rbp - 0x29], 1
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rdx, qword [rbp + 7]
mov r9, qword [rbp + 0x17]
add r9, rdx
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova r8, qword [rbp + 7]
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x27]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call fcn.140003390
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1400016ac
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a40c
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rbp + 0x17], xmm1
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rbp + 0x17]
inc rdx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x14000171f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000171f
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova r8, qword [rbp + 7]
mov rdx, qword [rbp + 0x17]
inc rdx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
mov rcx, qword [rbp + 0x27]
test rcx, rcx
je 0x140001766
mov eax, 0xffffffff
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x140001766
mov rbx, qword [rbp + 0x27]
test rbx, rbx
je 0x140001766
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], rsi
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x14000174a
mov qword [rbp + 0x27], rsi
mov rcx, qword [rbp + 0x47]
test rcx, rcx
je 0x14000178d
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000178d
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1400017cb
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a40c
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14000a3b0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret