Function at 0x14001157d
Capabilities:
Create process on windows
Create process suspended
Resolve function by parsing pe exports
Resume thread
Use process replacement

Disassembly:
jmp 0x140015ee0
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 [0x140029040]
xor rax, rbp
mov qword [rbp + 0x7f8], rax
lea rcx, [0x1400300fb]
call fcn.1400117da
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 + 0x190]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
jne 0x1400161d0
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x68]
call fcn.1400115e1
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0xa0]
call fcn.1400115e1
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 + 0x190]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400161ce
mov edx, 0x4d0
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_calloc]
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0
jne 0x140016016
mov eax, 0x520
jmp 0x1400161d0
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 0x1400161ce
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 4
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 + 0x148], rax
cmp qword [rbp + 0x148], 0
jne 0x140016082
mov eax, 0x520
jmp 0x1400161d0
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 + 0x148]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x164], 0
jmp 0x1400160c7
mov eax, dword [rbp + 0x164]
inc eax
mov dword [rbp + 0x164], eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x164], eax
jge 0x140016147
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x18]
movsxd rcx, dword [rbp + 0x164]
imul rcx, rcx, 0x28
add rax, rcx
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 + 0x148]
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 0x1400160b9
mov rax, qword [rbp + 0x28]
add rax, 0x30
mov rcx, qword [rbp + 0x128]
mov rcx, qword [rcx + 0x88]
add rcx, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
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 + 0x148]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x128]
mov qword [rcx + 0x80], rax
mov dword [rbp + 0x5a4], 0
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]
mov eax, 1
jmp 0x1400161d0
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x140024740]
call fcn.140011681
mov rax, rdi
mov rcx, qword [rbp + 0x7f8]
xor rcx, rbp
call fcn.140011384
lea rsp, [rbp + 0x808]
pop rdi
pop rbp
ret