Function at 0x1400cacb0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Resolve function by parsing pe exports
Spawn thread to rwx shellcode

Disassembly:
sub rsp, 0x168
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rsp + 0x1a8]
mov al, byte [rsp + 0x1a0]
mov r10b, byte [rsp + 0x198]
mov r11b, byte [rsp + 0x190]
and al, 1
mov byte [rsp + 0x5f], al
and r10b, 1
mov byte [rsp + 0x6f], r10b
and r11b, 1
mov byte [rsp + 0x6e], r11b
and r9b, 1
mov byte [rsp + 0x6d], r9b
mov qword [rsp + 0x120], r8
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x70], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400cad61
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x44], 1
jmp 0x1400cb776
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa8]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, 0x18
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x70]
add rax, 4
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
cmp eax, 0x8664
je 0x1400cadc3
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x44], 1
jmp 0x1400cb776
mov rax, qword [rsp + 0xc0]
mov r8d, dword [rax + 0x38]
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400cae09
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x44], 1
jmp 0x1400cb776
mov dword [rsp + 0xd4], 0
mov rax, qword [rsp + 0xc0]
mov r8d, dword [rax + 0x38]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0xd4]
mov r9d, 0x40
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rcx, [rsp + 0xe0]
xor edx, edx
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memset
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xe0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xe8], rax
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x1a8]
mov dword [rsp + 0x108], eax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x110], rax
mov al, byte [rsp + 0x5f]
and al, 1
movzx eax, al
mov dword [rsp + 0x118], eax
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov r9d, 0x1000
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x1400caf17
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x44], 1
jmp 0x1400cb776
mov rax, qword [rsp + 0x70]
add rax, 0x18
mov rcx, qword [rsp + 0x70]
movzx ecx, word [rcx + 0x14]
add rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x94], 0
mov eax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0xa0]
movzx ecx, word [rcx + 2]
cmp eax, ecx
jne 0x1400caf60
mov dword [rsp + 0x44], 2
jmp 0x1400cb000
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 0
je 0x1400cafda
mov rax, qword [rsp + 0x50]
mov r9d, dword [rax + 0x10]
mov r8, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
add r8, rax
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
add rdx, rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x1400cafd8
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x44], 1
jmp 0x1400cb000
jmp 0x1400cafda
jmp 0x1400cafdc
mov eax, dword [rsp + 0x94]
add eax, 1
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x50]
add rax, 0x28
mov qword [rsp + 0x50], rax
jmp 0x1400caf3c
cmp dword [rsp + 0x44], 2
jne 0x1400cb776
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov r8d, 0x40
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x1400cb064
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x44], 1
jmp 0x1400cb776
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0xe0]
mov r9d, 0x40
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x1400cb0d4
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x44], 1
jmp 0x1400cb776
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov r8d, 0x1000
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x1400cb14c
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x44], 1
jmp 0x1400cb776
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
lea r8, [0x1400ca820]
mov r9d, 0x1000
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x1400cb1da
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x44], 1
jmp 0x1400cb776
mov rax, qword [rsp + 0x78]
mov r9, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor edx, edx
xor edx, edx
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd8], 0
jne 0x1400cb282
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x44], 1
jmp 0x1400cb776
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0xb8], 0
cmp qword [rsp + 0xb8], 0
setne al
xor al, 0xff
test al, 1
jne 0x1400cb2b3
jmp 0x1400cb3de
mov dword [rsp + 0xb4], 0
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xb4]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0xb4], 0x103
je 0x1400cb2f0
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x44], 1
jmp 0x1400cb3ce
lea rcx, [rsp + 0x128]
xor edx, edx
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x128]
mov r9d, 0x40
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0xb8], rax
mov eax, 0x404040
cmp qword [rsp + 0xb8], rax
jne 0x1400cb3a8
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x44], 1
jmp 0x1400cb3ce
mov eax, 0x505050
cmp qword [rsp + 0xb8], rax
jne 0x1400cb3b9
jmp 0x1400cb3b9
jmp 0x1400cb3bb
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x44], 0
jne 0x1400cb774
jmp 0x1400cb29c
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x1400cb40e
mov byte [rsp + 0x43], 0
mov dword [rsp + 0x44], 1
jmp 0x1400cb772
mov rcx, qword [rsp + 0x98]
xor edx, edx
mov r8d, 0x1400000
call sub.VCRUNTIME140.dll_memset
test byte [rsp + 0x6d], 1
je 0x1400cb45a
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov r9d, 0x1000
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x1400cb458
jmp 0x1400cb458
jmp 0x1400cb45a
test byte [rsp + 0x6e], 1
je 0x1400cb57d
mov rax, qword [rsp + 0x70]
add rax, 0x18
mov rcx, qword [rsp + 0x70]
movzx ecx, word [rcx + 0x14]
add rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x90], 0
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0xa0]
movzx ecx, word [rcx + 2]
cmp eax, ecx
jne 0x1400cb4ae
mov dword [rsp + 0x44], 7
jmp 0x1400cb57b
mov rax, qword [rsp + 0x50]
cmp dword [rax + 8], 0
je 0x1400cb555
test byte [rsp + 0x5f], 1
je 0x1400cb4c8
xor eax, eax
jmp 0x1400cb4e4
mov rcx, qword [rsp + 0x50]
lea rdx, str..pdata
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
cmp eax, 0
sete al
and al, 1
movzx eax, al
cmp eax, 0
jne 0x1400cb515
mov rcx, qword [rsp + 0x50]
lea rdx, str..rsrc
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
cmp eax, 0
je 0x1400cb515
mov rcx, qword [rsp + 0x50]
lea rdx, str..reloc
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
cmp eax, 0
jne 0x1400cb553
mov rax, qword [rsp + 0x50]
mov r9d, dword [rax + 8]
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
add rdx, rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x1400cb551
jmp 0x1400cb551
jmp 0x1400cb553
jmp 0x1400cb555
jmp 0x1400cb557
mov eax, dword [rsp + 0x90]
add eax, 1
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x50]
add rax, 0x28
mov qword [rsp + 0x50], rax
jmp 0x1400cb48a
jmp 0x1400cb57d
test byte [rsp + 0x6f], 1
je 0x1400cb6e3
mov rax, qword [rsp + 0x70]
add rax, 0x18
mov rcx, qword [rsp + 0x70]
movzx ecx, word [rcx + 0x14]
add rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0xa0]
movzx ecx, word [rcx + 2]
cmp eax, ecx
jne 0x1400cb5d1
mov dword [rsp + 0x44], 0xa
jmp 0x1400cb69c
mov rax, qword [rsp + 0x50]
cmp dword [rax + 8], 0
je 0x1400cb676
mov dword [rsp + 0xd0], 0
mov dword [rsp + 0x88], 2
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
cmp eax, 0
jbe 0x1400cb615
mov dword [rsp + 0x88], 4
jmp 0x1400cb634
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
cmp eax, 0
jbe 0x1400cb632
mov dword [rsp + 0x88], 0x20
jmp 0x1400cb634
mov r9d, dword [rsp + 0x88]
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 8]
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
add rdx, rax
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp eax, 0
je 0x1400cb674
jmp 0x1400cb676
jmp 0x1400cb676
jmp 0x1400cb678
mov eax, dword [rsp + 0x8c]
add eax, 1
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x50]
add rax, 0x28
mov qword [rsp + 0x50], rax
jmp 0x1400cb5ad
mov dword [rsp + 0xcc], 0
mov rax, qword [rsp + 0x70]
add rax, 0x18
mov rcx, qword [rsp + 0x70]
movzx ecx, word [rcx + 0x14]
add rax, rcx
mov r8d, dword [rax + 0xc]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0xcc]
mov r9d, 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
mov r9d, 0x1000
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x1400cb714
jmp 0x1400cb714
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp eax, 0
jne 0x1400cb737
jmp 0x1400cb737
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp eax, 0
jne 0x1400cb757
jmp 0x1400cb757
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rsp + 0x43], 1
mov dword [rsp + 0x44], 1
jmp 0x1400cb776
jmp 0x1400cb776
mov al, byte [rsp + 0x43]
and al, 1
movzx eax, al
add rsp, 0x168
ret