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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xf70
mov rax, qword [0x14016f6f8]
xor rax, rsp
mov qword [rsp + 0xf50], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
lea rdx, [rsp + 0x530]
mov r8d, 0x104
xor ecx, ecx
mov rbp, r9
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140057512
mov rax, 0xffffffffffffffff
jmp 0x1400577b1
xor edx, edx
lea rcx, [rsp + 0x640]
mov r8d, 0x904
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x530]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140057536
mov r8, rbx
lea rdx, [rsp + 0x530]
lea rcx, [rsp + 0x640]
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rsp + 0xfc0]
lea rcx, [rsp + 0x641]
add rcx, rbx
mov byte [rsp + rbx + 0x640], 0x20
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
movsxd rbp, dword [r14 + 0x3c]
add rbp, r14
cmp dword [rbp], 0x4550
je 0x140057594
mov eax, 0xfffffffe
jmp 0x1400577b1
mov qword [rsp + 0x48], rdi
lea rdx, [rsp + 0x640]
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov qword [rsp + 0xf68], r15
xor r8d, r8d
xor r15d, r15d
xor ecx, ecx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400575e6
lea eax, [r15 - 3]
jmp 0x1400577a9
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x90], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rdi]
test eax, eax
jne 0x14005762e
mov edx, 0xfffffffc
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffc
jmp 0x1400577a9
mov r8d, dword [rbp + 0x50]
mov r9d, 0x3000
mov rdx, qword [rbp + 0x30]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [rdi]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14005766c
mov edx, 0xfffffffb
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffb
jmp 0x1400577a9
mov r9d, dword [rbp + 0x54]
mov r8, r14
mov rdx, rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14005769d
mov rcx, qword [rdi]
mov edx, 0xfffffffa
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffa
jmp 0x1400577a9
mov rbx, r15
cmp r15w, word [rbp + 6]
jae 0x1400576f9
mov rsi, r15
nop word [rax + rax]
movsxd rax, dword [r14 + 0x3c]
mov rcx, qword [rdi]
add rax, rsi
mov qword [rsp + 0x20], r15
mov r8d, dword [rax + r14 + 0x11c]
mov edx, dword [rax + r14 + 0x114]
add r8, r14
add rdx, qword [rsp + 0x50]
mov r9d, dword [rax + r14 + 0x118]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140057737
movzx eax, word [rbp + 6]
inc rbx
add rsi, 0x28
cmp rbx, rax
jb 0x1400576b0
mov rdx, qword [rsp + 0xe8]
lea r8, [rsp + 0x50]
mov rcx, qword [rdi]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14005774c
mov rcx, qword [rdi]
mov edx, 0xfffffff8
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff8
jmp 0x1400577a9
mov rcx, qword [rdi]
mov edx, 0xfffffff9
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff9
jmp 0x1400577a9
mov eax, dword [rbp + 0x28]
lea rdx, [rsp + 0x60]
add rax, qword [rsp + 0x50]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x140057784
mov rcx, qword [rdi]
mov edx, 0xfffffff7
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff7
jmp 0x1400577a9
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x1400577a7
mov rcx, qword [rdi]
mov edx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff6
jmp 0x1400577a9
xor eax, eax
mov r15, qword [rsp + 0xf68]
mov rcx, qword [rsp + 0xf50]
xor rcx, rsp
call fcn.1400c1350
add rsp, 0xf70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret