Function at 0x1800a0840
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
xor r15d, r15d
mov qword [rbp - 0x38], r15
lea rdx, [rbp - 0x48]
call fcn.1800a0ba0
test al, al
je 0x1800a0afd
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov byte [rbp - 0x50], r15b
mov rcx, rax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
mov byte [rbp - 0x50], al
test al, al
jne 0x1800a08bb
jmp 0x1800a0afd
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x1800a0af1
lea rcx, str.Preferred_DropEffect
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1800a0af1
mov eax, dword [rax]
test al, 1
je 0x1800a0904
mov dil, 1
jmp 0x1800a090f
test al, 2
je 0x1800a0ae7
xor dil, dil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
sete byte [rbp - 0x50]
test dil, dil
je 0x1800a09db
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], r15w
xor r8d, r8d
lea rdx, [0x1803bf568]
lea rcx, [rbp - 0x28]
call fcn.180004ea0
nop
lea r8, [rsi + 0x118]
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 0
lea r9, [rbp - 0x28]
lea rdx, [rbp - 0x48]
mov rcx, qword [rsi + 8]
call fcn.1801fd480
movzx esi, al
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800a09c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a09bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a09bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
jmp 0x1800a0b00
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1800a0afd
call qword [sym.imp.USER32.dll_EmptyClipboard]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov edi, r15d
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x48]
sar rax, 5
test rax, rax
je 0x1800a0adb
mov rbx, r15
nop dword [rax]
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r15w
xor r8d, r8d
lea rdx, [0x1803bf568]
lea rcx, [rbp - 0x28]
call fcn.180004ea0
nop
shl rbx, 5
add rbx, qword [rbp - 0x48]
lea r9, [rbp - 0x28]
lea r8, [rsi + 0x118]
mov rdx, rbx
mov rcx, qword [rsi + 8]
call fcn.1801fcf60
test al, al
sete bl
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800a0aad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a0aa8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a0ae0
call fcn.180386950
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r15w
test bl, bl
jne 0x1800a0afd
inc edi
mov ebx, edi
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x48]
sar rax, 5
cmp rbx, rax
jb 0x1800a0a20
mov sil, 1
jmp 0x1800a0b00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
sete byte [rbp - 0x50]
xor sil, sil
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x1800a0b6e
mov rdi, qword [rbp - 0x40]
cmp rbx, rdi
je 0x1800a0b27
mov rcx, rbx
call fcn.180004e20
add rbx, 0x20
cmp rbx, rdi
jne 0x1800a0b12
mov rbx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x38]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800a0b5a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a0b5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180386950
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
movzx eax, sil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1803868f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret