Function at 0x1400021a8
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
and qword [rsp + 0x40], 0
lea rax, [0x140003520]
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov dword [rsp + 0x50], 0x220020
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
and qword [rsp + 0x30], 0
movzx r12d, dl
lea edx, [r9 + 0x40]
mov byte [rsp + 0x28], 0
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByName]
test eax, eax
js 0x14000242a
mov rcx, qword [rsp + 0x40]
lea r9, [rbp + 0xc0]
and dword [rbp + 0xc0], 0
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IoEnumerateDeviceObjectList]
mov edx, dword [rbp + 0xc0]
cmp eax, 0xc0000023
jne 0x14000240e
test edx, edx
je 0x14000240e
lea eax, [rdx*8]
xor ecx, ecx
mov edx, eax
mov r8d, 0x6e556353
mov dword [rbp + 0xc8], eax
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
je 0x1400023fa
mov r8d, dword [rbp + 0xc8]
lea r9, [rbp + 0xc0]
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_IoEnumerateDeviceObjectList]
test eax, eax
js 0x1400023d8
lfence
mov edx, dword [rbp + 0xc0]
test edx, edx
je 0x1400023de
xor edi, edi
test edx, edx
je 0x1400023ed
mov r13, qword [rsi + rdi*8]
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x104
call fcn.1400032c0
lea r9, [rbp + 0xc8]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.ntoskrnl.exe_ObQueryNameString]
test eax, eax
js 0x1400023bf
mov rcx, qword [rsp + 0x68]
lea rdx, [0x140003550]
call sub.ntoskrnl.exe_wcsstr
test rax, rax
je 0x1400023bf
lfence
mov rax, qword [r13 + 8]
xor r14d, r14d
xor r15d, r15d
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1400023a8
mov rsi, qword [rbp + 0xb0]
cmp dword [rbx + 0x48], 7
jne 0x14000239a
mov r8, r12
lea r9, str._________
add r8, qword [rbx + 0x40]
mov rcx, r9
mov rdx, qword [r8 + 8]
mov al, byte [rcx]
inc rcx
mov byte [rdx], al
inc rdx
test al, al
jne 0x140002357
or rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], 0
jne 0x140002369
mov word [r8], ax
mov rcx, qword [rbx + 0x40]
call rsi
test eax, eax
js 0x140002386
inc r15d
jmp 0x140002397
lfence
mov edx, eax
lea rcx, [0x140003570]
call sub.ntoskrnl.exe_DbgPrint
inc r14d
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000233c
mov rsi, qword [rsp + 0x48]
mov r9d, r14d
lea rdx, [rsp + 0x60]
mov r8d, r15d
lea rcx, [0x1400035b0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, r13
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
inc edi
cmp edi, dword [rbp + 0xc0]
jb 0x1400022cc
jmp 0x1400023ed
mov edx, dword [rbp + 0xc0]
mov r8d, eax
lea rcx, [0x1400035f0]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x14000241d
mov edx, dword [rbp + 0xc0]
lea rcx, [0x140003630]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000241d
mov r8d, eax
lea rcx, [0x140003670]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140002441
lfence
mov r8d, eax
lea rdx, [rsp + 0x40]
lea rcx, [0x1400036b0]
call sub.ntoskrnl.exe_DbgPrint
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret