Function at 0x14001aaa0
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 [0x14005b0d0]
xor rax, rsp
mov qword [rbp - 9], rax
mov r15, rdx
mov rdi, rcx
mov eax, 0x5a4d
cmp word [rdx], ax
je 0x14001aaeb
lea rcx, str._DLL_injection__Invalid_file_n
call fcn.140001190
jmp 0x14001b4b1
movsxd r14, dword [rdx + 0x3c]
add r14, r15
mov eax, 0x8664
cmp word [r14 + 4], ax
je 0x14001ab0f
lea rcx, str._DLL_injection__Invalid_platform._n
call fcn.140001190
jmp 0x14001b4b1
lea rcx, str._DLL_injection__File_ok_n
call fcn.140001190
mov r8d, dword [r14 + 0x50]
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r13, rax
test rax, rax
jne 0x14001abd2
lea rcx, str._DLL_injection__Target_process_memory_allocation_failed__ex__n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8b0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001ab78
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156c0
mov rcx, rax
call fcn.14000f7b0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001b4b1
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001abc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4f8
call fcn.14001de30
jmp 0x14001b4b1
xor r12d, r12d
mov dword [rbp - 0x15], r12d
mov r8d, dword [r14 + 0x50]
lea rax, [rbp - 0x15]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 0x40]
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x2d], r12
mov qword [rbp - 0x25], r12
mov dword [rbp - 0x1d], r12d
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp - 0x59], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x51], rax
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r13
mov dword [rbp - 0x31], 1
mov qword [rsp + 0x20], r12
mov r9d, 0x1000
mov r8, r15
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14001ace2
lea rcx, str._DLL_injection__Cant_write_file_header._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8b0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001ac89
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156c0
mov rcx, rax
call fcn.14000f7b0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001ae6e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ae69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4e0
jmp 0x14001ae69
movzx ebx, word [r14 + 0x14]
add rbx, 0x2c
mov esi, r12d
cmp word [r14 + 6], r12w
je 0x14001ad33
add rbx, r14
mov eax, dword [rbx - 4]
test eax, eax
je 0x14001ad24
mov r9d, eax
mov r8d, dword [rbx]
add r8, r15
mov edx, dword [rbx - 8]
add rdx, r13
mov qword [rsp + 0x20], r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14001ade9
inc esi
add rbx, 0x28
movzx eax, word [r14 + 6]
cmp esi, eax
jne 0x14001acf8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
lea r8d, [rdx + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
jne 0x14001ae88
lea rcx, str._DLL_injection__Target_process_mapping_allocation_failed__ex_._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8b0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001ad90
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156c0
mov rcx, rax
call fcn.14000f7b0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001ae6e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ae69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4e6
jmp 0x14001ae69
lea rcx, str._DLL_injection__Cant_map_sections._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8b0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001ae1d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156c0
mov rcx, rax
call fcn.14000f7b0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001ae6e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ae69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4fe
call fcn.14001de30
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x14001b4b1
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 0x40]
lea r8, [rbp - 0x59]
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14001af39
lea rcx, str._DLL_injection__Cant_write_mapping._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8b0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001aee0
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156c0
mov rcx, rax
call fcn.14000f7b0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001afee
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001afe9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4ec
jmp 0x14001afe9
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14001b01d
lea rcx, str._DLL_injection__Memory_shellcode_allocation_failed__ex_._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8b0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001af9d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156c0
mov rcx, rax
call fcn.14000f7b0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001afee
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001afe9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b504
call fcn.14001de30
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x14001b4b1
mov qword [rsp + 0x20], r15
mov r9d, 0x1000
lea r8, [0x14001b510]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14001b0d0
lea rcx, str._DLL_injection__Cant_write_shellcode._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8b0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001b077
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156c0
mov rcx, rax
call fcn.14000f7b0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001b1b7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b1b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4f2
jmp 0x14001b1b2
mov rdx, r13
lea rcx, str._DLL_injection__Mapped_DLL_at__p_n
call fcn.140001190
mov rdx, r12
lea rcx, str._DLL_injection__Mapping_info_at__p_n
call fcn.140001190
mov rdx, rsi
lea rcx, str._DLL_injection__Shell_code_at__p_n
call fcn.140001190
lea rcx, str._DLL_injection__Data_allocated_n
call fcn.140001190
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r12
mov r9, rsi
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x14001b1fb
lea rcx, str._DLL_injection__Thread_creation_failed._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8b0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001b166
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156c0
mov rcx, rax
call fcn.14000f7b0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001b1b7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b1b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b50a
call fcn.14001de30
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x14001b4b1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rsi
lea rcx, str._DLL_injection__Thread_created_at:__p__waiting_for_return..._n
call fcn.140001190
mov dword [rbp - 0x19], r15d
lea rdx, [rbp - 0x19]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [rbp - 0x19]
cmp edx, 0x103
jne 0x14001b4a5
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rbp - 0x79], xmm0
movups xmmword [rbp - 0x69], xmm0
mov qword [rsp + 0x20], r15
mov r9d, 0x40
lea r8, [rsp + 0x50]
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x79]
cmp rbx, 0x404040
je 0x14001b494
cmp rbx, 0x505050
jne 0x14001b28a
lea rcx, str._DLL_injection__WARNING:_Exception_support_failed__n
call fcn.140001190
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x14001b213
mov ecx, 0x1400000
call fcn.14002c03c
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14001b2c3
lea rcx, str._DLL_injection__Unable_to_allocate_memory_n
call fcn.140001190
jmp 0x14001b4b1
xor edx, edx
mov r8d, 0x1400000
mov rcx, rax
call fcn.140020380
lea rdx, str.Error:
call fcn.14000f8b0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001b2fb
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156c0
mov rcx, rax
call fcn.14000f7b0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001b34c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b347
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4da
call fcn.14001de30
movzx ebx, word [r14 + 0x14]
add rbx, 0x18
add rbx, r14
cmp word [r14 + 6], 0
je 0x14001b3f2
mov edx, 0x20
nop dword [rax]
mov ecx, dword [rbx + 8]
test ecx, ecx
je 0x14001b3dc
mov dword [rbp - 0x19], 0
mov eax, dword [rbx + 0x24]
test eax, 0x80000000
jbe 0x14001b38f
mov esi, 4
jmp 0x14001b39c
test eax, 0x20000000
mov esi, 2
cmova esi, edx
mov r8, rcx
mov edx, dword [rbx + 0xc]
add rdx, r13
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r8d, esi
mov rdx, rbx
test eax, eax
lea rcx, str._DLL_injection__Section__s_set_as__lX_n
jne 0x14001b3d2
lea rcx, str._DLL_injection__FAIL:_section__s_not_set_as__lX_n
call fcn.140001190
mov edx, 0x20
inc r15d
add rbx, 0x28
movzx eax, word [r14 + 6]
cmp r15d, eax
jne 0x14001b370
mov rsi, qword [rsp + 0x40]
xor ebx, ebx
mov dword [rbp - 0x11], ebx
movzx eax, word [r14 + 0x14]
mov r8d, dword [rax + r14 + 0x24]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 2]
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], rbx
mov r9d, 0x1000
mov r8, qword [rsp + 0x48]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14001b446
lea rcx, str._DLL_injection__WARNING:_Cant_clear_shellcode_n
call fcn.140001190
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x14001b46b
lea rcx, str._DLL_injection__WARNING:_cant_release_shell_code_memory_n
call fcn.140001190
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x14001b490
lea rcx, str._DLL_injection__WARNING:_cant_release_mapping_data_memory_n
call fcn.140001190
mov al, 1
jmp 0x14001b4b3
lea rcx, str._DLL_injection__Wrong_mapping_ptr._n
call fcn.140001190
jmp 0x14001b1b7
lea rcx, str._DLL_injection__Process_crashed__exit_code:_0x_x_n
call fcn.140001190
xor al, al
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14001de10
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14002bfc4
int3
call fcn.14002bfc4
int3
call fcn.14002bfc4
int3
call fcn.14002bfc4
int3
call fcn.14002bfc4
int3
call fcn.14002bfc4
int3
call fcn.14002bfc4
int3
call fcn.14002bfc4
int3
call fcn.14002bfc4
int3