Function at 0x221a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov byte [rsp + 0x21], 0
call fcn.00016210
movzx eax, al
cmp eax, 1
jle 0x221f3
call fcn.00016210
movzx eax, al
mov edx, eax
lea rcx, [0x00011090]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x530
lea rdx, [0x000113c8]
lea rcx, [0x000110e4]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov rax, qword [rsp + 0x50]
cmp dword [rax + 4], 0
jne 0x22208
mov dword [rsp + 0x2c], 1
jmp 0x22210
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x20], al
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov rax, qword [rsp + 0x58]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x2226b
xor eax, eax
test eax, eax
jne 0x22251
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
and eax, 0x100
test eax, eax
je 0x22269
lea rcx, [0x000113f0]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x00011768]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x222a2
xor eax, eax
test eax, eax
jne 0x22282
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
and eax, 0x100
test eax, eax
je 0x222a2
lea rcx, [0x000113f0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x50]
mov edx, dword [rax + 4]
lea rcx, [0x00011788]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x40], 0
jne 0x222fe
xor eax, eax
test eax, eax
jne 0x222c4
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
and eax, 0x800
test eax, eax
je 0x222dc
lea rcx, [0x000113f0]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x000117a0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x58]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
mov eax, 0xc000000e
jmp 0x22517
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x30], rax
jmp 0x2231b
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x58]
add rax, 0x30
cmp qword [rsp + 0x30], rax
je 0x22492
mov rax, qword [rsp + 0x30]
sub rax, 0x38
mov qword [rsp + 0x38], rax
xor eax, eax
test eax, eax
jne 0x22354
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
and eax, 0x100
test eax, eax
je 0x22374
lea rcx, [0x000113f0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x38]
mov edx, dword [rax + 0x30]
lea rcx, [0x000117d0]
call sub.ntoskrnl.exe_DbgPrint
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x22393
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x30]
cmp dword [rax + 4], ecx
jne 0x2248d
xor eax, eax
test eax, eax
jne 0x223aa
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
and eax, 0x400
test eax, eax
je 0x223ca
lea rcx, [0x000113f0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x38]
mov edx, dword [rax + 0x30]
lea rcx, [0x000117e8]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x48], 0
mov byte [rsp + 0x21], 1
mov dword [rsp + 0x24], 0
jmp 0x223ec
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [0x0001b470]
cmp dword [rsp + 0x24], eax
jae 0x22482
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x22482
mov eax, dword [rsp + 0x24]
lea rcx, [0x0001b4c0]
mov rdx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
cmp dword [rdx + 4], eax
jne 0x2247d
mov eax, dword [0x0001b470]
dec eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jae 0x2246d
mov eax, dword [rsp + 0x28]
lea rcx, [0x0001b4c0]
mov edx, dword [rsp + 0x24]
lea r8, [0x0001b4c0]
mov eax, dword [rcx + rax*4]
mov dword [r8 + rdx*4], eax
mov eax, dword [rsp + 0x28]
lea rcx, [0x0001b480]
mov edx, dword [rsp + 0x24]
lea r8, [0x0001b480]
mov eax, dword [rcx + rax*4]
mov dword [r8 + rdx*4], eax
mov eax, dword [0x0001b470]
dec eax
mov dword [0x0001b470], eax
jmp 0x22482
jmp 0x223e2
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x2248d
jmp 0x22492
jmp 0x2230e
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x224a5
mov dword [0x0001b470], 0
mov rax, qword [rsp + 0x58]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x224db
xor edx, edx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ntoskrnl.exe_IoInvalidateDeviceRelations]
xor eax, eax
jmp 0x22517
xor eax, eax
test eax, eax
jne 0x224f2
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
and eax, 0x800
test eax, eax
je 0x22512
lea rcx, [0x000113f0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x50]
mov edx, dword [rax + 4]
lea rcx, [0x000117f8]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc000000d
add rsp, 0x48
ret