Function at 0x140006ad4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
and dword [rbp + 0x10], 0
lea rax, [rbp + 0x18]
mov qword [r11 - 0x18], rax
lea r8, str.EnableDebugInterface
lea rax, [rbp + 0x10]
mov dword [rbp + 0x18], 4
mov rbx, rcx
mov qword [r11 - 0x20], rax
mov rcx, qword [rcx + 0x80]
mov r9d, 0x10
and qword [r11 - 0x28], 0
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x140006be2
mov r9d, dword [rbp + 0x10]
test r9d, r9d
jne 0x140006b7a
mov rcx, qword [0x140048138]
lea rdi, [0x140048138]
cmp rcx, rdi
je 0x140006c19
test byte [rcx + 0x1c], 1
je 0x140006c19
cmp byte [rcx + 0x19], 3
jb 0x140006c19
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x6d]
lea r8, [0x14003ee10]
call fcn.140001608
jmp 0x140006c19
cmp r9d, 1
jne 0x140006bbc
mov rcx, qword [0x140048138]
lea rdi, [0x140048138]
cmp rcx, rdi
je 0x140006bb3
test byte [rcx + 0x1c], r9b
je 0x140006bb3
cmp byte [rcx + 0x19], 3
jb 0x140006bb3
mov rcx, qword [rcx + 0x10]
lea edx, [r9 + 0x6d]
lea r8, [0x14003ee10]
call fcn.140001608
mov byte [rbx + 0x8c], 1
jmp 0x140006c20
mov rcx, qword [0x140048138]
lea rdi, [0x140048138]
cmp rcx, rdi
je 0x140006c19
test byte [rcx + 0x1c], 1
je 0x140006c19
cmp byte [rcx + 0x19], 2
jb 0x140006c19
mov edx, 0x6f
jmp 0x140006c09
mov rcx, qword [0x140048138]
lea rdi, [0x140048138]
cmp rcx, rdi
je 0x140006c19
test byte [rcx + 0x1c], 1
je 0x140006c19
cmp byte [rcx + 0x19], 4
jb 0x140006c19
mov edx, 0x70
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x14003ee10]
call fcn.140001450
mov byte [rbx + 0x8c], 0
mov rcx, qword [rbx + 0x80]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x30], rax
lea r8, str.MaxHeatBlocksToReplaceInPercentage
lea rax, [rbp + 0x10]
mov dword [rbp + 0x18], 4
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]
test eax, eax
jne 0x140006cc6
mov r9d, dword [rbp + 0x10]
lea eax, [r9 - 1]
cmp eax, 0x63
ja 0x140006ca7
mov rcx, qword [0x140048138]
cmp rcx, rdi
je 0x140006c9d
test byte [rcx + 0x1c], 1
je 0x140006c9d
cmp byte [rcx + 0x19], 3
jb 0x140006c9d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14003ee10]
mov edx, 0x71
call fcn.140001450
mov r9d, dword [rbp + 0x10]
mov word [rbx + 0x8e], r9w
jmp 0x140006d02
mov rcx, qword [0x140048138]
cmp rcx, rdi
je 0x140006cf6
test byte [rcx + 0x1c], 1
je 0x140006cf6
cmp byte [rcx + 0x19], 2
jb 0x140006cf6
mov edx, 0x72
jmp 0x140006ce6
mov rcx, qword [0x140048138]
cmp rcx, rdi
je 0x140006cf6
test byte [rcx + 0x1c], 1
je 0x140006cf6
cmp byte [rcx + 0x19], 4
jb 0x140006cf6
mov edx, 0x73
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x14003ee10]
call fcn.140001450
mov eax, 0xa
mov word [rbx + 0x8e], ax
mov rcx, qword [rbx + 0x80]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x30], rax
lea r8, str.MaxInMemoryTreeSize
lea rax, [rbp + 0x10]
mov dword [rbp + 0x18], 4
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]
test eax, eax
jne 0x140006dac
mov r9d, dword [rbp + 0x10]
lea eax, [r9 - 0xc350]
cmp eax, 0x7734d0b0
ja 0x140006d8d
mov rcx, qword [0x140048138]
cmp rcx, rdi
je 0x140006d84
test byte [rcx + 0x1c], 1
je 0x140006d84
cmp byte [rcx + 0x19], 3
jb 0x140006d84
mov rcx, qword [rcx + 0x10]
lea r8, [0x14003ee10]
mov edx, 0x74
call fcn.140001450
mov r9d, dword [rbp + 0x10]
mov dword [rbx + 0x90], r9d
jmp 0x140006de6
mov rcx, qword [0x140048138]
cmp rcx, rdi
je 0x140006ddc
test byte [rcx + 0x1c], 1
je 0x140006ddc
cmp byte [rcx + 0x19], 2
jb 0x140006ddc
mov edx, 0x75
jmp 0x140006dcc
mov rcx, qword [0x140048138]
cmp rcx, rdi
je 0x140006ddc
test byte [rcx + 0x1c], 1
je 0x140006ddc
cmp byte [rcx + 0x19], 4
jb 0x140006ddc
mov edx, 0x76
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x14003ee10]
call fcn.140001450
mov dword [rbx + 0x90], 0x3b9aca00
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret