Function at 0x18018c9c0
Capabilities:
Get graphical window text
Open clipboard
Read clipboard data

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
lea rbp, [rsp + 0x30]
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rbp + 0xd0], rbx
mov rax, qword [0x1802d1460]
xor rax, rbp
mov qword [rbp + 0x78], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rbp + 0x10], rdx
xor r13d, r13d
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r13w
cmp byte [rcx + 0x34], r13b
jne 0x18018cabc
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea r8d, [rax + 1]
movsxd rax, r8d
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x18018ca44
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1801c83e0
sub rsp, rcx
lea rdi, [rsp + 0x30]
test rdi, rdi
jne 0x18018ca84
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
xor r8d, r8d
lea rdx, [0x18024c34c]
mov rcx, rbx
call fcn.1801142a0
jmp 0x18018cc6c
mov byte [rsi + 0x32], 0
mov rdx, rdi
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov byte [rsi + 0x32], 1
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], 0
jne 0x18018caa0
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.1801142a0
jmp 0x18018cc4c
mov byte [rcx + 0x34], 0
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x18018ca5d
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18018ca5d
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rsi, rax
test rax, rax
je 0x18018cc46
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x18018cc46
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18018cb10
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.1801142a0
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], 7
mov word [rbp + 0x38], r13w
mov r8d, 2
lea rdx, [0x180256920]
lea rcx, [rbp + 0x38]
call fcn.1801142a0
nop
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r13w
xor r8d, r8d
lea rdx, [0x18024c34c]
lea rcx, [rbp + 0x58]
call fcn.1801142a0
nop
lea r9, [rbp + 0x38]
mov r15, qword [rbp + 0x38]
mov r12, qword [rbp + 0x50]
cmp r12, 8
cmovae r9, r15
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rcx, qword [rbp + 0x18]
mov r14, qword [rbp + 0x48]
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
call fcn.18011e1d0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18018cc29
cmp rdi, 0xffffffffffffffff
je 0x18018cc29
mov word [rbp], r13w
mov qword [rsp + 0x20], r13
lea r9, [rbp]
mov r8, r14
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.18012a860
lea r8, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae r8, qword [rbp + 0x58]
mov r9, qword [rbp + 0x68]
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.18011eac0
lea r9, [rbp + 0x38]
cmp r12, 8
cmovae r9, r15
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rcx, qword [rbp + 0x18]
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
call fcn.18011e1d0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18018cbb4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
lea rcx, [rbp + 0x58]
call fcn.180114210
nop
lea rcx, [rbp + 0x38]
call fcn.180114210
call qword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [rbp + 0x18]
movups xmm1, xmmword [rbp + 0x28]
movups xmmword [rbx], xmm0
mov word [rbp + 0x18], r13w
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r13
movups xmmword [rbx + 0x10], xmm1
lea rcx, [rbp + 0x18]
call fcn.180114210
mov rax, rbx
mov rcx, qword [rbp + 0x78]
xor rcx, rbp
call fcn.1801c74b0
mov rbx, qword [rbp + 0xd0]
lea rsp, [rbp + 0x80]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret