Function at 0x14001aa90
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 0x14001aadb
lea rcx, str._DLL_injection__Invalid_file_n
call fcn.140001190
jmp 0x14001b4a1
movsxd r14, dword [rdx + 0x3c]
add r14, r15
mov eax, 0x8664
cmp word [r14 + 4], ax
je 0x14001aaff
lea rcx, str._DLL_injection__Invalid_platform._n
call fcn.140001190
jmp 0x14001b4a1
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 0x14001abc2
lea rcx, str._DLL_injection__Target_process_memory_allocation_failed__ex__n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8a0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001ab68
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156b0
mov rcx, rax
call fcn.14000f7a0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001b4a1
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001abb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4e8
call fcn.14001de20
jmp 0x14001b4a1
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 0x14001acd2
lea rcx, str._DLL_injection__Cant_write_file_header._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8a0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001ac79
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156b0
mov rcx, rax
call fcn.14000f7a0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001ae5e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ae59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4d0
jmp 0x14001ae59
movzx ebx, word [r14 + 0x14]
add rbx, 0x2c
mov esi, r12d
cmp word [r14 + 6], r12w
je 0x14001ad23
add rbx, r14
mov eax, dword [rbx - 4]
test eax, eax
je 0x14001ad14
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 0x14001add9
inc esi
add rbx, 0x28
movzx eax, word [r14 + 6]
cmp esi, eax
jne 0x14001ace8
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 0x14001ae78
lea rcx, str._DLL_injection__Target_process_mapping_allocation_failed__ex_._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8a0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001ad80
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156b0
mov rcx, rax
call fcn.14000f7a0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001ae5e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ae59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4d6
jmp 0x14001ae59
lea rcx, str._DLL_injection__Cant_map_sections._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8a0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001ae0d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156b0
mov rcx, rax
call fcn.14000f7a0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001ae5e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ae59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4ee
call fcn.14001de20
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x14001b4a1
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 0x14001af29
lea rcx, str._DLL_injection__Cant_write_mapping._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8a0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001aed0
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156b0
mov rcx, rax
call fcn.14000f7a0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001afde
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001afd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4dc
jmp 0x14001afd9
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 0x14001b00d
lea rcx, str._DLL_injection__Memory_shellcode_allocation_failed__ex_._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8a0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001af8d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156b0
mov rcx, rax
call fcn.14000f7a0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001afde
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001afd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4f4
call fcn.14001de20
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 0x14001b4a1
mov qword [rsp + 0x20], r15
mov r9d, 0x1000
lea r8, [0x14001b500]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14001b0c0
lea rcx, str._DLL_injection__Cant_write_shellcode._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8a0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001b067
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156b0
mov rcx, rax
call fcn.14000f7a0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001b1a7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b1a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4e2
jmp 0x14001b1a2
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 0x14001b1eb
lea rcx, str._DLL_injection__Thread_creation_failed._n
call fcn.140001190
lea rdx, str.Error:
call fcn.14000f8a0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001b156
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156b0
mov rcx, rax
call fcn.14000f7a0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001b1a7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b1a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4fa
call fcn.14001de20
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 0x14001b4a1
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 0x14001b495
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 0x14001b484
cmp rbx, 0x505050
jne 0x14001b27a
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 0x14001b203
mov ecx, 0x1400000
call fcn.14002c02c
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14001b2b3
lea rcx, str._DLL_injection__Unable_to_allocate_memory_n
call fcn.140001190
jmp 0x14001b4a1
xor edx, edx
mov r8d, 0x1400000
mov rcx, rax
call fcn.140020370
lea rdx, str.Error:
call fcn.14000f8a0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c4e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001b2eb
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400156b0
mov rcx, rax
call fcn.14000f7a0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001b33c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b337
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b4ca
call fcn.14001de20
movzx ebx, word [r14 + 0x14]
add rbx, 0x18
add rbx, r14
cmp word [r14 + 6], 0
je 0x14001b3e2
mov edx, 0x20
nop dword [rax]
mov ecx, dword [rbx + 8]
test ecx, ecx
je 0x14001b3cc
mov dword [rbp - 0x19], 0
mov eax, dword [rbx + 0x24]
test eax, 0x80000000
jbe 0x14001b37f
mov esi, 4
jmp 0x14001b38c
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 0x14001b3c2
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 0x14001b360
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 0x14001b436
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 0x14001b45b
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 0x14001b480
lea rcx, str._DLL_injection__WARNING:_cant_release_mapping_data_memory_n
call fcn.140001190
mov al, 1
jmp 0x14001b4a3
lea rcx, str._DLL_injection__Wrong_mapping_ptr._n
call fcn.140001190
jmp 0x14001b1a7
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.14001de00
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.14002bfb4
int3
call fcn.14002bfb4
int3
call fcn.14002bfb4
int3
call fcn.14002bfb4
int3
call fcn.14002bfb4
int3
call fcn.14002bfb4
int3
call fcn.14002bfb4
int3
call fcn.14002bfb4
int3
call fcn.14002bfb4
int3