Function at 0x180008270
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x88
mov eax, dword [rsp + 0xa0]
imul rax, rax, 0x40
mov rcx, qword [0x180026500]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0xa8], 0
je 0x1800082e4
mov ecx, dword [rsp + 0xa0]
call fcn.180008160
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1800082e4
mov eax, dword [rsp + 0x40]
jmp 0x180008520
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x28]
and al, 1
movzx eax, al
test eax, eax
je 0x180008312
mov rax, qword [rsp + 0x38]
sub rax, 5
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0xa8], 0
jne 0x1800083ad
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
cmp eax, 0xe9
jne 0x1800083ad
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 1]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 5]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
add rax, 0x10
cmp rax, qword [rsp + 0x58]
je 0x1800083ad
mov rax, qword [rsp + 0x58]
sub rax, 0x10
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [fcn.180008270]
mov r8d, dword [rsp + 0xa0]
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x60]
call qword [rax]
jmp 0x180008520
lea r9, [rsp + 0x44]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800083d6
mov eax, 0xa
jmp 0x180008520
cmp dword [rsp + 0xa8], 0
je 0x180008446
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
add rax, 0x10
mov rcx, qword [rsp + 0x38]
add rcx, 5
sub rax, rcx
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x28]
and al, 1
movzx eax, al
test eax, eax
je 0x180008444
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x70]
mov byte [rax + 1], 0xf9
jmp 0x180008484
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x28]
and al, 1
movzx eax, al
test eax, eax
je 0x18000846f
mov rax, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
lea rsi, [rax + 0x20]
mov ecx, 7
rep movsb byte [rdi], byte [rsi]
jmp 0x180008484
mov rax, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
lea rsi, [rax + 0x20]
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r8d, dword [rsp + 0xa8]
mov edx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb0]
call fcn.180007fe0
movzx eax, byte [rsp + 0xa8]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 0x28]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x30]
mov byte [rcx + 0x28], al
movzx eax, byte [rsp + 0xa8]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 0x28]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x30]
mov byte [rcx + 0x28], al
xor eax, eax
add rsp, 0x88
pop rdi
pop rsi
ret