Function at 0x14000ce98
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x2790]
mov eax, 0x2890
call fcn.140028a50
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140039008]
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
mov r15d, 0x2608
mov r8d, r15d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140017800
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x54], 0x2f
or r9, 0xffffffffffffffff
mov r8, rbx
mov edx, 0x80
lea rcx, [rsp + 0x58]
call fcn.1400197c0
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 r15d, 1
mov r13d, 0x80070002
cmp ebx, r13d
jne 0x14000cf83
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x58]
call fcn.140017800
mov ebx, r15d
test ebx, ebx
js 0x14000d2c2
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 0x14000cfe9
xor edx, edx
mov r8d, 0x1048
lea rcx, [rbp + 0x260]
call fcn.140017800
mov ebx, r15d
test ebx, ebx
js 0x14000d2c2
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 0x14000d042
mov dword [rbp + 0x12c0], r15d
mov ebx, r15d
test ebx, ebx
js 0x14000d2c2
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 0x14000d09b
and dword [rbp + 0x12a8], 0
mov ebx, r15d
test ebx, ebx
js 0x14000d2c2
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 0x14000d0f7
xor eax, eax
mov dword [rbp + 0x12ac], eax
mov ebx, r15d
jmp 0x14000d0fd
mov eax, dword [rbp + 0x12ac]
test ebx, ebx
js 0x14000d2c2
add eax, 0xffff7ffd
cmp eax, r15d
ja 0x14000d18c
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 0x14000d174
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 0x14000d18c
cmp ebx, r13d
jne 0x14000d184
and qword [rbp + 0x12b8], 0
mov ebx, r15d
test ebx, ebx
js 0x14000d2c2
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 0x14000d1ea
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x2680]
call fcn.140017800
mov ebx, r15d
test ebx, ebx
js 0x14000d2c2
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 0x14000d250
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x2580]
call fcn.140017800
mov ebx, r15d
test ebx, ebx
js 0x14000d2c2
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.14000cde0
mov ebx, eax
mov rdi, qword [rsp + 0x38]
test eax, eax
js 0x14000d2a0
mov rax, qword [rdi]
lea r8, [rbp + 0x2580]
lea rdx, [rbp + 0x2680]
mov rcx, rdi
mov rax, qword [rax + 0xf0]
call qword [0x14002a558]
mov ebx, eax
test eax, eax
js 0x14000d2a0
mov qword [rsi], rdi
xor edi, edi
test rdi, rdi
je 0x14000d2c2
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 [0x14002a558]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x2780]
xor rcx, rsp
call fcn.140015cc0
nop
add rsp, 0x2890
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret