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

Disassembly:
jmp 0x1400170c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x858
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x172
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x878]
mov rax, qword [0x140027068]
xor rax, rbp
mov qword [rbp + 0x7f8], rax
lea rcx, [0x14002d675]
call fcn.140011672
mov rax, qword [rbp + 0x820]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x820]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov r8d, 0x400
lea rdx, [rbp + 0x1b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
jne 0x1400173ca
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x68]
call fcn.1400114e2
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0xa0]
call fcn.1400114e2
lea rax, [rbp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400173c3
mov r9d, 4
mov r8d, 0x1000
mov edx, 8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x128]
mov dword [rax + 0x30], 0x10000b
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400173bc
mov rax, qword [rbp + 0x128]
mov rax, qword [rax + 0x90]
add rax, 8
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x148]
mov rdx, rax
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0x820]
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x184], 0
jmp 0x1400172bd
mov eax, dword [rbp + 0x184]
inc eax
mov dword [rbp + 0x184], eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x184], eax
jge 0x140017345
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x820]
add rcx, rax
mov rax, rcx
imul ecx, dword [rbp + 0x184], 0x28
movsxd rcx, ecx
lea rax, [rax + rcx + 0xf8]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 0x48]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rbp + 0x820]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x48]
mov edx, dword [rdx + 0xc]
mov r8, qword [rbp + 0x168]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x1400172af
mov rax, qword [rbp + 0x28]
add rax, 0x30
mov rcx, qword [rbp + 0x128]
mov rcx, qword [rcx + 0x90]
add rcx, 8
mov qword [rsp + 0x20], 0
mov r9d, 4
mov r8, rax
mov rdx, rcx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 0x168]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x128]
mov qword [rcx + 0x78], rax
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x1400173cf
mov eax, 0xffffffff
jmp 0x1400173cf
mov eax, 0xffffffff
jmp 0x1400173cf
mov eax, 0xffffffff
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x140023550]
call fcn.140011573
mov rax, rdi
mov rcx, qword [rbp + 0x7f8]
xor rcx, rbp
call fcn.14001131b
lea rsp, [rbp + 0x808]
pop rdi
pop rbp
ret