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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbx
push rsi
push r13
push r14
push r15
sub rsp, 0xf0
mov rbx, r9
mov r13, rdx
mov r15, rcx
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140002640
lea r9, [0x14000f2b0]
xor edx, edx
lea ecx, [rdx + 0x4d]
test r15, r15
jne 0x14000a6b2
lea r8, [0x14000f2c0]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, 0xc000000d
jmp 0x14000ab97
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov r14d, dword [rsp + 0x148]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r13
lea r8, [0x14000f2f0]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, r14d
shr eax, 7
and al, 1
mov byte [rsp + 0xa9], al
lea rcx, [rsp + 0x50]
je 0x14000a707
call fcn.140001704
jmp 0x14000a70c
call fcn.140009860
mov esi, eax
test eax, eax
js 0x14000aa5d
mov qword [rsp + 0x120], 0x2000
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x120]
xor r8d, r8d
lea rdx, [rsp + 0x80]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov esi, eax
test eax, eax
js 0x14000aa5d
and dword [rsp + 0xb4], 0
and dword [rsp + 0xcc], 0
mov dword [rsp + 0xb0], 0x30
and qword [rsp + 0xb8], 0
and dword [rsp + 0xc8], 0
and qword [rsp + 0xc0], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xb0]
mov edx, 0x1f0003
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ZwCreateEvent]
mov esi, eax
test eax, eax
js 0x14000a7f8
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9b, 1
mov r8, qword [sym.imp.ntoskrnl.exe_ExEventObjectType]
mov r8, qword [r8]
mov edx, 2
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov esi, eax
test esi, esi
jns 0x14000a81c
lfence
mov dword [rsp + 0x20], esi
lea r9, [0x14000f2b0]
lea r8, [0x14000f330]
xor edx, edx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea rdx, [0x14000f370]
lea rcx, [rsp + 0xe0]
call fcn.140001050
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
setne r8b
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x50]
call fcn.1400084b0
mov rbx, rax
xor r9d, r9d
mov r8, r15
lea rdx, [0x14000f390]
mov rcx, rax
call fcn.140008158
mov qword [rsp + 0x98], rax
xor r9d, r9d
mov r8, r15
lea rdx, [0x14000ead0]
mov rcx, rbx
call fcn.140008158
mov qword [rsp + 0xa0], rax
mov rbx, qword [rsp + 0x138]
test esi, esi
js 0x14000aa5d
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov al, byte [rsp + 0x140]
mov byte [rsp + 0x20], al
mov r9, rbx
mov r8, qword [rsp + 0x130]
mov rdx, r13
mov rcx, r15
call fcn.140009a4c
mov esi, eax
test eax, eax
js 0x14000aa5d
bt r14d, 0xc
jb 0x14000a917
mov eax, dword [0x14000558c]
test eax, eax
je 0x14000a8fe
or dword [rax + r15], 0x38
jmp 0x14000a917
lea r9, [0x14000f2b0]
lea r8, [0x14000f3a0]
xor edx, edx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
test esi, esi
js 0x14000aa5d
test r14b, 0x40
je 0x14000a958
lfence
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov rbx, rax
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rdx + 0x10]
mov qword [rbx + 0x10], rcx
test rax, rax
je 0x14000a958
mov ecx, dword [rdx + 0x10]
mov dword [rax + 8], ecx
test esi, esi
js 0x14000aa5d
lfence
shr r14d, 0x10
and r14b, 1
mov dl, r14b
lea rcx, [rsp + 0x50]
call fcn.140009238
mov esi, eax
mov dword [rsp + 0x40], eax
jmp 0x14000a9a4
test esi, esi
js 0x14000aa5d
cmp dword [rsp + 0x150], 0
je 0x14000aa5d
lfence
mov r8d, dword [rsp + 0x150]
mov rax, qword [rsp + 0x160]
add r8, qword [rax + 0x10]
mov rax, qword [rsp + 0x80]
add rax, 0x1010
mov rcx, qword [rsp + 0x158]
mov edx, 8
lea r9d, [rdx + 0x78]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
add rax, r9
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
add rcx, r9
sub rdx, 1
jne 0x14000a9f0
mov rax, qword [rsp + 0x80]
add rax, 0x1010
mov qword [rsp + 0x20], rax
lea r9d, [rdx + 1]
lea rdx, [rsp + 0x50]
xor ecx, ecx
call fcn.1400094c4
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14000aa70
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp qword [rsp + 0x88], 0
je 0x14000aa9b
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rcx, rax
call fcn.140001ee8
test al, al
jne 0x14000aa9b
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000aaab
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000aae8
mov qword [rsp + 0x120], 0xfffffffffffe7960
xor edx, edx
call fcn.140001b68
lea r8, [rsp + 0x120]
mov dl, 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp qword [rsp + 0x58], 0
je 0x14000ab16
and qword [rsp + 0x120], 0
mov r9d, 0x8000
lea r8, [rsp + 0x120]
lea rdx, [rsp + 0x58]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
cmp qword [rsp + 0x80], 0
je 0x14000ab86
and qword [rsp + 0x120], 0
mov r9d, 0x8000
lea r8, [rsp + 0x120]
lea rdx, [rsp + 0x80]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
jmp 0x14000ab86
mov rax, qword [rbx]
lea rcx, [rsp + 0x70]
cmp qword [rbx + 8], rcx
jne 0x14000aba7
cmp qword [rax + 8], rbx
jne 0x14000aba7
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
mov qword [rax + 8], rcx
lea rcx, [rbx + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov edx, 0x656e6f42
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rbx, qword [rsp + 0x70]
lea rax, [rsp + 0x70]
cmp rbx, rax
jne 0x14000ab4c
mov eax, esi
add rsp, 0xf0
pop r15
pop r14
pop r13
pop rsi
pop rbx
ret
mov ecx, 3
int 0x29
int3