Function at 0x140007090
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rcx, qword [0x140124df8]
mov rbx, r8
mov rsi, rdx
test rcx, rcx
jne 0x140007142
xor edi, edi
test rdx, rdx
je 0x14000729b
mov eax, 0xffffffff
cmp rbx, rax
jne 0x1400070e2
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], di
jne 0x1400070d7
mov ebx, eax
test rbx, rbx
je 0x14000729b
lea r14, [rbx + 1]
test r14, r14
je 0x140007142
test rcx, rcx
jne 0x14000727f
lea rdx, [r14 + r14]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [0x140124de8], rax
test rax, rax
jne 0x14000715a
mov rax, qword [0x140124438]
lea rdx, [0x1400fd9b0]
mov qword [rsp + 0x28], rax
lea rcx, [0x1401245b0]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call fcn.14000f6f0
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [0x140124df8], rax
test rax, rax
jne 0x14000726e
mov rcx, qword [0x140124de8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [0x140124de8], rax
mov rax, qword [0x14011c188]
cmp dword [rax + 0x60], edi
jne 0x1400071d0
cmp dword [0x140124cb8], edi
jne 0x1400071d0
cmp byte [0x14011ea7a], dil
jne 0x1400071d0
mov qword [rsp + 0x28], rdi
lea r9, [0x1400f9b70]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [0x1400fbcd0]
lea rcx, [0x1401245b0]
call fcn.1400106f0
jmp 0x140007142
mov rsi, qword [0x140124c60]
mov ecx, reloc.WSOCK32.dll_getservbyport
call fcn.1400b8374
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea r8, [0x1400f9b70]
mov rcx, rsi
lea rdx, [0x1400fbcd0]
mov rbx, rax
call fcn.14000ecc0
mov qword [rbx], rax
test rax, rax
je 0x14000722f
mov rdx, qword [0x14011c188]
xor r9d, r9d
mov r8, rbx
mov dword [rbx + 0x10], 5
mov rcx, rsi
mov qword [rbx + 0x20], rdi
call fcn.14000f1d0
jmp 0x140007142
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rbx
call fcn.1400b836c
mov rax, qword [0x14011c188]
cmp qword [rax + 0x58], rdi
jne 0x140007142
xorps xmm3, xmm3
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea rcx, [0x1400fd3d0]
mov edx, 0x10000
call fcn.1400a1a40
jmp 0x140007142
mov dword [0x140124e08], r14d
mov word [rax], di
mov rcx, qword [0x140124df8]
mov r14, rcx
test rcx, rcx
je 0x140007142
mov r8, rbx
mov rdx, rsi
call fcn.1400cd4c4
mov word [r14 + rbx*2], di
cmp dword [0x140124e0c], edi
jne 0x1400072bd
call fcn.140007840
test eax, eax
jne 0x1400072bd
lea rdx, [0x1400fbd20]
call fcn.140007410
jmp 0x140007144
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x140007310
cmp dword [0x140124e0c], edi
je 0x1400072ff
cmp qword [0x140124df0], rdi
je 0x1400072ec
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
lea rdx, [0x1400fbd68]
call fcn.140007410
jmp 0x140007144
mov rdx, qword [0x140124de8]
test rdx, rdx
je 0x14000735a
mov rax, qword [0x140124df8]
test rax, rax
je 0x1400073a3
movzx ebx, word [rax]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140124df8], rdi
mov dword [0x140124e08], edi
test bx, bx
jne 0x14000739c
mov rcx, qword [0x140124de8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [0x140124de8], rax
cmp dword [0x140124e0c], edi
je 0x140007392
cmp qword [0x140124df0], rdi
je 0x14000737f
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
jmp 0x140007144
mov rdx, qword [0x140124de8]
mov ecx, recv
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x1400073bc
mov qword [0x140124de8], rdi
jmp 0x14000735a
cmp dword [0x140124e0c], edi
je 0x1400073f4
cmp qword [0x140124df0], rdi
je 0x1400073e1
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
lea rdx, [0x1400fbd88]
call fcn.140007410
jmp 0x140007144