Function at 0x140100400
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 0x140100638
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 0x140100438
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 0x140100557
mov ebx, ebp
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140100619
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.1401317c0
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 0x140100542
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
xor r14d, r14d
mov r9, rax
mov r10d, r14d
test ebp, ebp
je 0x140100527
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 0x1401004e0
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 0x140100611
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 0x140100619
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.1401317c0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test r14, r14
je 0x140100601
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.1401317c0
test ebp, ebp
je 0x1401005e7
nop word [rax + rax]
movzx eax, byte [rbx]
sub eax, 0x20
cmp eax, 0x5e
jbe 0x1401005de
mov byte [rbx], 0x2e
inc rbx
sub rsi, 1
jne 0x1401005d0
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