Function at 0x14000c1b0
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.1400200f4
sub rsp, rax
mov rax, qword [0x1400280c8]
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.140014860
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.140014938
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 0x14000c294
lea rcx, [rsp + 0x148]
xor edx, edx
mov r8d, 0x208
call fcn.140014860
mov ebx, r12d
test ebx, ebx
js 0x14000c5b6
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 0x14000c2f9
lea rcx, [rsp + 0x350]
xor edx, edx
mov r8d, 0x1048
call fcn.140014860
mov ebx, r12d
test ebx, ebx
js 0x14000c5b6
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 0x14000c351
mov dword [rsp + 0x13b0], r12d
mov ebx, r12d
test ebx, ebx
js 0x14000c5b6
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 0x14000c3a9
and dword [rsp + 0x1398], 0
mov ebx, r12d
test ebx, ebx
js 0x14000c5b6
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 0x14000c404
xor eax, eax
mov ebx, r12d
mov dword [rsp + 0x139c], eax
jmp 0x14000c40b
mov eax, dword [rsp + 0x139c]
test ebx, ebx
js 0x14000c5b6
cmp eax, 0x8003
je 0x14000c421
cmp eax, 0x8004
jne 0x14000c4a0
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 0x14000c487
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 0x14000c4a0
cmp ebx, r14d
jne 0x14000c498
and qword [rsp + 0x13a8], 0
mov ebx, r12d
test ebx, ebx
js 0x14000c5b6
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 0x14000c500
lea rcx, [rsp + 0x2670]
mov r8, r15
xor edx, edx
call fcn.140014860
mov ebx, r12d
test ebx, ebx
js 0x14000c5b6
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 0x14000c562
lea rcx, [rsp + 0x2770]
mov r8, r15
xor edx, edx
call fcn.140014860
mov ebx, r12d
test ebx, ebx
js 0x14000c5b6
lea r9, [rsp + 0x38]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rbp
call fcn.14000c0ec
mov ebx, eax
test eax, eax
js 0x14000c5b6
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 0x14000c5b6
mov rax, qword [rsp + 0x38]
xor edx, edx
mov qword [rsi], rax
mov qword [rsp + 0x38], rdx
jmp 0x14000c5bb
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14000c5d3
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.1400146fc
add rsp, 0x2880
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret