Function at 0x14001cad8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r13
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r14b, cl
call fcn.14001df4c
test al, al
je 0x14001cb1b
mov eax, 0x80004005
jmp 0x14001ce14
and qword [rbp - 0x19], 0
lea r13, [0x140046c10]
lea rdx, [rbp - 0x21]
mov qword [rbp - 0x21], r13
mov cl, r14b
call fcn.14001c258
mov rax, qword [rbp - 0x21]
lea rcx, [0x14000ad80]
cmp qword [rax + 8], rcx
lea rcx, [rbp - 0x21]
jne 0x14001cb54
or edx, 0xffffffff
call qword [rax + 0x18]
jmp 0x14001cb57
call qword [rax + 8]
and qword [rbp - 9], 0
lea rdi, [0x140045c28]
mov qword [rbp - 0x11], rdi
mov dword [rbp - 1], 0x200
call fcn.14001a10c
lea rax, str.HKCUSoftwareBraveSoftwareUpdate_
test r14b, r14b
lea rdx, str.HKLMSoftwareBraveSoftwareUpdate_
cmove rdx, rax
lea rcx, [rbp - 0x11]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0xf003f
call fcn.14000b004
mov esi, eax
test eax, eax
js 0x14001cdd5
and qword [rsp + 0x28], 0
lea rdx, [0x140049578]
mov rcx, qword [rbp - 9]
xor r9d, r9d
and qword [rsp + 0x20], 0
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001cbd7
xor esi, esi
jmp 0x14001cdd5
call fcn.1400014ec
mov rcx, rax
test rax, rax
je 0x14001ce43
mov rax, qword [rax]
call qword [rax + 0x18]
xorps xmm0, xmm0
lea rcx, [rbp + 0x27]
movups xmmword [rbp + 0x27], xmm0
lea rbx, [rax + 0x18]
mov qword [rbp + 7], rbx
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov esi, eax
test eax, eax
js 0x14001cdbb
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x29]
call fcn.140004cf4
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140001868
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001cc48
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 7]
lea rdx, [0x140049578]
mov r8, rbx
lea rcx, [rbp - 0x11]
mov r9d, 1
call fcn.14000b82c
mov esi, eax
test eax, eax
js 0x14001cdbb
lea rcx, [0x140050eb8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc qword [0x140050f98]
lea rcx, [0x140050eb8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.140007748
mov rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
mul rcx
lea rcx, [rbp - 0x11]
shr rdx, 0x17
lea r8d, [rdx + 0x49ef6f00]
lea rdx, str.uid_create_time
call fcn.14000b7ec
and dword [rbp - 0x29], 0
lea r8, [rbp - 0x29]
lea rdx, str.uid_num_rotations
lea rcx, [rbp - 0x11]
call fcn.14000b4a0
mov r8d, dword [rbp - 0x29]
lea rdx, str.uid_num_rotations
inc r8d
lea rcx, [rbp - 0x11]
mov dword [rbp - 0x29], r8d
call fcn.14000b7ec
and qword [rbp + 0x37], 0
lea rcx, [rbp + 0x27]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x27], xmm0
call fcn.14001be88
mov rcx, qword [rbp + 0x2f]
mov rdi, qword [rbp + 0x27]
test eax, eax
js 0x14001cd3e
cmp rdi, rcx
je 0x14001cd3e
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 0xf]
call fcn.14001b314
mov rdx, rax
mov cl, r14b
call fcn.14001c3fc
mov rcx, qword [rbp + 0x2f]
mov esi, eax
mov rdi, qword [rbp + 0x27]
jmp 0x14001cd43
mov esi, 1
test rdi, rdi
je 0x14001cdb4
cmp rdi, rcx
je 0x14001cd7c
mov rdx, qword [rdi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001cd6a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rdi, 8
cmp rdi, qword [rbp + 0x2f]
jne 0x14001cd4d
mov rbx, qword [rbp + 7]
mov rdi, qword [rbp + 0x27]
mov rdx, qword [rbp + 0x37]
mov rax, rdi
sub rdx, rdi
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x14001cdac
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ce3d
mov rcx, rdi
call fcn.140020374
lea rdi, [0x140045c28]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001cdd5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp - 9]
mov qword [rbp - 0x11], rdi
test rcx, rcx
je 0x14001cdf4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rbp - 9], 0
mov dword [rbp - 1], 0x200
mov rax, qword [rbp - 0x21]
lea rcx, [rbp - 0x21]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x19]
mov qword [rbp - 0x21], r13
test rcx, rcx
je 0x14001ce12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140020030
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
call fcn.140025ce8
int3
mov ecx, 0x80004005
call fcn.1400013e0
int3