Function at 0x1400834f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov r13, rcx
mov rcx, qword [0x140173048]
lea rsi, [0x140173048]
lea r15, [0x140155558]
cmp rcx, rsi
je 0x140083546
test byte [rcx + 0x1c], 1
je 0x140083546
cmp byte [rcx + 0x19], 4
jb 0x140083546
mov rcx, qword [rcx + 0x10]
mov edx, 0x19
mov r8, r15
call fcn.14000c328
xor r12d, r12d
lea rdi, str.base_stor_blbengine_serviceperformancemanager.cpp
test r13, r13
jne 0x140083569
lea r8, str.ppPerformanceSettings
mov edx, 0x11e
mov rcx, rdi
call fcn.1400906e0
mov ecx, 0x18
mov dword [rbp + 0x50], r12d
mov dword [rbp + 0x58], r12d
mov qword [rbp - 0x20], r12
mov dword [rbp - 0x28], 4
mov qword [r13], r12
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x140083660
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x1400835cb
test byte [rcx + 0x1c], 1
je 0x1400835cb
cmp byte [rcx + 0x19], 2
jb 0x1400835cb
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x1a]
mov r8, r15
call fcn.14000c328
mov rcx, qword [0x140173048]
mov ebx, 0x8007000e
lea r15, [0x140173048]
cmp rcx, r15
je 0x140083600
test byte [rcx + 0x1c], 1
je 0x140083600
cmp byte [rcx + 0x19], 2
jb 0x140083600
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155558]
mov edx, 0x27
mov r9d, ebx
call fcn.14000c354
mov rcx, r14
call fcn.140141ff0
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x14008364c
test byte [rcx + 0x1c], 1
je 0x14008364c
cmp byte [rcx + 0x19], 4
jb 0x14008364c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155558]
mov edx, 0x28
call fcn.14000c328
mov eax, ebx
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rax], r12
lea r8, str.OverallPerformanceSetting
mov qword [rax + 0x10], r12
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWindows_Block_Level_Backup
mov qword [rax + 8], r12
mov r9d, 0x10
or dword [rbp + 0x60], 0xffffffff
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], rax
mov rcx, 0xffffffff80000002
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400836fe
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x1400836e7
test byte [rcx + 0x1c], 1
je 0x1400836e7
cmp byte [rcx + 0x19], 2
jb 0x1400836e7
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b
mov r8, r15
call fcn.14000c328
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
test ebx, ebx
jle 0x140083924
movzx ebx, bx
jmp 0x14008391c
cmp dword [rbp + 0x50], 4
je 0x140083718
lea r8, str.dwType__REG_DWORD
mov edx, 0x147
mov rcx, rdi
call fcn.1400906e0
mov ecx, dword [rbp + 0x60]
mov rdx, r14
call fcn.1400831a8
mov ebx, eax
test eax, eax
jns 0x14008376a
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x1400835d0
test byte [rcx + 0x1c], 1
je 0x1400835d0
cmp byte [rcx + 0x19], 2
jb 0x1400835d0
mov rcx, qword [rcx + 0x10]
mov edx, 0x1c
mov r8, r15
call fcn.14000c328
mov rcx, qword [0x140173048]
jmp 0x1400835d0
mov eax, dword [r14]
dec eax
cmp eax, 2
jbe 0x140083788
lea r8, str._pPerformanceSettings__m_eOverallPerformanceSettingType__BLB_PST_ALWAYS_FULL____pPerformanceSettings__m_eOverallPerformanceSettingType__BLB_PST_ALWAYS_INCREMENTAL____pPerformanceSettings__m_eOverallPerformanceSettingType__BLB_PST_CUSTOM_
mov edx, 0x152
mov rcx, rdi
call fcn.1400906e0
lea rax, [rbp + 0x58]
mov r9d, 0x20
mov qword [rsp + 0x30], rax
lea r8, str.CustomPerformanceSettings
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], r12
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWindows_Block_Level_Backup
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x140083808
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x1400837fc
test byte [rcx + 0x1c], 1
je 0x1400837fc
cmp byte [rcx + 0x19], 2
jb 0x1400837fc
mov rcx, qword [rcx + 0x10]
mov edx, 0x1d
mov r8, r15
call fcn.14000c328
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
jmp 0x140083911
cmp dword [rbp + 0x50], 7
je 0x140083826
lea r8, str.dwType__REG_MULTI_SZ
mov edx, 0x162
lea rcx, str.base_stor_blbengine_serviceperformancemanager.cpp
call fcn.1400906e0
mov ecx, dword [rbp + 0x58]
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov qword [rbp - 0x20], rax
mov rsi, rax
test rax, rax
jne 0x140083884
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x14008387a
test byte [rcx + 0x1c], 1
je 0x14008387a
cmp byte [rcx + 0x19], 2
jb 0x14008387a
lea edx, [rax + 0x1e]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155558]
call fcn.14000c328
mov rcx, qword [0x140173048]
mov ebx, 0x8007000e
jmp 0x1400835d7
mov r8d, dword [rbp + 0x58]
xor edx, edx
mov rcx, rsi
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x58]
mov r9d, 0x20
mov qword [rsp + 0x30], rax
lea r8, str.CustomPerformanceSettings
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rsi
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWindows_Block_Level_Backup
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x14008392f
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x140083911
test byte [rcx + 0x1c], 1
je 0x140083911
cmp byte [rcx + 0x19], 2
jb 0x140083911
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155558]
mov edx, 0x1f
call fcn.14000c328
mov rcx, qword [0x140173048]
test edi, edi
jg 0x140083919
mov ebx, edi
jmp 0x140083922
movzx ebx, di
or ebx, 0x80070000
test ebx, ebx
jns 0x140083c67
jmp 0x1400835d7
cmp dword [rbp + 0x50], 7
je 0x14008394d
lea r8, str.dwType__REG_MULTI_SZ
mov edx, 0x17e
lea rcx, str.base_stor_blbengine_serviceperformancemanager.cpp
call fcn.1400906e0
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140083994
test byte [rcx + 0x1c], 1
je 0x140083994
cmp byte [rcx + 0x19], 4
jb 0x140083994
mov r9d, dword [rbp + 0x58]
mov edx, 0x20
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rsi
call fcn.140061658
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
mov edi, dword [rbp + 0x58]
mov r15d, r12d
shr edi, 1
cmp edi, 2
jne 0x1400839cd
cmp rcx, rax
je 0x1400839c5
test byte [rcx + 0x1c], 1
je 0x1400839c5
cmp byte [rcx + 0x19], 4
jb 0x1400839c5
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x1f]
lea r8, [0x140155558]
call fcn.14000c328
mov ebx, r12d
jmp 0x140083c67
cmp dword [r14], 3
je 0x1400839f2
lea r8, str.pPerformanceSettings__m_eOverallPerformanceSettingType__BLB_PST_CUSTOM
mov edx, 0x18e
lea rcx, str.base_stor_blbengine_serviceperformancemanager.cpp
call fcn.1400906e0
mov rcx, qword [0x140173048]
test edi, edi
je 0x140083a10
lea rdx, [rsi + rdi*2]
mov eax, r12d
lea rdx, [rdx - 2]
cmp word [rdx], r12w
sete al
add r15d, eax
add edi, 0xffffffff
jne 0x1400839fa
dec r15d
lea rax, [0x140173048]
cmp rcx, rax
je 0x140083a43
test byte [rcx + 0x1c], 1
je 0x140083a43
cmp byte [rcx + 0x19], 4
jb 0x140083a43
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155558]
mov edx, 0x22
mov r9d, r15d
call fcn.1400155dc
lea r12, [r15*4]
mov edi, r15d
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
shl rdi, 4
mov rcx, rdi
mov qword [r14 + 0x10], rax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x10]
xor r13d, r13d
mov qword [r14 + 8], rax
test rcx, rcx
je 0x140083c70
test rax, rax
je 0x140083c70
mov r8, r12
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, qword [r14 + 8]
mov r8, rdi
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [r14 + 4], r15d
mov r12d, r13d
cmp r12d, r15d
jae 0x140083c63
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], r13w
jne 0x140083abd
test edi, edi
jne 0x140083ae3
lea r8, str.dwLengthOfCurrentLine___0
mov edx, 0x1b4
lea rcx, str.base_stor_blbengine_serviceperformancemanager.cpp
call fcn.1400906e0
mov edx, 0x2c
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140083c1e
mov word [rax], r13w
mov rcx, rsi
mov edx, r12d
shl rdx, 4
add rdx, qword [r14 + 8]
mov r13d, r12d
call qword [sym.imp.RPCRT4.dll_UuidFromStringW]
nop dword [rax + rax]
test eax, eax
jne 0x140083be5
lea rcx, [rbx + 2]
lea r8d, [rax + 0xa]
lea rdx, [rbp - 0x18]
call qword [sym.imp.msvcrt.dll_wcstoul]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x10]
mov dword [rbp - 0x24], eax
lea rdx, [rcx + r13*4]
mov ecx, eax
call fcn.1400831a8
mov ebx, eax
test eax, eax
js 0x140083b95
mov rax, qword [r14 + 0x10]
mov ecx, dword [rax + r13*4]
dec ecx
cmp ecx, 1
jbe 0x140083b83
lea r8, str._pPerformanceSettings__m_rgePerformanceSettingType_i___BLB_PST_ALWAYS_FULL____pPerformanceSettings__m_rgePerformanceSettingType_i___BLB_PST_ALWAYS_INCREMENTAL_
mov edx, 0x1d6
lea rcx, str.base_stor_blbengine_serviceperformancemanager.cpp
call fcn.1400906e0
lea eax, [rdi + 1]
inc r12d
lea rsi, [rsi + rax*2]
xor r13d, r13d
jmp 0x140083ab0
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x140083600
test byte [rcx + 0x1c], 1
je 0x1400835d7
cmp byte [rcx + 0x19], 2
jb 0x1400835d7
mov r9d, dword [rbp - 0x24]
lea r8, [0x140155558]
mov rcx, qword [rcx + 0x10]
mov edx, 0x26
call fcn.14000c354
mov rcx, qword [0x140173048]
jmp 0x1400835d7
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x140083c59
test byte [rcx + 0x1c], 1
je 0x140083c59
cmp byte [rcx + 0x19], 2
jb 0x140083c59
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155558]
mov edx, 0x25
mov r9, rsi
call fcn.140015150
jmp 0x140083c52
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x140083c59
test byte [rcx + 0x1c], 1
je 0x140083c59
cmp byte [rcx + 0x19], 2
jb 0x140083c59
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155558]
mov edx, 0x24
call fcn.14000c328
mov rcx, qword [0x140173048]
mov ebx, 0x80780098
jmp 0x1400835d7
mov r13, qword [rbp + 0x48]
mov qword [r13], r14
jmp 0x140083608
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x14008387a
test byte [rcx + 0x1c], 1
je 0x14008387a
cmp byte [rcx + 0x19], 2
jb 0x14008387a
mov edx, 0x23
jmp 0x140083863