Function at 0x14001a080
Capabilities:
Accept command line arguments
Send data
Send data on socket
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r13, r9
mov r15, r8
mov r12, rdx
movsxd rsi, ecx
call fcn.1400183e0
mov ecx, 0x18
mov rdi, rax
call qword [fcn.140085e1c]
xor r14d, r14d
mov rbx, rax
test rax, rax
jne 0x14001a0cb
mov ebx, r14d
jmp 0x14001a0dd
mov dword [rax], 3
mov qword [rax + 8], 1
mov qword [rax + 0x10], rsi
lea rcx, [0x1400d6ee0]
mov edx, 2
call fcn.140018330
test eax, eax
je 0x14001a106
lea rdx, [0x1400d6ee0]
mov r8, rbx
mov rcx, rdi
call fcn.140018450
jmp 0x14001a126
test rbx, rbx
je 0x14001a126
mov rax, qword [rbx + 8]
cmp rax, 0xffffffffffffffff
je 0x14001a126
dec rax
mov qword [rbx + 8], rax
jne 0x14001a126
mov rcx, rbx
call fcn.140018960
lea rcx, str.error
mov edx, 5
call fcn.140018330
test eax, eax
je 0x14001a192
lea rbx, reloc.WS2_32.dll_getsockopt
test rdi, rdi
je 0x14001a174
cmp dword [rdi], r14d
jne 0x14001a174
cmp rdi, rbx
je 0x14001a174
mov r8, qword [rdi + 0x38]
lea rcx, [rdi + 0x10]
lea rdx, str.error
lea rax, [r8 + 1]
mov r9, rbx
mov qword [rdi + 0x38], rax
call fcn.1400165e0
test eax, eax
je 0x14001a1b7
mov rax, qword [0x140107b30]
cmp rax, 0xffffffffffffffff
je 0x14001a1b7
dec rax
mov qword [0x140107b30], rax
jne 0x14001a1b7
mov rcx, rbx
jmp 0x14001a1b2
mov rax, qword [0x140107b30]
cmp rax, 0xffffffffffffffff
je 0x14001a1b7
dec rax
mov qword [0x140107b30], rax
jne 0x14001a1b7
lea rcx, reloc.WS2_32.dll_getsockopt
call fcn.140018960
lea rcx, str.result
mov edx, 6
call fcn.140018330
test eax, eax
je 0x14001a223
lea rbx, [0x140107b38]
test rdi, rdi
je 0x14001a205
cmp dword [rdi], r14d
jne 0x14001a205
cmp rdi, rbx
je 0x14001a205
mov r8, qword [rdi + 0x38]
lea rcx, [rdi + 0x10]
lea rdx, str.result
lea rax, [r8 + 1]
mov r9, rbx
mov qword [rdi + 0x38], rax
call fcn.1400165e0
test eax, eax
je 0x14001a248
mov rax, qword [0x140107b40]
cmp rax, 0xffffffffffffffff
je 0x14001a248
dec rax
mov qword [0x140107b40], rax
jne 0x14001a248
mov rcx, rbx
jmp 0x14001a243
mov rax, qword [0x140107b40]
cmp rax, 0xffffffffffffffff
je 0x14001a248
dec rax
mov qword [0x140107b40], rax
jne 0x14001a248
lea rcx, [0x140107b38]
call fcn.140018960
mov rcx, rdi
call fcn.140015fc0
or rsi, 0xffffffffffffffff
mov rbp, rax
inc rsi
cmp byte [rsi + rax], r14b
jne 0x14001a257
movsxd rbx, dword [r15]
movsxd r8, esi
mov rdx, rax
lea rcx, [r12 + rbx]
call fcn.140084c70
lea eax, [rbx + rsi]
mov dword [r15], eax
test rdi, rdi
je 0x14001a298
mov rax, qword [rdi + 8]
cmp rax, 0xffffffffffffffff
je 0x14001a298
dec rax
mov qword [rdi + 8], rax
jne 0x14001a298
mov rcx, rdi
call fcn.140018960
mov rcx, rbp
call fcn.140085b44
mov r8d, dword [r15]
xor r9d, r9d
mov rdx, r12
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
mov rcx, r13
mov dword [r15], r14d
mov dword [0x14012f8f4], 1
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [0x140107c10]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, str.Remote_management_required_restart_n
xor ecx, ecx
mov qword [0x140107c10], 0xffffffffffffffff
call fcn.140014e30
cmp byte [rsp + 0x70], r14b
setne r14b
mov dword [0x14012f7fc], r14d
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.140035370