Function at 0x14013cbec
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x140173708]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov qword [rbp - 0x48], r8
mov r12, rdx
mov qword [rbp - 0x70], rdx
mov r14, rcx
mov qword [rbp - 0x78], rcx
xor ebx, ebx
mov qword [rsp + 0x48], rbx
and qword [rbp - 0x80], rbx
and qword [rsp + 0x50], rbx
and qword [rsp + 0x68], rbx
lea rcx, [rsp + 0x50]
call fcn.140107828
mov qword [rsp + 0x20], rax
lea r9, [0x14015fb28]
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x14014ff60]
call qword [sym.imp.ole32.dll_CoCreateInstance]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x14013d2aa
lea rcx, [rsp + 0x50]
call fcn.140016380
mov rsi, rax
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x178]
lea rcx, [rsp + 0x68]
call fcn.14013c23c
mov rbx, rax
lea rdx, str.RegistryExcludes
lea rcx, [rsp + 0x78]
call fcn.140006cfc
nop
movabs r10, 0x953d1ebb125ee370
mov r8, rbx
mov rdx, qword [rax]
mov rcx, rsi
mov rax, rdi
call qword [vtable.H_MA8HI.0]
mov edi, eax
test eax, eax
sets bl
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test bl, bl
jne 0x14013d2a5
lea rcx, [rsp + 0x50]
call fcn.140016380
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0xa8]
movabs r10, 0xdfc1bf517a55f270
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, r9
call qword [vtable.H_MA8HI.0]
mov edi, eax
test eax, eax
js 0x14013d2a5
mov ecx, 0x2000
call fcn.140006fcc
mov rbx, rax
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlBackupRestoreFilesNotToBackup
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x14013cdbe
lea r15, [0x140173048]
mov rcx, qword [0x140173048]
cmp rcx, r15
je 0x14013d017
test byte [rcx + 0x1c], 1
je 0x14013d017
cmp byte [rcx + 0x19], 3
jb 0x14013d017
mov edx, 0x20
mov dword [rsp + 0x20], eax
lea r9, str.SYSTEMCurrentControlSetControlBackupRestoreFilesNotToBackup
lea r8, [0x140162a58]
mov rcx, qword [rcx + 0x10]
call fcn.140040370
jmp 0x14013d017
xor r13d, r13d
lea r15, [0x140173048]
test esi, esi
jne 0x14013d013
mov dword [rsp + 0x70], 0x104
mov dword [rsp + 0x60], 0x2000
and qword [rsp + 0x58], 0
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x40]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x40]
mov edx, r13d
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
mov esi, eax
inc r13d
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.1400711fc
test eax, eax
jns 0x14013ce61
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rbx, qword [rsp + 0x58]
test esi, esi
jne 0x14013cf9b
cmp dword [rsp + 0x40], 7
jne 0x14013cfa7
xor edi, edi
cmp rdi, qword [r14 + 8]
jae 0x14013cf07
mov rdx, rdi
mov rcx, r14
call fcn.14013c1e4
mov rdx, qword [rax]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14013ceab
inc rdi
jmp 0x14013ce7b
mov rax, qword [0x140173048]
cmp rax, r15
je 0x14013ceee
test byte [rax + 0x1c], 1
je 0x14013ceee
cmp byte [rax + 0x19], 4
jb 0x14013ceee
mov rdx, rdi
mov rcx, r14
call fcn.14013c1e4
mov r9, qword [rax]
mov rax, qword [0x140173048]
mov edx, 0x21
lea r8, [0x140162a58]
mov rcx, qword [rax + 0x10]
call fcn.140015150
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x48]
jmp 0x14013cdc8
and qword [rbp - 0x68], 0
and qword [rbp - 0x60], 0
and qword [rbp - 0x58], 0
and dword [rbp - 0x50], 0
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14013c600
test eax, eax
js 0x14013cf8d
xor r14d, r14d
mov r12, qword [rbp - 0x68]
cmp r14, qword [rbp - 0x60]
jae 0x14013cf89
lea rcx, [rsp + 0x68]
call fcn.140016380
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0xa8]
movabs r10, 0xdfc1bf517a55f270
xor r8d, r8d
mov rdx, qword [r12 + r14*8]
mov rcx, r9
call qword [vtable.H_MA8HI.0]
mov edi, eax
test eax, eax
js 0x14013cff5
inc r14
jmp 0x14013cf47
mov r14, qword [rbp - 0x78]
lea rcx, [rbp - 0x68]
call fcn.14013c0d0
jmp 0x14013ceee
cmp esi, 0x103
je 0x14013ceee
mov rcx, qword [0x140173048]
cmp rcx, r15
je 0x14013ceee
test byte [rcx + 0x1c], 1
je 0x14013ceee
cmp byte [rcx + 0x19], 3
jb 0x14013ceee
mov edx, 0x22
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r13d
lea r9, str.SYSTEMCurrentControlSetControlBackupRestoreFilesNotToBackup
lea r8, [0x140162a58]
mov rcx, qword [rcx + 0x10]
call fcn.1400403f0
jmp 0x14013ceee
lea rcx, [rbp - 0x68]
call fcn.14013c0d0
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
jmp 0x14013d2a5
mov r12, qword [rbp - 0x70]
mov r13, qword [r12 + 8]
xor r14d, r14d
xor r15d, r15d
cmp r14, r13
jae 0x14013d25f
and qword [rsp + 0x40], 0
cmp r14, qword [r12 + 8]
jb 0x14013d05b
lea r8, str.iElement___m_nSize
mov edx, 0x273
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcoll.h
call fcn.1400906e0
cmp r14, qword [r12 + 8]
jae 0x14013d254
mov r12, qword [r12]
lea rcx, [rsp + 0x50]
call fcn.140016380
mov rsi, rax
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x178]
lea rcx, [rsp + 0x40]
call fcn.14013c23c
mov rbx, rax
lea rdx, str.Exclude
lea rcx, [rbp - 0x78]
call fcn.140006cfc
nop
movabs r10, 0x953d1ebb125ee370
mov r8, rbx
mov rdx, qword [rax]
mov rcx, rsi
mov rax, rdi
call qword [vtable.H_MA8HI.0]
mov edi, eax
test eax, eax
sets bl
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test bl, bl
jne 0x14013d248
lea rdx, str.Additional_Files_To_Exclude
lea rcx, [rsp + 0x58]
call fcn.140006cfc
nop
lea r8, [rsp + 0x58]
lea rdx, str.Value
lea rcx, [rsp + 0x40]
call fcn.14013e044
mov edi, eax
test eax, eax
sets bl
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test bl, bl
jne 0x14013d248
mov rdx, qword [r15 + r12]
lea rcx, [rsp + 0x70]
call fcn.140006cfc
nop
lea r8, [rsp + 0x70]
lea rdx, str.FilePath
lea rcx, [rsp + 0x40]
call fcn.14013e044
mov edi, eax
test eax, eax
sets bl
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test bl, bl
jne 0x14013d248
mov rdx, qword [r15 + r12 + 8]
lea rcx, [rsp + 0x60]
call fcn.140006cfc
nop
lea r8, [rsp + 0x60]
lea rdx, str.FileSpec
lea rcx, [rsp + 0x40]
call fcn.14013e044
mov edi, eax
test eax, eax
sets bl
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test bl, bl
jne 0x14013d248
lea rax, str.false
lea rdx, str.true
cmp byte [r15 + r12 + 0x10], bl
cmove rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140006cfc
nop
lea r8, [rsp + 0x78]
lea rdx, str.IsRecursive
lea rcx, [rsp + 0x40]
call fcn.14013e044
mov edi, eax
test eax, eax
sets bl
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test bl, bl
jne 0x14013d248
lea rcx, [rsp + 0x68]
call fcn.140016380
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0xa8]
movabs r10, 0xdfc1bf517a55f270
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, r9
call qword [vtable.H_MA8HI.0]
mov edi, eax
lea rcx, [rsp + 0x40]
test eax, eax
js 0x14013d24d
call fcn.140015c50
inc r14
add r15, 0x18
mov r12, qword [rbp - 0x70]
jmp 0x14013d022
lea rcx, [rsp + 0x40]
call fcn.140015c50
jmp 0x14013d2a5
mov ecx, 0x80070057
call fcn.140008e64
nop
mov rbx, qword [rbp - 0x48]
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
and qword [rbx], 0
lea rcx, [rsp + 0x50]
call fcn.140016380
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x110]
movabs r10, 0xd17427fb3adef170
mov rdx, rbx
mov rcx, r8
call qword [vtable.H_MA8HI.0]
mov edi, eax
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14013d2bf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, rbx
call fcn.140006fc0
nop
lea rcx, [rsp + 0x68]
call fcn.140015c50
nop
lea rcx, [rsp + 0x50]
call fcn.140015c50
mov eax, edi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140007410
mov rbx, qword [rsp + 0x338]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret