Function at 0x5a860
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x80], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov r8d, 0x74706c74
mov edx, 0x76
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x5a8d6
mov eax, 0xc000009a
jmp 0x5acf0
mov rdi, qword [rsp + 0x50]
xor eax, eax
mov ecx, 0x76
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x50]
add rax, 0x30
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov dword [rax + 0x20], 0x16
mov rcx, qword [rsp + 0xa8]
add rcx, 0x30
mov rax, qword [rsp + 0xa8]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov dword [rax], 1
mov ecx, 0xe
mov rax, qword [rsp + 0x58]
mov word [rax + 4], cx
mov ecx, 2
mov rax, qword [rsp + 0x58]
mov word [rax + 6], cx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x90]
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 + 0x80]
mov ecx, 3
call qword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x5a9d7
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, 0xc000009a
jmp 0x5acf0
cmp dword [rsp + 0x110], 0
je 0x5aa9c
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x110]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x5aa38
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_IoFreeIrp]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, 0xc000009a
jmp 0x5acf0
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov dword [rsp + 0x88], 0
jmp 0x5aa86
cmp dword [rsp + 0x88], 0
jge 0x5aa9c
mov eax, dword [rsp + 0x88]
jmp 0x5acf0
xor eax, eax
test eax, eax
je 0x5aac0
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.00057c80
jmp 0x5aadc
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.00057c80
mov rcx, qword [rsp + 0x78]
call fcn.00057c20
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov byte [rax], 0xf
mov rax, qword [rsp + 0xb8]
mov byte [rax + 1], 0xa
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0x80]
mov qword [rcx + 0x28], rax
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xf0]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0xb8]
add rax, 8
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x110]
mov dword [rcx], eax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x50]
mov qword [rcx + 8], rax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xa8]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x118]
mov dword [rcx + 0x18], eax
cmp dword [rsp + 0x110], 0
je 0x5aba2
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xc8], rax
jmp 0x5abae
mov qword [rsp + 0xc8], 0
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0xc8]
mov qword [rcx + 8], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0x103
jne 0x5ac7b
mov qword [rsp + 0xc0], 0xfffffffffd050f80
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0x102
jne 0x5ac70
mov rcx, qword [rsp + 0x78]
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 + 0x90]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov dword [rsp + 0x88], 0xc0000001
jmp 0x5ac7b
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x88], eax
cmp qword [rsp + 0xf8], 0
je 0x5ac98
mov rcx, qword [rsp + 0xf8]
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0xa]
mov dword [rcx], eax
cmp qword [rsp + 0x100], 0
je 0x5acb7
mov rcx, qword [rsp + 0x100]
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 8]
mov word [rcx], ax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp dword [rsp + 0x88], 0
jl 0x5acdb
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0xd0], eax
jmp 0x5ace9
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0xd0]
add rsp, 0xe0
pop rdi
ret