Function at 0x1800a0e80
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 [0x1804ca010]
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.1800a11e0
test al, al
je 0x1800a113d
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 0x1800a0efb
jmp 0x1800a113d
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x1800a1131
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 0x1800a1131
mov eax, dword [rax]
test al, 1
je 0x1800a0f44
mov dil, 1
jmp 0x1800a0f4f
test al, 2
je 0x1800a1127
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 0x1800a101b
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], r15w
xor r8d, r8d
lea rdx, [0x1803be558]
lea rcx, [rbp - 0x28]
call fcn.180004e70
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.1801fd5a0
movzx esi, al
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800a1004
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a0fff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a0fff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
jmp 0x1800a1140
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1800a113d
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 0x1800a111b
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, [0x1803be558]
lea rcx, [rbp - 0x28]
call fcn.180004e70
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.1801fd080
test al, al
sete bl
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800a10ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a10e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a1120
call fcn.180385c70
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r15w
test bl, bl
jne 0x1800a113d
inc edi
mov ebx, edi
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x48]
sar rax, 5
cmp rbx, rax
jb 0x1800a1060
mov sil, 1
jmp 0x1800a1140
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 0x1800a11ae
mov rdi, qword [rbp - 0x40]
cmp rbx, rdi
je 0x1800a1167
mov rcx, rbx
call fcn.180004df0
add rbx, 0x20
cmp rbx, rdi
jne 0x1800a1152
mov rbx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x38]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800a119a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a119a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180385c70
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.180385c10
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