Function at 0x180028f10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1800c4060]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor edx, edx
lea r9, [rbp - 0x18]
mov rdi, rcx
xor r15d, r15d
xor r8d, r8d
mov dword [rbp - 0x18], r15d
mov ebx, r15d
lea ecx, [rdx + 0x40]
call fcn.18003a240
cmp eax, 0xc0000004
jne 0x180028f98
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x18]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp - 0x18]
lea r9, [rbp - 0x18]
mov rdx, rax
mov ecx, 0x40
mov rbx, rax
call fcn.18003a240
cmp eax, 0xc0000004
je 0x180028f53
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], r14
test eax, eax
js 0x1800291f2
test rbx, rbx
je 0x180029208
mov esi, r15d
mov r14, r15
cmp qword [rbx], rsi
jbe 0x180029020
mov rax, r15
nop word [rax + rax]
lea rax, [rax + rax*4]
movups xmm0, xmmword [rbx + rax*8 + 0x10]
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rbx + rax*8 + 0x20]
movups xmmword [rbp - 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm0, xmmword [rbp - 0x50]
mov ecx, eax
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x18002900e
mov rax, qword [rdi]
cmp qword [rbp - 0x30], rax
je 0x18002901c
inc esi
mov eax, esi
cmp rax, qword [rbx]
jb 0x180028fd0
jmp 0x1800291f7
mov r14, qword [rbp - 0x40]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x180029208
lea rdx, [r14 + 8]
mov qword [rbp - 0x50], r15
mov rcx, rdi
call fcn.180027e00
test rax, rax
je 0x180029208
lea r9, [rbp - 0x50]
mov r8d, 8
mov rdx, rax
mov rcx, rdi
call fcn.180027f90
test eax, eax
je 0x180029208
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x180029208
add rdx, 8
mov qword [rbp - 0x50], r15
mov rcx, rdi
call fcn.180027e00
test rax, rax
je 0x180029208
lea r9, [rbp - 0x50]
mov r8d, 8
mov rdx, rax
mov rcx, rdi
call fcn.180027f90
test eax, eax
je 0x180029208
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x180029208
add rdx, 0x28
mov qword [rbp - 0x50], r15
mov rcx, rdi
call fcn.180027e00
test rax, rax
je 0x180029208
lea r9, [rbp - 0x50]
mov r8d, 8
mov rdx, rax
mov rcx, rdi
call fcn.180027f90
test eax, eax
je 0x180029208
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x180029208
lea rsi, [rax + 0x58]
xorps xmm0, xmm0
mov rdx, rsi
mov rcx, rdi
movups xmmword [rbp - 0x50], xmm0
call fcn.180027e00
test rax, rax
je 0x180029208
lea r9, [rbp - 0x50]
mov r8d, 0x10
mov rdx, rax
mov rcx, rdi
call fcn.180027f90
test eax, eax
je 0x180029208
movzx eax, word [rbp - 0x50]
test ax, ax
je 0x180029208
mov ecx, eax
mov r14d, eax
shr rcx, 1
mov eax, 2
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18003b954
lea r8, [r14 + 2]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.180042070
mov rdx, qword [rbp - 0x48]
mov rcx, rdi
call fcn.180027e00
test rax, rax
je 0x180029208
mov r9, rbx
mov r8d, r14d
mov rdx, rax
mov rcx, rdi
call fcn.180027f90
test eax, eax
je 0x180029208
mov rdx, rsi
mov word [rbp - 0x50], r15w
mov rcx, rdi
call fcn.180027e00
test rax, rax
je 0x180029208
lea r9, [rbp - 0x50]
mov r8d, 0x10
mov rdx, rax
mov rcx, rdi
call fcn.1800280d0
test eax, eax
je 0x180029208
mov rdx, rbx
lea rcx, str.___MmUnloadedDrivers_Cleaned:__ws_n
call fcn.180026040
mov rcx, rbx
call fcn.18003b2f0
mov al, 1
jmp 0x18002920a
test rbx, rbx
je 0x180029208
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov r14, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18003b2d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop rdi
pop rbp
ret