Function at 0x14012fb4c
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 [0x14016d608]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov qword [rbp - 0x78], r8
mov qword [rbp - 0x80], rdx
mov r15, 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, [0x140153fd8]
xor edx, edx
lea r8d, [rdi + 1]
lea rcx, [0x1401584c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
js 0x1401303c9
mov r13d, 0x9a
lea r12, str.sdkinc_atlmfc_atlcomcli.h
mov rbx, qword [rsp + 0x58]
test rbx, rbx
jne 0x14012fc00
lea r8, str.p_0
mov edx, r13d
mov rcx, r12
call fcn.140081b60
mov rbx, qword [rsp + 0x58]
lea rcx, str.RegistryExcludes
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14012fc25
mov ecx, 0x8007000e
call fcn.140001ae4
nop
cmp qword [rsp + 0x60], 0
je 0x14012fc41
lea r8, str.p0
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
mov rcx, r12
call fcn.140081b60
mov rax, qword [rbx]
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 0x178]
call qword [case.0x140005783.0]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
js 0x1401303c9
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x14012fc90
lea r8, str.p_0
mov edx, r13d
mov rcx, r12
call fcn.140081b60
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.0x140005783.0]
mov esi, eax
test eax, eax
js 0x1401303c9
mov ecx, 0x2000
call fcn.14013c810
mov rdi, rax
mov qword [rsp + 0x50], 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]
xor esi, esi
test eax, eax
je 0x14012fd3f
lea r12, [0x14016d090]
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x140130081
test byte [rcx + 0x1c], 1
je 0x140130081
cmp byte [rcx + 0x19], 3
jb 0x140130081
lea edx, [rsi + 0x20]
mov dword [rsp + 0x20], eax
lea r9, str.SYSTEMCurrentControlSetControlBackupRestoreFilesNotToBackup
lea r8, [0x140156e78]
mov rcx, qword [rcx + 0x10]
call fcn.1400058c8
jmp 0x140130081
mov ebx, esi
lea r12, [0x14016d090]
mov dword [rsp + 0x6c], 0x104
mov dword [rsp + 0x68], 0x2000
mov qword [rsp + 0x40], rsi
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], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x6c]
lea r8, [rbp - 0x40]
mov edx, ebx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r13d, eax
inc ebx
mov dword [rsp + 0x48], ebx
lea rax, [rbp - 0x40]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x14012fdb3
mov r8d, ecx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.140069304
test eax, eax
jns 0x14012fde3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_RaiseException]
test r13d, r13d
jne 0x14012ff9c
cmp dword [rsp + 0x70], 7
jne 0x14012ffa5
mov rbx, rsi
mov rax, qword [r15 + 8]
test rax, rax
je 0x14012fec6
cmp rbx, rax
jb 0x14012fe24
lea r8, str.iElement___m_nSize
mov edx, 0x2c3
lea rcx, str.sdkinc_atlmfc_atlcoll.h
call fcn.140081b60
cmp rbx, qword [r15 + 8]
jae 0x140130011
mov rdx, qword [r15]
mov rdx, qword [rdx + rbx*8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x14012fe52
inc rbx
mov rax, qword [r15 + 8]
cmp rbx, rax
jb 0x14012fe24
jmp 0x14012fec6
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x14012ffe9
test byte [rcx + 0x1c], 1
je 0x14012ffe9
cmp byte [rcx + 0x19], 4
jb 0x14012ffe9
cmp rbx, qword [r15 + 8]
jb 0x14012fea5
lea r8, str.iElement___m_nSize
mov edx, 0x2c3
lea rcx, str.sdkinc_atlmfc_atlcoll.h
call fcn.140081b60
mov rcx, qword [0x14016d090]
cmp rbx, qword [r15 + 8]
jae 0x140130006
mov rax, qword [r15]
mov edx, 0x21
mov r9, qword [rax + rbx*8]
lea r8, [0x140156e78]
mov rcx, qword [rcx + 0x10]
call fcn.140005868
jmp 0x14012ffe9
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
mov dword [rbp - 0x58], esi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x68]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140130440
mov rdi, qword [rbp - 0x70]
mov r14, qword [rbp - 0x68]
test eax, eax
js 0x14012ff66
mov rbx, rsi
test r14, r14
je 0x14012ff66
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x14012ff30
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.sdkinc_atlmfc_atlcomcli.h
call fcn.140081b60
mov rcx, qword [rsp + 0x60]
cmp rbx, r14
jae 0x14013005e
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rdi + rbx*8]
mov rax, qword [rax + 0xa8]
call qword [case.0x140005783.0]
mov esi, eax
xor eax, eax
test esi, esi
js 0x14013001c
inc rbx
cmp rbx, r14
mov esi, eax
jb 0x14012ff09
test rdi, rdi
je 0x14012ffe4
mov rbx, rsi
test r14, r14
je 0x14012ff91
mov rcx, qword [rdi + rbx*8]
test rcx, rcx
je 0x14012ff89
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005783.0]
inc rbx
cmp rbx, r14
jb 0x14012ff73
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
jmp 0x14012ffe4
cmp r13d, 0x103
je 0x14012ffe9
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x14012ffe9
test byte [rcx + 0x1c], 1
je 0x14012ffe9
cmp byte [rcx + 0x19], 3
jb 0x14012ffe9
mov edx, 0x22
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ebx
lea r9, str.SYSTEMCurrentControlSetControlBackupRestoreFilesNotToBackup
lea r8, [0x140156e78]
mov rcx, qword [rcx + 0x10]
call fcn.14000fd50
jmp 0x14012ffe9
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r13d, r13d
jne 0x140130081
mov ebx, dword [rsp + 0x48]
jmp 0x14012fd48
mov ecx, 0x80070057
call fcn.140001ae4
int3
mov ecx, 0x80070057
call fcn.140001ae4
int3
test rdi, rdi
je 0x14013004e
mov rbx, rax
mov rcx, qword [rdi + rbx*8]
test rcx, rcx
je 0x14013003c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005783.0]
xor eax, eax
inc rbx
cmp rbx, r14
jb 0x140130024
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1401303c4
lea r8, str.iElement___m_nSize
mov edx, 0x2cd
lea rcx, str.sdkinc_atlmfc_atlcoll.h
call fcn.140081b60
mov ecx, 0x80070057
call fcn.140001ae4
nop
mov rbx, qword [rbp - 0x80]
mov r13, qword [rbx + 8]
mov r14, rsi
test r13, r13
je 0x140130378
mov r15, rsi
mov qword [rsp + 0x48], rsi
cmp r14, qword [rbx + 8]
jb 0x1401300c5
lea r8, str.iElement___m_nSize
mov edx, 0x271
lea rcx, str.sdkinc_atlmfc_atlcoll.h
call fcn.140081b60
cmp r14, qword [rbx + 8]
jae 0x14013036d
mov r12, qword [rbx]
mov rbx, qword [rsp + 0x58]
test rbx, rbx
jne 0x1401300ef
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.sdkinc_atlmfc_atlcomcli.h
call fcn.140081b60
mov rbx, qword [rsp + 0x58]
lea rcx, str.Exclude
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140130362
cmp qword [rsp + 0x48], rsi
je 0x14013012c
lea r8, str.p0
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
lea rcx, str.sdkinc_atlmfc_atlcomcli.h
call fcn.140081b60
mov rax, qword [rbx]
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 0x178]
call qword [case.0x140005783.0]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
test esi, esi
js 0x14013032f
lea rcx, str.Additional_Files_To_Exclude
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140130357
lea r8, [rsp + 0x40]
lea rdx, str.Value
lea rcx, [rsp + 0x48]
call fcn.14012f16c
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
js 0x14013032f
mov rcx, qword [r15 + r12]
test rcx, rcx
jne 0x1401301b5
mov ebx, edi
mov qword [rsp + 0x40], rbx
jmp 0x1401301cc
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14013034c
lea r8, [rsp + 0x40]
lea rdx, str.FilePath
lea rcx, [rsp + 0x48]
call fcn.14012f16c
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
js 0x14013032f
mov rcx, qword [r15 + r12 + 8]
test rcx, rcx
jne 0x140130209
mov rbx, rdi
mov qword [rsp + 0x40], rbx
jmp 0x140130220
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140130341
lea r8, [rsp + 0x40]
lea rdx, str.FileSpec
lea rcx, [rsp + 0x48]
call fcn.14012f16c
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
js 0x14013032f
lea rax, str.true
lea rcx, str.false
cmp byte [r15 + r12 + 0x10], dil
cmovne rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140130336
lea r8, [rsp + 0x40]
lea rdx, str.IsRecursive
lea rcx, [rsp + 0x48]
call fcn.14012f16c
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
js 0x14013032f
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x1401302c7
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.sdkinc_atlmfc_atlcomcli.h
call fcn.140081b60
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rax, qword [rax + 0xa8]
call qword [case.0x140005783.0]
mov esi, eax
mov rcx, qword [rsp + 0x48]
test eax, eax
js 0x140130314
xor esi, esi
test rcx, rcx
je 0x1401302fe
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005783.0]
inc r14
add r15, 0x18
cmp r14, r13
mov rbx, qword [rbp - 0x80]
jb 0x140130098
jmp 0x140130378
test rcx, rcx
je 0x1401303c4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005783.0]
jmp 0x1401303c4
mov rcx, qword [rsp + 0x48]
jmp 0x140130314
mov ecx, 0x8007000e
call fcn.140001ae4
int3
mov ecx, 0x8007000e
call fcn.140001ae4
int3
mov ecx, 0x8007000e
call fcn.140001ae4
int3
mov ecx, 0x8007000e
call fcn.140001ae4
int3
mov ecx, 0x8007000e
call fcn.140001ae4
int3
mov ecx, 0x80070057
call fcn.140001ae4
nop
mov rbx, qword [rbp - 0x78]
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rsi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x1401303af
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.sdkinc_atlmfc_atlcomcli.h
call fcn.140081b60
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x110]
call qword [case.0x140005783.0]
mov esi, eax
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1401303d9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r14
call fcn.14013c808
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1401303fa
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005783.0]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140130411
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005783.0]
mov eax, esi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14013cc00
mov rbx, qword [rsp + 0x338]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret