Function at 0x110e0
Capabilities:
Create device object
Print debug messages
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x9d0
mov rax, qword [0x00029100]
xor rax, rsp
mov qword [rsp + 0x9c0], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xd0], 0
mov dword [0x000327bc], 0
mov dword [0x00033010], 0
call fcn.00022990
mov word [rsp + 0x1a0], ax
call fcn.00022994
mov word [rsp + 0xcc], ax
call fcn.00022998
mov word [rsp + 0x70], ax
call fcn.0002299c
mov word [rsp + 0xc8], ax
call fcn.000229a0
mov word [rsp + 0xa0], ax
call fcn.000229a4
mov word [rsp + 0x58], ax
lea rcx, [0x00023240]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x00023250]
call sub.ntoskrnl.exe_DbgPrint
lea rdx, [rsp + 0x120]
mov qword [rsp + 0xb0], rdx
xor eax, eax
mov word [rsp + 0xa8], ax
mov eax, 0x64
mov word [rsp + 0xaa], ax
lea rdx, [0x00023260]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
lea rdx, [0x00023270]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
lea rdx, [0x00023280]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
lea rdx, [0x000232a0]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x0002d4a8], rax
lea rcx, [0x000232b0]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [rsp + 0x9e8], 0
je 0x1164c
mov rdx, qword [rsp + 0x9e8]
mov rdx, qword [rdx + 8]
lea rcx, [0x000232c0]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0xe0], 0x30
mov qword [rsp + 0xe8], 0
mov dword [rsp + 0xf8], 0x200
mov rax, qword [rsp + 0x9e8]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
lea r8, [rsp + 0xe0]
mov edx, 1
lea rcx, [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
jne 0x11634
lea rcx, [0x000232e0]
call sub.ntoskrnl.exe_DbgPrint
mov edx, 0x74
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x40], rax
mov edx, 0x74
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x0002d470], rax
mov edx, 0x74
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0xb8], rax
mov edx, 0x74
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x208], rax
mov rax, qword [0x0002d470]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x1d8], rax
lea rdx, [0x000232f0]
lea rcx, [rsp + 0x1e8]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023300]
lea rcx, [rsp + 0x1b8]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023310]
lea rcx, [rsp + 0x1c8]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023320]
lea rcx, [rsp + 0x1f8]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
cmp dword [rsp + 0xd8], 0
jne 0x11424
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x74
mov r9, qword [rsp + 0x208]
mov r8d, 2
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
jne 0x1146e
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x74
mov r9, qword [rsp + 0x1a8]
mov r8d, 2
lea rdx, [rsp + 0x1b8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
jne 0x114b8
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x74
mov r9, qword [rsp + 0x1b0]
mov r8d, 2
lea rdx, [rsp + 0x1c8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
jne 0x11502
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x74
mov r9, qword [rsp + 0x1d8]
mov r8d, 2
lea rdx, [rsp + 0x1f8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
jne 0x115ce
lea rcx, [0x00023330]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x208]
add rdx, 0xc
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rdx, qword [rsp + 0x1a8]
add rdx, 0xc
lea rcx, [0x00033000]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rdx, qword [rsp + 0x1b0]
add rdx, 0xc
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rdx, qword [rsp + 0x1d8]
add rdx, 0xc
lea rcx, [rsp + 0x190]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rdx, qword [rsp + 0x68]
lea rcx, [0x00023340]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [0x00033008]
lea rcx, [0x00023360]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x88]
lea rcx, [0x00023380]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x198]
lea rcx, [0x000233a0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x11632
xor edx, edx
mov rcx, qword [rsp + 0x208]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, qword [rsp + 0x1d8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rcx, [0x000233c0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, 0xc0000001
jmp 0x11c47
jmp 0x1164a
lea rcx, [0x000233e0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x11c47
jmp 0x11656
mov dword [0x000322bc], 1
mov dword [rsp + 0xd8], 0
cmp dword [0x000322bc], 0
jne 0x117c0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x22
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x9e0]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
je 0x1171e
lea rcx, [0x00023400]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, qword [0x0002d470]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp qword [rsp + 0xd0], 0
je 0x11712
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0xd8]
jmp 0x11c47
lea rdx, [rsp + 0x60]
lea rcx, [0x00033000]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
je 0x117c0
mov edx, dword [rsp + 0xd8]
lea rcx, [0x00023420]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, qword [0x0002d470]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp qword [rsp + 0xd0], 0
je 0x117b4
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0xd8]
jmp 0x11c47
mov rdx, qword [rsp + 0x9e0]
lea rcx, [0x00023450]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x9e0]
lea rax, [0x00011d70]
mov qword [rdx + 0x68], rax
mov rcx, qword [rsp + 0x9e0]
lea rax, [0x00011c70]
mov qword [rcx + 0x70], rax
mov rcx, qword [rsp + 0x9e0]
lea rax, [0x00011d20]
mov qword [rcx + 0x80], rax
cmp dword [0x000322bc], 0
je 0x11831
mov rcx, qword [rsp + 0x9e0]
lea rax, [0x00012d60]
mov qword [rcx + 0xe0], rax
jmp 0x11847
mov rcx, qword [rsp + 0x9e0]
lea rax, [fcn.00012e80]
mov qword [rcx + 0xe0], rax
mov byte [0x00032fec], 0
lea rcx, [0x00032240]
call qword [sym.imp.ntoskrnl.exe_ExInitializeResourceLite]
mov byte [0x000327b4], 0
mov byte [0x000322b4], 0
mov byte [0x000327c0], 0
mov qword [0x000327a0], 0
mov dword [0x000322ac], 8
mov qword [0x00032fe0], 0x200000
movabs rax, 0xfffff6fffffffff8
mov qword [0x00031d40], rax
movabs rax, 0xfffff6fb7ffffff8
mov qword [0x00031d50], rax
lea rcx, [0x00023470]
call sub.ntoskrnl.exe_DbgPrint
call fcn.000190e0
lea rcx, [0x00023490]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [rsp + 0x40], 0
je 0x118ed
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0xb8], 0
je 0x11914
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [rsp + 0xb8], 0
cmp qword [rsp + 0xc0], 0
je 0x1193b
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [rsp + 0xc0], 0
cmp qword [rsp + 0xd0], 0
je 0x11960
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov qword [rsp + 0xd0], 0
xor eax, eax
xor ecx, ecx
cpuid
mov r8d, edx
mov edx, ecx
mov ecx, eax
lea rax, [rsp + 0x218]
mov dword [rax], ecx
mov dword [rax + 4], ebx
mov dword [rax + 8], edx
mov dword [rax + 0xc], r8d
mov edx, dword [rsp + 0x21c]
lea rcx, [0x000234c0]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [rsp + 0x21c], 0x756e6547
jne 0x11abf
mov eax, 1
xor ecx, ecx
cpuid
mov r8d, edx
mov edx, ecx
mov ecx, eax
lea rax, [rsp + 0x218]
mov dword [rax], ecx
mov dword [rax + 4], ebx
mov dword [rax + 8], edx
mov dword [rax + 0xc], r8d
mov eax, dword [rsp + 0x218]
mov dword [rsp + 0x210], eax
mov eax, dword [rsp + 0x210]
and eax, 0xf
mov dword [0x00033028], eax
mov eax, dword [rsp + 0x210]
shr eax, 4
and eax, 0xf
mov dword [0x000322b8], eax
mov eax, dword [rsp + 0x210]
shr eax, 8
and eax, 0xf
mov dword [0x000327b8], eax
mov eax, dword [rsp + 0x210]
shr eax, 0xc
and eax, 3
mov dword [0x000327b0], eax
mov eax, dword [rsp + 0x210]
shr eax, 0x10
and eax, 0xf
mov dword [0x00032790], eax
mov eax, dword [rsp + 0x210]
shr eax, 0x14
and eax, 0xff
mov dword [0x00032798], eax
mov ecx, dword [0x00032790]
shl ecx, 4
mov eax, dword [0x000322b8]
add eax, ecx
mov dword [0x000322b8], eax
mov ecx, dword [0x00032798]
shl ecx, 4
mov eax, dword [0x000327b8]
add eax, ecx
mov dword [0x000327b8], eax
mov eax, dword [rsp + 0x220]
shl eax, 9
and eax, 1
test eax, eax
je 0x11aa2
mov ecx, 0x3a
call fcn.000124b0
mov rdx, rax
lea rcx, [0x000234e0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x11aae
lea rcx, [0x00023510]
call sub.ntoskrnl.exe_DbgPrint
mov ecx, 1
call fcn.00018880
call fcn.0001d4b0
jmp 0x11aeb
lea rcx, [0x00023540]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [rsp + 0x21c], 0x68747541
jne 0x11aeb
lea rcx, [0x00023560]
call sub.ntoskrnl.exe_DbgPrint
xor ecx, ecx
call fcn.00018880
lea rdx, [rsp + 0x528]
lea rax, [rsp + 0x230]
sub rdx, rax
lea rcx, [0x00023570]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x00023590]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x00011070]
call fcn.00012100
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x00011070]
call fcn.00012260
xor edx, edx
lea rcx, [0x00011040]
call fcn.00012000
lea rdx, [rsp + 0x8f0]
lea rax, [rsp + 0x5b0]
sub rdx, rax
lea rcx, [0x000235b0]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x000235d0]
call sub.ntoskrnl.exe_DbgPrint
call fcn.000224e0
test eax, eax
je 0x11bf1
mov dword [rsp + 0x9b8], 0xb26e
mov dword [rsp + 0x9b0], 0
mov dword [rsp + 0x9b4], 0
mov r8d, 4
xor edx, edx
lea rcx, [rsp + 0x9b0]
call fcn.00022810
mov dword [rsp + 0x9b4], eax
mov r9d, dword [rsp + 0x9b4]
mov r8d, dword [rsp + 0x9b0]
mov edx, dword [rsp + 0x9b8]
lea rcx, [0x000235f0]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x00023600]
call sub.ntoskrnl.exe_DbgPrint
call fcn.000228a0
lea rdx, [0x00023620]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x0002d7b0], rax
lea rdx, [0x00023650]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x0002d7a0], rax
xor eax, eax
mov rcx, qword [rsp + 0x9c0]
xor rcx, rsp
call fcn.00022fb0
add rsp, 0x9d0
pop rbx
ret