Function at 0x209f0
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 0x20a43
call fcn.00016210
movzx eax, al
mov edx, eax
lea rcx, [0x00011090]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x59e
lea rdx, [0x000113c8]
lea rcx, [0x000110e4]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov rax, qword [rsp + 0x50]
cmp dword [rax + 4], 0
jne 0x20a58
mov dword [rsp + 0x24], 1
jmp 0x20a60
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
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 0x20abb
xor eax, eax
test eax, eax
jne 0x20aa1
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
and eax, 0x100
test eax, eax
je 0x20ab9
lea rcx, [0x000113f0]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x00011818]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x20af2
xor eax, eax
test eax, eax
jne 0x20ad2
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
and eax, 0x100
test eax, eax
je 0x20af2
lea rcx, [0x000113f0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x50]
mov edx, dword [rax + 4]
lea rcx, [0x00011830]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x40], 0
jne 0x20b4e
xor eax, eax
test eax, eax
jne 0x20b14
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
and eax, 0x800
test eax, eax
je 0x20b2c
lea rcx, [0x000113f0]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x00011840]
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 0x20c9a
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
jmp 0x20b6b
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
add rax, 0x30
cmp qword [rsp + 0x28], rax
je 0x20c39
mov rax, qword [rsp + 0x28]
sub rax, 0x38
mov qword [rsp + 0x30], rax
xor eax, eax
test eax, eax
jne 0x20ba4
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
and eax, 0x100
test eax, eax
je 0x20bc4
lea rcx, [0x000113f0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x30]
lea rcx, [0x000117d0]
call sub.ntoskrnl.exe_DbgPrint
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x20bdf
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x30]
cmp dword [rax + 4], ecx
jne 0x20c34
xor eax, eax
test eax, eax
jne 0x20bf6
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
and eax, 0x400
test eax, eax
je 0x20c16
lea rcx, [0x000113f0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x30]
lea rcx, [0x00011858]
call sub.ntoskrnl.exe_DbgPrint
mov byte [rsp + 0x21], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_IoRequestDeviceEject]
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x20c34
jmp 0x20c39
jmp 0x20b5e
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 0x20c5e
xor eax, eax
jmp 0x20c9a
xor eax, eax
test eax, eax
jne 0x20c75
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
and eax, 0x800
test eax, eax
je 0x20c95
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