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

Disassembly:
push rbx
push rsi
push rdi
push r13
push r14
sub rsp, 0x550
mov rax, qword [0x1400100a8]
xor rax, rsp
mov qword [rsp + 0x530], rax
movsxd r13, dword [r8 + 0x3c]
mov rbx, r9
mov r14, r8
add r13, r8
mov rsi, rcx
cmp dword [r13], 0x4550
je 0x140001164
cmp qword [r9 + 0x18], 8
jb 0x14000115a
mov rcx, qword [r9]
call fcn.140003b4c
xor edi, edi
lea eax, [rdi - 2]
jmp 0x14000142c
cmp qword [r9 + 0x18], 8
jb 0x140001170
mov rcx, qword [r9]
jmp 0x140001173
mov rcx, rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdx
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400011c4
cmp qword [rbx + 0x18], 8
jb 0x1400011ba
mov rcx, qword [rbx]
call fcn.140003b4c
mov eax, 0xfffffffd
jmp 0x14000142c
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x4d0
call fcn.140007800
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x90], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rsi]
test eax, eax
jne 0x14000121b
mov edx, 0xfffffffc
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp qword [rbx + 0x18], 8
jb 0x140001211
mov rcx, qword [rbx]
call fcn.140003b4c
mov eax, 0xfffffffc
jmp 0x14000142c
mov r8d, dword [r13 + 0x50]
mov rdx, qword [r13 + 0x30]
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [rsi]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x140001268
mov edx, 0xfffffffb
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp qword [rbx + 0x18], 8
jb 0x14000125e
mov rcx, qword [rbx]
call fcn.140003b4c
mov eax, 0xfffffffb
jmp 0x14000142c
mov r9d, dword [r13 + 0x54]
mov r8, r14
mov rdx, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400012a8
mov rcx, qword [rsi]
mov edx, 0xfffffffa
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp qword [rbx + 0x18], 8
jb 0x14000129e
mov rcx, qword [rbx]
call fcn.140003b4c
mov eax, 0xfffffffa
jmp 0x14000142c
mov qword [rsp + 0x548], rbp
mov qword [rsp + 0x540], r12
mov rbp, rdi
cmp di, word [r13 + 6]
jae 0x14000131a
mov r12, rdi
nop word [rax + rax]
movsxd rax, dword [r14 + 0x3c]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rdi
add rax, r12
mov edx, dword [rax + r14 + 0x114]
mov r8d, dword [rax + r14 + 0x11c]
mov r9d, dword [rax + r14 + 0x118]
add rdx, qword [rsp + 0x50]
add r8, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000136a
movzx eax, word [r13 + 6]
inc rbp
add r12, 0x28
cmp rbp, rax
jb 0x1400012d0
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsi]
lea r8, [rsp + 0x50]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001391
mov rcx, qword [rsi]
mov edx, 0xfffffff8
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp qword [rbx + 0x18], 8
jb 0x140001360
mov rcx, qword [rbx]
call fcn.140003b4c
mov eax, 0xfffffff8
jmp 0x14000141c
mov rcx, qword [rsi]
mov edx, 0xfffffff9
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp qword [rbx + 0x18], 8
jb 0x140001387
mov rcx, qword [rbx]
call fcn.140003b4c
mov eax, 0xfffffff9
jmp 0x14000141c
mov eax, dword [r13 + 0x28]
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x60]
add rax, qword [rsp + 0x50]
mov qword [rsp + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x1400013d9
mov rcx, qword [rsi]
mov edx, 0xfffffff7
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp qword [rbx + 0x18], 8
jb 0x1400013d2
mov rcx, qword [rbx]
call fcn.140003b4c
mov eax, 0xfffffff7
jmp 0x14000141c
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14000140b
mov rcx, qword [rsi]
mov edx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp qword [rbx + 0x18], 8
jb 0x140001404
mov rcx, qword [rbx]
call fcn.140003b4c
mov eax, 0xfffffff6
jmp 0x14000141c
cmp qword [rbx + 0x18], 8
jb 0x14000141a
mov rcx, qword [rbx]
call fcn.140003b4c
xor eax, eax
mov rbp, qword [rsp + 0x548]
mov r12, qword [rsp + 0x540]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
mov word [rbx], di
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140003470
add rsp, 0x550
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret