Function at 0x14002eca0
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 ebx, edx
mov r14, rcx
lea r15, [rcx + 0x15e8]
mov qword [rsp + 0x48], r15
xor edi, edi
mov dword [rsp + 0x50], edi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp byte [r14 + 0x14c0], dil
je 0x14002ef57
mov dword [rsp + 0x58], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x5c], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movdqu xmmword [rsp + 0x80], xmm0
lea rcx, [rsp + 0x58]
call fcn.140038500
test al, al
je 0x14002ef0b
mov eax, dword [r14 + 0x14ec]
cmp dword [rsp + 0x58], eax
jne 0x14002ed33
test ebx, ebx
jne 0x14002ed33
lea r8, str.Ignoring_extended_SendClientCutText_due_to_identical_data_n
jmp 0x14002ef12
mov r8d, ebx
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x14c0]
call fcn.140039060
cmp byte [r14 + 0x1510], 0
je 0x14002edfa
mov byte [r14 + 0x1510], 0
mov qword [rsp + 0xd0], rdi
mov byte [rsp + 0xd0], 6
mov edx, dword [r14 + 0x1530]
sub edx, dword [r14 + 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, r14
call fcn.140026620
mov r8d, dword [r14 + 0x1528]
sub r8d, dword [r14 + 0x1530]
xor r9d, r9d
mov rdx, qword [r14 + 0x1530]
mov rcx, r14
call fcn.140026ae0
lea r8, str.Sent_extended_clipboard_n
mov edx, 6
lea rcx, vtable.Log.0
call fcn.1400155a0
lea rbx, [r14 + 0x1518]
mov rcx, qword [rbx + 0x18]
call fcn.14011c3a0
mov qword [rbx + 0x18], rdi
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov dword [rbx + 8], edi
mov r8b, 1
mov edx, 4
mov rcx, rbx
call fcn.140038230
add qword [rbx + 0x10], 4
cmp byte [r14 + 0x1511], 0
je 0x14002ef24
mov byte [r14 + 0x1511], 0
cmp byte [r14 + 0x14c0], 0
je 0x14002eed6
mov qword [rsp + 0xd0], rdi
mov byte [rsp + 0xd0], 6
mov edx, dword [r14 + 0x1550]
sub edx, dword [r14 + 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, r14
call fcn.140026620
mov r8d, dword [r14 + 0x1548]
sub r8d, dword [r14 + 0x1550]
xor r9d, r9d
mov rdx, qword [r14 + 0x1550]
mov rcx, r14
call fcn.140026ae0
lea rbx, [r14 + 0x1538]
mov rcx, qword [rbx + 0x18]
call fcn.14011c3a0
mov qword [rbx + 0x18], rdi
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov dword [rbx + 8], edi
mov r8b, 1
mov edx, 4
mov rcx, rbx
call fcn.140038230
add qword [rbx + 0x10], 4
jmp 0x14002ef24
lea r8, str.Failed_to_load_local_clipboard__n
mov edx, 6
lea rcx, vtable.Log.0
call fcn.1400155a0
nop
mov rcx, qword [rsp + 0x70]
call fcn.14011c3a0
mov rcx, qword [rsp + 0x78]
call fcn.14011c3a0
mov rcx, qword [rsp + 0x80]
call fcn.14011c3a0
mov rcx, qword [rsp + 0x88]
call fcn.14011c3a0
jmp 0x14002f0df
lea r8, str.Checking_clipboard..._n
mov edx, 6
lea rcx, vtable.Log.0
call fcn.1400155a0
mov rcx, qword [r14 + 0x12b8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne bl
mov byte [rsp + 0xe0], bl
test bl, bl
je 0x14002f0d4
lea r8, str.Opened..._n
mov edx, 6
lea rcx, vtable.Log.0
call fcn.1400155a0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rsi, rax
mov qword [rsp + 0xe8], rax
mov edx, 6
lea rcx, vtable.Log.0
test rax, rax
jne 0x14002efe0
lea r8, str.No_CF_TEXT__n
call fcn.1400155a0
jmp 0x14002f0d4
lea r8, str.Got_CF_TEXT__n
call fcn.1400155a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r15, rax
mov rsi, 0xffffffffffffffff
mov rcx, rsi
inc rcx
cmp byte [rax + rcx], 0
jne 0x14002f002
inc rcx
call fcn.14011c740
mov r13, rax
mov qword [rsp + 0x30], rax
mov rcx, rsi
nop
inc rcx
cmp byte [r15 + rcx], 0
jne 0x14002f020
inc rcx
call fcn.14011c740
mov r12, rax
mov qword [rsp + 0x38], rax
mov rdx, rsi
nop dword [rax]
inc rdx
cmp byte [r15 + rdx], 0
jne 0x14002f040
inc rdx
mov r8, r15
mov rcx, r13
call fcn.14012524c
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
movzx eax, byte [r13]
test al, al
je 0x14002f08a
mov rdx, r13
mov rcx, r12
cmp al, 0xd
je 0x14002f080
mov byte [rcx], al
inc edi
inc rcx
inc rdx
movzx eax, byte [rdx]
test al, al
jne 0x14002f075
movsxd rax, edi
mov byte [rax + r12], 0
inc rsi
cmp byte [r12 + rsi], 0
jne 0x14002f092
mov r8, rsi
mov rdx, r12
mov rcx, r14
call fcn.140022480
nop
jmp 0x14002f0bf
mov rcx, r13
call fcn.14011c3a0
mov rcx, r12
call fcn.14011c3a0
mov r15, qword [rsp + 0x48]
test bl, bl
je 0x14002f0df
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov rcx, r15
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]