Function at 0x1400a5ec0
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push r12
sub rsp, 0x260
xor r12d, r12d
mov rbp, rdx
mov qword [rcx], r12
mov rsi, rcx
mov qword [rdx], r12
call fcn.1400077a0
test eax, eax
jne 0x1400a5f77
mov rax, qword [0x1401251d8]
cmp dword [rax + 0x60], r12d
jne 0x1400a5f41
cmp dword [0x14012dd98], r12d
jne 0x1400a5f41
cmp byte [0x140127ada], r12b
jne 0x1400a5f41
mov qword [rsp + 0x28], r12
lea r9, [0x140101bd0]
mov r8d, 9
mov qword [rsp + 0x20], r12
lea rdx, str.Cant_open_clipboard_for_reading.
lea rcx, [0x14012d680]
call fcn.140010340
add rsp, 0x260
pop r12
pop rsi
pop rbp
ret
mov qword [rsp + 0x28], r12
lea r8, [0x140101bd0]
xor r9d, r9d
mov dword [rsp + 0x20], 9
lea rdx, str.Cant_open_clipboard_for_reading.
lea rcx, [0x14012d680]
call fcn.14000ef80
add rsp, 0x260
pop r12
pop rsi
pop rbp
ret
mov qword [rsp + 0x298], rbx
xor ecx, ecx
mov qword [rsp + 0x258], rdi
mov qword [rsp + 0x250], r13
mov qword [rsp + 0x248], r14
mov r14d, 4
mov qword [rsp + 0x240], r15
mov edi, r14d
mov qword [rsp + 0x280], r14
mov r15d, r12d
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x1400a6116
mov ebp, 0x4086
mov r13d, 8
cmp ebx, 0xe
ja 0x1400a5fde
bt ebp, ebx
jb 0x1400a60fc
cmp ebx, 0x8e
je 0x1400a60fc
cmp ebx, r15d
je 0x1400a60fc
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x1400a60c1
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 fcn.1400c5980
test eax, eax
je 0x1400a60fc
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x30]
call fcn.1400c5794
test eax, eax
je 0x1400a60fc
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x30]
call fcn.1400c5794
test eax, eax
je 0x1400a60fc
lea rdx, str.Native
lea rcx, [rsp + 0x30]
call fcn.1400c5794
test eax, eax
je 0x1400a60fc
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x30]
call fcn.1400c5794
test eax, eax
je 0x1400a60fc
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x30]
call fcn.1400c5794
test eax, eax
je 0x1400a60bc
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x30]
call fcn.1400c5794
test eax, eax
jne 0x1400a60c7
add rdi, r13
jmp 0x1400a60fc
mov word [rsp + 0x30], r12w
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x1400a60fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
add rdi, r13
add rdi, rax
test r15d, r15d
jne 0x1400a60fc
cmp ebx, r13d
jne 0x1400a60f5
mov r15d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x1400a60fc
cmp ebx, 0x11
cmove r15d, r13d
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x1400a5fd0
mov rbp, qword [rsp + 0x288]
cmp rdi, r14
jne 0x1400a615e
cmp dword [0x14012deec], r12d
je 0x1400a6415
cmp qword [0x14012ded0], r12
je 0x1400a6145
mov rcx, qword [0x14012dec0]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x14012ded0], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14012deec], r12d
mov qword [0x14012dec0], r12
jmp 0x1400a6415
test dil, 1
lea r13, [rdi + 1]
cmove r13, rdi
mov rcx, r13
call fcn.1400c5924
mov qword [rsi], rax
mov rdi, rax
test rax, rax
jne 0x1400a61e6
cmp dword [0x14012deec], r12d
je 0x1400a61b7
cmp qword [0x14012ded0], r12
je 0x1400a61a3
mov rcx, qword [0x14012dec0]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x14012ded0], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14012deec], r12d
mov qword [0x14012dec0], r12
mov rax, qword [0x14012d4f8]
lea rdx, str.Out_of_memory.
mov qword [rsp + 0x28], rax
lea rcx, [0x14012d680]
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
call fcn.14000f470
jmp 0x1400a641a
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x1400a63d0
mov r12, qword [rsp + 0x288]
cmp ebx, 0xe
ja 0x1400a6213
mov eax, 0x4086
bt eax, ebx
jb 0x1400a63b3
cmp ebx, 0x8e
je 0x1400a63b3
cmp ebx, r15d
je 0x1400a63b3
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x1400a6301
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 fcn.1400c5980
test eax, eax
je 0x1400a63b3
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x30]
call fcn.1400c5794
test eax, eax
je 0x1400a63b3
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x30]
call fcn.1400c5794
test eax, eax
je 0x1400a63b3
lea rdx, str.Native
lea rcx, [rsp + 0x30]
call fcn.1400c5794
test eax, eax
je 0x1400a63b3
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x30]
call fcn.1400c5794
test eax, eax
je 0x1400a63b3
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x30]
call fcn.1400c5794
test eax, eax
je 0x1400a62f9
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x30]
call fcn.1400c5794
test eax, eax
jne 0x1400a6308
xor eax, eax
mov esi, eax
mov ebp, eax
jmp 0x1400a633d
xor eax, eax
mov word [rsp + 0x30], ax
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rsi, rax
test rax, rax
je 0x1400a63b3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbp, rax
test eax, eax
je 0x1400a633d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r12, rax
test rax, rax
je 0x1400a63b3
mov rax, qword [rsp + 0x280]
mov rcx, rax
mov r14d, ebp
add rax, 8
add rax, r14
mov qword [rsp + 0x280], rax
cmp rax, r13
jbe 0x1400a6379
mov qword [rsp + 0x280], rcx
mov r14, rcx
test ebp, ebp
je 0x1400a63b3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x1400a63b3
mov dword [rdi], ebx
mov qword [rdi + 4], r14
add rdi, 8
test ebp, ebp
je 0x1400a63ab
mov r8, r14
mov rdx, r12
mov rcx, rdi
call fcn.1400e2970
add rdi, r14
mov rcx, rsi
mov r14, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x1400a63b3
mov r14, qword [rsp + 0x280]
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x1400a6200
mov rbp, qword [rsp + 0x288]
xor r12d, r12d
cmp dword [0x14012deec], 0
je 0x1400a640b
cmp qword [0x14012ded0], 0
je 0x1400a63f7
mov rcx, qword [0x14012dec0]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x14012ded0], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14012deec], r12d
mov qword [0x14012dec0], r12
mov eax, r14d
mov qword [rbp], rax
mov dword [rdi], r12d
mov eax, 1
mov r14, qword [rsp + 0x248]
mov r13, qword [rsp + 0x250]
mov rdi, qword [rsp + 0x258]
mov rbx, qword [rsp + 0x298]
mov r15, qword [rsp + 0x240]
add rsp, 0x260
pop r12
pop rsi
pop rbp
ret