Function at 0x140002140
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, [0x140002ee0]
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 0x1400023c2
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 0x1400023a6
test edx, edx
je 0x1400023a6
lea eax, [rdx*8]
xor ecx, ecx
mov edx, eax
mov r8d, 0x6e556353
mov dword [rbp + 0xc8], eax
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool2]
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
je 0x140002392
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 0x140002370
lfence
mov edx, dword [rbp + 0xc0]
test edx, edx
je 0x140002376
xor edi, edi
test edx, edx
je 0x140002385
mov r13, qword [rsi + rdi*8]
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x104
call fcn.140002c80
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 0x140002357
mov rcx, qword [rsp + 0x68]
lea rdx, [0x140002f10]
call sub.ntoskrnl.exe_wcsstr
test rax, rax
je 0x140002357
lfence
mov rax, qword [r13 + 8]
xor r14d, r14d
xor r15d, r15d
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140002340
mov rsi, qword [rbp + 0xb0]
cmp dword [rbx + 0x48], 7
jne 0x140002332
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 0x1400022ef
or rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], 0
jne 0x140002301
mov word [r8], ax
mov rcx, qword [rbx + 0x40]
call rsi
test eax, eax
js 0x14000231e
inc r15d
jmp 0x14000232f
lfence
mov edx, eax
lea rcx, [0x140002f30]
call sub.ntoskrnl.exe_DbgPrint
inc r14d
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400022d4
mov rsi, qword [rsp + 0x48]
mov r9d, r14d
lea rdx, [rsp + 0x60]
mov r8d, r15d
lea rcx, [0x140002f70]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, r13
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
inc edi
cmp edi, dword [rbp + 0xc0]
jb 0x140002264
jmp 0x140002385
mov edx, dword [rbp + 0xc0]
mov r8d, eax
lea rcx, [0x140002fb0]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1400023b5
mov edx, dword [rbp + 0xc0]
lea rcx, [0x140002ff0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1400023b5
mov r8d, eax
lea rcx, [0x140003030]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1400023d9
lfence
mov r8d, eax
lea rdx, [rsp + 0x40]
lea rcx, [0x140003070]
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