Function at 0x14009dbc0
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.140007820
test eax, eax
jne 0x14009dcf9
mov rax, qword [0x14011c188]
cmp dword [rax + 0x60], edi
jne 0x14009dc41
cmp dword [0x140124c38], edi
jne 0x14009dc41
cmp byte [0x14011ea7a], dil
jne 0x14009dc41
mov qword [rsp + 0x28], rdi
lea r9, [0x1400f9b50]
lea r8d, [rdi + 9]
mov qword [rsp + 0x20], rdi
lea rdx, str.Cant_open_clipboard_for_reading.
lea rcx, [0x140124530]
call fcn.1400106c0
mov edi, eax
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rsi, qword [0x140124be0]
mov ecx, reloc.WSOCK32.dll_getservbyport
call fcn.1400b7ac4
xor r9d, r9d
mov qword [rsp + 0x2a8], rax
lea r8, [0x1400f9b50]
mov rcx, rsi
lea rdx, str.Cant_open_clipboard_for_reading.
mov rbx, rax
call fcn.14000eca0
mov qword [rbx], rax
test rax, rax
je 0x14009dcb2
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.14000f1b0
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.1400b7abc
mov rax, qword [0x14011c188]
cmp qword [rax + 0x58], rdi
jne 0x14009dce8
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.1400a1190
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 0x14009e13b
mov r15d, 0x4086
lea r12d, [rbp + 4]
cmp ebx, 0xe
ja 0x14009dd56
bt r15d, ebx
jb 0x14009de73
cmp ebx, 0x8e
je 0x14009de73
cmp ebx, r13d
je 0x14009de73
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x14009de39
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.1400be350
test eax, eax
je 0x14009de73
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x40]
call fcn.1400be170
test eax, eax
je 0x14009de73
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x40]
call fcn.1400be170
test eax, eax
je 0x14009de73
lea rdx, str.Native
lea rcx, [rsp + 0x40]
call fcn.1400be170
test eax, eax
je 0x14009de73
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x40]
call fcn.1400be170
test eax, eax
je 0x14009de73
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x40]
call fcn.1400be170
test eax, eax
je 0x14009de34
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x40]
call fcn.1400be170
test eax, eax
jne 0x14009de3e
add rsi, r12
jmp 0x14009de73
mov word [rsp + 0x40], di
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x14009de73
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
add rsi, r12
add rsi, rax
test r13d, r13d
jne 0x14009de73
cmp ebx, r12d
jne 0x14009de6c
mov r13d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x14009de73
cmp ebx, 0x11
cmove r13d, r12d
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x14009dd47
mov r15, qword [rsp + 0x2a8]
mov qword [rsp + 0x2b0], rsi
cmp rsi, rbp
je 0x14009e13b
test sil, 1
je 0x14009deaf
inc rsi
mov qword [rsp + 0x2b0], rsi
mov rcx, rsi
call fcn.1400be2f4
mov qword [r14], rax
mov rsi, rax
test rax, rax
jne 0x14009df29
cmp dword [0x140124d8c], edi
je 0x14009defa
cmp qword [0x140124d70], rdi
je 0x14009dee7
mov rcx, qword [0x140124d60]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140124d70], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140124d8c], edi
mov qword [0x140124d60], rdi
mov rax, qword [0x1401243b8]
lea rdx, str.Out_of_memory.
mov qword [rsp + 0x28], rax
lea rcx, [0x140124530]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call fcn.14000f6d0
jmp 0x14009e178
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x14009e0fa
nop dword [rax + rax]
mov r12, rbp
cmp ebx, 0xe
ja 0x14009df56
mov eax, 0x4086
bt eax, ebx
jb 0x14009e0e0
cmp ebx, 0x8e
je 0x14009e0e0
cmp ebx, r13d
je 0x14009e0e0
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x14009e073
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.1400be350
test eax, eax
je 0x14009e0e0
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x40]
call fcn.1400be170
test eax, eax
je 0x14009e0e0
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x40]
call fcn.1400be170
test eax, eax
je 0x14009e0e0
lea rdx, str.Native
lea rcx, [rsp + 0x40]
call fcn.1400be170
test eax, eax
je 0x14009e0e0
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x40]
call fcn.1400be170
test eax, eax
je 0x14009e0e0
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x40]
call fcn.1400be170
test eax, eax
je 0x14009e03c
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x40]
call fcn.1400be170
test eax, eax
jne 0x14009e078
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 0x14009e0b0
mov qword [rsp + 0x2a0], r12
test ebp, ebp
je 0x14009e0d8
jmp 0x14009e0cf
mov word [rsp + 0x40], di
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r15, rax
test rax, rax
je 0x14009e0e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbp, rax
test eax, eax
je 0x14009e041
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x2b8], rax
test rax, rax
je 0x14009e0d8
jmp 0x14009e049
mov dword [rsi], ebx
mov qword [rsi + 4], r14
add rsi, 8
test ebp, ebp
je 0x14009e0d8
mov r8, r14
mov rdx, rax
mov rcx, rsi
call fcn.1400b9890
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 0x14009df40
mov r15, qword [rsp + 0x2a8]
cmp dword [0x140124d8c], edi
je 0x14009e132
cmp qword [0x140124d70], rdi
je 0x14009e11f
mov rcx, qword [0x140124d60]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140124d70], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140124d8c], edi
mov qword [0x140124d60], rdi
mov eax, ebp
mov qword [r15], rax
mov dword [rsi], edi
jmp 0x14009e173
cmp dword [0x140124d8c], edi
je 0x14009e173
cmp qword [0x140124d70], rdi
je 0x14009e160
mov rcx, qword [0x140124d60]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140124d70], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140124d8c], edi
mov qword [0x140124d60], 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