Function at 0x14013d0e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2e0
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov qword [rbp - 0x78], r8
mov qword [rbp - 0x80], rdx
mov r12, rcx
xor edi, edi
mov r14d, edi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1401620e8]
xor edx, edx
lea r8d, [rdi + 1]
lea rcx, [0x1401527f8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
nop dword [rax + rax]
mov esi, eax
test eax, eax
js 0x14013d956
lea r15, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
mov rbx, qword [rsp + 0x58]
test rbx, rbx
jne 0x14013d196
lea r8, str.p_0
mov edx, 0x9a
mov rcx, r15
call fcn.1400876c8
mov rbx, qword [rsp + 0x58]
lea rcx, str.RegistryExcludes
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rdi, rax
mov qword [rsp + 0x50], rax
xor r13d, r13d
test rax, rax
je 0x14013da09
cmp qword [rsp + 0x60], r13
je 0x14013d1d8
lea r8, str.p0
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
mov rcx, r15
call fcn.1400876c8
mov rax, qword [rbx]
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 0x178]
call qword [case.0x140005b13.0]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
xor edi, edi
test esi, esi
js 0x14013d956
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x14013d231
lea r8, str.p_0
mov edx, 0x9a
mov rcx, r15
call fcn.1400876c8
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rax, qword [rax + 0xa8]
call qword [case.0x140005b13.0]
mov esi, eax
test eax, eax
js 0x14013d956
mov ecx, 0x2000
call fcn.14014b2d4
mov r14, rax
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x78]
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]
test eax, eax
je 0x14013d434
lea r13, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14013d2d9
test byte [rcx + 0x1c], 1
je 0x14013d2d9
cmp byte [rcx + 0x19], 3
jb 0x14013d2d9
mov edx, 0x20
mov dword [rsp + 0x20], eax
lea r9, str.SYSTEMCurrentControlSetControlBackupRestoreFilesNotToBackup
lea r8, [0x140164fd8]
mov rcx, qword [rcx + 0x10]
call fcn.140005ca0
mov rbx, qword [rbp - 0x80]
mov r13, qword [rbx + 8]
mov r14, rdi
test r13, r13
je 0x14013d8ff
mov r15, rdi
mov qword [rsp + 0x40], rdi
mov rax, qword [rbx + 8]
cmp r14, rax
jb 0x14013d323
lea r8, str.iElement___m_nSize
mov edx, 0x273
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcoll.h
call fcn.1400876c8
mov rax, qword [rbx + 8]
cmp r14, rax
jae 0x14013d9fe
mov r12, qword [rbx]
mov rbx, qword [rsp + 0x58]
test rbx, rbx
jne 0x14013d34d
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
call fcn.1400876c8
mov rbx, qword [rsp + 0x58]
lea rcx, str.Exclude
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rdi, rax
mov qword [rsp + 0x50], rax
xor eax, eax
test rdi, rdi
je 0x14013d9f3
cmp qword [rsp + 0x40], rax
je 0x14013d392
lea r8, str.p0
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
call fcn.1400876c8
mov rax, qword [rbx]
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 0x178]
call qword [case.0x140005b13.0]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
xor edi, edi
test esi, esi
js 0x14013d9ec
lea rcx, str.Additional_Files_To_Exclude
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14013d9f3
lea r8, [rsp + 0x50]
lea rdx, str.Value
lea rcx, [rsp + 0x40]
call fcn.14013c718
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test esi, esi
js 0x14013d9ec
mov rcx, qword [r15 + r12]
test rcx, rcx
jne 0x14013d77c
mov ebx, edi
mov qword [rsp + 0x50], rbx
jmp 0x14013d799
lea r13, [0x14017a048]
mov dword [rsp + 0x6c], 0x104
mov dword [rsp + 0x68], 0x2000
xor r15d, r15d
mov qword [rsp + 0x50], r15
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x40]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x6c]
lea r8, [rbp - 0x40]
mov edx, edi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
mov esi, eax
mov dword [rsp + 0x74], eax
inc edi
mov dword [rsp + 0x40], edi
lea rax, [rbp - 0x40]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x14013d4b2
mov r8d, ecx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.14006d8b4
test eax, eax
jns 0x14013d4e9
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rbx, qword [rsp + 0x50]
test esi, esi
jne 0x14013d6da
cmp dword [rsp + 0x70], 7
jne 0x14013d6e6
mov rdi, r15
mov rax, qword [r12 + 8]
test rax, rax
je 0x14013d562
cmp r15, rax
jb 0x14013d536
lea r8, str.iElement___m_nSize
mov edx, 0x2c5
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcoll.h
call fcn.1400876c8
cmp r15, qword [r12 + 8]
jae 0x14013da14
mov rdx, qword [r12]
mov rdx, qword [rdx + rdi*8]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14013d669
inc rdi
mov rax, qword [r12 + 8]
cmp rdi, rax
jb 0x14013d536
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x58], r15d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x68]
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.14013da48
mov r14, qword [rbp - 0x70]
mov r15, qword [rbp - 0x68]
xor edx, edx
test eax, eax
js 0x14013d606
mov edi, edx
test r15, r15
je 0x14013d606
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x14013d5ce
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
call fcn.1400876c8
mov rcx, qword [rsp + 0x60]
cmp rdi, r15
jae 0x14013da1f
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [r14 + rdi*8]
mov rax, qword [rax + 0xa8]
call qword [case.0x140005b13.0]
mov esi, eax
xor edx, edx
test eax, eax
js 0x14013d733
inc rdi
cmp rdi, r15
jb 0x14013d5a7
mov esi, dword [rsp + 0x74]
test r14, r14
je 0x14013d642
mov rdi, rdx
test r15, r15
je 0x14013d633
mov rcx, qword [r14 + rdi*8]
test rcx, rcx
je 0x14013d62b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
xor edx, edx
inc rdi
cmp rdi, r15
jb 0x14013d613
mov rcx, r14
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov r14, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
xor edi, edi
test esi, esi
jne 0x14013d2d9
mov edi, dword [rsp + 0x40]
jmp 0x14013d43b
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14013d647
test byte [rcx + 0x1c], 1
je 0x14013d647
cmp byte [rcx + 0x19], 4
jb 0x14013d647
mov rax, qword [r12 + 8]
cmp rdi, rax
jb 0x14013d6b8
lea r8, str.iElement___m_nSize
mov edx, 0x2c5
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcoll.h
call fcn.1400876c8
mov rax, qword [r12 + 8]
mov rcx, qword [0x14017a048]
cmp rdi, rax
jae 0x14013da14
mov rax, qword [r12]
mov edx, 0x21
mov r9, qword [rax + rdi*8]
lea r8, [0x140164fd8]
mov rcx, qword [rcx + 0x10]
call fcn.140005c30
jmp 0x14013d647
cmp esi, 0x103
je 0x14013d647
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14013d647
test byte [rcx + 0x1c], 1
je 0x14013d647
cmp byte [rcx + 0x19], 3
jb 0x14013d647
mov edx, 0x22
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
lea r9, str.SYSTEMCurrentControlSetControlBackupRestoreFilesNotToBackup
lea r8, [0x140164fd8]
mov rcx, qword [rcx + 0x10]
call fcn.140010964
jmp 0x14013d647
xor edi, edi
test r14, r14
je 0x14013d768
mov rcx, qword [r14 + rdi*8]
test rcx, rcx
je 0x14013d750
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
inc rdi
cmp rdi, r15
jb 0x14013d73a
mov rcx, r14
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
jmp 0x14013d951
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14013d9f3
lea r8, [rsp + 0x50]
lea rdx, str.FilePath
lea rcx, [rsp + 0x40]
call fcn.14013c718
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test esi, esi
js 0x14013d9ec
mov rcx, qword [r15 + r12 + 8]
test rcx, rcx
jne 0x14013d7dc
mov rbx, rdi
mov qword [rsp + 0x50], rbx
jmp 0x14013d7f9
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14013d9f3
lea r8, [rsp + 0x50]
lea rdx, str.FileSpec
lea rcx, [rsp + 0x40]
call fcn.14013c718
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test esi, esi
js 0x14013d9ec
lea rax, str.true
lea rcx, str.false
cmp byte [r15 + r12 + 0x10], dil
cmovne rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14013d9f3
lea r8, [rsp + 0x50]
lea rdx, str.IsRecursive
lea rcx, [rsp + 0x40]
call fcn.14013c718
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test esi, esi
js 0x14013d9ec
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x14013d8b2
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
call fcn.1400876c8
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rax, qword [rax + 0xa8]
call qword [case.0x140005b13.0]
mov esi, eax
mov rcx, qword [rsp + 0x40]
test eax, eax
js 0x14013d9d1
test rcx, rcx
je 0x14013d8eb
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
inc r14
add r15, 0x18
cmp r14, r13
mov rbx, qword [rbp - 0x80]
jb 0x14013d2f0
mov rbx, qword [rbp - 0x78]
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov qword [rbx], rdi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x14013d93c
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
call fcn.1400876c8
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x110]
call qword [case.0x140005b13.0]
mov esi, eax
mov r14, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14013d96c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, r14
call fcn.14014b2c8
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14013d98d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14013d9a4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
mov eax, esi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14014b700
mov rbx, qword [rsp + 0x338]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test rcx, rcx
je 0x14013d951
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
jmp 0x14013d951
mov rcx, qword [rsp + 0x40]
jmp 0x14013d9d1
mov ecx, 0x8007000e
call fcn.140001950
int3
mov ecx, 0x80070057
call fcn.140001950
nop
mov ecx, 0x8007000e
call fcn.140001950
nop
mov ecx, 0x80070057
call fcn.140001950
nop
lea r8, str.iElement___m_nSize
mov edx, 0x2cf
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcoll.h
call fcn.1400876c8
mov ecx, 0x80070057
call fcn.140001950
int3