Function at 0x14000be20
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x2780]
mov eax, 0x2880
call fcn.140014cd0
sub rsp, rax
mov rax, qword [0x1400380d8]
xor rax, rsp
mov qword [rbp + 0x2770], rax
and qword [rsp + 0x38], 0
mov r14, r8
and qword [r9], 0
mov rdi, rdx
mov rbx, rcx
mov r15d, 0x2608
mov r8d, r15d
lea rcx, [rsp + 0x40]
xor edx, edx
mov rsi, r9
call fcn.140015a40
or r9, 0xffffffffffffffff
mov dword [rsp + 0x40], r15d
mov r8, rbx
mov dword [rsp + 0x44], 0x2f
mov edx, 0x80
lea rcx, [rsp + 0x48]
call fcn.140018d70
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x28], rax
lea rdx, str.RelativeCachePath
lea rax, [rbp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
mov r13d, 0x80070002
or ebx, 0x80070000
mov r15d, 1
test eax, eax
cmovle ebx, eax
cmp ebx, r13d
jne 0x14000bf02
xor edx, edx
lea rcx, [rbp + 0x48]
mov r8d, 0x208
call fcn.140015a40
mov ebx, r15d
test ebx, ebx
js 0x14000c221
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x1048
mov qword [rsp + 0x28], rax
lea rdx, str.RelativeSourcePath
lea rax, [rbp + 0x250]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, r13d
jne 0x14000bf68
xor edx, edx
lea rcx, [rbp + 0x250]
mov r8d, 0x1048
call fcn.140015a40
mov ebx, r15d
test ebx, ebx
js 0x14000c221
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rax
lea rdx, str.Priority
lea rax, [rbp + 0x12b0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, r13d
jne 0x14000bfc1
mov dword [rbp + 0x12b0], r15d
mov ebx, r15d
test ebx, ebx
js 0x14000c221
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rax
lea rdx, str.Signed
lea rax, [rbp + 0x1298]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, r13d
jne 0x14000c01a
and dword [rbp + 0x1298], 0
mov ebx, r15d
test ebx, ebx
js 0x14000c221
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rax
lea rdx, str.HashType
lea rax, [rbp + 0x129c]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, r13d
jne 0x14000c076
xor eax, eax
mov ebx, r15d
mov dword [rbp + 0x129c], eax
jmp 0x14000c07c
mov eax, dword [rbp + 0x129c]
test ebx, ebx
js 0x14000c221
add eax, 0xffff7ffd
cmp eax, r15d
ja 0x14000c10b
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x14
mov qword [rsp + 0x28], rax
lea rdx, str.Hash
lea rax, [rbp + 0x2550]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x14000c0f3
or dword [rsp + 0x44], 0x10
lea rax, [rbp + 0x2550]
mov qword [rbp + 0x12a8], rax
mov eax, dword [rsp + 0x30]
mov dword [rbp + 0x12a0], eax
jmp 0x14000c10b
cmp ebx, r13d
jne 0x14000c103
and qword [rbp + 0x12a8], 0
mov ebx, r15d
test ebx, ebx
js 0x14000c221
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x100
mov qword [rsp + 0x28], rax
lea rdx, str.PreferredSource
lea rax, [rbp + 0x2670]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, r13d
jne 0x14000c169
xor edx, edx
lea rcx, [rbp + 0x2670]
mov r8d, 0x100
call fcn.140015a40
mov ebx, r15d
test ebx, ebx
js 0x14000c221
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x100
mov qword [rsp + 0x28], rax
lea rdx, str.ContainerResource
lea rax, [rbp + 0x2570]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, r13d
jne 0x14000c1cf
xor edx, edx
lea rcx, [rbp + 0x2570]
mov r8d, 0x100
call fcn.140015a40
mov ebx, r15d
test ebx, ebx
js 0x14000c221
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14000bd58
mov ebx, eax
test eax, eax
js 0x14000c221
mov rcx, qword [rsp + 0x38]
lea r8, [rbp + 0x2570]
lea rdx, [rbp + 0x2670]
mov rax, qword [rcx]
call qword [rax + 0xf0]
mov ebx, eax
test eax, eax
js 0x14000c221
mov rax, qword [rsp + 0x38]
xor edx, edx
mov qword [rsi], rax
mov qword [rsp + 0x38], rdx
jmp 0x14000c226
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14000c240
mov rax, qword [rdx + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
mov rcx, qword [rbp + 0x2770]
xor rcx, rsp
call fcn.140014bd0
add rsp, 0x2880
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret