Function at 0x14007d158
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 rbx, rcx
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x14007d1a7
test byte [rcx + 0x1c], 1
je 0x14007d1a7
cmp byte [rcx + 0x19], 4
jb 0x14007d1a7
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015cc68]
mov edx, 0x19
call fcn.140006b98
xor r13d, r13d
lea r12, str.base_stor_blbengine_serviceperformancemanager.cpp
test rbx, rbx
jne 0x14007d1ca
lea r8, str.ppPerformanceSettings
mov edx, 0x11e
mov rcx, r12
call fcn.14008ac24
mov ecx, 0x18
mov dword [rbp + 0x50], r13d
mov dword [rbp + 0x58], r13d
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x28], 4
mov qword [rbx], r13
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14007d2c4
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x14007d22f
test byte [rcx + 0x1c], 1
je 0x14007d22f
cmp byte [rcx + 0x19], 2
jb 0x14007d22f
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x1a]
lea r8, [0x14015cc68]
call fcn.140006b98
mov rcx, qword [0x14017a048]
mov ebx, 0x8007000e
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14007d264
test byte [rcx + 0x1c], 1
je 0x14007d264
cmp byte [rcx + 0x19], 2
jb 0x14007d264
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015cc68]
mov edx, 0x27
mov r9d, ebx
call fcn.140006bc4
mov rcx, rsi
call fcn.14014a554
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14007d2b0
test byte [rcx + 0x1c], 1
je 0x14007d2b0
cmp byte [rcx + 0x19], 4
jb 0x14007d2b0
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015cc68]
mov edx, 0x28
call fcn.140006b98
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], r13
lea r8, str.OverallPerformanceSetting
mov qword [rax + 0x10], r13
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWindows_Block_Level_Backup
mov qword [rax + 8], r13
mov rdi, 0xffffffff80000002
or dword [rbp + 0x60], 0xffffffff
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], rax
mov r9d, 0x10
lea rax, [rbp + 0x60]
mov rcx, rdi
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 0x14007d369
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x14007d352
test byte [rcx + 0x1c], 1
je 0x14007d352
cmp byte [rcx + 0x19], 2
jb 0x14007d352
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015cc68]
mov edx, 0x1b
call fcn.140006b98
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
test ebx, ebx
jle 0x14007d58d
movzx ebx, bx
jmp 0x14007d585
cmp dword [rbp + 0x50], 4
je 0x14007d383
lea r8, str.dwType__REG_DWORD
mov edx, 0x147
mov rcx, r12
call fcn.14008ac24
mov ecx, dword [rbp + 0x60]
mov rdx, rsi
call fcn.14007ce1c
mov ebx, eax
test eax, eax
jns 0x14007d3d9
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x14007d234
test byte [rcx + 0x1c], 1
je 0x14007d234
cmp byte [rcx + 0x19], 2
jb 0x14007d234
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015cc68]
mov edx, 0x1c
call fcn.140006b98
mov rcx, qword [0x14017a048]
jmp 0x14007d234
mov eax, dword [rsi]
dec eax
cmp eax, 2
jbe 0x14007d3f6
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, r12
call fcn.14008ac24
lea rax, [rbp + 0x58]
mov r15d, 0x20
mov qword [rsp + 0x30], rax
lea r8, str.CustomPerformanceSettings
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], r13
mov r9d, r15d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWindows_Block_Level_Backup
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x14007d478
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x14007d46c
test byte [rcx + 0x1c], 1
je 0x14007d46c
cmp byte [rcx + 0x19], 2
jb 0x14007d46c
mov rcx, qword [rcx + 0x10]
lea edx, [r15 - 3]
lea r8, [0x14015cc68]
call fcn.140006b98
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
jmp 0x14007d57a
cmp dword [rbp + 0x50], 7
je 0x14007d492
lea r8, str.dwType__REG_MULTI_SZ
mov edx, 0x162
mov rcx, r12
call fcn.14008ac24
mov ecx, dword [rbp + 0x58]
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov qword [rbp - 0x20], rax
mov r14, rax
test rax, rax
jne 0x14007d4f0
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14007d4e6
test byte [rcx + 0x1c], 1
je 0x14007d4e6
cmp byte [rcx + 0x19], 2
jb 0x14007d4e6
lea edx, [rax + 0x1e]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015cc68]
call fcn.140006b98
mov rcx, qword [0x14017a048]
mov ebx, 0x8007000e
jmp 0x14007d23b
mov r8d, dword [rbp + 0x58]
xor edx, edx
mov rcx, r14
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x58]
mov r9d, r15d
mov qword [rsp + 0x30], rax
lea r8, str.CustomPerformanceSettings
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], r14
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 0x14007d59f
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14007d57a
test byte [rcx + 0x1c], 1
je 0x14007d57a
cmp byte [rcx + 0x19], 2
jb 0x14007d57a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015cc68]
mov edx, 0x1f
call fcn.140006b98
mov rcx, qword [0x14017a048]
test edi, edi
jg 0x14007d582
mov ebx, edi
jmp 0x14007d58b
movzx ebx, di
or ebx, 0x80070000
test ebx, ebx
js 0x14007d23b
mov rax, qword [rbp + 0x48]
mov qword [rax], rsi
jmp 0x14007d26c
cmp dword [rbp + 0x50], 7
je 0x14007d5b9
lea r8, str.dwType__REG_MULTI_SZ
mov edx, 0x17e
mov rcx, r12
call fcn.14008ac24
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14007d602
test byte [rcx + 0x1c], 1
je 0x14007d602
cmp byte [rcx + 0x19], 4
jb 0x14007d602
mov r9d, dword [rbp + 0x58]
lea r8, [0x14015cc68]
mov rcx, qword [rcx + 0x10]
mov edx, r15d
mov qword [rsp + 0x20], r14
call fcn.14005ff7c
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
mov edi, dword [rbp + 0x58]
mov r15d, r13d
shr edi, 1
cmp edi, 2
jne 0x14007d63b
cmp rcx, rax
je 0x14007d633
test byte [rcx + 0x1c], 1
je 0x14007d633
cmp byte [rcx + 0x19], 4
jb 0x14007d633
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x1f]
lea r8, [0x14015cc68]
call fcn.140006b98
mov ebx, r13d
jmp 0x14007d593
cmp dword [rsi], 3
je 0x14007d65b
lea r8, str.pPerformanceSettings__m_eOverallPerformanceSettingType__BLB_PST_CUSTOM
mov edx, 0x18e
mov rcx, r12
call fcn.14008ac24
mov rcx, qword [0x14017a048]
test edi, edi
je 0x14007d679
lea rdx, [r14 + rdi*2]
mov eax, r13d
lea rdx, [rdx - 2]
cmp word [rdx], r13w
sete al
add r15d, eax
add edi, 0xffffffff
jne 0x14007d663
dec r15d
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14007d6ac
test byte [rcx + 0x1c], 1
je 0x14007d6ac
cmp byte [rcx + 0x19], 4
jb 0x14007d6ac
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015cc68]
mov edx, 0x22
mov r9d, r15d
call fcn.140011750
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 [rsi + 0x10], rax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 8], rax
test rcx, rcx
je 0x14007d8db
test rax, rax
je 0x14007d8db
mov r8, r12
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, qword [rsi + 8]
mov r8, rdi
xor edx, edx
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [rsi + 4], r15d
test r15d, r15d
je 0x14007d593
mov r12d, eax
or rdi, 0xffffffffffffffff
inc rdi
cmp word [r14 + rdi*2], ax
jne 0x14007d725
test edi, edi
jne 0x14007d74b
lea r8, str.dwLengthOfCurrentLine___0
mov edx, 0x1b4
lea rcx, str.base_stor_blbengine_serviceperformancemanager.cpp
call fcn.14008ac24
mov edx, 0x2c
mov rcx, r14
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rbx, rax
xor eax, eax
test rbx, rbx
je 0x14007d896
mov word [rbx], ax
mov rcx, r14
mov edx, r13d
shl rdx, 4
add rdx, qword [rsi + 8]
call qword [sym.imp.RPCRT4.dll_UuidFromStringW]
nop dword [rax + rax]
test eax, eax
jne 0x14007d85d
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 [rsi + 0x10]
mov edx, r13d
mov dword [rbp - 0x24], eax
lea rdx, [rcx + rdx*4]
mov ecx, eax
call fcn.14007ce1c
mov ebx, eax
test eax, eax
js 0x14007d80d
mov rax, qword [rsi + 0x10]
mov ecx, dword [rax + r12]
dec ecx
cmp ecx, 1
jbe 0x14007d7ec
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.14008ac24
lea eax, [rdi + 1]
inc r13d
add r12, 4
lea r14, [r14 + rax*2]
mov eax, 0
cmp r13d, r15d
jb 0x14007d721
jmp 0x14007d593
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14007d264
test byte [rcx + 0x1c], 1
je 0x14007d23b
cmp byte [rcx + 0x19], 2
jb 0x14007d23b
mov r9d, dword [rbp - 0x24]
lea r8, [0x14015cc68]
mov rcx, qword [rcx + 0x10]
mov edx, 0x26
call fcn.140006bc4
mov rcx, qword [0x14017a048]
jmp 0x14007d23b
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14007d8d1
test byte [rcx + 0x1c], 1
je 0x14007d8d1
cmp byte [rcx + 0x19], 2
jb 0x14007d8d1
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015cc68]
mov edx, 0x25
mov r9, r14
call fcn.1400112c8
jmp 0x14007d8ca
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14007d8d1
test byte [rcx + 0x1c], 1
je 0x14007d8d1
cmp byte [rcx + 0x19], 2
jb 0x14007d8d1
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015cc68]
mov edx, 0x24
call fcn.140006b98
mov rcx, qword [0x14017a048]
mov ebx, 0x80780098
jmp 0x14007d23b
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14007d4e6
test byte [rcx + 0x1c], 1
je 0x14007d4e6
cmp byte [rcx + 0x19], 2
jb 0x14007d4e6
mov edx, 0x23
jmp 0x14007d4cf