Function at 0x1400856b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov qword [rbp - 0x18], rcx
mov ecx, dword [0x1401b7b74]
xor bl, bl
mov edx, ecx
sub edx, 1
je 0x140085703
sub edx, 1
je 0x140085703
sub edx, 2
je 0x140085703
sub edx, 1
je 0x140085703
cmp edx, 1
jne 0x140085705
mov bl, 1
mov dword [rbp - 0x50], ecx
lea rax, [rbp - 0x50]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x4c]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400a7e60
mov r8b, 1
mov rdx, rax
movzx ecx, bl
call fcn.14006e8f0
mov edx, dword [0x1401b7b74]
xor bl, bl
mov ecx, edx
sub ecx, 1
je 0x140085756
sub ecx, 1
je 0x140085756
sub ecx, 2
je 0x140085756
sub ecx, 1
je 0x140085756
cmp ecx, 1
jne 0x140085758
mov bl, 1
mov dword [rbp - 0x50], edx
lea rax, [rbp - 0x50]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x4c]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400a7e60
xor r8d, r8d
mov rdx, rax
movzx ecx, bl
call fcn.14006e8f0
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov ebx, eax
cmp byte [0x140190c87], 0
je 0x1400857c7
call fcn.14006b7a0
test al, al
jne 0x1400857c7
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
sub eax, 0x64
cmp ebx, eax
jle 0x1400857c7
mov qword [rbp - 0x50], 3
lea rcx, [rbp - 0x50]
call fcn.1400ad610
cmp byte [0x140190c87], 0
jne 0x140085797
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov r14d, eax
sub r14d, ebx
add r14d, r14d
movsxd rcx, dword [reloc.WS2_32.dll_ioctlsocket]
mov qword [rbp - 0x50], rcx
lea rcx, [rbp - 0x50]
call fcn.1400ad610
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_OpenClipboard]
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 rsi, rax
test rax, rax
jne 0x140085821
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x140085870
mov r15, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14008582e
mov r15, qword [rdi]
mov rbx, qword [rdi + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
lea r8, [rbx + 1]
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [rbp - 0x50], send
mov dword [rbp - 0x4c], 0x56
lea rax, [rbp - 0x50]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400a7e60
mov r8b, 1
mov rdx, rax
xor ecx, ecx
call fcn.14006e8f0
movsxd rax, r14d
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x50]
call fcn.1400ad610
mov dword [rbp - 0x50], send
mov dword [rbp - 0x4c], 0x56
lea rax, [rbp - 0x50]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400a7e60
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call fcn.14006e8f0
movsxd rax, dword [reloc.WS2_32.dll_ioctlsocket]
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x50]
call fcn.1400ad610
mov edx, dword [0x1401b7ba4]
xor bl, bl
mov ecx, edx
sub ecx, 1
je 0x140085927
sub ecx, 1
je 0x140085927
sub ecx, 2
je 0x140085927
sub ecx, 1
je 0x140085927
cmp ecx, 1
jne 0x140085929
mov bl, 1
mov dword [rbp - 0x50], edx
lea rax, [rbp - 0x50]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x4c]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400a7e60
mov r8b, 1
mov rdx, rax
movzx ecx, bl
call fcn.14006e8f0
mov edx, dword [0x1401b7ba4]
xor bl, bl
mov ecx, edx
sub ecx, 1
je 0x14008597a
sub ecx, 1
je 0x14008597a
sub ecx, 2
je 0x14008597a
sub ecx, 1
je 0x14008597a
cmp ecx, 1
jne 0x14008597c
mov bl, 1
mov dword [rbp - 0x50], edx
lea rax, [rbp - 0x50]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x4c]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400a7e60
xor r8d, r8d
mov rdx, rax
movzx ecx, bl
call fcn.14006e8f0
movsxd rax, dword [reloc.WS2_32.dll_ioctlsocket]
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x50]
call fcn.1400ad610
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov ebx, eax
cmp byte [0x140190c87], 0
je 0x140085a00
nop
call fcn.14006b7a0
test al, al
je 0x140085a00
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
sub eax, 0x64
cmp ebx, eax
jle 0x140085a00
mov qword [rbp - 0x50], 3
lea rcx, [rbp - 0x50]
call fcn.1400ad610
cmp byte [0x140190c87], 0
jne 0x1400859d0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140085a36
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140085a31
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140085a6f
mov rcx, r8
call fcn.1400b7700
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], send
mov byte [rdi], 0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400b7380
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3