Function at 0x140002494
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, [0x140003250]
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov dword [rsp + 0x50], 0x1a0018
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 0x140002707
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 0x1400026eb
test edx, edx
je 0x1400026eb
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 0x1400026d7
mov r8d, dword [rbp + 0xc8]
lea r9, [rbp + 0xc0]
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_IoEnumerateDeviceObjectList]
mov edx, dword [rbp + 0xc0]
test eax, eax
js 0x1400026bb
test edx, edx
je 0x1400026bb
xor edi, edi
test edx, edx
je 0x1400026ca
mov r13, qword [rsi + rdi*8]
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x104
call fcn.140003100
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 0x1400026a2
mov rcx, qword [rsp + 0x68]
lea rdx, [0x140003270]
call sub.ntoskrnl.exe_wcsstr
test rax, rax
je 0x1400026a2
mov rax, qword [r13 + 8]
xor r14d, r14d
xor r15d, r15d
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14000268b
mov rsi, qword [rbp + 0xb0]
cmp dword [rbx + 0x48], 7
jne 0x14000267d
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 0x14000263d
or rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], 0
jne 0x14000264f
mov word [r8], ax
mov rcx, qword [rbx + 0x40]
call rsi
test eax, eax
js 0x14000266c
inc r15d
jmp 0x14000267a
mov edx, eax
lea rcx, [0x140003280]
call sub.ntoskrnl.exe_DbgPrint
inc r14d
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002622
mov rsi, qword [rsp + 0x48]
mov r9d, r14d
lea rdx, [rsp + 0x60]
mov r8d, r15d
lea rcx, [0x1400032c0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, r13
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
inc edi
cmp edi, dword [rbp + 0xc0]
jb 0x1400025b5
jmp 0x1400026ca
mov r8d, eax
lea rcx, [0x140003300]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1400026fa
mov edx, dword [rbp + 0xc0]
lea rcx, [0x140003340]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1400026fa
mov r8d, eax
lea rcx, [0x140003370]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x14000271b
mov r8d, eax
lea rdx, [rsp + 0x40]
lea rcx, [0x1400033b0]
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