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

Disassembly:
jmp 0x140011820
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x2068
call fcn.1400110b4
sub rsp, rax
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x686
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2088]
mov rax, qword [0x14001e540]
xor rax, rbp
mov qword [rbp + 0x2008], rax
lea rcx, [0x14002409f]
call fcn.1400113a2
mov r8d, 0x208
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14001189e
mov eax, 0xffffffff
jmp 0x140011c96
mov r8d, 0x1208
xor edx, edx
lea rcx, [rbp + 0x240]
call fcn.1400112e4
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
mov qword [rbp + 0x1468], rax
mov rax, qword [rbp + 0x1468]
add rax, rax
mov r8, rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x240]
call fcn.1400111c2
mov eax, 0x20
mov rcx, qword [rbp + 0x1468]
mov word [rbp + rcx*2 + 0x240], ax
mov rax, qword [rbp + 0x1468]
lea rax, [rbp + rax*2 + 0x242]
mov r8, qword [rbp + 0x2050]
mov rdx, qword [rbp + 0x2048]
mov rcx, rax
call fcn.1400111c2
mov rax, qword [rbp + 0x2040]
mov qword [rbp + 0x1488], rax
mov rax, qword [rbp + 0x1488]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x2040]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x14a8], rax
mov rax, qword [rbp + 0x14a8]
cmp dword [rax], 0x4550
je 0x14001195f
mov eax, 0xfffffffe
jmp 0x140011c96
mov rax, qword [rbp + 0x2030]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x2038]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x240]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400119bc
mov eax, 0xfffffffd
jmp 0x140011c96
mov r8d, 0x4d0
xor edx, edx
lea rcx, [rbp + 0x14d0]
call fcn.1400112e4
mov dword [rbp + 0x1500], 0x10000b
lea rdx, [rbp + 0x14d0]
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x140011a15
mov edx, 0xfffffffc
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffc
jmp 0x140011c96
mov rax, qword [rbp + 0x14a8]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rbp + 0x14a8]
mov rdx, qword [rax + 0x30]
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x19b8], rax
cmp qword [rbp + 0x19b8], 0
jne 0x140011a7b
mov edx, 0xfffffffb
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffb
jmp 0x140011c96
mov rax, qword [rbp + 0x14a8]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0x2040]
mov rdx, qword [rbp + 0x19b8]
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011ad2
mov edx, 0xfffffffa
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffa
jmp 0x140011c96
mov qword [rbp + 0x19d8], 0
jmp 0x140011af0
mov rax, qword [rbp + 0x19d8]
inc rax
mov qword [rbp + 0x19d8], rax
mov rax, qword [rbp + 0x14a8]
movzx eax, word [rax + 6]
cmp qword [rbp + 0x19d8], rax
jae 0x140011bb6
mov rax, qword [rbp + 0x1488]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x2040]
add rcx, rax
mov rax, rcx
imul rcx, qword [rbp + 0x19d8], 0x28
lea rax, [rax + rcx + 0x108]
mov qword [rbp + 0x19f8], rax
mov rax, qword [rbp + 0x19f8]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 0x19f8]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rbp + 0x2040]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x19f8]
mov edx, dword [rdx + 0xc]
mov r8, qword [rbp + 0x19b8]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011bb1
mov edx, 0xfffffff9
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff9
jmp 0x140011c96
jmp 0x140011adf
mov rax, qword [rbp + 0x1558]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbp + 0x19b8]
mov rdx, rax
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011c0d
mov edx, 0xfffffff8
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff8
jmp 0x140011c96
mov rax, qword [rbp + 0x14a8]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 0x19b8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1550], rax
lea rdx, [rbp + 0x14d0]
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x140011c63
mov edx, 0xfffffff7
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff7
jmp 0x140011c96
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140011c94
mov edx, 0xfffffff6
mov rax, qword [rbp + 0x2030]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff6
jmp 0x140011c96
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001acf0]
call fcn.140011339
mov rax, rdi
mov rcx, qword [rbp + 0x2008]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x2018]
pop rdi
pop rbp
ret