Function at 0x14012f680
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe00
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0xdf0], rax
mov rbx, rcx
mov qword [rsp + 0x1c8], rcx
mov qword [rsp + 0x80], rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x1d0], xmm1
mov ecx, 0xbd8
call fcn.1401a9704
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1e8], r13
mov qword [rsp + 0x1f8], r13
mov qword [rsp + 0x200], 7
mov word [rsp + 0x1e8], r13w
lea r8d, [r13 + 0x2b]
lea rdx, str.SOFTWAREATI_TechnologiesInstallPackages_
lea rcx, [rsp + 0x1e8]
call fcn.140018360
nop
mov qword [rsp + 0x58], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
lea r14, [rsp + 0x1e8]
mov r15, qword [rsp + 0x200]
cmp r15, 8
setae r12b
mov rdi, qword [rsp + 0x1e8]
cmovae r14, rdi
mov rsi, qword [rsp + 0x1f8]
cmp rsi, 8
jae 0x14012f77e
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x70], 7
jmp 0x14012f7c9
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x58]
call fcn.140023c30
mov qword [rsp + 0x58], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1401cf850
mov qword [rsp + 0x70], rbx
mov rbx, qword [rsp + 0x1c8]
mov qword [rsp + 0x68], rsi
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0x58]
call fcn.1401015b0
nop
lea rcx, [rsp + 0x58]
call fcn.1400272a0
cmp byte [rsp + 0x1a0], 0
jne 0x14012f8d3
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov ecx, 0xbd8
call fcn.1401a9704
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx], rax
cmp byte [rsp + 0x1a0], 0
je 0x14012f839
mov rcx, qword [rsp + 0x198]
test rcx, rcx
je 0x14012f839
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x198], r13
test r12b, r12b
je 0x14012f874
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14012f86b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013021d
mov rcx, rdi
call fcn.1401a9460
nop
mov rcx, qword [rsp + 0x1d0]
mov rax, qword [rcx + 8]
mov qword [rax], r13
mov rdi, qword [rcx]
test rdi, rdi
je 0x14012f8b9
nop dword [rax + rax]
mov rbx, qword [rdi]
lea rcx, [rdi + 0x10]
call fcn.14004b270
mov edx, 0xbd8
mov rcx, rdi
call fcn.1401a9460
mov rdi, rbx
test rbx, rbx
jne 0x14012f890
mov rbx, qword [rsp + 0x1c8]
mov edx, 0xbd8
mov rcx, qword [rsp + 0x1d0]
call fcn.1401a9460
mov rax, rbx
jmp 0x1401301f0
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x198]
call fcn.140076ef0
nop
mov r15, qword [rsp + 0x208]
mov qword [rsp + 0x78], r15
mov rbx, qword [r15]
movabs r12, 0x159d61f123ccaa
mov r14, qword [rsp + 0x1c8]
mov qword [rsp + 0x48], rbx
cmp rbx, r15
je 0x14013018f
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x220]
call fcn.1400fcba0
nop
mov r9, qword [rdi + 0x10]
mov rdx, rdi
mov r10, qword [rdi + 0x18]
cmp r10, 8
jb 0x14012f944
mov rdx, qword [rdi]
test r9, r9
je 0x14012f97b
mov rax, r9
mov rcx, rdx
mov r8, r13
cmp word [rdx], 0x5e
je 0x14012f96b
cmp rax, 1
je 0x14012f96e
dec rax
add rcx, 2
cmp word [rcx], 0x5e
jne 0x14012f958
mov r8, rcx
test r8, r8
je 0x14012f97b
sub r8, rdx
sar r8, 1
jmp 0x14012f982
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x1a8], r13
mov qword [rsp + 0x1b8], r13
mov qword [rsp + 0x1c0], 7
cmp r9, r8
cmovb r8, r9
mov rdx, rdi
cmp r10, 8
jb 0x14012f9b1
mov rdx, qword [rdi]
lea rcx, [rsp + 0x1a8]
call fcn.140018360
mov esi, dword [rsp + 0x40]
or esi, 2
mov dword [rsp + 0x40], esi
lea rcx, [rsp + 0x3a8]
call fcn.1400272a0
movups xmm0, xmmword [rsp + 0x1a8]
movups xmmword [rsp + 0x3a8], xmm0
movups xmm1, xmmword [rsp + 0x1b8]
movups xmmword [rsp + 0x3b8], xmm1
mov r9, qword [rdi + 0x10]
mov r8, rdi
mov r10, qword [rdi + 0x18]
cmp r10, 8
jb 0x14012fa0a
mov r8, qword [rdi]
test r9, r9
je 0x14012fa43
mov rax, r9
mov rcx, r8
mov rdx, r13
cmp word [r8], 0x5e
je 0x14012fa33
nop
cmp rax, 1
je 0x14012fa36
dec rax
add rcx, 2
cmp word [rcx], 0x5e
jne 0x14012fa20
mov rdx, rcx
test rdx, rdx
je 0x14012fa43
sub rdx, r8
sar rdx, 1
jmp 0x14012fa4a
mov rdx, 0xffffffffffffffff
cmp rdx, 0xffffffffffffffff
je 0x14012fb29
mov r8, rdi
cmp r10, 8
jb 0x14012fa60
mov r8, qword [rdi]
test r9, r9
je 0x14012fa98
mov rax, r9
mov rcx, r8
mov rdx, r13
cmp word [r8], 0x5e
je 0x14012fa88
cmp rax, 1
je 0x14012fa8b
dec rax
add rcx, 2
cmp word [rcx], 0x5e
jne 0x14012fa75
mov rdx, rcx
test rdx, rdx
je 0x14012fa98
sub rdx, r8
sar rdx, 1
jmp 0x14012fa9f
mov rdx, 0xffffffffffffffff
inc rdx
mov qword [rsp + 0x1a8], r13
mov qword [rsp + 0x1b8], r13
mov qword [rsp + 0x1c0], 7
cmp r9, rdx
jb 0x140130223
sub r9, rdx
mov r8, 0xffffffffffffffff
cmp r9, r8
cmovb r8, r9
mov rax, rdi
cmp r10, 8
jb 0x14012fae4
mov rax, qword [rdi]
lea rdx, [rax + rdx*2]
lea rcx, [rsp + 0x1a8]
call fcn.140018360
or esi, 4
mov dword [rsp + 0x40], esi
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.1400272a0
movups xmm0, xmmword [rsp + 0x1a8]
movups xmmword [rsp + reloc.SHELL32.dll_IsUserAnAdmin], xmm0
movups xmm1, xmmword [rsp + 0x1b8]
movups xmmword [rsp + 0x2b8], xmm1
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14012fb36
mov r8, qword [rdi]
mov byte [rsp + 0x20], 1
lea r9, [0x14024b398]
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x198]
call fcn.140076cf0
mov rsi, rax
lea rax, [rsp + 0x300]
cmp rax, rsi
je 0x14012fba0
lea rcx, [rsp + 0x300]
call fcn.1400272a0
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x300], xmm0
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x310], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
nop dword [rax + rax]
mov rdx, qword [rsp + 0x1c0]
cmp rdx, 8
jb 0x14012fbe8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012fbe3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140130228
call fcn.1401a9460
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14012fbf5
mov r8, qword [rdi]
mov byte [rsp + 0x20], 1
lea r9, str.PackagePath
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x198]
call fcn.140076cf0
mov rsi, rax
lea rax, [rsp + 0x228]
cmp rax, rsi
je 0x14012fc60
lea rcx, [rsp + 0x228]
call fcn.1400272a0
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x228], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x238], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
nop word [rax + rax]
lea rcx, [rsp + 0x1a8]
call fcn.1400272a0
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14012fc7a
mov r8, qword [rdi]
mov byte [rsp + 0x20], 1
lea r9, str.DrvStoreInfPath
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x198]
call fcn.140076cf0
mov rsi, rax
lea rax, [rsp + 0x248]
cmp rax, rsi
je 0x14012fce0
lea rcx, [rsp + 0x248]
call fcn.1400272a0
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x248], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x258], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
nop
lea rcx, [rsp + 0x1a8]
call fcn.1400272a0
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14012fcfa
mov r8, qword [rdi]
mov byte [rsp + 0x20], 1
lea r9, str.ProductGUID
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x198]
call fcn.140076cf0
mov rsi, rax
lea rax, [rsp + 0x3c8]
cmp rax, rsi
je 0x14012fd60
lea rcx, [rsp + 0x3c8]
call fcn.1400272a0
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x3c8], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x3d8], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
nop
lea rcx, [rsp + 0x1a8]
call fcn.1400272a0
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14012fd7a
mov r8, qword [rdi]
mov byte [rsp + 0x20], 1
lea r9, str.UpgradeGUID
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x198]
call fcn.140076cf0
mov rsi, rax
lea rax, [rsp + 0x3e8]
cmp rax, rsi
je 0x14012fde0
lea rcx, [rsp + 0x3e8]
call fcn.1400272a0
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x3e8], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x3f8], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
nop
lea rcx, [rsp + 0x1a8]
call fcn.1400272a0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14012fdfa
mov rdx, qword [rdi]
mov dword [rsp + 0x190], 4
lea rax, [rsp + 0x190]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 0x10
lea r8, str.PackageType
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x14013022e
mov eax, dword [rsp + 0x1e0]
mov dword [rsp + 0x428], eax
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14012fe64
mov rdx, qword [rdi]
mov dword [rsp + 0x190], 4
lea rax, [rsp + 0x190]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1e4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 0x10
lea r8, str.ProductSize
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x140130260
mov eax, dword [rsp + 0x1e4]
mov dword [rsp + 0x2ec], eax
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14012fece
mov rdx, qword [rdi]
mov dword [rsp + 0x190], 4
lea rax, [rsp + 0x190]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 0x10
lea r8, str.PackageSize
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x140130292
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x2f0], eax
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14012ff38
mov r8, qword [rdi]
mov byte [rsp + 0x20], 0
lea r9, str.BuildVersion
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x198]
call fcn.140076cf0
mov rsi, rax
lea rax, [rsp + 0x580]
cmp rax, rsi
je 0x14012ffa0
lea rcx, [rsp + 0x580]
call fcn.1400272a0
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x580], xmm0
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x590], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
nop dword [rax]
lea rcx, [rsp + 0x1a8]
call fcn.1400272a0
cmp qword [rdi + 0x18], 8
jb 0x14012ffb7
mov rdi, qword [rdi]
mov byte [rsp + 0x20], 0
lea r9, str.FriendUWPPackageNames
mov r8, rdi
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x198]
call fcn.1401310c0
mov rdi, rax
lea rax, [rsp + 0x418]
cmp rax, rdi
je 0x14013004d
mov rdx, qword [rsp + 0x418]
lea rcx, [rsp + 0x418]
call fcn.14002e3c0
mov rcx, qword [rsp + 0x418]
mov qword [rcx], rcx
mov rcx, qword [rsp + 0x418]
mov qword [rcx + 8], rcx
mov qword [rsp + 0x420], r13
mov rcx, qword [rsp + 0x418]
mov rax, qword [rdi]
mov qword [rsp + 0x418], rax
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x420]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x420], rax
mov qword [rdi + 8], rcx
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x88]
call fcn.14002e3c0
mov edx, 0x30
mov rcx, qword [rsp + 0x88]
call fcn.1401a9460
mov rsi, qword [rsp + 0x1d0]
cmp qword [rsp + 0x1d8], r12
je 0x1401302c4
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], r13
mov ecx, 0xbd8
call fcn.1401a9704
mov rdi, rax
mov qword [rsp + 0xa0], rax
lea rcx, [rax + 0x10]
lea rdx, [rsp + 0x220]
call fcn.1400454b0
nop
inc qword [rsp + 0x1d8]
mov rcx, qword [rsi + 8]
mov qword [rdi], rsi
mov qword [rdi + 8], rcx
mov qword [rsp + 0xa0], r13
mov qword [rsi + 8], rdi
mov qword [rcx], rdi
mov r8, qword [rsp + 0xdd8]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0xdd8]
lea rcx, [rsp + 0xdd8]
call fcn.14003a8e0
mov edx, 0x50
mov rcx, qword [rsp + 0xdd8]
call fcn.1401a9460
lea rcx, [rsp + 0xdc8]
call fcn.140022320
lea rcx, [rsp + 0xd98]
call fcn.1400272a0
lea rcx, [rsp + 0xcf8]
call fcn.14004c0b0
lea rcx, [rsp + 0x5a8]
call fcn.14004bb40
lea rcx, [rsp + 0x220]
call fcn.14004be30
nop
mov rbx, qword [rbx]
jmp 0x14012f90b
lea rcx, [rsp + 0x208]
call fcn.140022320
lea rdx, [rsp + 0x1d0]
mov rcx, r14
call fcn.1400fc980
nop
cmp byte [rsp + 0x1a0], 0
je 0x1401301d2
mov rcx, qword [rsp + 0x198]
test rcx, rcx
je 0x1401301d2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x198], r13
lea rcx, [rsp + 0x1e8]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x1d0]
call fcn.1400491f0
mov rax, r14
mov rcx, qword [rsp + 0xdf0]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0xe00]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1401e37cc
nop
call fcn.14002ab00
call fcn.1401e37cc
int3
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, esi
lea rcx, [rsp + 0x118]
call fcn.140045e00
lea rdx, [0x1402b97a8]
lea rcx, [rsp + 0x118]
call fcn.1401cf69c
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, esi
lea rcx, [rsp + 0x140]
call fcn.140045e00
lea rdx, [0x1402b97a8]
lea rcx, [rsp + 0x140]
call fcn.1401cf69c
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, esi
lea rcx, [rsp + 0x168]
call fcn.140045e00
lea rdx, [0x1402b97a8]
lea rcx, [rsp + 0x168]
call fcn.1401cf69c
lea rcx, str.list_too_long
call fcn.1401abf2c
int3