Function at 0x1400013d0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rbp
push r15
mov eax, 0x10b8
call fcn.140052aa0
sub rsp, rax
mov rax, qword [0x140072168]
xor rax, rsp
mov qword [rsp + 0x1090], rax
mov eax, 0x5a4d
mov r15, rcx
cmp word [0x1400721b0], ax
je 0x140001423
lea rcx, str.Invalid_file_n
call fcn.140001370
lea rcx, [0x1400721b0]
call fcn.1400520f0
xor al, al
jmp 0x1400019ff
mov qword [rsp + 0x10a0], r14
lea rbp, [0x1400721b0]
movsxd r14, dword [0x1400721ec]
mov eax, 0x8664
add r14, rbp
cmp word [r14 + 4], ax
je 0x140001463
lea rcx, str.Invalid_platform_n
call fcn.140001370
mov rcx, rbp
call fcn.1400520f0
xor al, al
jmp 0x1400019f7
lea rcx, str.File_ok_n
mov qword [rsp + 0x10e0], rsi
call fcn.140001370
mov r8d, dword [r14 + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x1400014bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_memory_allocation_failed__ex__0x_X_n
call fcn.140001370
mov rcx, rbp
call fcn.1400520f0
xor al, al
jmp 0x1400019ef
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9d, 0x1000
mov qword [rsp + 0x40], rax
mov r8, rbp
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rsi
mov qword [rsp + 0x10b0], r12
mov rcx, r15
xor r12d, r12d
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001525
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_file_header_0x_X_n
call fcn.140001370
xor al, al
jmp 0x1400019e7
mov qword [rsp + 0x10d8], rbx
movzx ebx, word [r14 + 0x14]
mov qword [rsp + 0x10e8], rdi
add rbx, 0x2c
mov edi, r12d
cmp word [r14 + 6], di
je 0x140001587
add rbx, r14
nop dword [rax + rax]
mov eax, dword [rbx - 4]
test eax, eax
je 0x140001578
mov r8d, dword [rbx]
mov r9d, eax
mov edx, dword [rbx - 8]
add r8, rbp
add rdx, rsi
mov qword [rsp + 0x20], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400015cf
movzx eax, word [r14 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140001550
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, r15
lea r8d, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
jne 0x140001607
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_mapping_allocation_failed__ex__0x_X_n
call fcn.140001370
mov rcx, rbp
call fcn.1400520f0
xor al, al
jmp 0x1400019d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_map_sections:_0x_x_n
call fcn.140001370
mov rcx, rbp
call fcn.1400520f0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x1400019d7
xor edi, edi
lea r8, [rsp + 0x40]
mov rdx, r12
mov qword [rsp + 0x20], rdi
mov rcx, r15
lea r9d, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000164a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_mapping_0x_X_n
call fcn.140001370
mov rcx, rbp
call fcn.1400520f0
xor al, al
jmp 0x1400019d7
xor edx, edx
mov qword [rsp + 0x10a8], r13
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8d, 0x1000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r13, rax
test rax, rax
jne 0x1400016bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Memory_shellcode_allocation_failed__ex__0x_X_n
call fcn.140001370
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x1400019c5
mov r9d, 0x1000
mov qword [rsp + 0x20], rdi
lea r8, [0x140001a20]
mov rdx, r13
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400016f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_shellcode_0x_X_n
jmp 0x1400019c0
lea rcx, str.Data_allocated_n
call fcn.140001370
mov qword [rsp + 0x30], rdi
mov r9, r13
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x14000177a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Thread_creation_failed_0x_X_n
call fcn.140001370
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x1400019c5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, r13
lea rcx, str.Thread_created_at:__p__waiting_for_return..._n
call fcn.140001370
nop dword [rax]
nop word [rax + rax]
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x80], edi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [rsp + 0x80]
cmp edx, 0x103
jne 0x1400019b9
xorps xmm0, xmm0
mov qword [rsp + 0x20], rdi
mov r9d, 0x20
lea r8, [rsp + 0x60]
mov rdx, r12
mov rcx, r15
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rsp + 0x78]
cmp rbx, 0x404040
je 0x1400019ab
cmp rbx, 0x606060
je 0x14000199d
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x1400017a0
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x90]
movabs r8, 0x9000000000000000
call sub.VCRUNTIME140.dll_memset
movabs r9, 0x9000000000000000
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x90]
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001888
lea rcx, str.WARNING_:_Cant_clear_HEADER_n
call fcn.140001370
movzx ebx, word [r14 + 0x14]
add rbx, 0x18
add rbx, r14
cmp word [r14 + 6], di
je 0x14000195c
lea rsi, [0x14005f400]
lea rdx, str..rsrc
lea r8, str..reloc
cmp dword [rbx + 0x10], 0
je 0x140001949
xor ecx, ecx
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rsi + rcx - 1]
jne 0x1400018d5
cmp rcx, 7
jne 0x1400018c0
jmp 0x140001914
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400018f5
cmp rcx, 6
jne 0x1400018e0
jmp 0x140001914
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140001949
cmp rcx, 7
jne 0x140001900
mov rdx, rbx
lea rcx, str.Processing__s_removal_n
call fcn.140001370
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.140001370
lea rdx, str..rsrc
lea r8, str..reloc
movzx eax, word [r14 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x1400018b4
mov rcx, rbp
call fcn.1400520f0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x1400019cf
lea rcx, str.Wrong_directory_base_relocation_n
call fcn.140001370
jmp 0x1400019c5
lea rcx, str.Wrong_mapping_ptr_n
call fcn.140001370
jmp 0x1400019c5
lea rcx, str.Process_crashed__exit_code:__d_n
call fcn.140001370
mov rcx, rbp
call fcn.1400520f0
xor al, al
mov r13, qword [rsp + 0x10a8]
mov rdi, qword [rsp + 0x10e8]
mov rbx, qword [rsp + 0x10d8]
mov r12, qword [rsp + 0x10b0]
mov rsi, qword [rsp + 0x10e0]
mov r14, qword [rsp + 0x10a0]
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.1400520d0
add rsp, 0x10b8
pop r15
pop rbp
ret