Function at 0x1400dbff0
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rsi
push r13
push r15
sub rsp, 0x270
mov r15, rcx
mov r13, r8
lea rcx, [0x140136ce8]
mov rsi, rdx
call fcn.140007a90
test eax, eax
jne 0x1400dc045
lea r8, [0x1400f97e4]
lea rdx, str.Cant_open_clipboard_for_reading.
lea rcx, [0x140136060]
add rsp, 0x270
pop r15
pop r13
pop rsi
jmp fcn.140064aa0
mov qword [rsp + 0x298], rbx
xor ecx, ecx
mov qword [rsp + 0x268], rbp
mov qword [rsp + 0x260], rdi
xor edi, edi
mov qword [rsp + 0x258], r12
mov r12d, edi
mov qword [rsp + 0x250], r14
mov r14d, 4
mov ebp, r14d
mov qword [rsp + 0x2a8], r14
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x1400dc4f4
mov r15d, 0x4086
mov r13d, 8
cmp ebx, 0xe
ja 0x1400dc0b0
bt r15d, ebx
jb 0x1400dc1da
cmp ebx, 0x8e
je 0x1400dc1da
cmp ebx, r12d
je 0x1400dc1da
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x1400dc19f
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
lea rdx, str.Link_Source
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x1400dc1da
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400dc1da
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400dc1da
lea rdx, str.Native
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400dc1da
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400dc1da
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400dc199
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400dc1a4
add rbp, 0xc
jmp 0x1400dc1da
mov word [rsp + 0x40], di
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x1400dc1da
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
add rbp, 0xc
add rbp, rax
test r12d, r12d
jne 0x1400dc1da
cmp ebx, r13d
jne 0x1400dc1d3
mov r12d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x1400dc1da
cmp ebx, 0x11
cmove r12d, r13d
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x1400dc0a1
mov r15, qword [rsp + 0x290]
mov r13, qword [rsp + 0x2a0]
mov qword [rsp + 0x2a8], rbp
cmp rbp, r14
je 0x1400dc4f4
test r15, r15
je 0x1400dc246
mov r8, rbp
mov byte [rsp + 0x20], dil
shr r8, 1
and ebp, 1
add r8, rbp
mov r9b, 1
xor edx, edx
mov rcx, r15
call fcn.1400dc860
test eax, eax
je 0x1400dc25a
mov rax, qword [r15 + 0x18]
mov rdi, qword [r15 + 8]
mov qword [rsp + 0x2a8], rax
jmp 0x1400dc255
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov qword [rsi], rax
test rdi, rdi
jne 0x1400dc2bf
cmp dword [0x140136d14], 0
je 0x1400dc294
cmp qword [0x140136cf8], 0
je 0x1400dc281
mov rcx, qword [0x140136ce8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140136cf8], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140136d14], edi
mov qword [0x140136ce8], rdi
test r15, r15
je 0x1400dc2a0
xor eax, eax
jmp 0x1400dc558
lea r8, [0x1400f97e4]
lea rdx, str.Out_of_memory.
lea rcx, [0x140136060]
call fcn.140064aa0
jmp 0x1400dc558
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov esi, eax
test eax, eax
je 0x1400dc48a
mov r13, qword [rsp + 0x2a8]
nop dword [rax]
mov r15, r14
cmp esi, 0xe
ja 0x1400dc2f6
mov eax, 0x4086
bt eax, esi
jb 0x1400dc468
cmp esi, 0x8e
je 0x1400dc468
cmp esi, r12d
je 0x1400dc468
lea eax, [rsi - 0xc000]
cmp eax, 0x3fff
ja 0x1400dc3eb
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov ecx, esi
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
lea rdx, str.Link_Source
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x1400dc468
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400dc468
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400dc468
lea rdx, str.Native
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400dc468
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400dc468
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400dc3e3
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400dc3f2
xor eax, eax
mov ebp, eax
mov ebx, eax
jmp 0x1400dc424
xor eax, eax
mov word [rsp + 0x40], ax
mov ecx, esi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x1400dc468
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbx, rax
test rax, rax
je 0x1400dc424
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r13, rax
test rax, rax
je 0x1400dc468
add r14, 0xc
add r14, rbx
cmp r14, qword [rsp + 0x2a8]
jbe 0x1400dc43f
mov r14, r15
test rbx, rbx
je 0x1400dc468
jmp 0x1400dc45f
mov dword [rdi], esi
mov qword [rdi + 4], rbx
add rdi, 0xc
test rbx, rbx
je 0x1400dc468
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
add rdi, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, esi
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov esi, eax
test eax, eax
jne 0x1400dc2e0
mov r15, qword [rsp + 0x290]
mov r13, qword [rsp + 0x2a0]
cmp dword [0x140136d14], 0
je 0x1400dc4ca
cmp qword [0x140136cf8], 0
je 0x1400dc4b3
mov rcx, qword [0x140136ce8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
mov qword [0x140136cf8], rax
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x140136d14], eax
mov qword [0x140136ce8], rax
jmp 0x1400dc4cc
xor eax, eax
mov dword [rdi], eax
test r15, r15
je 0x1400dc4eb
test r14b, 1
je 0x1400dc4e0
mov byte [rdi + 4], 0
inc r14
or byte [r15 + 0x21], 1
mov qword [r15 + 0x10], r14
jmp 0x1400dc553
mov eax, r14d
mov qword [r13], rax
jmp 0x1400dc553
cmp dword [0x140136d14], edi
je 0x1400dc52c
cmp qword [0x140136cf8], rdi
je 0x1400dc519
mov rcx, qword [0x140136ce8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140136cf8], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140136d14], edi
mov qword [0x140136ce8], rdi
test r15, r15
je 0x1400dc54c
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov r8, 0xffffffffffffffff
mov rcx, r15
call fcn.1400dc860
jmp 0x1400dc558
mov qword [rsi], rdi
mov qword [r13], rdi
mov eax, 1
mov r12, qword [rsp + 0x258]
mov rdi, qword [rsp + 0x260]
mov rbp, qword [rsp + 0x268]
mov rbx, qword [rsp + 0x298]
mov r14, qword [rsp + 0x250]
add rsp, 0x270
pop r15
pop r13
pop rsi
ret