Function at 0x14009e470
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.140007840
test eax, eax
jne 0x14009e5a9
mov rax, qword [0x14011c188]
cmp dword [rax + 0x60], edi
jne 0x14009e4f1
cmp dword [0x140124cb8], edi
jne 0x14009e4f1
cmp byte [0x14011ea7a], dil
jne 0x14009e4f1
mov qword [rsp + 0x28], rdi
lea r9, [0x1400f9b70]
lea r8d, [rdi + 9]
mov qword [rsp + 0x20], rdi
lea rdx, str.Cant_open_clipboard_for_reading.
lea rcx, [0x1401245b0]
call fcn.1400106f0
mov edi, eax
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rsi, qword [0x140124c60]
mov ecx, reloc.WSOCK32.dll_getservbyport
call fcn.1400b8374
xor r9d, r9d
mov qword [rsp + 0x2a8], rax
lea r8, [0x1400f9b70]
mov rcx, rsi
lea rdx, str.Cant_open_clipboard_for_reading.
mov rbx, rax
call fcn.14000ecc0
mov qword [rbx], rax
test rax, rax
je 0x14009e562
mov rdx, qword [0x14011c188]
mov r9d, 9
mov r8, rbx
mov dword [rbx + 0x10], 5
mov rcx, rsi
mov qword [rbx + 0x20], rdi
call fcn.14000f1d0
mov edi, eax
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rbx
call fcn.1400b836c
mov rax, qword [0x14011c188]
cmp qword [rax + 0x58], rdi
jne 0x14009e598
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.1400a1a40
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 0x14009e9eb
mov r15d, 0x4086
lea r12d, [rbp + 4]
cmp ebx, 0xe
ja 0x14009e606
bt r15d, ebx
jb 0x14009e723
cmp ebx, 0x8e
je 0x14009e723
cmp ebx, r13d
je 0x14009e723
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x14009e6e9
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.1400bec00
test eax, eax
je 0x14009e723
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x40]
call fcn.1400bea20
test eax, eax
je 0x14009e723
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x40]
call fcn.1400bea20
test eax, eax
je 0x14009e723
lea rdx, str.Native
lea rcx, [rsp + 0x40]
call fcn.1400bea20
test eax, eax
je 0x14009e723
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x40]
call fcn.1400bea20
test eax, eax
je 0x14009e723
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x40]
call fcn.1400bea20
test eax, eax
je 0x14009e6e4
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x40]
call fcn.1400bea20
test eax, eax
jne 0x14009e6ee
add rsi, r12
jmp 0x14009e723
mov word [rsp + 0x40], di
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x14009e723
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
add rsi, r12
add rsi, rax
test r13d, r13d
jne 0x14009e723
cmp ebx, r12d
jne 0x14009e71c
mov r13d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x14009e723
cmp ebx, 0x11
cmove r13d, r12d
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x14009e5f7
mov r15, qword [rsp + 0x2a8]
mov qword [rsp + 0x2b0], rsi
cmp rsi, rbp
je 0x14009e9eb
test sil, 1
je 0x14009e75f
inc rsi
mov qword [rsp + 0x2b0], rsi
mov rcx, rsi
call fcn.1400beba4
mov qword [r14], rax
mov rsi, rax
test rax, rax
jne 0x14009e7d9
cmp dword [0x140124e0c], edi
je 0x14009e7aa
cmp qword [0x140124df0], rdi
je 0x14009e797
mov rcx, qword [0x140124de0]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140124df0], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140124e0c], edi
mov qword [0x140124de0], rdi
mov rax, qword [0x140124438]
lea rdx, str.Out_of_memory.
mov qword [rsp + 0x28], rax
lea rcx, [0x1401245b0]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call fcn.14000f6f0
jmp 0x14009ea28
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x14009e9aa
nop dword [rax + rax]
mov r12, rbp
cmp ebx, 0xe
ja 0x14009e806
mov eax, 0x4086
bt eax, ebx
jb 0x14009e990
cmp ebx, 0x8e
je 0x14009e990
cmp ebx, r13d
je 0x14009e990
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x14009e923
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.1400bec00
test eax, eax
je 0x14009e990
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x40]
call fcn.1400bea20
test eax, eax
je 0x14009e990
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x40]
call fcn.1400bea20
test eax, eax
je 0x14009e990
lea rdx, str.Native
lea rcx, [rsp + 0x40]
call fcn.1400bea20
test eax, eax
je 0x14009e990
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x40]
call fcn.1400bea20
test eax, eax
je 0x14009e990
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x40]
call fcn.1400bea20
test eax, eax
je 0x14009e8ec
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x40]
call fcn.1400bea20
test eax, eax
jne 0x14009e928
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 0x14009e960
mov qword [rsp + 0x2a0], r12
test ebp, ebp
je 0x14009e988
jmp 0x14009e97f
mov word [rsp + 0x40], di
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r15, rax
test rax, rax
je 0x14009e990
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbp, rax
test eax, eax
je 0x14009e8f1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x2b8], rax
test rax, rax
je 0x14009e988
jmp 0x14009e8f9
mov dword [rsi], ebx
mov qword [rsi + 4], r14
add rsi, 8
test ebp, ebp
je 0x14009e988
mov r8, r14
mov rdx, rax
mov rcx, rsi
call fcn.1400ba140
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 0x14009e7f0
mov r15, qword [rsp + 0x2a8]
cmp dword [0x140124e0c], edi
je 0x14009e9e2
cmp qword [0x140124df0], rdi
je 0x14009e9cf
mov rcx, qword [0x140124de0]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140124df0], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140124e0c], edi
mov qword [0x140124de0], rdi
mov eax, ebp
mov qword [r15], rax
mov dword [rsi], edi
jmp 0x14009ea23
cmp dword [0x140124e0c], edi
je 0x14009ea23
cmp qword [0x140124df0], rdi
je 0x14009ea10
mov rcx, qword [0x140124de0]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140124df0], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140124e0c], edi
mov qword [0x140124de0], 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