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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xf0
mov rax, qword [0x14001d148]
xor rax, rsp
mov qword [rbp - 1], rax
mov eax, 0x5a4d
mov qword [rsp + 0x48], r9
mov r14, rdx
mov rdi, rcx
cmp word [rdx], ax
je 0x14000e4ac
lea rcx, str.Invalid_file_n
call fcn.140001040
jmp 0x14000eab0
movsxd rbx, dword [rdx + 0x3c]
mov eax, 0x8664
add rbx, r14
cmp word [rbx + 4], ax
je 0x14000e4c7
lea rcx, str.Invalid_platform_n
jmp 0x14000e4a2
lea rcx, str.File_ok_n
call fcn.140001040
mov r8d, dword [rbx + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor r13d, r13d
mov rsi, rax
test rax, rax
jne 0x14000e50f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_memory_allocation_failed__ex__0x_X_n
jmp 0x14000eaab
mov dword [rbp - 0x15], r13d
lea rax, [rbp - 0x15]
mov r8d, dword [rbx + 0x50]
mov r9d, 0x40
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9d, 0x1000
mov qword [rsp + 0x50], rax
mov r8, r14
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rsi
mov qword [rsp + 0x58], rax
mov rcx, rdi
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rsp + 0x60], rax
mov eax, dword [rbp + 0x87]
mov dword [rbp - 0x71], eax
movzx eax, byte [rbp + 0x7f]
mov dword [rbp - 0x61], eax
mov qword [rbp - 0x79], r13
mov dword [rbp - 0x6d], r13d
mov dword [rbp - 0x5d], r13d
mov qword [rsp + 0x68], rsi
mov qword [rbp - 0x69], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000e5c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Cant_write_file_header_0x_X_n
mov edx, eax
call fcn.140001040
mov r9d, 0x8000
mov rdx, rsi
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x14000eab0
movzx r15d, word [rbx + 0x14]
mov r12d, r13d
add r15, 0x2c
cmp word [rbx + 6], r13w
je 0x14000e616
add r15, rbx
cmp dword [r15 - 4], r13d
je 0x14000e606
mov r8d, dword [r15]
mov rcx, rdi
mov edx, dword [r15 - 8]
add r8, r14
mov r9d, dword [r15 - 4]
add rdx, rsi
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000e65c
movzx eax, word [rbx + 6]
inc r12d
add r15, 0x28
cmp r12d, eax
jne 0x14000e5dd
mov r14d, 0x3000
mov dword [rsp + 0x20], 4
mov r13d, 0x40
mov r9d, r14d
mov r8d, r13d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor r12d, r12d
mov qword [rbp - 9], rax
mov r15, rax
test rax, rax
jne 0x14000e66e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Target_process_mapping_allocation_failed__ex__0x_X_n
jmp 0x14000e5a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Cant_map_sections:_0x_x_n
jmp 0x14000e5a6
mov r9, r13
mov qword [rsp + 0x20], r12
lea r8, [rsp + 0x50]
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000e6c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Cant_write_mapping_0x_X_n
mov edx, eax
call fcn.140001040
mov ebx, 0x8000
xor r8d, r8d
mov r9d, ebx
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, ebx
mov rdx, r15
jmp 0x14000e5b6
mov r9d, r14d
mov dword [rsp + 0x20], r13d
mov r14d, 0x1000
xor edx, edx
mov r8d, r14d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp - 0x11], rax
mov r13, rax
test rax, rax
jne 0x14000e6f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Memory_shellcode_allocation_failed__ex__0x_X_n
jmp 0x14000e698
mov r9, r14
mov qword [rsp + 0x20], r12
lea r8, [0x14000eae0]
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000e75f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Cant_write_shellcode_0x_X_n
mov edx, eax
call fcn.140001040
mov ebx, 0x8000
xor r8d, r8d
mov r9d, ebx
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, ebx
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, ebx
mov rdx, r13
jmp 0x14000e5b6
mov qword [rsp + 0x30], r12
mov r9, r13
mov dword [rsp + 0x28], r12d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x14000e793
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Thread_creation_failed_0x_X_n
jmp 0x14000e724
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x19]
mov dword [rbp - 0x19], r12d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [rbp - 0x19]
cmp edx, 0x103
jne 0x14000eaa4
mov r14d, 0x40
lea rcx, [rbp - 0x59]
mov r8d, r14d
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r9d, r14d
mov qword [rsp + 0x20], r12
lea r8, [rbp - 0x59]
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r14, qword [rbp - 0x39]
cmp r14, 0x404040
je 0x14000ea93
cmp r14, 0x505050
jne 0x14000e80e
lea rcx, str.WARNING:_Exception_support_failed__n
call fcn.140001040
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test r14, r14
je 0x14000e79c
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x40], rax
mov r14, rax
test rax, rax
jne 0x14000e846
lea rcx, str.Unable_to_allocate_memory_n
jmp 0x14000e4a2
xor edx, edx
mov r8d, 0x1400000
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
cmp byte [rbp + 0x67], r12b
je 0x14000e886
mov r9d, 0x1000
mov qword [rsp + 0x20], r12
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000e886
lea rcx, str.WARNING_:_Cant_clear_HEADER_n
call fcn.140001040
cmp byte [rbp + 0x6f], r12b
je 0x14000e94c
movzx r14d, word [rbx + 0x14]
xor ecx, ecx
add r14, 0x18
add r14, rbx
cmp word [rbx + 6], cx
je 0x14000e94c
mov r15, qword [rsp + 0x40]
xor r13d, r13d
cmp dword [r14 + 8], r13d
je 0x14000e92d
cmp byte [rbp + 0x7f], r13b
jne 0x14000e8cf
lea rdx, [0x140015a70]
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14000e8f5
lea rdx, str..rsrc
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14000e8f5
lea rdx, str..reloc
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14000e92d
mov edx, dword [r14 + 0xc]
mov r8, r15
mov r9d, dword [r14 + 8]
add rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000e92d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r14
lea rcx, str.Cant_clear_section__s:_0x_x_n
mov r8d, eax
call fcn.140001040
movzx eax, word [rbx + 6]
inc r12d
add r14, 0x28
cmp r12d, eax
jne 0x14000e8b0
mov r15, qword [rbp - 9]
xor r12d, r12d
mov r13, qword [rbp - 0x11]
cmp byte [rbp + 0x77], r12b
je 0x14000ea12
movzx r14d, word [rbx + 0x14]
mov ecx, r12d
add r14, 0x18
add r14, rbx
cmp word [rbx + 6], r12w
jmp 0x14000e9e5
cmp dword [r14 + 8], r12d
je 0x14000e9d9
test dword [r14 + 0x24], 0x80000000
mov dword [rbp - 0x11], r12d
jbe 0x14000e988
mov r12d, 4
jmp 0x14000e99d
test dword [r14 + 0x24], 0x20000000
mov eax, 0x20
lea r12d, [rax - 0x1e]
cmova r12d, eax
mov edx, dword [r14 + 0xc]
lea rax, [rbp - 0x11]
mov r8d, dword [r14 + 8]
add rdx, rsi
mov r9d, r12d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x14000e9d3
mov r8d, r12d
lea rcx, str.FAIL:_section__s_not_set_as__lX_n
mov rdx, r14
call fcn.140001040
mov ecx, dword [rbp - 0x19]
xor r12d, r12d
movzx eax, word [rbx + 6]
inc ecx
add r14, 0x28
cmp ecx, eax
mov dword [rbp - 0x19], ecx
jne 0x14000e96c
movzx eax, word [rbx + 0x14]
mov r9d, 2
mov dword [rbp - 9], r12d
mov rdx, rsi
mov rcx, rdi
mov r8d, dword [rax + rbx + 0x24]
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rsp + 0x48]
mov r9d, 0x1000
mov r8, qword [rsp + 0x40]
mov rdx, r13
mov rcx, rdi
mov qword [rsp + 0x20], r12
mov qword [rax], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000ea46
lea rcx, str.WARNING:_Cant_clear_shellcode_n
call fcn.140001040
mov ebx, 0x8000
xor r8d, r8d
mov r9d, ebx
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x14000ea6d
lea rcx, str.WARNING:_cant_release_shell_code_memory_n
call fcn.140001040
mov r9d, ebx
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x14000ea8f
lea rcx, str.WARNING:_cant_release_mapping_data_memory_n
call fcn.140001040
mov al, 1
jmp 0x14000eab2
lea rcx, str.Wrong_mapping_ptr_n
call fcn.140001040
jmp 0x14000e72b
lea rcx, str.Process_crashed__exit_code:__d_n
call fcn.140001040
xor al, al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140012700
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret