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

Disassembly:
push rbx
push r15
sub rsp, 0xe8
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov eax, 0x5a4d
mov r15, rdx
mov rbx, rcx
cmp word [rdx], ax
je 0x1400014f0
lea rcx, str._DLL_injection__Invalid_file_n
call fcn.140001020
xor al, al
jmp 0x140001af5
mov qword [rsp + 0x118], rsi
mov eax, 0x8664
movsxd rsi, dword [rdx + 0x3c]
add rsi, r15
cmp word [rsi + 4], ax
je 0x14000151d
lea rcx, str._DLL_injection__Invalid_platform._n
call fcn.140001020
xor al, al
jmp 0x140001aed
lea rcx, str._DLL_injection__File_ok_n
mov qword [rsp + 0xd0], r14
call fcn.140001020
mov r8d, dword [rsi + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
jne 0x140001569
lea rcx, str._DLL_injection__Target_process_memory_allocation_failed__ex__n
call fcn.140001020
xor al, al
jmp 0x140001ae5
lea rax, [rsp + 0xc4]
mov qword [rsp + 0xd8], r12
xor r12d, r12d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xc4], r12d
mov rdx, r14
mov r8d, dword [rsi + 0x50]
mov rcx, rbx
lea r9d, [r12 + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9d, 0x1000
mov qword [rsp + 0x40], rax
mov r8, r15
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, r14
mov qword [rsp + 0x48], rax
mov rcx, rbx
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x6c], r12
mov qword [rsp + 0x74], r12
mov dword [rsp + 0x7c], r12d
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001629
lea rcx, str._DLL_injection__Cant_write_file_header._n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140001add
mov qword [rsp + 0x110], rbp
mov ebp, r12d
mov qword [rsp + 0xe0], rdi
movzx edi, word [rsi + 0x14]
add rdi, 0x2c
cmp word [rsi + 6], r12w
je 0x140001686
add rdi, rsi
nop
mov eax, dword [rdi - 4]
test eax, eax
je 0x140001678
mov r8d, dword [rdi]
mov r9d, eax
mov edx, dword [rdi - 8]
add r8, r15
add rdx, r14
mov qword [rsp + 0x20], r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400016d1
movzx eax, word [rsi + 6]
inc ebp
add rdi, 0x28
cmp ebp, eax
jne 0x140001650
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, rbx
lea r8d, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x1400016f7
lea rcx, str._DLL_injection__Target_process_mapping_allocation_failed__ex_._n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140001acb
lea rcx, str._DLL_injection__Cant_map_sections._n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140001acb
mov r9d, 0x40
mov qword [rsp + 0x20], r12
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001752
lea rcx, str._DLL_injection__Cant_write_mapping._n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140001acb
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
jne 0x1400017b4
lea rcx, str._DLL_injection__Memory_shellcode_allocation_failed__ex_._n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140001acb
mov r9d, 0x1000
mov qword [rsp + 0x20], r12
lea r8, [0x140001b10]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001826
lea rcx, str._DLL_injection__Cant_write_shellcode._n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140001acb
mov rdx, r14
lea rcx, str._DLL_injection__Mapped_DLL_at__p_n
call fcn.140001020
mov rdx, rsi
lea rcx, str._DLL_injection__Mapping_info_at__p_n
call fcn.140001020
mov rdx, rbp
lea rcx, str._DLL_injection__Shell_code_at__p_n
call fcn.140001020
lea rcx, str._DLL_injection__Data_allocated_n
call fcn.140001020
mov qword [rsp + 0x30], r12
mov r9, rbp
mov dword [rsp + 0x28], r12d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x1400018d4
lea rcx, str._DLL_injection__Thread_creation_failed._n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140001acb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rbp
lea rcx, str._DLL_injection__Thread_created_at:__p__waiting_for_return..._n
call fcn.140001020
nop dword [rax]
lea rdx, [rsp + 0xc0]
mov dword [rsp + 0xc0], r12d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [rsp + 0xc0]
cmp edx, 0x103
jne 0x140001abf
xorps xmm0, xmm0
mov qword [rsp + 0x20], r12
mov r9d, 0x40
lea r8, [rsp + 0x80]
mov rdx, rsi
mov rcx, rbx
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdi, qword [rsp + 0xa0]
cmp rdi, 0x404040
je 0x140001a72
cmp rdi, 0x505050
jne 0x140001988
lea rcx, str._DLL_injection__WARNING:_Exception_support_failed__n
call fcn.140001020
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
test rdi, rdi
je 0x1400018f0
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400019c0
lea rcx, str._DLL_injection__Unable_to_allocate_memory_n
call fcn.140001020
jmp 0x140001acb
xor edx, edx
mov r8d, 0x1400000
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x1000
mov qword [rsp + 0x20], r12
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400019fa
lea rcx, str._DLL_injection__WARNING_:_Cant_clear_HEADER_n
call fcn.140001020
mov r9d, 0x1000
mov qword [rsp + 0x20], r12
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001a24
lea rcx, str._DLL_injection__WARNING:_Cant_clear_shellcode_n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x140001a49
lea rcx, str._DLL_injection__WARNING:_cant_release_shell_code_memory_n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x140001a6e
lea rcx, str._DLL_injection__WARNING:_cant_release_mapping_data_memory_n
call fcn.140001020
mov al, 1
jmp 0x140001acd
lea rcx, str._DLL_injection__Wrong_mapping_ptr._n
call fcn.140001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140001acb
lea rcx, str._DLL_injection__Process_crashed__exit_code:_0x_x_n
call fcn.140001020
xor al, al
mov rdi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0x110]
mov r12, qword [rsp + 0xd8]
mov r14, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140005920
add rsp, 0xe8
pop r15
pop rbx
ret