Function at 0x180231b10
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
jmp 0x180231b10
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180231d37
lea rcx, str.BinaryData
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x180231b64
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180231d31
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x38], eax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.180006160
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x2c]
shr al, 4
and al, 1
movzx eax, al
test eax, eax
je 0x180231c79
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x1c], 0xffffffff
jne 0x180231c16
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x18], 3
jne 0x180231beb
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
inc eax
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x34], eax
mov r9d, dword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov r8d, dword [rax + 0x14]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1800037d0
jmp 0x180231c77
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x58]
mov r9d, dword [rax + 0x20]
mov rax, qword [rsp + 0x58]
mov r8d, dword [rax + 0x1c]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.18000b180
mov r9d, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1800037d0
mov r9d, 0xffffffff
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1800096f0
jmp 0x180231ce1
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x1c], 0xffffffff
jne 0x180231caf
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x18], 3
jne 0x180231ca1
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
inc eax
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x34], eax
jmp 0x180231cbb
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rax + 8]
sub eax, ecx
cmp dword [rsp + 0x30], eax
jbe 0x180231ce1
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rax + 8]
sub eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, qword [rsp + 0x28]
call fcn.18000cf00
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x14], ecx
mov r9d, 0x105
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_RedrawWindow]
call qword [sym.imp.USER32.dll_CloseClipboard]
add rsp, 0x40
pop rdi
ret