Function at 0x180011b90
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 [0x1800187d0], ax
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax + 2]
mov word [0x1800187d2], ax
mov rax, qword [rsp + 0xc0]
movzx edx, word [rax]
mov r8d, 0x6f6a386b
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [0x1800187d8], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [0x1800187d0]
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
mov dword [rsp + 0x98], 0xc0000001
mov r8d, 0x6f6a386b
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.180014bb0
cmp qword [rsp + 0xc0], 0
jne 0x180011c46
mov eax, 0xc0000001
jmp 0x180011f93
lea rdx, [0x1800172d8]
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 0x180011cc5
mov eax, dword [rsp + 0x98]
jmp 0x180011f93
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 0x180011d18
mov eax, dword [rsp + 0x98]
jmp 0x180011f93
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, [0x1800172f0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 4
jne 0x180011da0
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x1800187a8]
call fcn.180014bb0
movzx eax, word [rsp + 0x70]
sub eax, 4
movsxd r8, eax
mov rdx, qword [rsp + 0x78]
add rdx, 8
mov rcx, qword [0x1800187a8]
call fcn.180014cb0
jmp 0x180011e91
mov r8d, 0xc
lea rdx, [0x180017300]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 0xc
jne 0x180011df7
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x1800187a8]
call fcn.180014bb0
movzx eax, word [rsp + 0x70]
sub eax, 0xc
movsxd r8, eax
mov rdx, qword [rsp + 0x78]
add rdx, 0x18
mov rcx, qword [0x1800187a8]
call fcn.180014cb0
jmp 0x180011e91
mov r8d, 8
lea rdx, [0x180017320]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 8
jne 0x180011e66
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x1800187a8]
call fcn.180014bb0
mov r8d, 0x30
lea rdx, [0x180017338]
mov rcx, qword [0x1800187a8]
call fcn.180014cb0
movzx r8d, word [rsp + 0x70]
mov rcx, qword [0x1800187a8]
add rcx, 0x16
mov rdx, qword [rsp + 0x78]
call fcn.180014cb0
mov byte [0x180018898], 1
jmp 0x180011e91
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x1800187a8]
call fcn.180014bb0
movzx r8d, word [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [0x1800187a8]
call fcn.180014cb0
mov rcx, qword [0x1800187a8]
call sub.ntoskrnl.exe_wcslen
test rax, rax
jne 0x180011eac
mov eax, 0xc0000001
jmp 0x180011f93
mov r8d, 0x6f6a386b
mov edx, 0x104
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [0x180018798], rax
mov eax, 0x104
mov word [0x180018792], ax
mov r8d, 0x104
xor edx, edx
mov rcx, qword [0x180018798]
call fcn.180014bb0
xor r11d, r11d
mov word [0x180018790], 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 0x180011f07
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 [0x180018790], ax
movzx r8d, word [0x180018790]
mov rdx, qword [rsp + 0xa0]
add rdx, 2
mov rcx, qword [0x180018798]
call fcn.180014cb0
mov rcx, qword [0x180018798]
call sub.ntoskrnl.exe_wcslen
shl rax, 1
mov word [0x180018790], ax
mov eax, dword [rsp + 0x98]
add rsp, 0xb8
ret