Function at 0x14001d590
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x48
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14001d7af
lea rcx, str.BinaryData
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14001d5e5
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14001d7a9
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x28], eax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14001d7d0
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0x30]
test eax, eax
je 0x14001d6f2
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x1c], 0xffffffff
jne 0x14001d68f
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x18], 3
jne 0x14001d664
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
inc eax
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x24]
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax + 0x14]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14001d990
jmp 0x14001d6f0
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x68]
mov r9d, dword [rax + 0x20]
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax + 0x1c]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14001d820
mov r9d, dword [rsp + 0x24]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14001d990
mov r9d, 0xffffffff
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14001cf10
jmp 0x14001d75a
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x1c], 0xffffffff
jne 0x14001d728
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x18], 3
jne 0x14001d71a
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
inc eax
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x20], eax
jmp 0x14001d734
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x20]
mov eax, dword [rax + 8]
sub eax, ecx
cmp dword [rsp + 0x24], eax
jbe 0x14001d75a
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x20]
mov eax, dword [rax + 8]
sub eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x68]
mov rdx, qword [rdx]
add rdx, rcx
mov rcx, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0x38]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x14], ecx
mov r9d, 0x105
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_RedrawWindow]
call qword [sym.imp.USER32.dll_CloseClipboard]
add rsp, 0x48
pop rdi
pop rsi
ret