Function at 0x14000c490
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000c6c8
mov qword [rsp + 0x48], rbp
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [rdi + 0x1c]
mov ebp, dword [rdi + 0x20]
cmp ecx, ebp
jle 0x14000c4c8
mov eax, ebp
mov dword [rdi + 0x20], ecx
mov ebp, ecx
mov dword [rdi + 0x1c], eax
mov ecx, eax
mov qword [rsp + 0x40], rbx
sub ebp, ecx
cmp dword [rdi + 0x18], 1
mov ecx, 0x42
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov edx, ebp
je 0x14000c5e7
mov ebx, ebp
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x14000c6a9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
movsxd rdx, dword [rdi + 0x1c]
mov r8d, ebx
add rdx, qword [rdi]
mov rcx, rax
call fcn.14007eb90
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [rbp*2 + 1]
mov ecx, 0x42
add edx, ebp
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x14000c5d2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
xor r14d, r14d
mov r9, rax
mov r10d, r14d
test ebp, ebp
je 0x14000c5b7
lea r11, str.0123456789abcdefghijklmnopqrstuvwxyz_________._:_________
nop word [rax + rax]
mov rcx, qword [rdi]
mov edx, dword [rdi + 0x1c]
add edx, r10d
movzx eax, byte [rdx + rcx]
shr rax, 4
movsx eax, byte [rax + r11]
mov word [r9], ax
mov ecx, dword [rdi + 0x1c]
mov rax, qword [rdi]
add ecx, r10d
inc r10d
movzx ecx, byte [rcx + rax]
and ecx, 0xf
movsx eax, byte [rcx + r11]
mov word [r9 + 2], ax
mov word [r9 + 4], 0x20
add r9, 6
cmp r10d, ebp
jb 0x14000c570
mov rcx, rbx
mov word [r9], r14w
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rcx, str.BinaryData
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov rdx, rsi
jmp 0x14000c6a1
mov esi, ebp
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea edx, [rbp + 1]
mov ecx, 0x42
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r14, rax
test r15, r15
je 0x14000c6a9
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
movsxd rdx, dword [rdi + 0x1c]
mov r8d, esi
add rdx, qword [rdi]
mov rcx, rax
call fcn.14007eb90
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test r14, r14
je 0x14000c691
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalLock]
movsxd rdx, dword [rdi + 0x1c]
mov r8d, esi
add rdx, qword [rdi]
mov rcx, rax
mov rbx, rax
call fcn.14007eb90
test ebp, ebp
je 0x14000c677
nop word [rax + rax]
movzx eax, byte [rbx]
sub eax, 0x20
cmp eax, 0x5e
jbe 0x14000c66e
mov byte [rbx], 0x2e
inc rbx
sub rsi, 1
jne 0x14000c660
mov rcx, r14
mov byte [rbx], 0
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r14
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rcx, str.BinaryData
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov rdx, r15
mov ecx, eax
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret