Function at 0x14000cc9c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x2790]
mov eax, 0x2890
call fcn.140029690
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rbp + 0x2780], rax
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov rbx, rcx
and qword [rsp + 0x38], 0
and qword [r9], 0
xor edx, edx
mov r8d, 0x2600
lea rcx, [rsp + 0x58]
call fcn.140016ec0
mov dword [rsp + 0x50], 0x2608
mov dword [rsp + 0x54], 0x2f
or r9, 0xffffffffffffffff
mov r8, rbx
mov edx, 0x80
lea rcx, [rsp + 0x58]
call fcn.1400192f0
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.RelativeCachePath
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov r12d, 1
mov r13d, 0x80070002
cmp ebx, r13d
jne 0x14000cd88
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x58]
call fcn.140016ec0
mov ebx, r12d
test ebx, ebx
js 0x14000d0c7
mov dword [rsp + 0x30], 0x1048
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x260]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.RelativeSourcePath
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 0x14000cdee
xor edx, edx
mov r8d, 0x1048
lea rcx, [rbp + 0x260]
call fcn.140016ec0
mov ebx, r12d
test ebx, ebx
js 0x14000d0c7
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x12c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Priority
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 0x14000ce47
mov dword [rbp + 0x12c0], r12d
mov ebx, r12d
test ebx, ebx
js 0x14000d0c7
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x12a8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Signed
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 0x14000cea0
and dword [rbp + 0x12a8], 0
mov ebx, r12d
test ebx, ebx
js 0x14000d0c7
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x12ac]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.HashType
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 0x14000cefc
xor eax, eax
mov dword [rbp + 0x12ac], eax
mov ebx, r12d
jmp 0x14000cf02
mov eax, dword [rbp + 0x12ac]
test ebx, ebx
js 0x14000d0c7
add eax, 0xffff7ffd
cmp eax, r12d
ja 0x14000cf91
mov dword [rsp + 0x30], 0x14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2560]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Hash
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 0x14000cf79
lea rax, [rbp + 0x2560]
mov qword [rbp + 0x12b8], rax
mov eax, dword [rsp + 0x30]
mov dword [rbp + 0x12b0], eax
or dword [rsp + 0x54], 0x10
jmp 0x14000cf91
cmp ebx, r13d
jne 0x14000cf89
and qword [rbp + 0x12b8], 0
mov ebx, r12d
test ebx, ebx
js 0x14000d0c7
mov dword [rsp + 0x30], 0x100
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2680]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.PreferredSource
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 0x14000cfef
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x2680]
call fcn.140016ec0
mov ebx, r12d
test ebx, ebx
js 0x14000d0c7
mov dword [rsp + 0x30], 0x100
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2580]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ContainerResource
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 0x14000d055
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x2580]
call fcn.140016ec0
mov ebx, r12d
test ebx, ebx
js 0x14000d0c7
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.14000cbe0
mov ebx, eax
mov rdi, qword [rsp + 0x38]
test eax, eax
js 0x14000d0a5
mov rax, qword [rdi]
lea r8, [rbp + 0x2580]
lea rdx, [rbp + 0x2680]
mov rcx, rdi
mov rax, qword [rax + 0xf0]
call qword [0x14002a548]
mov ebx, eax
test eax, eax
js 0x14000d0a5
mov qword [rsi], rdi
xor edi, edi
test rdi, rdi
je 0x14000d0c7
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14002a548]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x2780]
xor rcx, rsp
call fcn.140015800
nop
add rsp, 0x2890
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret