Function at 0x14000c5e8
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 r15, rdx
mov r14, 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
lea r12, [rdx + 0x10]
mov qword [rsp + 0x98], r12
mov rsi, qword [r12]
or r13, 0xffffffffffffffff
mov rax, qword [r15 + 0x28]
add rax, qword [r12]
cmp rsi, rax
jae 0x14000c6b6
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, r13
call qword [sym.imp.ntoskrnl.exe_ZwQueryVirtualMemory]
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14000c6ca
lfence
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
lea r8, [0x14000fe50]
lea r9, [0x14000fe30]
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, r14
call fcn.14000e794
test eax, eax
js 0x14000c6fd
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14000c6fd
test dword [rax + 0x30], 0x4000
jne 0x14000c80e
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 0x14000c77b
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.ntoskrnl.exe_ZwProtectVirtualMemory]
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14000c77b
lfence
cmp eax, 0xc000004e
je 0x14000c6b6
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8, [0x14000ff20]
jmp 0x14000c6a4
xor r14b, r14b
mov r8d, 0x1000
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ProbeForWrite]
jmp 0x14000c7dc
test sil, sil
jne 0x14000c809
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xf8]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.ntoskrnl.exe_ZwProtectVirtualMemory]
test r14b, r14b
je 0x14000c818
mov eax, 0xc0000043
jmp 0x14000c6b8
test sil, sil
jne 0x14000c88f
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
add rcx, rsi
jmp 0x14000c88a
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, r13
call qword [sym.imp.ntoskrnl.exe_ZwQueryVirtualMemory]
test eax, eax
js 0x14000c879
test qword [rsp + 0x90], 0x8000
jne 0x14000c8a6
add rsi, 0x1000
mov rcx, qword [rsp + 0x58]
add rcx, qword [rsp + 0x70]
cmp rsi, rcx
jb 0x14000c82c
mov rsi, qword [rsp + 0x70]
add rsi, qword [rsp + 0x58]
mov r14, qword [rsp + 0xe0]
jmp 0x14000c634
mov qword [rsp + 0x20], rsi
lea r9, [0x14000fe30]
lea r8, [0x14000fee0]
xor edx, edx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000c80e