Function at 0x1400010c0
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate pe sections
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
push rbp
push rsi
push r14
lea rbp, [rsp - 0x1f]
sub rsp, 0xe0
mov rsi, rcx
mov r14, rdx
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
mov eax, 0x5a4d
cmp word [r14], ax
je 0x140001127
lea rcx, str.Invalid_file_n
call fcn.140001020
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
xor al, al
add rsp, 0xe0
pop r14
pop rsi
pop rbp
ret
mov qword [rsp + 0xc0], r15
mov ecx, 3
movsxd r15, dword [r14 + 0x3c]
add r15, r14
call fcn.140001080
add dword [0x140009358], 3
mov eax, 0x8664
mov ecx, 3
cmp word [r15 + 4], ax
je 0x140001177
call fcn.140001080
add dword [0x140009358], 3
lea rcx, str.Invalid_platform_n
call fcn.140001020
xor al, al
jmp 0x140001bc6
mov qword [rsp + 0xd0], r12
call fcn.140001080
add dword [0x140009358], 3
lea rcx, str.File_ok_n
call fcn.140001020
mov r8d, dword [r15 + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
mov ecx, 3
test rax, rax
jne 0x1400011e8
call fcn.140001080
add dword [0x140009358], 3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_memory_allocation_failed__ex__0x_X_n
call fcn.140001020
xor al, al
jmp 0x140001bbe
mov qword [rsp + 0xc8], r13
call fcn.140001080
add dword [0x140009358], 3
lea rax, [rbp + 0x5f]
xor r13d, r13d
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x5f], r13d
mov rdx, r12
mov r8d, dword [r15 + 0x50]
mov rcx, rsi
lea r9d, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea ecx, [r13 + 3]
call fcn.140001080
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [r13 + 3]
add dword [0x140009358], 3
mov qword [rsp + 0x40], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 1
mov qword [rbp - 0x49], 1
call fcn.140001080
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
lea ecx, [r13 + 3]
add dword [0x140009358], 3
mov qword [rbp - 0x71], rax
call fcn.140001080
add dword [0x140009358], 3
lea ecx, [r13 + 3]
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x51], r13
call fcn.140001080
add dword [0x140009358], 3
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], r13
mov r9d, 0x1000
mov r8, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea ecx, [r13 + 3]
test eax, eax
jne 0x1400012fc
call fcn.140001080
add dword [0x140009358], 3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_file_header_0x_X_n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140001bb6
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0xd8], rdi
call fcn.140001080
movzx ebx, word [r15 + 0x14]
mov ecx, 3
add dword [0x140009358], 3
add rbx, 0x2c
call fcn.140001080
add dword [0x140009358], 3
mov edi, r13d
cmp word [r15 + 6], r13w
je 0x14000138c
add rbx, r15
nop
mov eax, dword [rbx - 4]
test eax, eax
je 0x14000137d
mov r8d, dword [rbx]
mov r9d, eax
mov edx, dword [rbx - 8]
add r8, r14
add rdx, r12
mov qword [rsp + 0x20], r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, 3
test eax, eax
je 0x140001401
call fcn.140001080
add dword [0x140009358], 3
movzx eax, word [r15 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140001340
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov rcx, rsi
lea r8d, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r13, rax
test rax, rax
jne 0x14000143b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_mapping_allocation_failed__ex__0x_X_n
call fcn.140001020
mov rdx, r12
mov r9d, 0x8000
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
jmp 0x140001ba4
call fcn.140001080
add dword [0x140009358], 3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_map_sections:_0x_x_n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140001ba4
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
lea r8, [rsp + 0x40]
xor ebx, ebx
mov rdx, r13
mov rcx, rsi
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000149d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_mapping_0x_X_n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, r13
jmp 0x1400013d9
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x47], rax
mov rdi, rax
test rax, rax
jne 0x14000152b
lea ecx, [rax + 3]
call fcn.140001080
add dword [0x140009358], 3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Memory_shellcode_allocation_failed__ex__0x_X_n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140001ba4
mov r9d, 0x1000
mov qword [rsp + 0x20], rbx
lea r8, [0x140001be0]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400015b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_shellcode_0x_X_n
call fcn.140001020
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
mov rdx, r12
mov rcx, rsi
mov r9d, 0x8000
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140001ba4
mov rdx, r12
lea rcx, str.Mapped_DLL_at__p_n
call fcn.140001020
mov rdx, r13
lea rcx, str.Mapping_info_at__p_n
call fcn.140001020
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
lea rcx, str.Shell_code_at__p_n
mov rdx, rdi
call fcn.140001020
lea rcx, str.Data_allocated_n
call fcn.140001020
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov r9, rdi
xor r8d, r8d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x14000168a
lea ecx, [rax + 3]
call fcn.140001080
add dword [0x140009358], 3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Thread_creation_failed_0x_X_n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, rdi
jmp 0x1400013d9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
lea rcx, str.Thread_created_at:__p__waiting_for_return..._n
mov rdx, rdi
call fcn.140001020
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp + 0x57]
mov dword [rbp + 0x57], ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov r8d, dword [rbp + 0x57]
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
cmp r8d, 0x103
jne 0x140001b95
xorps xmm0, xmm0
mov qword [rsp + 0x20], rbx
mov r9d, 0x40
lea r8, [rbp - 0x41]
mov rdx, r13
mov rcx, rsi
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x21]
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
cmp rbx, 0x404040
je 0x140001b5e
cmp rbx, 0x505050
jne 0x140001767
lea rcx, str.WARNING:_Exception_support_failed__n
call fcn.140001020
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
mov ebx, 0
je 0x1400016d0
lea ecx, [rbx + 3]
call fcn.140001080
add dword [0x140009358], 3
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x4f], rax
mov r14, rax
test rax, rax
jne 0x1400017c8
lea rcx, str.Unable_to_allocate_memory_n
call fcn.140001020
jmp 0x140001ba4
xor edx, edx
mov r8d, 0x1400000
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rbx
mov r9d, 0x1000
mov r8, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001822
lea ecx, [rax + 3]
call fcn.140001080
add dword [0x140009358], 3
lea rcx, str.WARNING_:_Cant_clear_HEADER_n
call fcn.140001020
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
mov ecx, 3
call fcn.140001080
movzx r8d, word [r15 + 0x14]
lea rbx, [r15 + 0x18]
add dword [0x140009358], 3
add rbx, r8
movzx r9d, word [r15 + 6]
xor edi, edi
test r9w, r9w
je 0x14000195e
lea r8, str..rsrc
lea r9, str..reloc
nop
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
cmp dword [rbx + 8], 0
je 0x140001942
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x1400018a6
cmp rcx, 6
jne 0x140001890
jmp 0x1400018c8
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x140001942
cmp rcx, 7
jne 0x1400018b0
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
lea rcx, str.Processing__s_removal_n
mov rdx, rbx
call fcn.140001020
mov edx, dword [rbx + 0xc]
mov r8, r14
mov r9d, dword [rbx + 8]
add rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001923
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
lea rcx, str.Cant_clear_section__s:_0x_x_n
mov r8d, eax
call fcn.140001020
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
lea r8, str..rsrc
lea r9, str..reloc
movzx eax, word [r15 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140001870
movzx r8d, word [r15 + 0x14]
movzx r9d, ax
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
lea rbx, [r15 + 0x18]
movzx eax, r8w
mov ecx, 3
add rbx, rax
call fcn.140001080
add dword [0x140009358], 3
xor r14d, r14d
test r9w, r9w
je 0x140001a70
lea r8d, [r14 + 0x20]
nop dword [rax]
cmp dword [rbx + 8], 0
je 0x140001a56
mov ecx, 3
mov dword [rbp + 0x57], 0
call fcn.140001080
add dword [0x140009358], 3
mov eax, dword [rbx + 0x24]
test eax, 0x80000000
jbe 0x1400019e2
mov edi, 4
lea ecx, [rdi - 1]
call fcn.140001080
add dword [0x140009358], 3
jmp 0x1400019f0
test eax, 0x20000000
mov edi, 2
cmova edi, r8d
mov ecx, 3
call fcn.140001080
mov edx, dword [rbx + 0xc]
lea rax, [rbp + 0x57]
mov r8d, dword [rbx + 8]
add rdx, r12
add dword [0x140009358], 3
mov r9d, edi
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140001a2d
lea rcx, str.section__s_set_as__lX_n
jmp 0x140001a45
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
lea rcx, str.FAIL:_section__s_not_set_as__lX_n
mov r8d, edi
mov rdx, rbx
call fcn.140001020
mov r8d, 0x20
movzx eax, word [r15 + 6]
inc r14d
add rbx, 0x28
cmp r14d, eax
jne 0x1400019a0
movzx r8d, word [r15 + 0x14]
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
mov r9d, 2
movzx eax, r8w
mov rdx, r12
mov dword [rbp + 0x67], 0
mov rcx, rsi
mov r8d, dword [rax + r15 + 0x24]
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, 3
call fcn.140001080
mov rbx, qword [rbp + 0x47]
mov r9d, 0x1000
mov r8, qword [rbp + 0x4f]
mov rdx, rbx
add dword [0x140009358], 3
mov rcx, rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001af0
lea rcx, str.WARNING:_Cant_clear_shellcode_n
call fcn.140001020
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
mov rdx, rbx
mov rcx, rsi
mov r9d, 0x8000
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x140001b26
lea rcx, str.WARNING:_cant_release_shell_code_memory_n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x140001b5a
lea ecx, [rax + 3]
call fcn.140001080
add dword [0x140009358], 3
lea rcx, str.WARNING:_cant_release_mapping_data_memory_n
call fcn.140001020
mov al, 1
jmp 0x140001ba6
lea rcx, str.Wrong_mapping_ptr_n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, 3
call fcn.140001080
add dword [0x140009358], 3
jmp 0x140001587
mov edx, r8d
lea rcx, str.Process_crashed__exit_code:__d_n
call fcn.140001020
xor al, al
mov rdi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x100]
mov r13, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xd0]
mov r15, qword [rsp + 0xc0]
add rsp, 0xe0
pop r14
pop rsi
pop rbp
ret