Function at 0x1400078b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
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 rsi, 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, [0x140044f90]
test eax, eax
jne 0x1400079d0
mov r9d, dword [rbp + 0x20]
test r9d, r9d
jne 0x140007965
mov rcx, qword [0x14004d128]
lea rdi, [0x14004d128]
cmp rcx, rdi
je 0x140007a03
test byte [rcx + 0x1c], 1
je 0x140007a03
cmp byte [rcx + 0x19], 3
jb 0x140007a03
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x6d]
mov r8, r14
call fcn.140001ab0
jmp 0x140007a03
cmp r9d, 1
jne 0x1400079aa
mov rcx, qword [0x14004d128]
lea rdi, [0x14004d128]
lea r14, [0x140044f90]
cmp rcx, rdi
je 0x1400079a1
test byte [rcx + 0x1c], r9b
je 0x1400079a1
cmp byte [rcx + 0x19], 3
jb 0x1400079a1
mov rcx, qword [rcx + 0x10]
lea edx, [r9 + 0x6d]
mov r8, r14
call fcn.140001ab0
mov byte [rsi + 0x8c], 1
jmp 0x140007a0a
mov rcx, qword [0x14004d128]
lea rdi, [0x14004d128]
cmp rcx, rdi
je 0x140007a03
test byte [rcx + 0x1c], 1
je 0x140007a03
cmp byte [rcx + 0x19], 2
jb 0x140007a03
mov edx, 0x6f
jmp 0x1400079f7
mov rcx, qword [0x14004d128]
lea rdi, [0x14004d128]
cmp rcx, rdi
je 0x140007a03
test byte [rcx + 0x1c], 1
je 0x140007a03
cmp byte [rcx + 0x19], r12b
jb 0x140007a03
mov edx, 0x70
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, r14
call fcn.1400018b0
mov byte [rsi + 0x8c], 0
mov rcx, qword [rsi + 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 0x140007aaf
mov r9d, dword [rbp + 0x20]
lea eax, [r9 - 1]
cmp eax, 0x63
ja 0x140007a90
mov rcx, qword [0x14004d128]
cmp rcx, rdi
je 0x140007a86
test byte [rcx + 0x1c], 1
je 0x140007a86
cmp byte [rcx + 0x19], 3
jb 0x140007a86
mov rcx, qword [rcx + 0x10]
mov edx, 0x71
mov r8, r14
call fcn.1400018b0
mov r9d, dword [rbp + 0x20]
mov word [rsi + 0x8e], r9w
jmp 0x140007ae7
mov rcx, qword [0x14004d128]
cmp rcx, rdi
je 0x140007adb
test byte [rcx + 0x1c], 1
je 0x140007adb
cmp byte [rcx + 0x19], 2
jb 0x140007adb
mov edx, 0x72
jmp 0x140007acf
mov rcx, qword [0x14004d128]
cmp rcx, rdi
je 0x140007adb
test byte [rcx + 0x1c], 1
je 0x140007adb
cmp byte [rcx + 0x19], r12b
jb 0x140007adb
mov edx, 0x73
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, r14
call fcn.1400018b0
mov eax, 0xa
mov word [rsi + 0x8e], ax
mov rcx, qword [rsi + 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 0x140007b90
mov r9d, dword [rbp + 0x20]
lea eax, [r9 - 0xc350]
cmp eax, 0x7734d0b0
ja 0x140007b71
mov rcx, qword [0x14004d128]
cmp rcx, rdi
je 0x140007b68
test byte [rcx + 0x1c], 1
je 0x140007b68
cmp byte [rcx + 0x19], 3
jb 0x140007b68
mov rcx, qword [rcx + 0x10]
mov edx, 0x74
mov r8, r14
call fcn.1400018b0
mov r9d, dword [rbp + 0x20]
mov dword [rsi + 0x90], r9d
jmp 0x140007bc6
mov rcx, qword [0x14004d128]
cmp rcx, rdi
je 0x140007bbc
test byte [rcx + 0x1c], 1
je 0x140007bbc
cmp byte [rcx + 0x19], 2
jb 0x140007bbc
mov edx, 0x75
jmp 0x140007bb0
mov rcx, qword [0x14004d128]
cmp rcx, rdi
je 0x140007bbc
test byte [rcx + 0x1c], 1
je 0x140007bbc
cmp byte [rcx + 0x19], r12b
jb 0x140007bbc
mov edx, 0x76
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, r14
call fcn.1400018b0
mov dword [rsi + 0x90], 0x3b9aca00
mov rcx, qword [rsi + 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 0x140007c76
mov r9d, dword [rbp + 0x20]
cmp r9d, 0x64
ja 0x140007c46
mov rcx, qword [0x14004d128]
cmp rcx, rdi
je 0x140007c3d
test byte [rcx + 0x1c], 1
je 0x140007c3d
cmp byte [rcx + 0x19], 3
jb 0x140007c3d
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x77]
mov r8, r14
call fcn.1400018b0
mov r9d, dword [rbp + 0x20]
mov byte [rsi + 0x94], r9b
jmp 0x140007cab
mov rcx, qword [0x14004d128]
cmp rcx, rdi
je 0x140007ca4
test byte [rcx + 0x1c], 1
je 0x140007ca4
cmp byte [rcx + 0x19], 2
jb 0x140007ca4
mov rcx, qword [rcx + 0x10]
mov edx, 0x78
mov dword [rsp + 0x20], 0x14
call fcn.1400048a4
jmp 0x140007ca4
mov rcx, qword [0x14004d128]
cmp rcx, rdi
je 0x140007ca4
test byte [rcx + 0x1c], 1
je 0x140007ca4
cmp byte [rcx + 0x19], r12b
jb 0x140007ca4
mov rcx, qword [rcx + 0x10]
mov edx, 0x79
mov dword [rsp + 0x20], eax
lea r9d, [rdx - 0x65]
call fcn.1400048a4
mov byte [rsi + 0x94], 0x14
mov rcx, qword [rsi + 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 0x140007d21
mov rcx, qword [0x14004d128]
cmp rcx, rdi
je 0x140007d18
test byte [rcx + 0x1c], 1
je 0x140007d18
cmp byte [rcx + 0x19], 3
jb 0x140007d18
mov r9d, dword [rbp + 0x20]
lea edx, [rax + 0x7a]
mov rcx, qword [rcx + 0x10]
mov r8, r14
call fcn.1400018b0
mov eax, dword [rbp + 0x20]
shl rax, 0x14
jmp 0x140007d5b
mov rcx, qword [0x14004d128]
cmp rcx, rdi
je 0x140007d51
test byte [rcx + 0x1c], 1
je 0x140007d51
cmp byte [rcx + 0x19], r12b
jb 0x140007d51
mov rcx, qword [rcx + 0x10]
mov edx, 0x7c
mov r9d, 0x6400
mov dword [rsp + 0x20], eax
call fcn.1400048a4
movabs rax, 0x640000000
mov qword [rsi + 0x98], rax
xor eax, eax
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r12
pop rbp
ret