Function at 0x1400a0080
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x270
xor edi, edi
mov r14, rcx
mov qword [rcx], rdi
mov qword [rdx], rdi
call fcn.140007870
test eax, eax
jne 0x1400a01b4
mov rax, qword [0x14011f188]
cmp dword [rax + 0x60], edi
jne 0x1400a00ff
cmp dword [0x140127d38], edi
jne 0x1400a00ff
cmp byte [0x140121a8a], dil
jne 0x1400a00ff
mov qword [rsp + 0x28], rdi
lea r9, [0x1400fbbd0]
lea r8d, [rdi + 9]
mov qword [rsp + 0x20], rdi
lea rdx, str.Cant_open_clipboard_for_reading.
lea rcx, [0x140127620]
call fcn.140010850
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rsi, qword [0x140127cd8]
mov ecx, reloc.WSOCK32.dll_getservbyport
call fcn.1400b9c34
xor r9d, r9d
mov qword [rsp + 0x2a8], rax
lea r8, [0x1400fbbd0]
mov rcx, rsi
lea rdx, str.Cant_open_clipboard_for_reading.
mov rbx, rax
call fcn.14000ed70
mov qword [rbx], rax
test rax, rax
je 0x1400a016d
mov rdx, qword [0x14011f188]
mov r9d, 9
mov r8, rbx
mov dword [rbx + 0x10], 5
mov rcx, rsi
mov qword [rbx + 0x20], rdi
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbx
jmp fcn.14000f2c0
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rbx
call fcn.1400b9c2c
mov rax, qword [0x14011f188]
cmp qword [rax + 0x58], rdi
jne 0x1400a01a3
xorps xmm3, xmm3
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea rcx, str.Out_of_memory.__The_current_thread_will_exit.
mov edx, 0x10000
call fcn.1400a34c0
mov eax, edi
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x268], rbp
xor ecx, ecx
mov ebp, 4
mov qword [rsp + 0x260], r12
mov qword [rsp + 0x258], r13
mov esi, ebp
mov r13d, edi
mov qword [rsp + 0x2a0], rbp
mov qword [rsp + 0x2b0], rbp
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x1400a05fb
mov r15d, 0x4086
lea r12d, [rbp + 4]
cmp ebx, 0xe
ja 0x1400a0211
bt r15d, ebx
jb 0x1400a0332
cmp ebx, 0x8e
je 0x1400a0332
cmp ebx, r13d
je 0x1400a0332
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x1400a02f8
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 fcn.1400c04c0
test eax, eax
je 0x1400a0332
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x40]
call fcn.1400c02d4
test eax, eax
je 0x1400a0332
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x40]
call fcn.1400c02d4
test eax, eax
je 0x1400a0332
lea rdx, str.Native
lea rcx, [rsp + 0x40]
call fcn.1400c02d4
test eax, eax
je 0x1400a0332
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x40]
call fcn.1400c02d4
test eax, eax
je 0x1400a0332
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x40]
call fcn.1400c02d4
test eax, eax
je 0x1400a02f3
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x40]
call fcn.1400c02d4
test eax, eax
jne 0x1400a02fd
add rsi, r12
jmp 0x1400a0332
mov word [rsp + 0x40], di
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x1400a0332
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
add rsi, r12
add rsi, rax
test r13d, r13d
jne 0x1400a0332
cmp ebx, r12d
jne 0x1400a032b
mov r13d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x1400a0332
cmp ebx, 0x11
cmove r13d, r12d
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x1400a0202
mov r15, qword [rsp + 0x2a8]
mov qword [rsp + 0x2b0], rsi
cmp rsi, rbp
je 0x1400a05fb
test sil, 1
je 0x1400a036e
inc rsi
mov qword [rsp + 0x2b0], rsi
mov rcx, rsi
call fcn.1400c0464
mov qword [r14], rax
mov rsi, rax
test rax, rax
jne 0x1400a03e8
cmp dword [0x140127e8c], edi
je 0x1400a03b9
cmp qword [0x140127e70], rdi
je 0x1400a03a6
mov rcx, qword [0x140127e60]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140127e70], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140127e8c], edi
mov qword [0x140127e60], rdi
mov rax, qword [0x140127498]
lea rdx, str.Out_of_memory.
mov qword [rsp + 0x28], rax
lea rcx, [0x140127620]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call fcn.14000f850
jmp 0x1400a0638
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x1400a05ba
nop word [rax + rax]
mov r12, rbp
cmp ebx, 0xe
ja 0x1400a0416
mov eax, 0x4086
bt eax, ebx
jb 0x1400a05a0
cmp ebx, 0x8e
je 0x1400a05a0
cmp ebx, r13d
je 0x1400a05a0
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x1400a0533
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 fcn.1400c04c0
test eax, eax
je 0x1400a05a0
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x40]
call fcn.1400c02d4
test eax, eax
je 0x1400a05a0
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x40]
call fcn.1400c02d4
test eax, eax
je 0x1400a05a0
lea rdx, str.Native
lea rcx, [rsp + 0x40]
call fcn.1400c02d4
test eax, eax
je 0x1400a05a0
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x40]
call fcn.1400c02d4
test eax, eax
je 0x1400a05a0
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x40]
call fcn.1400c02d4
test eax, eax
je 0x1400a04fc
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x40]
call fcn.1400c02d4
test eax, eax
jne 0x1400a0538
mov r15, rdi
mov ebp, edi
mov rax, qword [rsp + 0x2b8]
mov r14d, ebp
lea rcx, [r14 + 8]
add rcx, r12
mov qword [rsp + 0x2a0], rcx
cmp rcx, qword [rsp + 0x2b0]
jbe 0x1400a0570
mov qword [rsp + 0x2a0], r12
test ebp, ebp
je 0x1400a0598
jmp 0x1400a058f
mov word [rsp + 0x40], di
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r15, rax
test rax, rax
je 0x1400a05a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbp, rax
test eax, eax
je 0x1400a0501
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x2b8], rax
test rax, rax
je 0x1400a0598
jmp 0x1400a0509
mov dword [rsi], ebx
mov qword [rsi + 4], r14
add rsi, 8
test ebp, ebp
je 0x1400a0598
mov r8, r14
mov rdx, rax
mov rcx, rsi
call fcn.1400bba10
add rsi, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rbp, qword [rsp + 0x2a0]
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x1400a0400
mov r15, qword [rsp + 0x2a8]
cmp dword [0x140127e8c], edi
je 0x1400a05f2
cmp qword [0x140127e70], rdi
je 0x1400a05df
mov rcx, qword [0x140127e60]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140127e70], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140127e8c], edi
mov qword [0x140127e60], rdi
mov eax, ebp
mov qword [r15], rax
mov dword [rsi], edi
jmp 0x1400a0633
cmp dword [0x140127e8c], edi
je 0x1400a0633
cmp qword [0x140127e70], rdi
je 0x1400a0620
mov rcx, qword [0x140127e60]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140127e70], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140127e8c], edi
mov qword [0x140127e60], rdi
mov eax, 1
mov r12, qword [rsp + 0x260]
mov rbp, qword [rsp + 0x268]
mov r13, qword [rsp + 0x258]
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret