Function at 0x14f00
Capabilities:
Create device object
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x88], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x40], 0
movzx eax, byte [0x00019501]
test eax, eax
je 0x14f55
lea rcx, [0x000164c0]
call sub.ntoskrnl.exe_DbgPrint
movzx eax, byte [0x00019078]
test eax, eax
je 0x14f74
lea rdx, [0x000164e0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
jmp 0x14f86
lea rdx, [0x00016500]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x58]
mov edx, 0x80
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
jge 0x14fe6
movzx eax, byte [0x00019501]
test eax, eax
je 0x14fc8
lea rcx, [0x00016520]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x70], 0
mov eax, dword [rsp + 0x88]
jmp 0x151e7
lea rdx, [0x00016560]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x000163c0]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r11, [rsp + 0x80]
mov qword [rsp + 0x30], r11
mov byte [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x70]
mov r9d, dword [rax + 0x48]
lea r8, [rsp + 0x60]
mov edx, 0x58
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
jge 0x1509a
movzx eax, byte [0x00019501]
test eax, eax
je 0x15071
lea rcx, [0x00016590]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x70], 0
mov eax, dword [rsp + 0x88]
jmp 0x151e7
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
jge 0x150ee
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
movzx r11d, byte [0x00019501]
test r11d, r11d
je 0x150e2
lea rcx, [0x000165d0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x88]
jmp 0x151e7
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoAttachDeviceToDeviceStackSafe]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
jge 0x1516e
movzx eax, byte [0x00019501]
test eax, eax
je 0x1512e
lea rcx, [0x000165f0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x70], 0
mov eax, dword [rsp + 0x88]
jmp 0x151e7
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
call fcn.00015200
mov r11, qword [rsp + 0x70]
mov edx, dword [r11 + 0x30]
and edx, 0x14
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x30]
or ecx, edx
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], ecx
movzx eax, byte [0x00019501]
test eax, eax
je 0x151e0
lea rcx, [0x00016630]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x88]
add rsp, 0x98
ret