Function at 0x140026e50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x140
mov rax, qword [0x1400358b0]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rdx, [0x14002e330]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x50], 0xc0000001
mov dword [rsp + 0xc0], 0x30
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0xd8], 0x40
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov r8d, 0x666b7467
mov edx, 0x3e8
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x58], 0
xor eax, eax
cmp eax, 1
je 0x14002706a
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xc0]
mov edx, 0xf003f
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_ZwCreateKey]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14002703d
lea rdx, [0x14002e3a0]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xc0000034
je 0x140026fb0
cmp dword [rsp + 0x54], 0
jne 0x140026fca
lea rdx, [0x14002e3c0]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
jmp 0x14002706a
mov eax, dword [rsp + 0x54]
mov edx, eax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x60]
mov r8d, 2
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x60]
cmp dword [rax + 4], 1
jne 0x14002703b
mov rax, qword [rsp + 0x60]
add rax, 0xc
mov rdx, rax
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
jmp 0x14002706a
jmp 0x140027065
lea rdx, [0x14002e3c0]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
cmp dword [rsp + 0x58], 0x14
jle 0x14002705b
jmp 0x14002706a
mov ecx, 0x3e8
call fcn.1400291e0
jmp 0x140026ef9
lea rdx, [0x14002df90]
lea rcx, [rsp + 0x108]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8d, 0x666b7467
mov edx, 0x1f4
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x90], rax
mov rdi, qword [rsp + 0x90]
xor eax, eax
mov ecx, 0x1f4
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x88], ax
mov eax, 0x1f4
mov word [rsp + 0x8a], ax
xor r8d, r8d
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
mov r8d, 0x666b7467
mov edx, 0x1f4
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x80], rax
mov rdi, qword [rsp + 0x80]
xor eax, eax
mov ecx, 0x1f4
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x78], ax
mov eax, 0x1f4
mov word [rsp + 0x7a], ax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
mov r8d, 0x666b7467
mov edx, 0x1f4
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0x70]
xor eax, eax
mov ecx, 0x1f4
rep stosb byte [rdi], al
mov eax, 0x1f4
mov word [rsp + 0x6a], ax
xor eax, eax
mov word [rsp + 0x68], ax
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlUnicodeStringToAnsiString]
mov byte [rsp + 0x118], 0
lea rax, [rsp + 0x119]
mov rdi, rax
xor eax, eax
mov ecx, 0x13
rep stosb byte [rdi], al
movzx eax, word [rsp + 0x68]
lea r8, [rsp + 0x118]
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.140027780
mov eax, 1
imul rax, rax, 0xf
movzx eax, byte [rsp + rax + 0x118]
mov ecx, 1
imul rcx, rcx, 0xb
movzx ecx, byte [rsp + rcx + 0x118]
mov edx, 1
imul rdx, rdx, 7
movzx edx, byte [rsp + rdx + 0x118]
mov edi, 1
imul rdi, rdi, 8
movzx edi, byte [rsp + rdi + 0x118]
mov r8d, 1
imul r8, r8, 5
movzx r8d, byte [rsp + r8 + 0x118]
mov r9d, 1
imul r9, r9, 9
movzx r9d, byte [rsp + r9 + 0x118]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r8d
lea r8, [0x14002e410]
mov edx, 0x1a
mov rcx, qword [rsp + 0x150]
call fcn.14002a3e0
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14002cd90
add rsp, 0x140
pop rdi
ret