Function at 0x1400a0130
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 0x1400a0264
mov rax, qword [0x14011f188]
cmp dword [rax + 0x60], edi
jne 0x1400a01af
cmp dword [0x140127d30], edi
jne 0x1400a01af
cmp byte [0x140121a8a], dil
jne 0x1400a01af
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.140010840
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rsi, qword [0x140127cd0]
mov ecx, reloc.WSOCK32.dll_getservbyport
call fcn.1400b9e64
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.14000ed60
mov qword [rbx], rax
test rax, rax
je 0x1400a021d
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.14000f2b0
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rbx
call fcn.1400b9e5c
mov rax, qword [0x14011f188]
cmp qword [rax + 0x58], rdi
jne 0x1400a0253
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.1400a36c0
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 0x1400a06ab
mov r15d, 0x4086
lea r12d, [rbp + 4]
cmp ebx, 0xe
ja 0x1400a02c1
bt r15d, ebx
jb 0x1400a03e2
cmp ebx, 0x8e
je 0x1400a03e2
cmp ebx, r13d
je 0x1400a03e2
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x1400a03a8
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.1400c06f0
test eax, eax
je 0x1400a03e2
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x40]
call fcn.1400c0504
test eax, eax
je 0x1400a03e2
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x40]
call fcn.1400c0504
test eax, eax
je 0x1400a03e2
lea rdx, str.Native
lea rcx, [rsp + 0x40]
call fcn.1400c0504
test eax, eax
je 0x1400a03e2
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x40]
call fcn.1400c0504
test eax, eax
je 0x1400a03e2
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x40]
call fcn.1400c0504
test eax, eax
je 0x1400a03a3
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x40]
call fcn.1400c0504
test eax, eax
jne 0x1400a03ad
add rsi, r12
jmp 0x1400a03e2
mov word [rsp + 0x40], di
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x1400a03e2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
add rsi, r12
add rsi, rax
test r13d, r13d
jne 0x1400a03e2
cmp ebx, r12d
jne 0x1400a03db
mov r13d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x1400a03e2
cmp ebx, 0x11
cmove r13d, r12d
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x1400a02b2
mov r15, qword [rsp + 0x2a8]
mov qword [rsp + 0x2b0], rsi
cmp rsi, rbp
je 0x1400a06ab
test sil, 1
je 0x1400a041e
inc rsi
mov qword [rsp + 0x2b0], rsi
mov rcx, rsi
call fcn.1400c0694
mov qword [r14], rax
mov rsi, rax
test rax, rax
jne 0x1400a0498
cmp dword [0x140127e84], edi
je 0x1400a0469
cmp qword [0x140127e68], rdi
je 0x1400a0456
mov rcx, qword [0x140127e58]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140127e68], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140127e84], edi
mov qword [0x140127e58], 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.14000f840
jmp 0x1400a06e8
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x1400a066a
nop word [rax + rax]
mov r12, rbp
cmp ebx, 0xe
ja 0x1400a04c6
mov eax, 0x4086
bt eax, ebx
jb 0x1400a0650
cmp ebx, 0x8e
je 0x1400a0650
cmp ebx, r13d
je 0x1400a0650
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x1400a05e3
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.1400c06f0
test eax, eax
je 0x1400a0650
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x40]
call fcn.1400c0504
test eax, eax
je 0x1400a0650
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x40]
call fcn.1400c0504
test eax, eax
je 0x1400a0650
lea rdx, str.Native
lea rcx, [rsp + 0x40]
call fcn.1400c0504
test eax, eax
je 0x1400a0650
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x40]
call fcn.1400c0504
test eax, eax
je 0x1400a0650
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x40]
call fcn.1400c0504
test eax, eax
je 0x1400a05ac
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x40]
call fcn.1400c0504
test eax, eax
jne 0x1400a05e8
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 0x1400a0620
mov qword [rsp + 0x2a0], r12
test ebp, ebp
je 0x1400a0648
jmp 0x1400a063f
mov word [rsp + 0x40], di
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r15, rax
test rax, rax
je 0x1400a0650
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbp, rax
test eax, eax
je 0x1400a05b1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x2b8], rax
test rax, rax
je 0x1400a0648
jmp 0x1400a05b9
mov dword [rsi], ebx
mov qword [rsi + 4], r14
add rsi, 8
test ebp, ebp
je 0x1400a0648
mov r8, r14
mov rdx, rax
mov rcx, rsi
call fcn.1400bbc40
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 0x1400a04b0
mov r15, qword [rsp + 0x2a8]
cmp dword [0x140127e84], edi
je 0x1400a06a2
cmp qword [0x140127e68], rdi
je 0x1400a068f
mov rcx, qword [0x140127e58]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140127e68], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140127e84], edi
mov qword [0x140127e58], rdi
mov eax, ebp
mov qword [r15], rax
mov dword [rsi], edi
jmp 0x1400a06e3
cmp dword [0x140127e84], edi
je 0x1400a06e3
cmp qword [0x140127e68], rdi
je 0x1400a06d0
mov rcx, qword [0x140127e58]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140127e68], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140127e84], edi
mov qword [0x140127e58], 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