Function at 0x14000ef20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000f15a
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x28], r12
call qword [sym.imp.USER32.dll_EmptyClipboard]
cmp dword [rsi + 0x18], 1
je 0x14000f064
mov ebx, dword [rsi + 0x20]
mov ecx, 0x42
sub ebx, dword [rsi + 0x1c]
mov edx, ebx
mov r12d, ebx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea edx, [rbx + rbx*2]
mov ecx, 0x42
add rdx, rdx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rbp, rbp
je 0x14000f140
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
movsxd rdx, dword [rsi + 0x1c]
mov r8, r12
add rdx, qword [rsi]
mov rcx, rax
call fcn.140094930
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test rdi, rdi
je 0x14000f047
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
xor r10d, r10d
mov r11, rax
test ebx, ebx
je 0x14000f030
lea r9, [0x140000000]
lea r12d, [r10 + 0x20]
nop dword [rax]
mov ecx, dword [rsi + 0x1c]
add r11, 6
lea edx, [r10 + rcx]
mov rcx, qword [rsi]
movzx edx, byte [rdx + rcx]
shr rdx, 4
movsx eax, byte [rdx + r9 + 0xd45d0]
mov word [r11 - 6], ax
mov eax, dword [rsi + 0x1c]
lea ecx, [r10 + rax]
mov rax, qword [rsi]
inc r10d
movzx ecx, byte [rcx + rax]
and ecx, 0xf
movsx eax, byte [rcx + r9 + 0xd45d0]
mov word [r11 - 4], ax
mov word [r11 - 2], r12w
cmp r10d, ebx
jb 0x14000efe0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rcx, str.BinaryData
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov rdx, rbp
mov ecx, eax
call qword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x14000f140
mov r12d, dword [rsi + 0x20]
mov ecx, 0x42
mov qword [rsp + 0x20], r13
sub r12d, dword [rsi + 0x1c]
mov edx, r12d
mov edi, r12d
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, r12d
mov ecx, 0x42
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test r13, r13
je 0x14000f13b
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalLock]
movsxd rdx, dword [rsi + 0x1c]
mov r8, rdi
add rdx, qword [rsi]
mov rcx, rax
call fcn.140094930
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test rbp, rbp
je 0x14000f123
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
movsxd rdx, dword [rsi + 0x1c]
mov r8, rdi
add rdx, qword [rsi]
mov rcx, rax
mov rbx, rax
call fcn.140094930
test r12d, r12d
je 0x14000f10c
lea r9, [0x140000000]
movzx eax, byte [rbx]
cmp byte [rax + r9 + 0xd40d0], 0
jne 0x14000f103
mov byte [rbx], 0x2e
inc rbx
sub rdi, 1
jne 0x14000f0f2
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbp
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rcx, str.BinaryData
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov rdx, r13
mov ecx, eax
call qword [sym.imp.USER32.dll_SetClipboardData]
mov r13, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret