Function at 0x140001958
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
and qword [rsp + 0x40], 0
lea rax, [0x140002bc0]
mov qword [rsp + 0x58], rax
mov r12, rcx
lea rax, [rsp + 0x40]
mov dword [rsp + 0x50], 0x220020
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
xor r8d, r8d
and qword [rsp + 0x30], 0
movzx r15d, dl
mov byte [rsp + 0x28], 0
lea edx, [r9 + 0x40]
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByName]
test eax, eax
js 0x140001bf0
mov rcx, qword [rsp + 0x40]
lea r9, [rbp + 0xb0]
and dword [rbp + 0xb0], 0
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IoEnumerateDeviceObjectList]
mov edx, dword [rbp + 0xb0]
cmp eax, 0xc0000023
jne 0x140001bd4
test edx, edx
je 0x140001bd4
lea eax, [rdx*8]
xor ecx, ecx
mov edx, eax
mov r8d, 0x6e556353
mov dword [rbp + 0xb8], eax
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
je 0x140001bc0
mov r8d, dword [rbp + 0xb8]
lea r9, [rbp + 0xb0]
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_IoEnumerateDeviceObjectList]
test eax, eax
js 0x140001b9e
lfence
mov edx, dword [rbp + 0xb0]
test edx, edx
je 0x140001ba4
xor edi, edi
test edx, edx
je 0x140001bb3
mov r14, qword [rsi + rdi*8]
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x104
call fcn.140002800
lea r9, [rbp + 0xb8]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ObQueryNameString]
test eax, eax
js 0x140001b85
mov rcx, qword [rsp + 0x68]
lea rdx, [0x140002a30]
call sub.ntoskrnl.exe_wcsstr
test rax, rax
je 0x140001b85
lfence
mov rax, qword [r14 + 8]
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140001b66
lea rsi, section..data
cmp dword [rbx + 0x48], 7
jne 0x140001b58
mov eax, dword [0x1400060f0]
mov r8, r15
add r8, qword [rbx + 0x40]
mov rcx, qword [rsi + rax*8]
mov rdx, qword [r8 + 8]
mov al, byte [rcx]
inc rcx
mov byte [rdx], al
inc rdx
test al, al
jne 0x140001b05
mov eax, dword [0x1400060f0]
mov rcx, qword [rsi + rax*8]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140001b21
mov word [r8], ax
mov rcx, qword [rbx + 0x40]
call r12
test eax, eax
js 0x140001b41
inc dword [0x1400060f4]
jmp 0x140001b52
lfence
mov edx, eax
lea rcx, [0x140002a50]
call sub.ntoskrnl.exe_DbgPrint
inc dword [0x1400060f0]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001aea
mov rsi, qword [rsp + 0x48]
mov r9d, dword [0x1400060f0]
lea rdx, [rsp + 0x60]
mov r8d, dword [0x1400060f4]
lea rcx, [0x140002a90]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
inc edi
cmp edi, dword [rbp + 0xb0]
jb 0x140001a7c
jmp 0x140001bb3
mov edx, dword [rbp + 0xb0]
mov r8d, eax
lea rcx, [0x140002ad0]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140001be3
mov edx, dword [rbp + 0xb0]
lea rcx, [0x140002b10]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140001be3
mov r8d, eax
lea rcx, [0x140002b50]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140001c07
lfence
mov r8d, eax
lea rdx, [rsp + 0x40]
lea rcx, [0x140002b90]
call sub.ntoskrnl.exe_DbgPrint
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret