Function at 0x14000a1a4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
push rbx
push rsi
push rdi
push r13
push r14
push r15
mov eax, 0x2880
call fcn.140010958
sub rsp, rax
mov rax, qword [0x140027098]
xor rax, rsp
mov qword [rbp - 0x40], rax
and qword [rsp + 0x38], 0
and qword [r9], 0
mov rbx, rcx
mov r14, r8
mov rdi, rdx
mov r15d, 0x2608
lea rcx, [rsp + 0x40]
mov r8d, r15d
xor edx, edx
mov rsi, r9
call fcn.140010880
lea rcx, [rsp + 0x48]
or r9, 0xffffffffffffffff
mov r8, rbx
mov edx, 0x80
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], 0x2f
call fcn.140010790
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 r13d, 0x80070002
mov r15d, 1
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, r13d
jne 0x14000a286
lea rcx, [rsp + 0x148]
xor edx, edx
mov r8d, 0x208
call fcn.140010880
mov ebx, r15d
test ebx, ebx
js 0x14000a5c1
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, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, r13d
jne 0x14000a2ee
lea rcx, [rsp + 0x350]
xor edx, edx
mov r8d, 0x1048
call fcn.140010880
mov ebx, r15d
test ebx, ebx
js 0x14000a5c1
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, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, r13d
jne 0x14000a349
mov dword [rsp + 0x13b0], r15d
mov ebx, r15d
test ebx, ebx
js 0x14000a5c1
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, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, r13d
jne 0x14000a3a4
and dword [rsp + 0x1398], 0
mov ebx, r15d
test ebx, ebx
js 0x14000a5c1
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, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, r13d
jne 0x14000a402
xor eax, eax
mov ebx, r15d
mov dword [rsp + 0x139c], eax
jmp 0x14000a409
mov eax, dword [rsp + 0x139c]
test ebx, ebx
js 0x14000a5c1
cmp eax, 0x8003
je 0x14000a423
cmp eax, 0x8004
jne 0x14000a4a5
lea rax, [rsp + 0x30]
lea rdx, str.Hash
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2750]
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, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x14000a48c
or dword [rsp + 0x44], 0x10
lea rax, [rsp + 0x2750]
mov qword [rsp + 0x13a8], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x13a0], eax
jmp 0x14000a4a5
cmp ebx, r13d
jne 0x14000a49d
and qword [rsp + 0x13a8], 0
mov ebx, r15d
test ebx, ebx
js 0x14000a5c1
lea rax, [rsp + 0x30]
lea rdx, str.PreferredSource
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2770]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], pe_nt_image_headers64
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, r13d
jne 0x14000a505
lea rcx, [rsp + 0x2770]
xor edx, edx
mov r8d, pe_nt_image_headers64
call fcn.140010880
mov ebx, r15d
test ebx, ebx
js 0x14000a5c1
lea rax, [rsp + 0x30]
lea rdx, str.ContainerResource
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2650]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], pe_nt_image_headers64
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, r13d
jne 0x14000a56d
lea rcx, [rsp + 0x2650]
xor edx, edx
mov r8d, pe_nt_image_headers64
call fcn.140010880
mov ebx, r15d
test ebx, ebx
js 0x14000a5c1
lea r9, [rsp + 0x38]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, r14
call fcn.14000a0dc
mov ebx, eax
test eax, eax
js 0x14000a5c1
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x2650]
lea rdx, [rsp + 0x2770]
mov rax, qword [rcx]
call qword [rax + 0xf0]
mov ebx, eax
test eax, eax
js 0x14000a5c1
mov rax, qword [rsp + 0x38]
xor edx, edx
mov qword [rsi], rax
mov qword [rsp + 0x38], rdx
jmp 0x14000a5c6
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14000a5e0
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 - 0x40]
xor rcx, rsp
call fcn.140010528
add rsp, 0x2880
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret