Function at 0x140001cc0
Capabilities:
Print debug messages

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov eax, 0x1e
mov word [rsp + 0x108], ax
mov eax, 0x20
mov word [rsp + 0x10a], ax
lea rax, [0x140004300]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0xb0], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40
lea rcx, [rsp + 0x108]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByName]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jl 0x140001e4a
lea rax, [rsp + 0x130]
lea rcx, [rsp + 0x108]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [0x1400090a0]
imul rax, rax, 0x20
lea rcx, [0x1400070c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov eax, dword [0x1400090a0]
inc eax
mov dword [0x1400090a0], eax
mov rax, qword [rsp + 0xb0]
add rax, 0x70
mov ecx, 8
imul rcx, rcx, 0xe
add rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xd8]
mov qword [rax + 0x10], rcx
lea rax, [0x1400019c0]
mov rcx, qword [rsp + 0xd8]
xchg qword [rcx], rax
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xe0]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0xe0]
mov qword [0x140007098], rax
lea rax, [rsp + 0x130]
mov rdi, qword [rsp + 0xa8]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x130]
lea rcx, [0x140004320]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140001e66
lfence
mov r8d, dword [rsp + 0x68]
lea rdx, [rsp + 0x108]
lea rcx, [0x140004340]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0x18
mov word [rsp + 0x118], ax
mov eax, 0x1a
mov word [rsp + 0x11a], ax
lea rax, [0x140004370]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40
lea rcx, [rsp + 0x118]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByName]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140001ee8
jmp 0x1400023f8
lea rax, [rsp + 0x140]
lea rcx, [rsp + 0x118]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [0x1400090a0]
imul rax, rax, 0x20
lea rcx, [0x1400070c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov eax, dword [0x1400090a0]
inc eax
mov dword [0x1400090a0], eax
mov rax, qword [rsp + 0x60]
add rax, 0x70
mov ecx, 8
imul rcx, rcx, 0xe
add rax, rcx
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xe8]
mov qword [rax + 0x10], rcx
lea rax, [0x140001100]
mov rcx, qword [rsp + 0xe8]
xchg qword [rcx], rax
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xf0]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0xf0]
mov qword [0x140007088], rax
lea rax, [rsp + 0x140]
mov rdi, qword [rsp + 0xb8]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x140]
lea rcx, [0x140004320]
call sub.ntoskrnl.exe_DbgPrint
lea r8, [0x140004390]
lea rdx, [0x1400043b0]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x18]
call fcn.140003490
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0
je 0x140002304
mov dword [rsp + 0x58], 0
lea r9, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoEnumerateDeviceObjectList]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0xc0000023
jne 0x140002304
cmp dword [rsp + 0x58], 0
je 0x140002304
mov eax, dword [rsp + 0x58]
shl rax, 3
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov r8d, 0x6e556353
mov edx, eax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x140002304
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoEnumerateDeviceObjectList]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jl 0x1400022f4
cmp dword [rsp + 0x58], 0
je 0x1400022f4
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x5c], 0
jmp 0x1400020cd
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x5c], eax
jae 0x1400022f4
lfence
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_IoGetAttachedDeviceReference]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x1400021e4
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x150]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x150]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov ecx, 0x70140
call qword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
je 0x1400021d6
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
cmp eax, 0x103
jne 0x1400021d6
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x150]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x1400022e1
lea rax, str._________
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x208]
mov eax, dword [rax + 0x18]
mov rcx, qword [rsp + 0x98]
add rax, qword [rcx + 0x208]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax]
mov byte [rsp + 0x50], al
mov rax, qword [rsp + 0x90]
movzx ecx, byte [rsp + 0x50]
mov byte [rax], cl
mov rax, qword [rsp + 0xc0]
inc rax
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x90]
inc rax
mov qword [rsp + 0x90], rax
cmp byte [rsp + 0x50], 0
jne 0x14000224f
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x128], rax
xor edx, edx
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x128]
call qword [0x140005118]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jl 0x1400022d7
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1400020c3
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor edx, edx
lea rcx, [0x1400043d0]
call fcn.1400035a0
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
je 0x1400023f8
lea r8, [0x1400043e0]
lea rdx, [0x140004400]
mov rcx, qword [rsp + 0xd0]
call fcn.140003490
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1400023f8
lea r8, [0x140004420]
lea rdx, [0x140004430]
mov rcx, qword [rsp + 0xd0]
call fcn.140003490
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1400023f8
lea r9, [0x140004440]
lea r8, [0x140004450]
mov edx, 0x20
mov rcx, qword [rsp + 0x78]
call fcn.1400033e0
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1400023f8
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 3]
mov byte [rsp + 0x51], al
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x80], rax
movzx edx, byte [rsp + 0x51]
mov rcx, qword [rsp + 0x80]
call fcn.140002b80
add rsp, 0x178
pop rdi
pop rsi
ret