Function at 0x18005ae80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18005b0d3
mov ecx, ntohs
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x18005b0cd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x18005b0cd
xor r14d, r14d
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r14w
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18005af00
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.18002b6f0
nop
cmp qword [rbp - 0x19], 0
je 0x18005b01d
lea r8, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae r8, qword [rbp - 0x29]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test eax, eax
jle 0x18005b01d
mov qword [rbp - 9], r14
mov qword [rbp + 7], r14
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
lea ecx, [rax - 1]
movsxd rdx, ecx
xor r8d, r8d
lea rcx, [rbp - 9]
call fcn.18000e960
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rax, qword [rbp - 9]
lea r8, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae r8, qword [rbp - 0x29]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jg 0x18005b007
mov byte [rbp + 0x37], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x18005b021
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b000
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005b0f8
call fcn.18008a564
jmp 0x18005b021
movups xmm0, xmmword [rbp - 9]
movups xmmword [rbp + 0x17], xmm0
movups xmm1, xmmword [rbp + 7]
movups xmmword [rbp + 0x27], xmm1
mov byte [rbp + 0x37], 1
jmp 0x18005b021
mov byte [rbp + 0x37], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x18005b061
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b05c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005b0fe
call fcn.18008a564
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov byte [rbx + 0x20], 0
movzx eax, byte [rbp + 0x37]
test al, al
je 0x18005b090
lea rdx, [rbp + 0x17]
mov rcx, rbx
call fcn.18000c7e0
mov byte [rbx + 0x20], 1
movzx eax, byte [rbp + 0x37]
test al, al
je 0x18005b0d7
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x18005b0d7
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b0c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005b0f2
call fcn.18008a564
jmp 0x18005b0d7
call qword [sym.imp.USER32.dll_CloseClipboard]
mov byte [rbx + 0x20], 0
mov rax, rbx
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.180090f98
nop
call fcn.180090f98
nop
call fcn.180090f98
int3