Function at 0x1400d2b00
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push r14
sub rsp, 0x260
mov rbp, rcx
mov r14, r8
lea rcx, [0x14012bc48]
mov rsi, rdx
call fcn.140007900
test eax, eax
jne 0x1400d2b53
lea r8, [0x1400ef7e4]
lea rdx, str.Cant_open_clipboard_for_reading.
lea rcx, [0x14012afc0]
add rsp, 0x260
pop r14
pop rsi
pop rbp
jmp fcn.14005fed0
mov qword [rsp + 0x288], rbx
xor ecx, ecx
mov qword [rsp + 0x258], rdi
xor edi, edi
mov qword [rsp + 0x250], r12
mov r12d, edi
mov qword [rsp + 0x248], r13
mov qword [rsp + 0x240], r15
mov r15d, 4
mov r13d, r15d
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x1400d2fdd
mov ebp, 0x4086
lea r14d, [rdi + 8]
cmp ebx, 0xe
ja 0x1400d2bb2
bt ebp, ebx
jb 0x1400d2cdc
cmp ebx, 0x8e
je 0x1400d2cdc
cmp ebx, r12d
je 0x1400d2cdc
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x1400d2ca1
mov r8d, 0x104
lea rdx, [rsp + 0x30]
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 + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x1400d2cdc
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400d2cdc
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400d2cdc
lea rdx, [0x1400eff88]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400d2cdc
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400d2cdc
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400d2c9b
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400d2ca6
add r13, 0xc
jmp 0x1400d2cdc
mov word [rsp + 0x30], di
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x1400d2cdc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
add r13, 0xc
add r13, rax
test r12d, r12d
jne 0x1400d2cdc
cmp ebx, r14d
jne 0x1400d2cd5
mov r12d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x1400d2cdc
cmp ebx, 0x11
cmove r12d, r14d
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x1400d2ba4
mov rbp, qword [rsp + 0x280]
mov r14, qword [rsp + 0x290]
cmp r13, r15
je 0x1400d2fdd
test rbp, rbp
je 0x1400d2d39
mov r8, r13
mov byte [rsp + 0x20], dil
shr r8, 1
and r13d, 1
add r8, r13
mov r9b, 1
xor edx, edx
mov rcx, rbp
call fcn.1400d3350
test eax, eax
je 0x1400d2d4d
mov rdi, qword [rbp + 8]
mov r13, qword [rbp + 0x18]
jmp 0x1400d2d48
mov rcx, r13
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 0x1400d2db2
cmp dword [0x14012bc74], 0
je 0x1400d2d87
cmp qword [0x14012bc58], 0
je 0x1400d2d74
mov rcx, qword [0x14012bc48]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x14012bc58], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14012bc74], edi
mov qword [0x14012bc48], rdi
test rbp, rbp
je 0x1400d2d93
xor eax, eax
jmp 0x1400d303d
lea r8, [0x1400ef7e4]
lea rdx, str.Out_of_memory.
lea rcx, [0x14012afc0]
call fcn.14005fed0
jmp 0x1400d303d
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov esi, eax
test eax, eax
je 0x1400d2f75
mov r14, qword [rsp + 0x298]
nop dword [rax]
cmp esi, 0xe
ja 0x1400d2de3
mov eax, 0x4086
bt eax, esi
jb 0x1400d2f53
cmp esi, 0x8e
je 0x1400d2f53
cmp esi, r12d
je 0x1400d2f53
lea eax, [rsi - 0xc000]
cmp eax, 0x3fff
ja 0x1400d2ed8
mov r8d, 0x104
lea rdx, [rsp + 0x30]
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 + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x1400d2f53
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400d2f53
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400d2f53
lea rdx, [0x1400eff88]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400d2f53
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400d2f53
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400d2ed0
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400d2edf
xor eax, eax
mov ebp, eax
mov ebx, eax
jmp 0x1400d2f11
xor eax, eax
mov word [rsp + 0x30], ax
mov ecx, esi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x1400d2f53
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbx, rax
test rax, rax
je 0x1400d2f11
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14, rax
test rax, rax
je 0x1400d2f53
mov rcx, r15
add r15, 0xc
add r15, rbx
cmp r15, r13
jbe 0x1400d2f2a
mov r15, rcx
test rbx, rbx
je 0x1400d2f53
jmp 0x1400d2f4a
mov dword [rdi], esi
mov qword [rdi + 4], rbx
add rdi, 0xc
test rbx, rbx
je 0x1400d2f53
mov r8, rbx
mov rdx, r14
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 0x1400d2dd0
mov rbp, qword [rsp + 0x280]
mov r14, qword [rsp + 0x290]
cmp dword [0x14012bc74], 0
je 0x1400d2fb5
cmp qword [0x14012bc58], 0
je 0x1400d2f9e
mov rcx, qword [0x14012bc48]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
mov qword [0x14012bc58], rax
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x14012bc74], eax
mov qword [0x14012bc48], rax
jmp 0x1400d2fb7
xor eax, eax
mov dword [rdi], eax
test rbp, rbp
je 0x1400d2fd5
test r15b, 1
je 0x1400d2fcb
mov byte [rdi + 4], 0
inc r15
or byte [rbp + 0x21], 1
mov qword [rbp + 0x10], r15
jmp 0x1400d3038
mov eax, r15d
mov qword [r14], rax
jmp 0x1400d3038
cmp dword [0x14012bc74], edi
je 0x1400d3015
cmp qword [0x14012bc58], rdi
je 0x1400d3002
mov rcx, qword [0x14012bc48]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x14012bc58], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14012bc74], edi
mov qword [0x14012bc48], rdi
test rbp, rbp
je 0x1400d3032
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rbp
lea r8, [r9 - 1]
call fcn.1400d3350
jmp 0x1400d303d
mov qword [rsi], rdi
mov qword [r14], rdi
mov eax, 1
mov r13, qword [rsp + 0x248]
mov r12, qword [rsp + 0x250]
mov rdi, qword [rsp + 0x258]
mov rbx, qword [rsp + 0x288]
mov r15, qword [rsp + 0x240]
add rsp, 0x260
pop r14
pop rsi
pop rbp
ret