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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140006090]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], rax
jmp 0x1400115dd
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0xd8]
add rax, qword [rcx + 0x28]
cmp qword [rsp + 0x38], rax
jae 0x14001191b
lfence
mov qword [rsp + 0x50], 0
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov dword [rsp + 0x98], 0
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwQueryVirtualMemory]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x1400116ad
lfence
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400169f0]
lea r8, [0x140016a10]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, dword [rsp + 0x34]
jmp 0x14001191f
mov qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xd0]
call fcn.140014f10
test eax, eax
jl 0x1400116f5
cmp qword [rsp + 0x48], 0
je 0x1400116f5
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x30]
shr eax, 0xe
and eax, 1
test eax, eax
je 0x1400116f5
mov eax, 0xc0000043
jmp 0x14001191f
mov eax, dword [rsp + 0x8c]
and eax, 0x4c
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x140011762
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwProtectVirtualMemory]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x1400118d6
mov byte [rsp + 0x31], 0
mov r8d, 0x1000
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ProbeForWrite]
jmp 0x1400117ac
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400117e4
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x98]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwProtectVirtualMemory]
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1400117f7
mov eax, 0xc0000043
jmp 0x14001191f
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140011805
jmp 0x1400115c5
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
jmp 0x140011821
mov rax, qword [rsp + 0x40]
add rax, 0x1000
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x40], rax
jae 0x1400118d4
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x10
lea r9, [rsp + 0x58]
mov r8d, 4
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwQueryVirtualMemory]
test eax, eax
jl 0x1400118cf
mov rax, qword [rsp + 0x60]
shr rax, 0xf
and rax, 1
test rax, rax
je 0x1400118cf
lfence
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400169f0]
lea r8, [0x140016aa0]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, 0xc0000043
jmp 0x14001191f
jmp 0x140011811
jmp 0x140011916
lfence
cmp dword [rsp + 0x34], 0xc000004e
je 0x140011910
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [0x1400169f0]
lea r8, [0x140016ae0]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, dword [rsp + 0x34]
jmp 0x14001191f
jmp 0x1400115c5
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140003e80
add rsp, 0xc0
pop rdi
ret