Function at 0x1802316d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x1802316d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180231a7d
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.180006160
mov rax, qword [rsp + 0x88]
cmp dword [rax + 0x18], 1
je 0x1802318fb
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0x1c]
mov eax, dword [rax + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov edx, eax
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1802318f6
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movsxd rcx, dword [rcx + 0x1c]
mov rdx, qword [rsp + 0x88]
mov rdx, qword [rdx]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x38]
call fcn.18000cf00
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
imul eax, dword [rsp + 0x20], 3
inc eax
mov eax, eax
shl rax, 1
mov rdx, rax
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1802318dc
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0
jmp 0x1802317fb
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x48], eax
jae 0x1802318b7
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
add eax, dword [rsp + 0x48]
mov eax, eax
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
movzx eax, byte [rcx + rax]
sar eax, 4
cdqe
lea rcx, str.0123456789abcdefghijklmnopqrstuvwxyz_________._:_________
movsx ax, byte [rcx + rax]
mov rcx, qword [rsp + 0x40]
mov word [rcx], ax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
add eax, dword [rsp + 0x48]
mov eax, eax
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
movzx eax, byte [rcx + rax]
and eax, 0xf
cdqe
lea rcx, str.0123456789abcdefghijklmnopqrstuvwxyz_________._:_________
movsx ax, byte [rcx + rax]
mov rcx, qword [rsp + 0x40]
mov word [rcx], ax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
mov eax, 0x20
mov rcx, qword [rsp + 0x40]
mov word [rcx], ax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
jmp 0x1802317f1
xor eax, eax
mov rcx, qword [rsp + 0x40]
mov word [rcx], ax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rsp + 0x30]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rcx, str.BinaryData
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov rdx, qword [rsp + 0x28]
mov ecx, eax
call qword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x180231a77
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0x1c]
mov eax, dword [rax + 0x20]
sub eax, ecx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov edx, eax
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x4c]
inc eax
mov eax, eax
mov edx, eax
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x50], 0
je 0x180231a77
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x88]
movsxd rcx, dword [rcx + 0x1c]
mov rdx, qword [rsp + 0x88]
mov rdx, qword [rdx]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x60]
call fcn.18000cf00
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp qword [rsp + 0x58], 0
je 0x180231a5d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x88]
movsxd rcx, dword [rcx + 0x1c]
mov rdx, qword [rsp + 0x88]
mov rdx, qword [rdx]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x60]
call fcn.18000cf00
mov dword [rsp + 0x68], 0
jmp 0x180231a00
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x68], eax
jae 0x180231a3a
mov rax, qword [rsp + 0x60]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x88]
call fcn.18000afe0
test eax, eax
jne 0x180231a2b
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x2e
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
jmp 0x1802319f6
mov rax, qword [rsp + 0x60]
mov byte [rax], 0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rsp + 0x58]
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rcx, str.BinaryData
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov rdx, qword [rsp + 0x50]
mov ecx, eax
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
add rsp, 0x70
pop rdi
ret