Function at 0x1400e13b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x14016a508]
xor rax, rsp
mov qword [rbp + 0x300], rax
xor r13d, r13d
lea rax, [rbp + 0x20]
mov qword [rbp + 0x10], rax
mov rbx, rdx
mov eax, dword [rbp + 0x1c]
mov rsi, rcx
and eax, 0xfffffffa
mov qword [rsp + 0x50], r13
or eax, 2
mov qword [rbp], r13
mov dword [rbp + 0x1c], eax
lea r14d, [r13 + 0x18]
lea rax, [rbp + 0xc0]
mov dword [rbp + 8], r14d
mov qword [rbp + 0xb0], rax
mov edi, r13d
mov eax, dword [rbp + 0xbc]
mov r15d, r13d
and eax, 0xfffffffa
mov dword [rbp + 0x18], r13d
or eax, 2
mov word [rbp + 0x20], r13w
mov qword [rbp + 0xa0], r13
mov dword [rbp + 0xa8], r14d
mov dword [rbp + 0xbc], eax
mov dword [rbp + 0xb8], r13d
mov word [rbp + 0xc0], r13w
test rdx, rdx
jne 0x1400e147b
lea r8, str.wszEntry___0
mov edx, 0x36e
lea rcx, [0x1401537e0]
call fcn.140088f60
mov rdx, rbx
lea rcx, [rbp]
call fcn.1400e2b54
mov edx, 0x5c
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x1400e14c1
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.1400e2b54
mov edx, dword [rbp + 0x18]
lea rcx, [rbp]
sub edx, dword [rbp + 0xb8]
call fcn.1400ec0bc
mov r12d, 1
mov dword [rsp + 0x20], r13d
mov r8d, r12d
lea rdx, str._UserProfile_
or r9d, 0xffffffff
lea rcx, [rbp]
call fcn.1400e1028
test eax, eax
jne 0x1400e17fc
mov rcx, qword [0x14016a048]
lea r14, [0x14016a048]
cmp rcx, r14
je 0x1400e1520
test byte [rcx + 0x1c], r12b
je 0x1400e1520
cmp byte [rcx + 0x19], 4
jb 0x1400e1520
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x15]
mov r9, rbx
lea r8, [0x140154038]
call fcn.140014f10
mov ebx, 0x2000
mov ecx, ebx
call fcn.140007cb0
mov r15, rax
test rax, rax
jne 0x1400e154d
mov edi, 0x8007000e
mov dword [rsp + 0x70], 0x381
lea r9, str.E_OUTOFMEMORY
jmp 0x1400e18db
mov r8, rbx
xor edx, edx
mov rcx, r15
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400e15d6
mov rcx, qword [0x14016a048]
cmp rcx, r14
je 0x1400e1914
test byte [rcx + 0x1c], r12b
je 0x1400e1914
cmp byte [rcx + 0x19], 3
jb 0x1400e1914
mov rcx, qword [rcx + 0x10]
lea r9, str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
mov edx, 0x16
mov dword [rsp + 0x20], eax
lea r8, [0x140154038]
call fcn.140040130
jmp 0x1400e1914
mov r12d, r13d
test ebx, ebx
jne 0x1400e1914
xor edx, edx
mov dword [rsp + 0x44], 0x104
mov r8d, 0x104
mov dword [rsp + 0x40], 0x2000
lea rcx, [rbp + 0xf0]
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0xf0]
mov edx, r12d
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
inc r12d
mov ebx, eax
test eax, eax
jne 0x1400e1744
cmp dword [rsp + 0x48], 2
jne 0x1400e174f
lea edi, [rax + 0x18]
mov qword [rbp - 0x50], r13
lea rax, [rbp - 0x30]
mov dword [rbp - 0x48], edi
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x50]
mov rax, qword [rbp - 0x38]
mov rdx, r15
shr rax, 0x20
and eax, 0xfffffffa
mov dword [rbp - 0x38], r13d
or eax, 2
mov word [rbp - 0x30], r13w
mov dword [rbp - 0x34], eax
call fcn.1400e2b54
mov r8d, dword [rbp - 0x38]
lea rax, [rbp + 0x70]
mov rdx, qword [rbp - 0x40]
lea rcx, [rsp + 0x58]
mov qword [rbp + 0x60], rax
mov eax, dword [rbp + 0x6c]
and eax, 0xfffffffa
mov qword [rbp + 0x50], r13
or eax, 2
mov dword [rbp + 0x58], edi
mov dword [rbp + 0x6c], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
shr rax, 0x20
and eax, 0xfffffffa
mov dword [rbp + 0x68], r13d
or eax, 2
mov word [rbp + 0x70], r13w
mov dword [rsp + 0x74], eax
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x70], r13d
mov word [rsp + 0x78], r13w
call fcn.1400e2ad4
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.1400ebe70
xor r9d, r9d
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x50]
call fcn.1400e0fa0
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.1400e21a4
mov edi, eax
test eax, eax
js 0x1400e179d
lea rcx, [rbp + 0x50]
call fcn.140006c40
lea rcx, [rbp - 0x50]
call fcn.140006c40
jmp 0x1400e15d9
cmp eax, 0x103
je 0x1400e15d9
mov rcx, qword [0x14016a048]
cmp rcx, r14
je 0x1400e15d9
test byte [rcx + 0x1c], 1
je 0x1400e15d9
cmp byte [rcx + 0x19], 3
jb 0x1400e15d9
mov rcx, qword [rcx + 0x10]
lea r9, str._UserProfile_
mov dword [rsp + 0x28], eax
lea r8, [0x140154038]
mov edx, 0x17
mov dword [rsp + 0x20], r12d
call fcn.1400401b0
jmp 0x1400e15d9
lea rax, [0x14016c440]
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], rax
lea r9, str.ProcessAndAddExclusion_ssData_
lea rax, str.base_stor_blbdsmdsmfsdllexclusionhandler.cpp
mov dword [rsp + 0x70], 0x3af
lea r8, str.Failed:
mov qword [rsp + 0x68], rax
lea rdx, str._ws:_lVal_:__S
mov qword [rsp + 0x78], rsi
lea rcx, [rsp + 0x58]
call sym.wbengine.exe_public:_void___cdecl_CTraceFailureHelper::TraceMessage_unsigned_short_int_const____ptr64____ptr64
lea rcx, [rbp + 0x50]
call fcn.140006c40
lea rcx, [rbp - 0x50]
call fcn.140006c40
jmp 0x1400e1914
or r9d, 0xffffffff
mov dword [rsp + 0x20], r13d
mov r8d, r12d
lea rdx, str._AllVolumes_
lea rcx, [rbp]
call fcn.1400e1028
test eax, eax
jne 0x1400e187b
mov rcx, qword [0x14016a048]
lea r14, [0x14016a048]
cmp rcx, r14
je 0x1400e1851
test byte [rcx + 0x1c], r12b
je 0x1400e1851
cmp byte [rcx + 0x19], 4
jb 0x1400e1851
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x18]
mov r9, rbx
lea r8, [0x140154038]
call fcn.140014f10
lea rdx, [rbp + 0xa0]
mov rcx, rsi
call fcn.1400e21a4
mov edi, eax
test eax, eax
jns 0x1400e1914
mov dword [rsp + 0x70], 0x3c2
lea r9, str.ProcessAndAddExclusion_ssAppend_
jmp 0x1400e18db
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x50]
mov eax, dword [rbp - 0x34]
mov rdx, rbx
and eax, 0xfffffffa
mov dword [rbp - 0x48], r14d
or eax, 2
mov dword [rbp - 0x38], r13d
mov dword [rbp - 0x34], eax
mov word [rbp - 0x30], r13w
call fcn.1400e2b54
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.1400e21a4
test eax, eax
lea rcx, [rbp - 0x50]
mov edi, eax
sets bl
call fcn.140006c40
test bl, bl
je 0x1400e1914
mov dword [rsp + 0x70], 0x3c9
lea r9, str.ProcessAndAddExclusion__CSmartStr_wszEntry_
lea rax, [0x14016c440]
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], rax
lea r8, str.Failed:
lea rax, str.base_stor_blbdsmdsmfsdllexclusionhandler.cpp
mov qword [rsp + 0x78], rsi
lea rdx, str._ws:_lVal_:__S
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x58]
call sym.wbengine.exe_public:_void___cdecl_CTraceFailureHelper::TraceMessage_unsigned_short_int_const____ptr64____ptr64
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400e192a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, r15
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
lea rcx, [rbp + 0xa0]
call fcn.140006c40
lea rcx, [rbp]
call fcn.140006c40
mov eax, edi
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1400071e0
mov rbx, qword [rsp + 0x460]
add rsp, 0x410
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret