Function at 0x14001cd6c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x20], 0
mov r14b, cl
xorps xmm0, xmm0
lea rcx, [rbp - 0x30]
movdqu xmmword [rbp - 0x30], xmm0
call fcn.14001c500
mov rbx, qword [rbp - 0x30]
or r13d, 0xffffffff
test eax, eax
js 0x14001cf2b
cmp rbx, qword [rbp - 0x28]
je 0x14001cf2b
call fcn.140019cd0
lea rax, str.HKCUSoftwareBraveSoftwareUpdate_
test r14b, r14b
lea rdx, str.HKLMSoftwareBraveSoftwareUpdate_
cmove rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140005938
lea rdx, [0x14004f770]
lea rcx, [rbp + 0x50]
call fcn.140005938
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x58]
call fcn.14000503c
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140001858
mov rdx, qword [rbp + 0x58]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14001ce21
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp + 0x50]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14001ce41
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x48]
mov rcx, rbx
call fcn.14000b608
test al, al
jne 0x14001ce62
mov dl, 1
mov cl, r14b
call fcn.14001cfb4
mov edi, eax
jmp 0x14001cf05
and qword [rbp - 0x10], 0
lea rax, [0x14004bee8]
mov r8d, 1
mov qword [rbp - 0x18], rax
mov rdx, rbx
mov dword [rbp - 8], 0x200
lea rcx, [rbp - 0x18]
call fcn.14000ae90
mov edi, eax
test eax, eax
js 0x14001cedf
mov rdi, qword [rbp - 0x28]
xor esi, esi
mov r15, qword [rbp - 0x30]
sub rdi, r15
sar rdi, 3
test rdi, rdi
je 0x14001ced3
and qword [rsp + 0x28], 0
xor r9d, r9d
mov rdx, qword [r15 + rsi*8]
xor r8d, r8d
mov rcx, qword [rbp - 0x10]
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14001cf27
inc rsi
cmp rsi, rdi
jb 0x14001cea7
xor edx, edx
mov cl, r14b
call fcn.14001cfb4
mov edi, eax
mov rcx, qword [rbp - 0x10]
lea rax, [0x14004bee8]
mov qword [rbp - 0x18], rax
test rcx, rcx
je 0x14001cf05
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rbp - 0x10], 0
mov dword [rbp - 8], 0x200
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14001cf21
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp - 0x30]
jmp 0x14001cf30
xor edi, edi
jmp 0x14001cedf
mov edi, 1
test rbx, rbx
je 0x14001cf9c
cmp rbx, qword [rbp - 0x28]
je 0x14001cf68
mov rdx, qword [rbx]
mov eax, r13d
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14001cf5a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rbx, 8
cmp rbx, qword [rbp - 0x28]
jne 0x14001cf3b
mov rbx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x20]
mov rax, rbx
sub rdx, rbx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x14001cf94
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001cfad
mov rcx, rbx
call fcn.140020f38
mov eax, edi
add rsp, 0x60
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140026e84
int3