Function at 0x14001f700
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub rsp, 0x28
mov byte [0x1401dc0e1], 0
call fcn.14001e540
xor ecx, ecx
call fcn.14001f970
cmp qword [0x1401deb48], 0
je 0x14001f09a
add rsp, 0x28
jmp 0x140020350
add rsp, 0x28
ret
push r14
sub rsp, 0x30
xor r14d, r14d
mov byte [0x1401dc0e1], 1
cmp dword [0x1401dc12c], r14d
je 0x14001f76b
cmp byte [0x1401dc128], r14b
je 0x14001f72b
lea ecx, [r14 + 1]
call fcn.14001f970
mov ecx, r14d
cmp byte [0x1401dc0e5], cl
je 0x14001f74f
mov edx, 1
mov byte [rsp + 0x40], 0xb7
lea rcx, [rsp + 0x40]
call fcn.140020500
mov ecx, 1
mov r8d, dword [0x1401dc12c]
xor r9d, r9d
mov edx, dword [0x1401dc0c0]
add r8d, ecx
lea ecx, [r9 + 8]
call fcn.140020270
cmp dword [0x1401dc934], 1
jne 0x14001f791
mov edx, dword [0x1401dc930]
lea rcx, [0x1401dc130]
call fcn.140020500
add rsp, 0x30
pop r14
jmp 0x14001f070
mov rcx, qword [0x1401dc938]
mov qword [rsp + 0x48], rbx
mov r8d, dword [rcx + 0x844]
test r8d, 0xfffffffb
je 0x14001f7d1
mov ebx, dword [0x1401dc930]
lea rcx, [0x1401dc130]
mov edx, ebx
call fcn.140020500
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp 0x14001f070
mov eax, dword [0x1401dc930]
cdq
sub eax, edx
sar eax, 1
movsxd rbx, eax
test r8d, r8d
je 0x14001f808
cmp r8d, 4
je 0x14001f808
mov edx, ebx
lea rcx, [0x1401dc130]
call fcn.140020500
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp 0x14001f070
cmp dword [rcx + 0x14], r14d
jne 0x14001f83e
cmp dword [rcx + 0x870], r14d
je 0x14001f83e
cmp byte [0x1401dc0e3], r14b
je 0x14001f83e
mov edx, ebx
lea rcx, [0x1401dc130]
call fcn.1400205d0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp 0x14001f070
mov qword [rsp + 0x50], rbp
mov byte [0x1401c9066], r14b
mov rcx, qword [rcx + 0x850]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdi, rbx
mov ecx, 2
inc rbx
lea rdx, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdx, rbx
mov ecx, 2
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rsi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbp
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r9, rax
test rdi, rdi
jle 0x14001f8f6
mov r8, r14
lea rcx, [0x1401dc130]
mov r10d, 0x3f
mov r11d, 0xff
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx + r8*2]
mov word [rbx + r8*2], ax
movzx eax, word [rcx + r8*2]
cmp ax, r11w
movzx edx, al
cmova edx, r10d
mov byte [r8 + r9], dl
inc r8
cmp r8, rdi
jl 0x14001f8d0
mov word [rbx + rdi*2], r14w
mov rdx, rsi
mov ecx, 0xd
mov byte [rdi + r9], r14b
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rdx, rbp
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
call fcn.140024960
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp 0x14001f070
sub rsp, 0x58
mov rax, qword [0x1401cb558]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r8, qword [0x1401deb48]
test r8, r8
je 0x1400204e1
mov qword [rsp + 0x68], rbp
xor ebp, ebp
mov qword [rsp + 0x70], rsi
lea rsi, [0x1401dc930]
mov qword [rsp + 0x50], rdi
lea rdi, [0x1401dc934]
mov qword [rsp + 0x60], rbx
nop word [rax + rax]
mov rcx, qword [0x1401deb38]
mov r9, qword [0x1401deb40]
dec rcx
mov rax, qword [0x1401deb30]
and rcx, r9
sub r8, 1
mov rdx, qword [rax + rcx*8]
movups xmm1, xmmword [rdx]
movsd xmm0, qword [rdx + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [0x1401deb48], r8
movsd qword [rsp + 0x40], xmm0
jne 0x1400203e8
mov qword [0x1401deb40], rbp
jmp 0x1400203f3
lea rax, [r9 + 1]
mov qword [0x1401deb40], rax
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rcx, xmm0
lea rax, [rcx - 0x60]
cmp rax, 9
ja 0x140020420
movd ebx, xmm1
lea rcx, [0x1401dcae0]
movzx edx, bl
call fcn.1400e4090
jmp 0x14002048c
movd eax, xmm1
cmp rcx, 8
mov dword [0x1401dc930], 0x400
lea rcx, [0x1401dcae0]
movzx ebx, al
jne 0x14002045b
mov r9, rsi
mov qword [rsp + 0x20], rdi
lea r8, [0x1401dc130]
lea rdx, [0x1401dc12c]
call fcn.1400e4250
jmp 0x14002047a
mov edx, ebx
mov qword [rsp + 0x28], rdi
lea r9, [0x1401dc130]
mov qword [rsp + 0x20], rsi
lea r8, [0x1401dc12c]
call fcn.1400e41d0
mov eax, dword [0x1401dc12c]
test eax, eax
jne 0x1400204b9
cmp dword [0x1401dc930], ebp
jne 0x1400204b9
movzx ecx, bl
call fcn.1400993f0
test eax, eax
je 0x1400204a7
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140020500
mov r8, qword [0x1401deb48]
test r8, r8
jne 0x1400203a0
jmp 0x1400204cd
cmp byte [rsp + 0x40], bpl
je 0x1400204c8
inc eax
mov dword [0x1401dc12c], eax
call fcn.14001f700
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002a970
add rsp, 0x58
ret