Function at 0x130b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov dword [rsp + 0x4c], 0xc0000001
mov byte [rsp + 0x48], 0
lea rdx, [0x00016180]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1310a
mov eax, dword [rsp + 0x4c]
jmp 0x13353
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x240
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0x60]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jge 0x13173
movzx eax, byte [0x00019501]
test eax, eax
je 0x1316a
lea rcx, [0x000162d0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x4c]
jmp 0x13353
mov dword [rsp + 0x4c], 0xc0000001
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x13264
cmp dword [rsp + 0x90], 0
je 0x13234
movsxd rdx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x18]
cmp qword [rcx + rdx*8 + 0x70], rax
jbe 0x13232
movsxd rdx, dword [rsp + 0xa0]
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax + 0x20]
mov rax, qword [rsp + 0x78]
add rcx, qword [rax + 0x18]
mov rax, qword [rsp + 0x78]
cmp qword [rax + rdx*8 + 0x70], rcx
jae 0x13232
movsxd rdx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + rdx*8 + 0x70]
mov qword [rcx], rax
movsxd rdx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0xb0]
mov qword [rcx + rdx*8 + 0x70], rax
mov dword [rsp + 0x4c], 0
jmp 0x1325f
mov rax, qword [rsp + 0xa8]
cmp qword [rax], 0
je 0x1325f
movsxd rdx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov qword [rcx + rdx*8 + 0x70], rax
jmp 0x13344
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx eax, al
test eax, eax
je 0x13344
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x90], 0
je 0x13319
movsxd rdx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
cmp qword [rcx + rdx*8 + 0x70], rax
jbe 0x13317
movsxd rdx, dword [rsp + 0xa0]
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax + 0x20]
mov rax, qword [rsp + 0x50]
add rcx, qword [rax + 0x18]
mov rax, qword [rsp + 0x50]
cmp qword [rax + rdx*8 + 0x70], rcx
jae 0x13317
movsxd rdx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + rdx*8 + 0x70]
mov qword [rcx], rax
movsxd rdx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xb0]
mov qword [rcx + rdx*8 + 0x70], rax
mov dword [rsp + 0x4c], 0
jmp 0x13344
mov rax, qword [rsp + 0xa8]
cmp qword [rax], 0
je 0x13344
movsxd rdx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov qword [rcx + rdx*8 + 0x70], rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x4c]
add rsp, 0x88
ret