Function at 0x140001784
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
xor r12d, r12d
mov dword [rbp - 0x29], 0x20001e
lea rax, [0x140002c10]
mov qword [rbp + 0x77], r12
mov qword [rbp - 0x21], rax
mov r13d, 0x20
lea rax, [rbp + 0x77]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
mov qword [rsp + 0x30], r12
lea ebx, [r13 + 0x20]
mov byte [rsp + 0x28], r12b
mov edx, ebx
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x29]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByName]
lea rdi, [0x140006090]
test eax, eax
js 0x140001869
mov eax, dword [0x140008070]
lea rcx, [0x140001564]
movaps xmm0, xmmword [rbp - 0x29]
mov edx, eax
shl rdx, 5
inc eax
mov dword [0x140008070], eax
mov rax, qword [rbp + 0x77]
add rax, 0xe0
movdqa xmmword [rbp - 9], xmm0
mov qword [rdx + rdi + 0x10], rax
xchg qword [rax], rcx
movaps xmm0, xmmword [rbp - 9]
mov qword [rdx + rdi + 0x18], rcx
movdqu xmmword [rdx + rdi], xmm0
mov qword [0x140006068], rcx
lea rdx, [rbp - 9]
lea rcx, [0x140002c30]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x14000187c
mov r8d, eax
lea rdx, [rbp - 0x29]
lea rcx, [0x140002c50]
call sub.ntoskrnl.exe_DbgPrint
lea rax, [0x140002c80]
mov dword [rbp - 0x19], 0x1a0018
mov qword [rbp - 0x11], rax
xor r9d, r9d
lea rax, [rbp + 0x6f]
mov qword [rbp + 0x6f], r12
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
mov edx, ebx
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x28], r12b
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByName]
test eax, eax
js 0x140001b46
mov eax, dword [0x140008070]
lea rdx, [0x14000109c]
movaps xmm0, xmmword [rbp - 0x19]
lea rcx, [0x140002c30]
mov r8d, eax
movdqa xmmword [rbp - 9], xmm0
inc eax
shl r8, 5
mov dword [0x140008070], eax
mov rax, qword [rbp + 0x6f]
add rax, 0xe0
mov qword [r8 + rdi + 0x10], rax
xchg qword [rax], rdx
movaps xmm0, xmmword [rbp - 9]
mov qword [r8 + rdi + 0x18], rdx
mov qword [0x140006058], rdx
lea rdx, [rbp - 9]
movdqu xmmword [r8 + rdi], xmm0
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbp + 0x6f]
lea r8, [0x140002ca0]
lea rdx, [0x140002cc0]
mov rcx, qword [rcx + 0x18]
call fcn.1400024ac
mov r15, rax
test rax, rax
je 0x140001abc
mov rcx, qword [rbp + 0x6f]
lea r9, [rbp + 0x67]
xor r8d, r8d
mov dword [rbp + 0x67], r12d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IoEnumerateDeviceObjectList]
cmp eax, 0xc0000023
jne 0x140001abc
mov ecx, dword [rbp + 0x67]
test ecx, ecx
je 0x140001abc
lea ebx, [rcx*8]
mov r8d, 0x6e556353
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
test rax, rax
je 0x140001abc
mov rcx, qword [rbp + 0x6f]
lea r9, [rbp + 0x67]
mov r8d, ebx
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_IoEnumerateDeviceObjectList]
test eax, eax
js 0x140001ab1
mov eax, dword [rbp + 0x67]
test eax, eax
je 0x140001ab1
mov ebx, r12d
mov eax, ebx
mov r14, qword [rsi + rax*8]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_IoGetAttachedDeviceReference]
mov rdi, rax
test rax, rax
je 0x140001a6c
xorps xmm0, xmm0
lea rcx, [rbp + 7]
xor eax, eax
xor r8d, r8d
xor edx, edx
mov qword [rbp + 0x17], rax
movups xmmword [rbp + 7], xmm0
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov qword [rsp + 0x40], r12
lea rax, [rbp + 7]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov byte [rsp + 0x30], r12b
xor r8d, r8d
mov dword [rsp + 0x28], r12d
mov rdx, rdi
mov ecx, 0x70140
mov qword [rsp + 0x20], r12
call qword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
test rax, rax
je 0x140001a63
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
cmp eax, 0x103
jne 0x140001a63
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
lea rcx, [rbp + 7]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [r14 + 0x40]
test rcx, rcx
je 0x140001a9d
mov rax, qword [rcx + 0x208]
lea r8, str._________
mov edx, dword [rax + 0x18]
add rdx, rax
mov al, byte [r8]
inc r8
mov byte [rdx], al
inc rdx
test al, al
jne 0x140001a89
xor edx, edx
call r15
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
inc ebx
cmp ebx, dword [rbp + 0x67]
jb 0x1400019cc
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor edx, edx
lea rcx, [0x140002ce0]
call fcn.140002548
mov rdi, rax
test rax, rax
je 0x140001b46
lea r8, [0x140002cf0]
mov rcx, rax
lea rdx, [0x140002d10]
call fcn.1400024ac
mov rbx, rax
test rax, rax
je 0x140001b46
lea r8, [0x140002d30]
mov rcx, rdi
lea rdx, [0x140002d40]
call fcn.1400024ac
test rax, rax
je 0x140001b46
lea r9, [0x140002d50]
mov edx, r13d
lea r8, [0x140002d60]
mov rcx, rax
call fcn.140002438
test rax, rax
je 0x140001b46
movsxd rcx, dword [rbx + 4]
mov dl, byte [rax + 3]
add rcx, 8
add rcx, rbx
call fcn.140001f84
mov rbx, qword [rsp + 0xf8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret