Function at 0x140019d40
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.1400183d0
mov ecx, 0x18
mov rdi, rax
call qword [str.Y_b_]
xor r14d, r14d
mov rbx, rax
test rax, rax
jne 0x140019d8b
mov ebx, r14d
jmp 0x140019d9d
mov dword [rax], 3
mov qword [rax + 8], 1
mov qword [rax + 0x10], rsi
lea rcx, [0x1400d6e94]
mov edx, 2
call fcn.140018320
test eax, eax
je 0x140019dc6
lea rdx, [0x1400d6e94]
mov r8, rbx
mov rcx, rdi
call fcn.140018440
jmp 0x140019de6
test rbx, rbx
je 0x140019de6
mov rax, qword [rbx + 8]
cmp rax, 0xffffffffffffffff
je 0x140019de6
dec rax
mov qword [rbx + 8], rax
jne 0x140019de6
mov rcx, rbx
call fcn.140018950
lea rcx, str.error
mov edx, 5
call fcn.140018320
test eax, eax
je 0x140019e52
lea rbx, reloc.WS2_32.dll_getsockopt
test rdi, rdi
je 0x140019e34
cmp dword [rdi], r14d
jne 0x140019e34
cmp rdi, rbx
je 0x140019e34
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.1400165d0
test eax, eax
je 0x140019e77
mov rax, qword [0x140107b30]
cmp rax, 0xffffffffffffffff
je 0x140019e77
dec rax
mov qword [0x140107b30], rax
jne 0x140019e77
mov rcx, rbx
jmp 0x140019e72
mov rax, qword [0x140107b30]
cmp rax, 0xffffffffffffffff
je 0x140019e77
dec rax
mov qword [0x140107b30], rax
jne 0x140019e77
lea rcx, reloc.WS2_32.dll_getsockopt
call fcn.140018950
lea rcx, str.result
mov edx, 6
call fcn.140018320
test eax, eax
je 0x140019ee3
lea rbx, [0x140107b38]
test rdi, rdi
je 0x140019ec5
cmp dword [rdi], r14d
jne 0x140019ec5
cmp rdi, rbx
je 0x140019ec5
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.1400165d0
test eax, eax
je 0x140019f08
mov rax, qword [0x140107b40]
cmp rax, 0xffffffffffffffff
je 0x140019f08
dec rax
mov qword [0x140107b40], rax
jne 0x140019f08
mov rcx, rbx
jmp 0x140019f03
mov rax, qword [0x140107b40]
cmp rax, 0xffffffffffffffff
je 0x140019f08
dec rax
mov qword [0x140107b40], rax
jne 0x140019f08
lea rcx, [0x140107b38]
call fcn.140018950
mov rcx, rdi
call fcn.140015fb0
or rsi, 0xffffffffffffffff
mov rbp, rax
inc rsi
cmp byte [rsi + rax], r14b
jne 0x140019f17
movsxd rbx, dword [r15]
movsxd r8, esi
mov rdx, rax
lea rcx, [r12 + rbx]
call fcn.1400847d0
lea eax, [rbx + rsi]
mov dword [r15], eax
test rdi, rdi
je 0x140019f58
mov rax, qword [rdi + 8]
cmp rax, 0xffffffffffffffff
je 0x140019f58
dec rax
mov qword [rdi + 8], rax
jne 0x140019f58
mov rcx, rdi
call fcn.140018950
mov rcx, rbp
call fcn.1400856a4
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 [0x14012f8ec], 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 [0x14012f8bc], 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.140034ed0