Function at 0x18000bdb0
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 [0x1800123d8], ax
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax + 2]
mov word [0x1800123da], 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 [0x1800123e0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [0x1800123d8]
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.18000ece0
cmp qword [rsp + 0xc0], 0
jne 0x18000be66
mov eax, 0xc0000001
jmp 0x18000c1b3
lea rdx, [0x180010b88]
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 0x18000bee5
mov eax, dword [rsp + 0x98]
jmp 0x18000c1b3
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 0x18000bf38
mov eax, dword [rsp + 0x98]
jmp 0x18000c1b3
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, [0x180010ba0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 4
jne 0x18000bfc0
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x1800123b0]
call fcn.18000ece0
movzx eax, word [rsp + 0x70]
sub eax, 4
movsxd r8, eax
mov rdx, qword [rsp + 0x78]
add rdx, 8
mov rcx, qword [0x1800123b0]
call fcn.18000ede0
jmp 0x18000c0b1
mov r8d, 0xc
lea rdx, [0x180010bb0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 0xc
jne 0x18000c017
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x1800123b0]
call fcn.18000ece0
movzx eax, word [rsp + 0x70]
sub eax, 0xc
movsxd r8, eax
mov rdx, qword [rsp + 0x78]
add rdx, 0x18
mov rcx, qword [0x1800123b0]
call fcn.18000ede0
jmp 0x18000c0b1
mov r8d, 8
lea rdx, [0x180010bd0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 8
jne 0x18000c086
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x1800123b0]
call fcn.18000ece0
mov r8d, 0x30
lea rdx, [0x180010be8]
mov rcx, qword [0x1800123b0]
call fcn.18000ede0
movzx r8d, word [rsp + 0x70]
mov rcx, qword [0x1800123b0]
add rcx, 0x16
mov rdx, qword [rsp + 0x78]
call fcn.18000ede0
mov byte [0x180012498], 1
jmp 0x18000c0b1
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x1800123b0]
call fcn.18000ece0
movzx r8d, word [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [0x1800123b0]
call fcn.18000ede0
mov rcx, qword [0x1800123b0]
call sub.ntoskrnl.exe_wcslen
test rax, rax
jne 0x18000c0cc
mov eax, 0xc0000001
jmp 0x18000c1b3
mov r8d, 0x6b6f6b6f
mov edx, 0x104
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [0x1800123a0], rax
mov eax, 0x104
mov word [0x18001239a], ax
mov r8d, 0x104
xor edx, edx
mov rcx, qword [0x1800123a0]
call fcn.18000ece0
xor r11d, r11d
mov word [0x180012398], 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 0x18000c127
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 [0x180012398], ax
movzx r8d, word [0x180012398]
mov rdx, qword [rsp + 0xa0]
add rdx, 2
mov rcx, qword [0x1800123a0]
call fcn.18000ede0
mov rcx, qword [0x1800123a0]
call sub.ntoskrnl.exe_wcslen
shl rax, 1
mov word [0x180012398], ax
mov eax, dword [rsp + 0x98]
add rsp, 0xb8
ret