Function at 0x14000c820
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov r14, rdx
mov r13, rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rax - 0x80], xmm0
movups xmmword [rax - 0x70], xmm0
movups xmmword [rax - 0x60], xmm0
and qword [rsp + 0x50], rdi
mov rsi, qword [rdx + 0x10]
or r12, 0xffffffffffffffff
mov rax, qword [r14 + 0x28]
add rax, qword [r14 + 0x10]
cmp rsi, rax
jae 0x14000c8e2
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
and dword [rsp + 0xf8], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ZwQueryVirtualMemory]
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14000c8f6
lfence
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
lea r8, [0x140010450]
lea r9, [0x140010430]
xor edx, edx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, edi
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
mov rcx, r13
call fcn.14000e9b8
test eax, eax
js 0x14000c929
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14000c929
mov eax, dword [rax + 0x30]
bt eax, 0xe
jb 0x14000ca3a
mov esi, dword [rsp + 0x7c]
and sil, 0x4c
mov byte [rsp + 0xf0], sil
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
jne 0x14000c9a7
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ZwProtectVirtualMemory]
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14000c9a7
lfence
cmp eax, 0xc000004e
je 0x14000c8e2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8, [0x140010550]
jmp 0x14000c8d0
xor r15b, r15b
mov r8d, 0x1000
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ProbeForWrite]
jmp 0x14000ca08
test sil, sil
jne 0x14000ca35
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xf8]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ZwProtectVirtualMemory]
test r15b, r15b
je 0x14000ca44
mov eax, 0xc0000043
jmp 0x14000c8e4
test sil, sil
jne 0x14000cae6
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
add rcx, rsi
cmp rsi, rcx
jae 0x14000cae6
and qword [rsp + 0x90], 0
mov qword [rsp + 0x88], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x10
lea r9, [rsp + 0x88]
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ZwQueryVirtualMemory]
test eax, eax
js 0x14000cab0
test qword [rsp + 0x90], 0x8000
jne 0x14000cac3
add rsi, 0x1000
mov rcx, qword [rsp + 0x58]
add rcx, qword [rsp + 0x70]
jmp 0x14000ca5a
mov qword [rsp + 0x20], rsi
lea r9, [0x140010430]
lea r8, [0x140010500]
xor edx, edx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000ca3a
mov rsi, qword [rsp + 0x70]
add rsi, qword [rsp + 0x58]
jmp 0x14000c860