Function at 0x140008aac
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rbp
push r12
push r14
mov rbp, rsp
sub rsp, 0x40
and dword [rbp + 0x20], 0
lea rax, [rbp + 0x28]
mov qword [r11 - 0x28], rax
lea r8, str.EnableDebugInterface
mov r12d, 4
lea rax, [rbp + 0x20]
mov rbx, rcx
mov qword [r11 - 0x30], rax
mov rcx, qword [rcx + 0x80]
xor edx, edx
and qword [r11 - 0x38], 0
lea r9d, [r12 + 0xc]
mov dword [rbp + 0x28], r12d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
lea r14, [0x140046100]
test eax, eax
jne 0x140008bcc
mov r9d, dword [rbp + 0x20]
test r9d, r9d
jne 0x140008b61
mov rcx, qword [0x14004d128]
lea rsi, [0x14004d128]
cmp rcx, rsi
je 0x140008bff
test byte [rcx + 0x1c], 1
je 0x140008bff
cmp byte [rcx + 0x19], 3
jb 0x140008bff
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x6d]
mov r8, r14
call fcn.140004e90
jmp 0x140008bff
cmp r9d, 1
jne 0x140008ba6
mov rcx, qword [0x14004d128]
lea rsi, [0x14004d128]
lea r14, [0x140046100]
cmp rcx, rsi
je 0x140008b9d
test byte [rcx + 0x1c], r9b
je 0x140008b9d
cmp byte [rcx + 0x19], 3
jb 0x140008b9d
mov rcx, qword [rcx + 0x10]
lea edx, [r9 + 0x6d]
mov r8, r14
call fcn.140004e90
mov byte [rbx + 0x8c], 1
jmp 0x140008c06
mov rcx, qword [0x14004d128]
lea rsi, [0x14004d128]
cmp rcx, rsi
je 0x140008bff
test byte [rcx + 0x1c], 1
je 0x140008bff
cmp byte [rcx + 0x19], 2
jb 0x140008bff
mov edx, 0x6f
jmp 0x140008bf3
mov rcx, qword [0x14004d128]
lea rsi, [0x14004d128]
cmp rcx, rsi
je 0x140008bff
test byte [rcx + 0x1c], 1
je 0x140008bff
cmp byte [rcx + 0x19], r12b
jb 0x140008bff
mov edx, 0x70
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, r14
call fcn.140004ebc
mov byte [rbx + 0x8c], 0
mov rcx, qword [rbx + 0x80]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
lea r8, str.MaxHeatBlocksToReplaceInPercentage
lea rax, [rbp + 0x20]
mov dword [rbp + 0x28], r12d
mov qword [rsp + 0x28], rax
mov r9d, 0x10
and qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140008cab
mov r9d, dword [rbp + 0x20]
lea eax, [r9 - 1]
cmp eax, 0x63
ja 0x140008c8c
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140008c82
test byte [rcx + 0x1c], 1
je 0x140008c82
cmp byte [rcx + 0x19], 3
jb 0x140008c82
mov rcx, qword [rcx + 0x10]
mov edx, 0x71
mov r8, r14
call fcn.140004ebc
mov r9d, dword [rbp + 0x20]
mov word [rbx + 0x8e], r9w
jmp 0x140008ce3
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140008cd7
test byte [rcx + 0x1c], 1
je 0x140008cd7
cmp byte [rcx + 0x19], 2
jb 0x140008cd7
mov edx, 0x72
jmp 0x140008ccb
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140008cd7
test byte [rcx + 0x1c], 1
je 0x140008cd7
cmp byte [rcx + 0x19], r12b
jb 0x140008cd7
mov edx, 0x73
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, r14
call fcn.140004ebc
mov eax, 0xa
mov word [rbx + 0x8e], ax
mov rcx, qword [rbx + 0x80]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
lea r8, str.MaxInMemoryTreeSize
lea rax, [rbp + 0x20]
mov dword [rbp + 0x28], r12d
mov qword [rsp + 0x28], rax
mov r9d, 0x10
and qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140008d8c
mov r9d, dword [rbp + 0x20]
lea eax, [r9 - 0xc350]
cmp eax, 0x7734d0b0
ja 0x140008d6d
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140008d64
test byte [rcx + 0x1c], 1
je 0x140008d64
cmp byte [rcx + 0x19], 3
jb 0x140008d64
mov rcx, qword [rcx + 0x10]
mov edx, 0x74
mov r8, r14
call fcn.140004ebc
mov r9d, dword [rbp + 0x20]
mov dword [rbx + 0x90], r9d
jmp 0x140008dc2
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140008db8
test byte [rcx + 0x1c], 1
je 0x140008db8
cmp byte [rcx + 0x19], 2
jb 0x140008db8
mov edx, 0x75
jmp 0x140008dac
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140008db8
test byte [rcx + 0x1c], 1
je 0x140008db8
cmp byte [rcx + 0x19], r12b
jb 0x140008db8
mov edx, 0x76
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, r14
call fcn.140004ebc
mov dword [rbx + 0x90], 0x3b9aca00
mov rcx, qword [rbx + 0x80]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
lea r8, str.PerfTierReservePercent
lea rax, [rbp + 0x20]
mov dword [rbp + 0x28], r12d
mov qword [rsp + 0x28], rax
mov r9d, 0x10
and qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140008e72
mov r9d, dword [rbp + 0x20]
cmp r9d, 0x64
ja 0x140008e42
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140008e39
test byte [rcx + 0x1c], 1
je 0x140008e39
cmp byte [rcx + 0x19], 3
jb 0x140008e39
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x77]
mov r8, r14
call fcn.140004f50
mov r9d, dword [rbp + 0x20]
mov byte [rbx + 0x94], r9b
jmp 0x140008ea7
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140008ea0
test byte [rcx + 0x1c], 1
je 0x140008ea0
cmp byte [rcx + 0x19], 2
jb 0x140008ea0
mov rcx, qword [rcx + 0x10]
mov edx, 0x78
mov dword [rsp + 0x20], 0x14
call fcn.14000a950
jmp 0x140008ea0
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140008ea0
test byte [rcx + 0x1c], 1
je 0x140008ea0
cmp byte [rcx + 0x19], r12b
jb 0x140008ea0
mov rcx, qword [rcx + 0x10]
mov edx, 0x79
mov dword [rsp + 0x20], eax
lea r9d, [rdx - 0x65]
call fcn.14000a8f8
mov byte [rbx + 0x94], 0x14
mov rcx, qword [rbx + 0x80]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
lea r8, str.PerfTierReserveMaxSizeInMb
lea rax, [rbp + 0x20]
mov dword [rbp + 0x28], r12d
mov qword [rsp + 0x28], rax
mov r9d, 0x10
and qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140008f1d
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140008f14
test byte [rcx + 0x1c], 1
je 0x140008f14
cmp byte [rcx + 0x19], 3
jb 0x140008f14
mov r9d, dword [rbp + 0x20]
lea edx, [rax + 0x7a]
mov rcx, qword [rcx + 0x10]
mov r8, r14
call fcn.140004f50
mov ecx, dword [rbp + 0x20]
shl rcx, 0x14
jmp 0x140008f57
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140008f4d
test byte [rcx + 0x1c], 1
je 0x140008f4d
cmp byte [rcx + 0x19], r12b
jb 0x140008f4d
mov rcx, qword [rcx + 0x10]
mov edx, 0x7c
mov r9d, 0x6400
mov dword [rsp + 0x20], eax
call fcn.14000a8f8
movabs rcx, 0x640000000
mov eax, 0x98
mov qword [rbx + rax], rcx
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r12
pop rbp
ret