Function at 0x14013d540
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 [0x14017b608]
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, [0x140163258]
xor edx, edx
lea r8d, [rdi + 1]
lea rcx, [0x140153968]
call qword [sym.imp.ole32.dll_CoCreateInstance]
nop dword [rax + rax]
mov esi, eax
test eax, eax
js 0x14013ddb6
lea r15, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
mov rbx, qword [rsp + 0x58]
test rbx, rbx
jne 0x14013d5f6
lea r8, str.p_0
mov edx, 0x9a
mov rcx, r15
call fcn.140087b08
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 0x14013de69
cmp qword [rsp + 0x60], r13
je 0x14013d638
lea r8, str.p0
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
mov rcx, r15
call fcn.140087b08
mov rax, qword [rbx]
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 0x178]
call qword [case.0x140005bb3.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 0x14013ddb6
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x14013d691
lea r8, str.p_0
mov edx, 0x9a
mov rcx, r15
call fcn.140087b08
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.0x140005bb3.0]
mov esi, eax
test eax, eax
js 0x14013ddb6
mov ecx, 0x2000
call fcn.14014b734
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 0x14013d894
lea r13, [0x14017b048]
mov rcx, qword [0x14017b048]
cmp rcx, r13
je 0x14013d739
test byte [rcx + 0x1c], 1
je 0x14013d739
cmp byte [rcx + 0x19], 3
jb 0x14013d739
mov edx, 0x20
mov dword [rsp + 0x20], eax
lea r9, str.SYSTEMCurrentControlSetControlBackupRestoreFilesNotToBackup
lea r8, [0x140166148]
mov rcx, qword [rcx + 0x10]
call fcn.140005d40
mov rbx, qword [rbp - 0x80]
mov r13, qword [rbx + 8]
mov r14, rdi
test r13, r13
je 0x14013dd5f
mov r15, rdi
mov qword [rsp + 0x40], rdi
mov rax, qword [rbx + 8]
cmp r14, rax
jb 0x14013d783
lea r8, str.iElement___m_nSize
mov edx, 0x273
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcoll.h
call fcn.140087b08
mov rax, qword [rbx + 8]
cmp r14, rax
jae 0x14013de5e
mov r12, qword [rbx]
mov rbx, qword [rsp + 0x58]
test rbx, rbx
jne 0x14013d7ad
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
call fcn.140087b08
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 0x14013de53
cmp qword [rsp + 0x40], rax
je 0x14013d7f2
lea r8, str.p0
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
call fcn.140087b08
mov rax, qword [rbx]
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 0x178]
call qword [case.0x140005bb3.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 0x14013de4c
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 0x14013de53
lea r8, [rsp + 0x50]
lea rdx, str.Value
lea rcx, [rsp + 0x40]
call fcn.14013cb78
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test esi, esi
js 0x14013de4c
mov rcx, qword [r15 + r12]
test rcx, rcx
jne 0x14013dbdc
mov ebx, edi
mov qword [rsp + 0x50], rbx
jmp 0x14013dbf9
lea r13, [0x14017b048]
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 0x14013d912
mov r8d, ecx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.14006dcf4
test eax, eax
jns 0x14013d949
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 0x14013db3a
cmp dword [rsp + 0x70], 7
jne 0x14013db46
mov rdi, r15
mov rax, qword [r12 + 8]
test rax, rax
je 0x14013d9c2
cmp r15, rax
jb 0x14013d996
lea r8, str.iElement___m_nSize
mov edx, 0x2c5
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcoll.h
call fcn.140087b08
cmp r15, qword [r12 + 8]
jae 0x14013de74
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 0x14013dac9
inc rdi
mov rax, qword [r12 + 8]
cmp rdi, rax
jb 0x14013d996
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.14013dea8
mov r14, qword [rbp - 0x70]
mov r15, qword [rbp - 0x68]
xor edx, edx
test eax, eax
js 0x14013da66
mov edi, edx
test r15, r15
je 0x14013da66
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x14013da2e
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
call fcn.140087b08
mov rcx, qword [rsp + 0x60]
cmp rdi, r15
jae 0x14013de7f
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [r14 + rdi*8]
mov rax, qword [rax + 0xa8]
call qword [case.0x140005bb3.0]
mov esi, eax
xor edx, edx
test eax, eax
js 0x14013db93
inc rdi
cmp rdi, r15
jb 0x14013da07
mov esi, dword [rsp + 0x74]
test r14, r14
je 0x14013daa2
mov rdi, rdx
test r15, r15
je 0x14013da93
mov rcx, qword [r14 + rdi*8]
test rcx, rcx
je 0x14013da8b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
xor edx, edx
inc rdi
cmp rdi, r15
jb 0x14013da73
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 0x14013d739
mov edi, dword [rsp + 0x40]
jmp 0x14013d89b
mov rcx, qword [0x14017b048]
cmp rcx, r13
je 0x14013daa7
test byte [rcx + 0x1c], 1
je 0x14013daa7
cmp byte [rcx + 0x19], 4
jb 0x14013daa7
mov rax, qword [r12 + 8]
cmp rdi, rax
jb 0x14013db18
lea r8, str.iElement___m_nSize
mov edx, 0x2c5
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcoll.h
call fcn.140087b08
mov rax, qword [r12 + 8]
mov rcx, qword [0x14017b048]
cmp rdi, rax
jae 0x14013de74
mov rax, qword [r12]
mov edx, 0x21
mov r9, qword [rax + rdi*8]
lea r8, [0x140166148]
mov rcx, qword [rcx + 0x10]
call fcn.140005cd0
jmp 0x14013daa7
cmp esi, 0x103
je 0x14013daa7
mov rcx, qword [0x14017b048]
cmp rcx, r13
je 0x14013daa7
test byte [rcx + 0x1c], 1
je 0x14013daa7
cmp byte [rcx + 0x19], 3
jb 0x14013daa7
mov edx, 0x22
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
lea r9, str.SYSTEMCurrentControlSetControlBackupRestoreFilesNotToBackup
lea r8, [0x140166148]
mov rcx, qword [rcx + 0x10]
call fcn.140010a44
jmp 0x14013daa7
xor edi, edi
test r14, r14
je 0x14013dbc8
mov rcx, qword [r14 + rdi*8]
test rcx, rcx
je 0x14013dbb0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
inc rdi
cmp rdi, r15
jb 0x14013db9a
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 0x14013ddb1
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14013de53
lea r8, [rsp + 0x50]
lea rdx, str.FilePath
lea rcx, [rsp + 0x40]
call fcn.14013cb78
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test esi, esi
js 0x14013de4c
mov rcx, qword [r15 + r12 + 8]
test rcx, rcx
jne 0x14013dc3c
mov rbx, rdi
mov qword [rsp + 0x50], rbx
jmp 0x14013dc59
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14013de53
lea r8, [rsp + 0x50]
lea rdx, str.FileSpec
lea rcx, [rsp + 0x40]
call fcn.14013cb78
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test esi, esi
js 0x14013de4c
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 0x14013de53
lea r8, [rsp + 0x50]
lea rdx, str.IsRecursive
lea rcx, [rsp + 0x40]
call fcn.14013cb78
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test esi, esi
js 0x14013de4c
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x14013dd12
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
call fcn.140087b08
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.0x140005bb3.0]
mov esi, eax
mov rcx, qword [rsp + 0x40]
test eax, eax
js 0x14013de31
test rcx, rcx
je 0x14013dd4b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
inc r14
add r15, 0x18
cmp r14, r13
mov rbx, qword [rbp - 0x80]
jb 0x14013d750
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 0x14013dd9c
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
call fcn.140087b08
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x110]
call qword [case.0x140005bb3.0]
mov esi, eax
mov r14, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14013ddcc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, r14
call fcn.14014b728
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14013dded
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14013de04
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
mov eax, esi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14014bb60
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 0x14013ddb1
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
jmp 0x14013ddb1
mov rcx, qword [rsp + 0x40]
jmp 0x14013de31
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.140087b08
mov ecx, 0x80070057
call fcn.140001950
int3