Function at 0x1400e282c
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 [0x140178010]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov eax, dword [rbp - 0x34]
xor r13d, r13d
and eax, 0xfffffffe
mov qword [rsp + 0x50], r13
and eax, 0xfffffffb
mov qword [rbp - 0x50], r13
or eax, 2
mov dword [rbp - 0x38], r13d
mov dword [rbp - 0x34], eax
mov r14, rcx
mov eax, dword [rbp + 0x1c]
lea rcx, [rbp - 0x30]
and eax, 0xfffffffe
mov qword [rbp - 0x40], rcx
and eax, 0xfffffffb
mov word [rbp - 0x30], r13w
or eax, 2
mov qword [rbp], r13
mov rdi, rdx
mov dword [rbp + 0x1c], eax
lea edx, [r13 + 0x18]
mov dword [rbp + 0x18], r13d
or rsi, 0xffffffffffffffff
mov dword [rbp - 0x48], edx
mov dword [rbp + 8], edx
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x10], rcx
mov ebx, r13d
mov word [rbp + 0x20], r13w
mov r15d, r13d
test rdi, rdi
jne 0x1400e28f1
lea r8, str.wszEntry___0
mov edx, 0x375
lea rcx, [0x14015adc0]
call fcn.14008624c
mov rax, qword [rbp - 0x40]
mov word [rax], r13w
mov dword [rbp - 0x38], r13d
jmp 0x1400e290a
mov r8, rsi
inc r8
cmp word [rdi + r8*2], r13w
jne 0x1400e28f4
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1400e3c78
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
je 0x1400e294a
inc rsi
cmp word [rax + rsi*2], r13w
jne 0x1400e291d
mov r8, rsi
lea rcx, [rbp]
mov rdx, rax
call fcn.1400e3c78
mov edx, dword [rbp - 0x38]
sub edx, dword [rbp + 0x18]
cmp edx, dword [rbp - 0x38]
jae 0x1400e294a
lea rcx, [rbp - 0x50]
call fcn.1400edb8c
or esi, 0xffffffff
mov dword [rsp + 0x20], r13d
mov r12d, 1
lea rdx, str._UserProfile_
mov r9d, esi
lea rcx, [rbp - 0x50]
mov r8d, r12d
call fcn.1400e39e0
test eax, eax
jne 0x1400e2c35
mov rcx, qword [0x1401782b0]
lea rsi, [0x1401782b0]
cmp rcx, rsi
je 0x1400e29ab
test byte [rcx + 0x1c], r12b
je 0x1400e29ab
cmp byte [rcx + 0x19], 4
jb 0x1400e29ab
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x15]
mov r9, rdi
lea r8, [0x14015b638]
call fcn.140005c6c
mov ecx, 0x2000
call qword [sym.imp.msvcrt.dll_malloc]
mov r15, rax
test rax, rax
jne 0x1400e29d2
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
mov ecx, 0x8007000e
call qword [sym.imp.KERNEL32.dll_RaiseException]
test r15, r15
jne 0x1400e29f0
mov ebx, 0x8007000e
mov dword [rsp + 0x70], 0x388
lea r9, str.E_OUTOFMEMORY
jmp 0x1400e2ceb
xor edx, edx
mov r8d, 0x2000
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]
test eax, eax
je 0x1400e2a74
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x1400e2d24
test byte [rcx + 0x1c], r12b
je 0x1400e2d24
cmp byte [rcx + 0x19], 3
jb 0x1400e2d24
mov rcx, qword [rcx + 0x10]
lea r9, str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
mov edx, 0x16
mov dword [rsp + 0x20], eax
lea r8, [0x14015b638]
call fcn.140005ce8
jmp 0x1400e2d24
mov r12d, r13d
xor edx, edx
mov dword [rsp + 0x40], 0x104
mov r8d, 0x104
mov dword [rsp + 0x48], 0x2000
lea rcx, [rbp + 0xf0]
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x44]
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]
inc r12d
mov edi, eax
test eax, eax
jne 0x1400e2b82
cmp dword [rsp + 0x44], 2
jne 0x1400e2b89
mov rdx, r15
lea rcx, [rbp + 0xa0]
call fcn.1400e3794
mov eax, dword [rbp + 0x6c]
lea rcx, [rbp + 0x70]
and eax, 0xfffffffe
mov qword [rbp + 0x60], rcx
and eax, 0xfffffffb
mov qword [rbp + 0x50], r13
or eax, 2
mov dword [rbp + 0x58], 0x18
lea rdx, [rbp + 0xa0]
mov dword [rbp + 0x6c], eax
lea rcx, [rsp + 0x58]
mov dword [rbp + 0x68], r13d
mov word [rbp + 0x70], r13w
call fcn.1400e37f8
mov rcx, rax
lea rdx, [rbp + 0x50]
call fcn.1400edcc4
mov r8d, dword [rbp + 0x18]
cmp r8d, 1
jb 0x1400e2b59
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0x50]
call fcn.1400e3e38
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.1400e2500
mov ebx, eax
test eax, eax
js 0x1400e2bd3
lea rcx, [rbp + 0x50]
call fcn.1400e3844
lea rcx, [rbp + 0xa0]
call fcn.1400e3844
jmp 0x1400e2bc6
cmp eax, 0x103
je 0x1400e2bc6
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x1400e2bc6
test byte [rcx + 0x1c], 1
je 0x1400e2bc6
cmp byte [rcx + 0x19], 3
jb 0x1400e2bc6
mov rcx, qword [rcx + 0x10]
lea r9, str._UserProfile_
mov dword [rsp + 0x28], eax
lea r8, [0x14015b638]
mov edx, 0x17
mov dword [rsp + 0x20], r12d
call fcn.140010c10
test edi, edi
jne 0x1400e2d24
jmp 0x1400e2a77
lea rax, [0x14017a488]
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x58], rax
lea r9, str.ProcessAndAddExclusion_ssData_
lea rax, str.base_stor_blbdsmdsmfsdllexclusionhandler.cpp
mov dword [rsp + 0x70], 0x3b6
lea r8, str.Failed:
mov qword [rsp + 0x68], rax
lea rdx, str._ws:_lVal_:__S
mov qword [rsp + 0x78], r14
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.1400e3844
lea rcx, [rbp + 0xa0]
call fcn.1400e3844
jmp 0x1400e2d24
mov r9d, esi
mov dword [rsp + 0x20], r13d
mov r8d, r12d
lea rdx, str._AllVolumes_
lea rcx, [rbp - 0x50]
call fcn.1400e39e0
test eax, eax
jne 0x1400e2cb0
mov rcx, qword [0x1401782b0]
lea rsi, [0x1401782b0]
cmp rcx, rsi
je 0x1400e2c89
test byte [rcx + 0x1c], r12b
je 0x1400e2c89
cmp byte [rcx + 0x19], 4
jb 0x1400e2c89
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x18]
mov r9, rdi
lea r8, [0x14015b638]
call fcn.140005c6c
lea rdx, [rbp]
mov rcx, r14
call fcn.1400e2500
mov ebx, eax
test eax, eax
jns 0x1400e2d24
mov dword [rsp + 0x70], 0x3c9
lea r9, str.ProcessAndAddExclusion_ssAppend_
jmp 0x1400e2ceb
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.1400e3794
mov rdx, rax
mov rcx, r14
call fcn.1400e2500
lea rcx, [rbp + 0xa0]
mov ebx, eax
call fcn.1400e3844
test ebx, ebx
jns 0x1400e2d24
mov dword [rsp + 0x70], 0x3d0
lea r9, str.ProcessAndAddExclusion__CSmartStr_wszEntry_
lea rax, [0x14017a488]
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x58], rax
lea r8, str.Failed:
lea rax, str.base_stor_blbdsmdsmfsdllexclusionhandler.cpp
mov qword [rsp + 0x78], r14
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 0x1400e2d34
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r15
call qword [sym.imp.msvcrt.dll_free]
lea rcx, [rbp]
call fcn.1400e3844
lea rcx, [rbp - 0x50]
call fcn.1400e3844
mov eax, ebx
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1401474d0
mov rbx, qword [rsp + 0x460]
add rsp, 0x410
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret