Function at 0x1400b0000
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push r12
sub rsp, 0x260
mov rbp, rcx
mov r12, r8
lea rcx, [0x1401372a8]
mov rsi, rdx
call fcn.140007380
test eax, eax
jne 0x1400b0053
lea r8, [0x1400fb87c]
lea rdx, str.Cant_open_clipboard_for_reading.
lea rcx, [0x140136640]
add rsp, 0x260
pop r12
pop rsi
pop rbp
jmp fcn.1400515e0
mov qword [rsp + 0x288], rbx
xor ecx, ecx
mov qword [rsp + 0x258], rdi
xor edi, edi
mov qword [rsp + 0x250], r13
mov qword [rsp + 0x248], r14
mov r14d, 4
mov qword [rsp + 0x240], r15
mov r13d, r14d
mov r15d, edi
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x1400b04cb
mov ebp, 0x4086
lea r12d, [rdi + 8]
cmp ebx, 0xe
ja 0x1400b00b2
bt ebp, ebx
jb 0x1400b01d5
cmp ebx, 0x8e
je 0x1400b01d5
cmp ebx, r15d
je 0x1400b01d5
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x1400b019a
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.1400d2a10
test eax, eax
je 0x1400b01d5
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x30]
call fcn.1400d0944
test eax, eax
je 0x1400b01d5
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x30]
call fcn.1400d0944
test eax, eax
je 0x1400b01d5
lea rdx, str.Native
lea rcx, [rsp + 0x30]
call fcn.1400d0944
test eax, eax
je 0x1400b01d5
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x30]
call fcn.1400d0944
test eax, eax
je 0x1400b01d5
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x30]
call fcn.1400d0944
test eax, eax
je 0x1400b0194
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x30]
call fcn.1400d0944
test eax, eax
jne 0x1400b019f
add r13, 0xc
jmp 0x1400b01d5
mov word [rsp + 0x30], di
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x1400b01d5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
add r13, 0xc
add r13, rax
test r15d, r15d
jne 0x1400b01d5
cmp ebx, r12d
jne 0x1400b01ce
mov r15d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x1400b01d5
cmp ebx, 0x11
cmove r15d, r12d
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x1400b00a4
mov rbp, qword [rsp + 0x280]
mov r12, qword [rsp + 0x290]
cmp r13, r14
je 0x1400b04cb
test rbp, rbp
je 0x1400b0232
mov r8, r13
mov byte [rsp + 0x20], dil
shr r8, 1
and r13d, 1
add r8, r13
mov r9b, 1
xor edx, edx
mov rcx, rbp
call fcn.1400b0830
test eax, eax
je 0x1400b0245
mov rdi, qword [rbp + 8]
mov r13, qword [rbp + 0x18]
jmp 0x1400b0240
mov rcx, r13
call fcn.1400d29a0
mov rdi, rax
mov qword [rsi], rax
test rdi, rdi
jne 0x1400b02aa
cmp dword [0x1401372d4], 0
je 0x1400b027f
cmp qword [0x1401372b8], 0
je 0x1400b026c
mov rcx, qword [0x1401372a8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x1401372b8], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x1401372d4], edi
mov qword [0x1401372a8], rdi
test rbp, rbp
je 0x1400b028b
xor eax, eax
jmp 0x1400b052c
lea r8, [0x1400fb87c]
lea rdx, str.Out_of_memory.
lea rcx, [0x140136640]
call fcn.1400515e0
jmp 0x1400b052c
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov esi, eax
test eax, eax
je 0x1400b0462
mov r12, qword [rsp + 0x298]
cmp esi, 0xe
ja 0x1400b02d7
mov eax, 0x4086
bt eax, esi
jb 0x1400b0440
cmp esi, 0x8e
je 0x1400b0440
cmp esi, r15d
je 0x1400b0440
lea eax, [rsi - 0xc000]
cmp eax, 0x3fff
ja 0x1400b03c5
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov ecx, esi
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.1400d2a10
test eax, eax
je 0x1400b0440
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x30]
call fcn.1400d0944
test eax, eax
je 0x1400b0440
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x30]
call fcn.1400d0944
test eax, eax
je 0x1400b0440
lea rdx, str.Native
lea rcx, [rsp + 0x30]
call fcn.1400d0944
test eax, eax
je 0x1400b0440
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x30]
call fcn.1400d0944
test eax, eax
je 0x1400b0440
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x30]
call fcn.1400d0944
test eax, eax
je 0x1400b03bd
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x30]
call fcn.1400d0944
test eax, eax
jne 0x1400b03cc
xor eax, eax
mov ebp, eax
mov ebx, eax
jmp 0x1400b03fe
xor eax, eax
mov word [rsp + 0x30], ax
mov ecx, esi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x1400b0440
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbx, rax
test rax, rax
je 0x1400b03fe
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r12, rax
test rax, rax
je 0x1400b0440
mov rcx, r14
add r14, 0xc
add r14, rbx
cmp r14, r13
jbe 0x1400b0417
mov r14, rcx
test rbx, rbx
je 0x1400b0440
jmp 0x1400b0437
mov dword [rdi], esi
mov qword [rdi + 4], rbx
add rdi, 0xc
test rbx, rbx
je 0x1400b0440
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call fcn.1400cfd20
add rdi, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, esi
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov esi, eax
test eax, eax
jne 0x1400b02c4
mov rbp, qword [rsp + 0x280]
mov r12, qword [rsp + 0x290]
cmp dword [0x1401372d4], 0
je 0x1400b04a2
cmp qword [0x1401372b8], 0
je 0x1400b048b
mov rcx, qword [0x1401372a8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
mov qword [0x1401372b8], rax
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x1401372d4], eax
mov qword [0x1401372a8], rax
jmp 0x1400b04a4
xor eax, eax
mov dword [rdi], eax
test rbp, rbp
je 0x1400b04c2
test r14b, 1
je 0x1400b04b8
mov byte [rdi + 4], 0
inc r14
or byte [rbp + 0x21], 1
mov qword [rbp + 0x10], r14
jmp 0x1400b0527
mov eax, r14d
mov qword [r12], rax
jmp 0x1400b0527
cmp dword [0x1401372d4], edi
je 0x1400b0503
cmp qword [0x1401372b8], rdi
je 0x1400b04f0
mov rcx, qword [0x1401372a8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x1401372b8], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x1401372d4], edi
mov qword [0x1401372a8], rdi
test rbp, rbp
je 0x1400b0520
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rbp
lea r8, [r9 - 1]
call fcn.1400b0830
jmp 0x1400b052c
mov qword [rsi], rdi
mov qword [r12], rdi
mov eax, 1
mov r14, qword [rsp + 0x248]
mov r13, qword [rsp + 0x250]
mov rdi, qword [rsp + 0x258]
mov rbx, qword [rsp + 0x288]
mov r15, qword [rsp + 0x240]
add rsp, 0x260
pop r12
pop rsi
pop rbp
ret