Function at 0x1169c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x70
xor r12d, r12d
mov rbx, rcx
mov rcx, qword [rcx + 8]
cmp rcx, r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
jne 0x116cb
xor eax, eax
jmp 0x11b57
mov r13d, 1
lea r9, [rsp + 0xb8]
mov r8d, 0x1f0000
mov edx, r13d
mov dword [rbx + 0x48], r12d
mov dword [rbx + 0xa2a8], 0xfffffefe
mov dword [rbx + 0x40], r13d
call qword [sym.imp.ntoskrnl.exe_IoOpenDeviceRegistryKey]
cmp eax, r12d
jl 0x11b54
lea rdx, [0x00017ba0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00017bd0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00017c00]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov edx, 0x218
xor ecx, ecx
mov r8d, 0x30425355
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
cmp rax, r12
mov rdi, rax
jne 0x11780
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rdx, [0x00017c30]
lea rcx, [0x00017c60]
mov r8d, 0x218
call fcn.000170fc
jmp 0x116c4
xor edx, edx
mov r8d, 0x218
mov rcx, rax
mov dword [rsp + 0xb0], 0x218
call fcn.000177a0
mov eax, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
lea r11, [rsp + 0xb0]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], r11
mov r9, rdi
mov r8d, r13d
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, r12d
jl 0x117eb
cmp dword [rdi + 4], 4
jne 0x117eb
mov eax, dword [rdi + 8]
mov ecx, r12d
cmp dword [rax + rdi], r12d
mov dword [rbx + 0x40], r12d
setne cl
mov dword [rbx + 0x48], ecx
cmp dword [rbx + 0x40], r12d
lea rsi, [0x00017c60]
lea r14, [0x00017970]
jne 0x11999
xor edx, edx
mov r8d, 0x218
mov rcx, rdi
mov dword [rsp + 0xb0], 0x218
call fcn.000177a0
mov eax, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
lea r11, [rsp + 0xb0]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], r11
mov r9, rdi
mov r8d, r13d
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, r12d
jl 0x11987
cmp dword [rdi + 4], 7
jne 0x11987
mov edx, dword [rdi + 8]
lea rcx, [rsp + 0x30]
add rdx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rbx + 0xa5b0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlGUIDFromString]
cmp eax, r12d
jl 0x11975
mov rdx, qword [rbx + 0xa5b0]
lea r8, [0x00010000]
cmp rdx, qword [r8 + 0xa290]
jne 0x118ba
mov rdx, qword [rbx + 0xa5b8]
cmp rdx, qword [r8 + 0xa298]
jne 0x118ba
mov eax, r12d
jmp 0x118bf
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, r12d
jne 0x118cd
lea r8, [0x00017c80]
jmp 0x11903
mov rdx, qword [rbx + 0xa5b0]
cmp rdx, qword [r8 + 0xa270]
jne 0x118f2
mov rdx, qword [rbx + 0xa5b8]
cmp rdx, qword [r8 + 0xa278]
jne 0x118f2
mov eax, r12d
jmp 0x118f7
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, r12d
jne 0x1190b
lea r8, [0x00017cc0]
mov rdx, r14
mov rcx, rsi
jmp 0x11947
mov rcx, qword [rbx + 0xa5b0]
cmp rcx, qword [r8 + 0xa280]
jne 0x11930
mov rcx, qword [rbx + 0xa5b8]
cmp rcx, qword [r8 + 0xa288]
jne 0x11930
mov eax, r12d
jmp 0x11935
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, r12d
mov rdx, r14
mov rcx, rsi
jne 0x11960
lea r8, [0x00017d00]
call fcn.0001713c
lea rdx, str.20343A29_6DA1_4DB8_8A3C_16E774057BF5
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
jmp 0x11987
lea r8, [0x00017d40]
call fcn.0001717c
mov dword [rbx + 0xa5c0], r13d
jmp 0x11987
lea r8, [0x00017d70]
mov rdx, r14
mov rcx, rsi
call fcn.000170fc
cmp dword [rbx + 0xa5c0], r12d
jne 0x119f2
lea rdx, str.20343A29_6DA1_4DB8_8A3C_16E774057BF5
jmp 0x119a0
lea rdx, str.F9F3FF14_AE21_48A0_8A25_8011A7A931D9
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
cmp dword [rbx + 0xa5c0], r12d
jne 0x119f2
lea rdx, [rbx + 0xa5b0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlGUIDFromString]
mov rdx, r14
mov rcx, rsi
cmp eax, r12d
jl 0x119e6
lea r8, [0x00017da0]
call fcn.0001717c
mov dword [rbx + 0xa5c0], r13d
jmp 0x119f2
lea r8, [0x00017dd0]
call fcn.000170fc
xor edx, edx
mov r8d, 0x218
mov rcx, rdi
mov dword [rsp + 0xb0], 0x218
call fcn.000177a0
mov eax, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
lea r11, [rsp + 0xb0]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], r11
mov r9, rdi
mov r8d, r13d
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, r12d
jl 0x11a55
cmp dword [rdi + 4], 4
jne 0x11a55
mov eax, dword [rdi + 8]
mov ecx, dword [rax + rdi]
mov dword [rbx + 0xa2a8], ecx
mov rcx, qword [rsp + 0xb8]
lea rax, [rsp + 0xc0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x20019
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
cmp eax, r12d
jl 0x11b29
xor edx, edx
mov r8d, 0x218
mov rcx, rdi
mov dword [rsp + 0xb0], 0x218
call fcn.000177a0
mov r8d, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xc0]
lea r9, [rsp + 0xb0]
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe_ObQueryNameString]
cmp eax, r12d
jl 0x11b07
mov rcx, qword [rdi + 8]
add rbx, 0xa3b0
mov edx, r12d
cmp word [rcx], r12w
je 0x11b02
mov r8d, dword [rsp + 0xb0]
shr r8d, 1
cmp edx, r8d
jae 0x11b02
mov al, byte [rcx]
add rcx, 2
add edx, r13d
mov byte [rbx], al
add rbx, r13
cmp word [rcx], r12w
jne 0x11ae9
mov byte [rbx], r12b
jmp 0x11b19
lea rdx, [0x00017e00]
mov r8d, eax
mov rcx, rsi
call fcn.000170fc
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x11b3b
lea rdx, [0x00017e30]
mov r8d, eax
mov rcx, rsi
call fcn.000170fc
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, r13d
add rsp, 0x70
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret