Function at 0x15180
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x108
mov rax, qword [0x00013100]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0xb0], 0
lea rcx, [0x00018cf0]
call fcn.00011870
call fcn.00011040
movzx eax, al
cmp eax, 1
jle 0x151f5
call fcn.00011040
movzx edx, al
lea rcx, [0x00018d10]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x7a
lea rdx, [0x00018d40]
lea rcx, [0x00018d90]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov rdx, qword [rsp + 0x120]
lea rcx, [0x00018da0]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x120]
movsx r9d, word [rdx]
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x120]
mov r8d, dword [rax + 0x48]
mov rdx, qword [rsp + 0x120]
lea rcx, [0x00018dd0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x68], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rdx, qword [rdx + 8]
mov ecx, 0x2d1080
call qword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x15300
mov r9d, 0xc0040002
xor r8d, r8d
mov edx, 0x100
mov rcx, qword [rsp + 0x120]
call fcn.000118c0
lea rcx, [0x00018e10]
call fcn.00011870
mov eax, 0xc000009a
jmp 0x15a3d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0x103
jne 0x15355
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov edx, dword [rsp + 0x80]
mov dword [rsp + 0xb0], edx
cmp dword [rsp + 0xb0], 0
jl 0x153e8
mov rcx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x54]
mov dword [rcx + 0x18], eax
mov rcx, qword [rsp + 0x68]
add rcx, 0x88
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x54]
lea r8, [0x00018e40]
mov edx, 0x80
call fcn.00011330
mov rdx, qword [rsp + 0x68]
add rdx, 0x88
mov rcx, qword [rsp + 0x68]
add rcx, 0x78
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rdi, qword [rsp + 0x68]
lea rsi, [0x00018e80]
add rdi, 0x20
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x68]
add rdx, 0x88
lea rcx, [0x00018ea0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1596a
mov dword [rsp + 0xc4], 4
mov edx, dword [rsp + 0xc4]
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x15449
lea rcx, [0x00018ed0]
call sub.ntoskrnl.exe_DbgPrint
mov r9d, 0xc0040002
xor r8d, r8d
mov edx, 0x101
mov rcx, qword [rsp + 0x120]
call fcn.000118c0
mov eax, 0xc000009a
jmp 0x15a3d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 0
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rdx, qword [rdx + 8]
mov ecx, 0x4d0008
call qword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x154fb
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rcx, [0x00018f00]
call sub.ntoskrnl.exe_DbgPrint
mov r9d, 0xc0040002
xor r8d, r8d
mov edx, 0x102
mov rcx, qword [rsp + 0x120]
call fcn.000118c0
mov eax, 0xc000009a
jmp 0x15a3d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0x103
jne 0x15550
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov edx, dword [rsp + 0x80]
mov dword [rsp + 0xb0], edx
cmp dword [rsp + 0xb0], 0x80000005
jne 0x156e4
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax]
add rax, 4
mov dword [rsp + 0xc4], eax
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, dword [rsp + 0xc4]
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x155dd
lea rcx, [0x00018f50]
call sub.ntoskrnl.exe_DbgPrint
mov r9d, 0xc0040002
xor r8d, r8d
mov edx, 0x102
mov rcx, qword [rsp + 0x120]
call fcn.000118c0
mov eax, 0xc000009a
jmp 0x15a3d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 0
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rdx, qword [rdx + 8]
mov ecx, 0x4d0008
call qword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1568f
lea rcx, [0x00018fa0]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov r9d, 0xc0040002
xor r8d, r8d
mov edx, 0x103
mov rcx, qword [rsp + 0x120]
call fcn.000118c0
mov eax, 0xc000009a
jmp 0x15a3d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0x103
jne 0x156e4
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov edx, dword [rsp + 0x80]
mov dword [rsp + 0xb0], edx
cmp dword [rsp + 0xb0], 0
jge 0x15731
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rcx, [0x00018fe0]
call sub.ntoskrnl.exe_DbgPrint
mov r9d, 0xc0040003
xor r8d, r8d
mov edx, 0x104
mov rcx, qword [rsp + 0x120]
call fcn.000118c0
mov eax, dword [rsp + 0xb0]
jmp 0x15a3d
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x18], 0xffffffff
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax]
cmp rax, 0x7e
jae 0x15763
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax]
mov qword [rsp + 0xe8], rax
jmp 0x1576f
mov qword [rsp + 0xe8], 0x7e
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0xc0], eax
mov r9d, dword [rsp + 0xc0]
mov r8, qword [rsp + 0xb8]
add r8, 2
mov rcx, qword [rsp + 0x68]
add rcx, 0x88
mov edx, 0x40
call fcn.00011220
mov rdx, qword [rsp + 0x68]
add rdx, 0x88
mov rcx, qword [rsp + 0x68]
add rcx, 0x78
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov dword [rsp + 0xc4], 0x14
lea rdi, [rsp + 0xd0]
xor eax, eax
mov ecx, 0x14
rep stosb byte [rdi], al
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x14
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rdx, qword [rdx + 8]
mov ecx, 0x56001c
call qword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1588d
lea rcx, [0x00019020]
call sub.ntoskrnl.exe_DbgPrint
mov r9d, 0xc0040002
xor r8d, r8d
mov edx, 0x109
mov rcx, qword [rsp + 0x120]
call fcn.000118c0
mov eax, 0xc000009a
jmp 0x15a3d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0x103
jne 0x158e2
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov edx, dword [rsp + 0x80]
mov dword [rsp + 0xb0], edx
cmp dword [rsp + 0xb0], 0
jl 0x158f8
movzx eax, word [rsp + 0xd4]
test eax, eax
jne 0x1592a
mov rdi, qword [rsp + 0x68]
lea rsi, [0x00019060]
add rdi, 0x20
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0xb0], 0
jl 0x15928
mov rcx, qword [rsp + 0x68]
mov eax, dword [rsp + 0xd0]
mov dword [rcx + 0x18], eax
jmp 0x15951
mov rdi, qword [rsp + 0x68]
lea rsi, [rsp + 0xd4]
add rdi, 0x20
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x68]
mov eax, dword [rsp + 0xd0]
mov dword [rdx + 0x18], eax
mov rdx, qword [rsp + 0x68]
add rdx, 0x88
lea rcx, [0x00019080]
call sub.ntoskrnl.exe_DbgPrint
nop
mov qword [rsp + 0x70], 0
mov rdx, qword [rsp + 0x120]
lea rcx, [0x000190b0]
call sub.ntoskrnl.exe_DbgPrint
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x120]
call fcn.00015a60
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jge 0x159be
mov rdx, qword [rsp + 0x68]
add rdx, 0x88
lea rcx, [0x000190f0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x159eb
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x68]
add rdx, 0x88
mov r8, qword [rsp + 0x90]
lea rcx, [0x00019130]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [rsp + 0x70], 0
jne 0x15a0d
mov qword [rsp + 0x70], 0x200000
mov rax, qword [rsp + 0x70]
imul rax, rax, 0x100000
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
mov qword [rcx + 0x30], rax
jmp 0x15a2a
lea rcx, [0x00019190]
call fcn.00011870
mov eax, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.00011990
add rsp, 0x108
pop rdi
pop rsi
ret