Function at 0x14002e3d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov edi, edx
mov rsi, rcx
lea rbx, [rcx + 0x15e8]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp byte [rsi + 0x14c0], 0
je 0x14002e71c
xor r14d, r14d
mov dword [rsp + 0x30], r14d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x34], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movdqu xmmword [rsp + 0x58], xmm0
lea rcx, [rsp + 0x30]
call fcn.140037c70
test al, al
je 0x14002e6d6
mov eax, dword [rsi + 0x14ec]
cmp dword [rsp + 0x30], eax
jne 0x14002e469
test edi, edi
jne 0x14002e469
lea r8, str.Ignoring_extended_SendClientCutText_due_to_identical_data_n
jmp 0x14002e6dd
mov r8d, edi
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x14c0]
call fcn.140038840
cmp byte [rsi + 0x1510], 0
je 0x14002e528
mov byte [rsi + 0x1510], 0
mov qword [rsp + 0xd0], r14
mov byte [rsp + 0xd0], 6
mov edx, dword [rsi + 0x1530]
sub edx, dword [rsi + 0x1528]
mov ecx, edx
shl ecx, 0x10
mov eax, edx
and eax, 0xff00
or ecx, eax
shl ecx, 8
mov eax, edx
sar eax, 8
and eax, 0xff00
or ecx, eax
shr edx, 0x18
or ecx, edx
mov dword [rsp + 0xd4], ecx
mov byte [rsp + 0x20], 1
mov r9b, 6
mov r8d, 8
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call fcn.140026140
mov rdx, qword [rsi + 0x1530]
mov r8d, dword [rsi + 0x1528]
sub r8d, edx
xor r9d, r9d
mov rcx, rsi
call fcn.140026600
lea r8, str.Sent_extended_clipboard_n
mov edx, 6
lea rcx, vtable.Log.0
call fcn.1400153f0
mov rcx, qword [rsi + 0x1530]
call fcn.14011b120
mov qword [rsi + 0x1530], r14
mov qword [rsi + 0x1518], r14
mov qword [rsi + 0x1528], r14
mov dword [rsi + 0x1520], r14d
mov ecx, 8
call fcn.14011b4c0
mov rdi, rax
xor eax, eax
mov qword [rdi], rax
mov rdx, qword [rsi + 0x1530]
test rdx, rdx
je 0x14002e58d
mov ecx, dword [rsi + 0x1528]
sub ecx, edx
movsxd r8, ecx
mov rcx, rdi
call fcn.14011fbe0
mov rcx, qword [rsi + 0x1530]
call fcn.14011b120
mov qword [rsi + 0x1530], rdi
mov qword [rsi + 0x1518], rdi
mov dword [rsi + 0x1520], 8
lea rax, [rdi + 4]
mov qword [rsi + 0x1528], rax
cmp byte [rsi + 0x1511], 0
je 0x14002e6ef
mov byte [rsi + 0x1511], 0
cmp byte [rsi + 0x14c0], 0
je 0x14002e64c
mov qword [rsp + 0xd0], r14
mov byte [rsp + 0xd0], 6
mov edx, dword [rsi + 0x1550]
sub edx, dword [rsi + 0x1548]
mov ecx, edx
shl ecx, 0x10
mov eax, edx
and eax, 0xff00
or ecx, eax
shl ecx, 8
mov eax, edx
sar eax, 8
and eax, 0xff00
or ecx, eax
shr edx, 0x18
or ecx, edx
mov dword [rsp + 0xd4], ecx
mov byte [rsp + 0x20], 1
mov r9b, 6
mov r8d, 8
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call fcn.140026140
mov rdx, qword [rsi + 0x1550]
mov r8d, dword [rsi + 0x1548]
sub r8d, edx
xor r9d, r9d
mov rcx, rsi
call fcn.140026600
mov rcx, qword [rsi + 0x1550]
call fcn.14011b120
mov qword [rsi + 0x1550], r14
mov qword [rsi + 0x1538], r14
mov qword [rsi + 0x1548], r14
mov dword [rsi + 0x1540], r14d
mov ecx, 8
call fcn.14011b4c0
mov rdi, rax
xor eax, eax
mov qword [rdi], rax
mov rdx, qword [rsi + 0x1550]
test rdx, rdx
je 0x14002e6b1
mov ecx, dword [rsi + 0x1548]
sub ecx, edx
movsxd r8, ecx
mov rcx, rdi
call fcn.14011fbe0
mov rcx, qword [rsi + 0x1550]
call fcn.14011b120
mov qword [rsi + 0x1550], rdi
mov qword [rsi + 0x1538], rdi
mov dword [rsi + 0x1540], 8
lea rax, [rdi + 4]
mov qword [rsi + 0x1548], rax
jmp 0x14002e6ef
lea r8, str.Failed_to_load_local_clipboard__n
mov edx, 6
lea rcx, vtable.Log.0
call fcn.1400153f0
nop
mov rcx, qword [rsp + 0x48]
call fcn.14011b120
mov rcx, qword [rsp + 0x50]
call fcn.14011b120
mov rcx, qword [rsp + 0x58]
call fcn.14011b120
mov rcx, qword [rsp + 0x60]
call fcn.14011b120
jmp 0x14002e8b5
lea r8, str.Checking_clipboard..._n
mov edx, 6
lea rcx, vtable.Log.0
call fcn.1400153f0
mov rcx, qword [rsi + 0x12b8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne dil
mov byte [rsp + 0xe0], dil
test eax, eax
je 0x14002e8a9
lea r8, str.Opened..._n
mov edx, 6
lea rcx, vtable.Log.0
call fcn.1400153f0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r14, rax
mov qword [rsp + 0xe8], rax
mov edx, 6
lea rcx, vtable.Log.0
test rax, rax
jne 0x14002e7a7
lea r8, str.No_CF_TEXT__n
call fcn.1400153f0
jmp 0x14002e8a9
lea r8, str.Got_CF_TEXT__n
call fcn.1400153f0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14, rax
mov r15, 0xffffffffffffffff
mov rcx, r15
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x14002e7d0
inc rcx
call fcn.14011b4c0
mov r13, rax
mov qword [rsp + 0x70], rax
mov rcx, r15
nop dword [rax]
inc rcx
cmp byte [r14 + rcx], 0
jne 0x14002e7f0
inc rcx
call fcn.14011b4c0
mov r12, rax
mov qword [rsp + 0x78], rax
mov rdx, r15
nop dword [rax]
inc rdx
cmp byte [r14 + rdx], 0
jne 0x14002e810
inc rdx
mov r8, r14
mov rcx, r13
call fcn.14012209c
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor r14d, r14d
movzx eax, byte [r13]
test al, al
je 0x14002e85e
mov rdx, r13
mov rcx, r12
cmp al, 0xd
je 0x14002e854
mov byte [rcx], al
inc r14d
inc rcx
inc rdx
movzx eax, byte [rdx]
test al, al
jne 0x14002e848
movsxd rax, r14d
mov byte [rax + r12], 0
inc r15
cmp byte [r12 + r15], 0
jne 0x14002e866
mov r8, r15
mov rdx, r12
mov rcx, rsi
call fcn.140022270
nop
jmp 0x14002e898
mov rcx, r13
call fcn.14011b120
mov rcx, r12
call fcn.14011b120
nop
test dil, dil
je 0x14002e8b5
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov rcx, rbx
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]