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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x110
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x12a52ee0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r10, rdx
mov rsi, rcx
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x12810fdf
test byte [rcx + 0x24], 1
jne 0x12810fdf
xor edi, edi
mov dword [rsp + 0x40], edi
lea rbx, [rcx + 0x124]
mov rbp, rbx
mov rcx, qword [rcx + 0x18]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x78], rdi
mov qword [r11 - 0xb8], rdi
mov qword [r11 - 0xb0], rdi
mov qword [r11 - 0xa8], rdi
mov qword [r11 - 0xa0], rdi
mov qword [r11 - 0x98], rdi
mov qword [r11 - 0x90], rdi
mov qword [r11 - 0x88], rdi
mov qword [r11 - 0x80], rdi
mov qword [r11 - 0x78], rdi
mov qword [r11 - 0x70], rdi
mov qword [r11 - 0x68], 2
mov dword [r11 - 0x60], 0x10
mov dword [r11 - 0x5c], edi
test rcx, rcx
je 0x12810e27
cmp r9, rcx
je 0x12810e27
mov rax, r9
sub rax, rcx
jns 0x12810e01
neg rax
cmp rax, 0x7fffffff
jae 0x12810e27
mov dword [rsp + 0xdc], 1
mov qword [rsp + 0xd0], rdi
mov dword [rsp + 0xd8], 5
mov eax, dword [rsp + 0xd0]
mov dword [rsi + 0x1a4], eax
add rbp, rax
mov dword [rsp + 0x44], edi
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0x18
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x20], rax
mov r8d, 0x80
mov rdx, rbp
mov rcx, rbp
call r10
mov r12d, eax
test eax, eax
je 0x12810fd1
mov ecx, dword [rsp + 0x44]
test ecx, ecx
je 0x12810fd1
add rbp, rcx
mov dword [rsi + 0x1a8], ecx
mov dword [rsi + 0xa0], r12d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
mov r9, qword [rsi + 0x18]
mov r8, r12
mov rdx, qword [rsi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.12810a10
mov r11, qword [rsp + 0xd0]
test r11, r11
je 0x12810eee
lea r8, [rsi + r11 + 0x124]
cmp rbx, r8
je 0x12810eee
mov rdx, qword [rsp + 0xc8]
sub rdx, rbx
nop dword [rax + rax]
movzx eax, byte [rdx + rbx]
mov byte [rbx], al
inc rbx
cmp rbx, r8
jne 0x12810ee0
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
mov rcx, rbp
call fcn.12959240
cmp r12d, 0x20
ja 0x12810fc0
mov r8d, dword [rsi + 0xa0]
lea rcx, [rsi + 0xa4]
mov rdx, qword [rsi + 0x10]
call fcn.12959240
mov edx, dword [rsp + 0xb0]
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x20
lea r9, [rsp + 0xe0]
mov r8, qword [rsp + 0xa8]
mov rcx, r12
call fcn.1280e3e0
mov rbp, rax
lea r9, [rsp + 0x40]
mov r8d, 0x80
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x12810fc0
mov r8, rbx
mov rdx, rbp
mov rcx, qword [rsi + 0x10]
call fcn.12959240
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x40]
mov rdx, rbx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8, rbx
mov rdx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dword [rsi + 0x20], edi
mov rcx, qword [rsp + 0x60]
call fcn.1295c768
mov eax, edi
jmp 0x12810fec
mov rcx, qword [rsp + 0x60]
call fcn.1295c768
xor eax, eax
jmp 0x12810fec
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.12959850
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret