Function at 0x18000e400
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 [0x1800137c0], ax
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax + 2]
mov word [0x1800137c2], 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 [0x1800137c8], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [0x1800137c0]
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.1800105d0
cmp qword [rsp + 0xc0], 0
jne 0x18000e4b6
mov eax, 0xc0000001
jmp 0x18000e803
lea rdx, [0x180011ed8]
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 0x18000e535
mov eax, dword [rsp + 0x98]
jmp 0x18000e803
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 0x18000e588
mov eax, dword [rsp + 0x98]
jmp 0x18000e803
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, [0x180011ef0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 4
jne 0x18000e610
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x180013798]
call fcn.1800105d0
movzx eax, word [rsp + 0x70]
sub eax, 4
movsxd r8, eax
mov rdx, qword [rsp + 0x78]
add rdx, 8
mov rcx, qword [0x180013798]
call fcn.1800106d0
jmp 0x18000e701
mov r8d, 0xc
lea rdx, [0x180011f00]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 0xc
jne 0x18000e667
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x180013798]
call fcn.1800105d0
movzx eax, word [rsp + 0x70]
sub eax, 0xc
movsxd r8, eax
mov rdx, qword [rsp + 0x78]
add rdx, 0x18
mov rcx, qword [0x180013798]
call fcn.1800106d0
jmp 0x18000e701
mov r8d, 8
lea rdx, [0x180011f20]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 8
jne 0x18000e6d6
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x180013798]
call fcn.1800105d0
mov r8d, 0x30
lea rdx, [0x180011f38]
mov rcx, qword [0x180013798]
call fcn.1800106d0
movzx r8d, word [rsp + 0x70]
mov rcx, qword [0x180013798]
add rcx, 0x16
mov rdx, qword [rsp + 0x78]
call fcn.1800106d0
mov byte [0x180013888], 1
jmp 0x18000e701
mov r8d, 0x208
xor edx, edx
mov rcx, qword [0x180013798]
call fcn.1800105d0
movzx r8d, word [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [0x180013798]
call fcn.1800106d0
mov rcx, qword [0x180013798]
call sub.ntoskrnl.exe_wcslen
test rax, rax
jne 0x18000e71c
mov eax, 0xc0000001
jmp 0x18000e803
mov r8d, 0x6f6a386b
mov edx, 0x104
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [0x180013788], rax
mov eax, 0x104
mov word [0x180013782], ax
mov r8d, 0x104
xor edx, edx
mov rcx, qword [0x180013788]
call fcn.1800105d0
xor r11d, r11d
mov word [0x180013780], 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 0x18000e777
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 [0x180013780], ax
movzx r8d, word [0x180013780]
mov rdx, qword [rsp + 0xa0]
add rdx, 2
mov rcx, qword [0x180013788]
call fcn.1800106d0
mov rcx, qword [0x180013788]
call sub.ntoskrnl.exe_wcslen
shl rax, 1
mov word [0x180013780], ax
mov eax, dword [rsp + 0x98]
add rsp, 0xb8
ret