Function at 0x1400a05c0
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 0x1400a06f4
mov rax, qword [0x14011f188]
cmp dword [rax + 0x60], edi
jne 0x1400a063f
cmp dword [0x140127d38], edi
jne 0x1400a063f
cmp byte [0x140121a8a], dil
jne 0x1400a063f
mov qword [rsp + 0x28], rdi
lea r9, [0x1400fbbd0]
lea r8d, [rdi + 9]
mov qword [rsp + 0x20], rdi
lea rdx, [0x1400fdcd0]
lea rcx, [0x140127620]
call fcn.140010840
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.1400ba174
xor r9d, r9d
mov qword [rsp + 0x2a8], rax
lea r8, [0x1400fbbd0]
mov rcx, rsi
lea rdx, [0x1400fdcd0]
mov rbx, rax
call fcn.14000ed60
mov qword [rbx], rax
test rax, rax
je 0x1400a06ad
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.1400ba16c
mov rax, qword [0x14011f188]
cmp qword [rax + 0x58], rdi
jne 0x1400a06e3
xorps xmm3, xmm3
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea rcx, [0x1400ff430]
mov edx, 0x10000
call fcn.1400a3a00
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 0x1400a0b3b
mov r15d, 0x4086
lea r12d, [rbp + 4]
cmp ebx, 0xe
ja 0x1400a0751
bt r15d, ebx
jb 0x1400a0872
cmp ebx, 0x8e
je 0x1400a0872
cmp ebx, r13d
je 0x1400a0872
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x1400a0838
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, [0x1400fde10]
lea rcx, [rsp + 0x40]
call fcn.1400c0a00
test eax, eax
je 0x1400a0872
lea rdx, [0x1400fde28]
lea rcx, [rsp + 0x40]
call fcn.1400c0814
test eax, eax
je 0x1400a0872
lea rdx, [0x1400fde40]
lea rcx, [rsp + 0x40]
call fcn.1400c0814
test eax, eax
je 0x1400a0872
lea rdx, [0x1400fde58]
lea rcx, [rsp + 0x40]
call fcn.1400c0814
test eax, eax
je 0x1400a0872
lea rdx, [0x1400fde68]
lea rcx, [rsp + 0x40]
call fcn.1400c0814
test eax, eax
je 0x1400a0872
lea rdx, [0x1400fde88]
lea rcx, [rsp + 0x40]
call fcn.1400c0814
test eax, eax
je 0x1400a0833
lea rdx, [0x1400fdeb0]
lea rcx, [rsp + 0x40]
call fcn.1400c0814
test eax, eax
jne 0x1400a083d
add rsi, r12
jmp 0x1400a0872
mov word [rsp + 0x40], di
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x1400a0872
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
add rsi, r12
add rsi, rax
test r13d, r13d
jne 0x1400a0872
cmp ebx, r12d
jne 0x1400a086b
mov r13d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x1400a0872
cmp ebx, 0x11
cmove r13d, r12d
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x1400a0742
mov r15, qword [rsp + 0x2a8]
mov qword [rsp + 0x2b0], rsi
cmp rsi, rbp
je 0x1400a0b3b
test sil, 1
je 0x1400a08ae
inc rsi
mov qword [rsp + 0x2b0], rsi
mov rcx, rsi
call fcn.1400c09a4
mov qword [r14], rax
mov rsi, rax
test rax, rax
jne 0x1400a0928
cmp dword [0x140127e8c], edi
je 0x1400a08f9
cmp qword [0x140127e70], rdi
je 0x1400a08e6
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, [0x1400ffa10]
mov qword [rsp + 0x28], rax
lea rcx, [0x140127620]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call fcn.14000f840
jmp 0x1400a0b78
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x1400a0afa
nop word [rax + rax]
mov r12, rbp
cmp ebx, 0xe
ja 0x1400a0956
mov eax, 0x4086
bt eax, ebx
jb 0x1400a0ae0
cmp ebx, 0x8e
je 0x1400a0ae0
cmp ebx, r13d
je 0x1400a0ae0
lea eax, [rbx - 0xc000]
cmp eax, 0x3fff
ja 0x1400a0a73
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, [0x1400fde10]
lea rcx, [rsp + 0x40]
call fcn.1400c0a00
test eax, eax
je 0x1400a0ae0
lea rdx, [0x1400fde28]
lea rcx, [rsp + 0x40]
call fcn.1400c0814
test eax, eax
je 0x1400a0ae0
lea rdx, [0x1400fde40]
lea rcx, [rsp + 0x40]
call fcn.1400c0814
test eax, eax
je 0x1400a0ae0
lea rdx, [0x1400fde58]
lea rcx, [rsp + 0x40]
call fcn.1400c0814
test eax, eax
je 0x1400a0ae0
lea rdx, [0x1400fde68]
lea rcx, [rsp + 0x40]
call fcn.1400c0814
test eax, eax
je 0x1400a0ae0
lea rdx, [0x1400fde88]
lea rcx, [rsp + 0x40]
call fcn.1400c0814
test eax, eax
je 0x1400a0a3c
lea rdx, [0x1400fdeb0]
lea rcx, [rsp + 0x40]
call fcn.1400c0814
test eax, eax
jne 0x1400a0a78
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 0x1400a0ab0
mov qword [rsp + 0x2a0], r12
test ebp, ebp
je 0x1400a0ad8
jmp 0x1400a0acf
mov word [rsp + 0x40], di
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r15, rax
test rax, rax
je 0x1400a0ae0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbp, rax
test eax, eax
je 0x1400a0a41
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x2b8], rax
test rax, rax
je 0x1400a0ad8
jmp 0x1400a0a49
mov dword [rsi], ebx
mov qword [rsi + 4], r14
add rsi, 8
test ebp, ebp
je 0x1400a0ad8
mov r8, r14
mov rdx, rax
mov rcx, rsi
call fcn.1400bbf50
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 0x1400a0940
mov r15, qword [rsp + 0x2a8]
cmp dword [0x140127e8c], edi
je 0x1400a0b32
cmp qword [0x140127e70], rdi
je 0x1400a0b1f
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 0x1400a0b73
cmp dword [0x140127e8c], edi
je 0x1400a0b73
cmp qword [0x140127e70], rdi
je 0x1400a0b60
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