Function at 0x18000adb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax]
mov word [0x1800117c0], ax
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax + 2]
mov word [0x1800117c2], ax
mov rax, qword [rsp + 0xc0]
movzx edx, word [rax]
mov r8d, 0x6b6f6b6f
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [0x1800117c8], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [0x1800117c0]
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
mov dword [rsp + 0x98], 0xc0000001
mov r8d, 0x6b6f6b6f
mov edx, 0x3e8
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x88], rax
mov r8d, 0x3e8
xor edx, edx
mov rcx, qword [rsp + 0x88]
call fcn.18000dcd0
cmp qword [rsp + 0xc0], 0
jne 0x18000ae66
mov eax, 0xc0000001
jmp 0x18000b1b3
lea rdx, [0x18000fd58]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x40], 0x30
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0x40
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
lea r8, [rsp + 0x40]
mov edx, 0x80000000
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
jge 0x18000aee5
mov eax, dword [rsp + 0x98]
jmp 0x18000b1b3
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x208
mov r9, qword [rsp + 0x88]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
jge 0x18000af38
mov eax, dword [rsp + 0x98]
jmp 0x18000b1b3
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 8]
mov rdx, qword [rsp + 0xa8]
add rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8d, 4
lea rdx, [0x18000fd70]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 4
jne 0x18000afc0
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x180011798]
call fcn.18000dcd0
movzx eax, word [rsp + 0x70]
sub eax, 4
movsxd r8, eax
mov rdx, qword [rsp + 0x78]
add rdx, 8
mov rcx, qword [0x180011798]
call fcn.18000ddd0
jmp 0x18000b0b1
mov r8d, 0xc
lea rdx, [0x18000fd80]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 0xc
jne 0x18000b017
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x180011798]
call fcn.18000dcd0
movzx eax, word [rsp + 0x70]
sub eax, 0xc
movsxd r8, eax
mov rdx, qword [rsp + 0x78]
add rdx, 0x18
mov rcx, qword [0x180011798]
call fcn.18000ddd0
jmp 0x18000b0b1
mov r8d, 8
lea rdx, [0x18000fda0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 8
jne 0x18000b086
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x180011798]
call fcn.18000dcd0
mov r8d, 0x30
lea rdx, [0x18000fdb8]
mov rcx, qword [0x180011798]
call fcn.18000ddd0
movzx r8d, word [rsp + 0x70]
mov rcx, qword [0x180011798]
add rcx, 0x16
mov rdx, qword [rsp + 0x78]
call fcn.18000ddd0
mov byte [0x180011880], 1
jmp 0x18000b0b1
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x180011798]
call fcn.18000dcd0
movzx r8d, word [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [0x180011798]
call fcn.18000ddd0
mov rcx, qword [0x180011798]
call sub.ntoskrnl.exe_wcslen
test rax, rax
jne 0x18000b0cc
mov eax, 0xc0000001
jmp 0x18000b1b3
mov r8d, 0x6b6f6b6f
mov edx, 0x104
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [0x180011788], rax
mov eax, 0x104
mov word [0x180011782], ax
mov r8d, 0x104
xor edx, edx
mov rcx, qword [0x180011788]
call fcn.18000dcd0
xor r11d, r11d
mov word [0x180011780], r11w
movzx ecx, word [rsp + 0x70]
mov rax, qword [rsp + 0x78]
lea rax, [rax + rcx*2]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
sub rax, 2
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x18000b127
movzx edx, word [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0xa0]
sub rax, rcx
sar rax, 1
movzx ecx, ax
mov eax, edx
sub eax, ecx
cdqe
shl rax, 1
mov word [0x180011780], ax
movzx r8d, word [0x180011780]
mov rdx, qword [rsp + 0xa0]
add rdx, 2
mov rcx, qword [0x180011788]
call fcn.18000ddd0
mov rcx, qword [0x180011788]
call sub.ntoskrnl.exe_wcslen
shl rax, 1
mov word [0x180011780], ax
mov eax, dword [rsp + 0x98]
add rsp, 0xb8
ret