Function at 0x5afc0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea r11, [rsp + 0x50]
mov qword [rsp + 0x40], r11
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov ecx, 3
call qword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x5b062
mov eax, 0xc000009a
jmp 0x5b2c9
cmp dword [rsp + 0xe0], 0
je 0x5b101
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0xe0]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x5b0b6
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_IoFreeIrp]
mov eax, 0xc000009a
jmp 0x5b2c9
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov dword [rsp + 0x78], 0
jmp 0x5b0f1
cmp dword [rsp + 0x78], 0
jge 0x5b101
mov eax, dword [rsp + 0x78]
jmp 0x5b2c9
xor eax, eax
test eax, eax
je 0x5b125
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.00057c80
jmp 0x5b141
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.00057c80
mov rcx, qword [rsp + 0x68]
call fcn.00057c20
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov byte [rax], 0xf
mov rax, qword [rsp + 0xa0]
mov byte [rax + 1], 8
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x70]
mov qword [rcx + 0x28], rax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xd0]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0xa0]
add rax, 8
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
mov eax, dword [rsp + 0xe8]
mov dword [rcx + 4], eax
mov rcx, qword [rsp + 0x98]
mov eax, dword [rsp + 0xe0]
mov dword [rcx], eax
cmp dword [rsp + 0xe0], 0
je 0x5b1df
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb0], rax
jmp 0x5b1eb
mov qword [rsp + 0xb0], 0
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0xb0]
mov qword [rcx + 8], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0x103
jne 0x5b2a3
mov qword [rsp + 0xa8], 0xfffffffffd050f80
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0x102
jne 0x5b29b
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_IoCancelIrp]
lea rcx, str.STATUS_TIMEOUT__n
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov dword [rsp + 0x78], 0xc0000001
jmp 0x5b2a3
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jl 0x5b2b7
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0xb8], eax
jmp 0x5b2c2
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
add rsp, 0xc8
ret