Function at 0x140010f84
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140026730]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rcx, qword [0x140027450]
lea rax, str.DisableDedicatedMemoryCaching
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x70]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x60], 0x3c003a
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x60]
xor r14d, r14d
mov dword [rsp + 0x20], 0x10
lea esi, [r14 + 4]
mov r8d, esi
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
test eax, eax
js 0x140011024
cmp dword [rsp + 0x70], esi
jne 0x140011024
cmp dword [rsp + 0x74], esi
jne 0x140011024
cmp dword [rsp + 0x78], 1
jne 0x140011024
mov ebx, 0xc0000001
jmp 0x140011287
xor edx, edx
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x30]
lea r12, [rdx - 2]
mov rcx, r12
lea r8d, [rdx + 9]
call qword [sym.imp.ntdll.dll_NtManagePartition]
nop dword [rax + rax]
mov r15d, 0xc0000023
jmp 0x1400110e8
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140011282
mov ecx, dword [rsp + 0x30]
xor edx, edx
mov dword [rsp + 0x20], ecx
mov r9, rax
mov rcx, r12
lea r8d, [rdx + 9]
call qword [sym.imp.ntdll.dll_NtManagePartition]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x1400110f8
cmp eax, r15d
jne 0x14001124e
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
xor edx, edx
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x30]
mov rcx, r12
lea r8d, [rdx + 9]
call qword [sym.imp.ntdll.dll_NtManagePartition]
nop dword [rax + rax]
mov ebx, eax
cmp eax, r15d
je 0x140011051
jmp 0x140011287
xor r15d, r15d
xor r12d, r12d
mov rsi, rdi
cmp dword [rdi], r12d
je 0x140011249
and dword [rsp + 0x40], r14d
lea r9, [rsp + 0x38]
and qword [rsp + 0x48], r14
xor edx, edx
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x44], 0x1f0003
lea rcx, [rdx - 2]
mov dword [rsp + 0x20], 0x18
lea r8d, [rdx + 0xa]
call qword [sym.imp.ntdll.dll_NtManagePartition]
nop dword [rax + rax]
test eax, eax
js 0x1400111af
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0xf0
call sub.ntdll.dll_memset
mov rcx, qword [rsp + 0x48]
lea r9, [rbp - 0x80]
or dword [rbp - 0x7c], 0xffffffff
xor r8d, r8d
or dword [rbp - 0x78], 0xffffffff
xor edx, edx
mov dword [rsp + 0x20], 0xf0
call qword [sym.imp.ntdll.dll_NtManagePartition]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
test ebx, ebx
js 0x14001124e
cmp qword [rbp - 0x50], r12
jbe 0x1400111af
mov r12, qword [rbp - 0x50]
mov r15, rsi
mov eax, dword [rsi]
add rsi, rax
cmp dword [rsi], r14d
jne 0x14001110a
test r15, r15
je 0x140011249
xor edx, edx
mov dword [rsp + 0x20], 0x18
xor eax, eax
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [rsp + 0x48], rax
movups xmmword [rsp + 0x38], xmm0
mov rax, qword [r15 + 0x18]
lea rcx, [rdx - 2]
lea r8d, [rdx + 0xa]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x44], 0x1f0003
call qword [sym.imp.ntdll.dll_NtManagePartition]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14001124e
mov r14, qword [rsp + 0x48]
lea r9, [rsp + 0x58]
xor edx, edx
mov qword [rsp + 0x58], 4
mov rcx, r14
mov dword [rsp + 0x20], 8
lea r8d, [rdx + 6]
call qword [sym.imp.ntdll.dll_NtManagePartition]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14001124e
xor ebx, ebx
jmp 0x14001124e
mov ebx, 0xc0000225
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
test r14, r14
je 0x140011287
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
jmp 0x140011287
mov ebx, 0xc000009a
mov eax, ebx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140010a60
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret