Function at 0x14000c080
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x2880
call fcn.14001f7f4
sub rsp, rax
mov rax, qword [0x140027028]
xor rax, rsp
mov qword [rsp + 0x2870], rax
and qword [rsp + 0x38], 0
and qword [r9], 0
mov rbx, rcx
mov rbp, r8
mov rdi, rdx
mov r12d, 0x2608
lea rcx, [rsp + 0x40]
mov r8, r12
xor edx, edx
mov rsi, r9
call fcn.140014560
lea rcx, [rsp + 0x48]
or r9, 0xffffffffffffffff
mov r8, rbx
mov edx, 0x80
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x44], 0x2f
call fcn.140014638
lea rax, [rsp + 0x30]
lea rdx, str.RelativeCachePath
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x148]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, 0x80070000
mov r12d, 1
movzx ebx, ax
lea r14d, [r15 + 2]
or ebx, r15d
test eax, eax
cmovle ebx, eax
cmp ebx, r14d
jne 0x14000c164
lea rcx, [rsp + 0x148]
xor edx, edx
mov r8d, 0x208
call fcn.140014560
mov ebx, r12d
test ebx, ebx
js 0x14000c486
lea rax, [rsp + 0x30]
lea rdx, str.RelativeSourcePath
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x350]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], 0x1048
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
cmp ebx, r14d
jne 0x14000c1c9
lea rcx, [rsp + 0x350]
xor edx, edx
mov r8d, 0x1048
call fcn.140014560
mov ebx, r12d
test ebx, ebx
js 0x14000c486
lea rax, [rsp + 0x30]
lea rdx, str.Priority
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x13b0]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
cmp ebx, r14d
jne 0x14000c221
mov dword [rsp + 0x13b0], r12d
mov ebx, r12d
test ebx, ebx
js 0x14000c486
lea rax, [rsp + 0x30]
lea rdx, str.Signed
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1398]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
cmp ebx, r14d
jne 0x14000c279
and dword [rsp + 0x1398], 0
mov ebx, r12d
test ebx, ebx
js 0x14000c486
lea rax, [rsp + 0x30]
lea rdx, str.HashType
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x139c]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
cmp ebx, r14d
jne 0x14000c2d4
xor eax, eax
mov ebx, r12d
mov dword [rsp + 0x139c], eax
jmp 0x14000c2db
mov eax, dword [rsp + 0x139c]
test ebx, ebx
js 0x14000c486
cmp eax, 0x8003
je 0x14000c2f1
cmp eax, 0x8004
jne 0x14000c370
lea rax, [rsp + 0x30]
lea rdx, str.Hash
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2650]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], 0x14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x14000c357
or dword [rsp + 0x44], 0x10
lea rax, [rsp + 0x2650]
mov qword [rsp + 0x13a8], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x13a0], eax
jmp 0x14000c370
cmp ebx, r14d
jne 0x14000c368
and qword [rsp + 0x13a8], 0
mov ebx, r12d
test ebx, ebx
js 0x14000c486
lea rax, [rsp + 0x30]
lea rdx, str.PreferredSource
mov r15d, 0x100
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2670]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, r14d
jne 0x14000c3d0
lea rcx, [rsp + 0x2670]
mov r8, r15
xor edx, edx
call fcn.140014560
mov ebx, r12d
test ebx, ebx
js 0x14000c486
lea rax, [rsp + 0x30]
lea rdx, str.ContainerResource
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2770]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, r14d
jne 0x14000c432
lea rcx, [rsp + 0x2770]
mov r8, r15
xor edx, edx
call fcn.140014560
mov ebx, r12d
test ebx, ebx
js 0x14000c486
lea r9, [rsp + 0x38]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rbp
call fcn.14000bfbc
mov ebx, eax
test eax, eax
js 0x14000c486
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x2770]
lea rdx, [rsp + 0x2670]
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
mov ebx, eax
test eax, eax
js 0x14000c486
mov rax, qword [rsp + 0x38]
xor edx, edx
mov qword [rsi], rax
mov qword [rsp + 0x38], rdx
jmp 0x14000c48b
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14000c4a3
mov rax, qword [rdx + 8]
movsxd rcx, dword [rax + 4]
lea rcx, [rcx + rdx + 8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
mov rcx, qword [rsp + 0x2870]
xor rcx, rsp
call fcn.1400143fc
add rsp, 0x2880
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret