Function at 0x14012fc70
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 [0x1402bf5c8]
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.1401a9cf4
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 0x14012fd6e
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x70], 7
jmp 0x14012fdb9
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.1401cfe40
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.140101d60
nop
lea rcx, [rsp + 0x58]
call fcn.1400272a0
cmp byte [rsp + 0x1a0], 0
jne 0x14012fec3
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov ecx, 0xbd8
call fcn.1401a9cf4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx], rax
cmp byte [rsp + 0x1a0], 0
je 0x14012fe29
mov rcx, qword [rsp + 0x198]
test rcx, rcx
je 0x14012fe29
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x198], r13
test r12b, r12b
je 0x14012fe64
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14012fe5b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013080d
mov rcx, rdi
call fcn.1401a9a50
nop
mov rcx, qword [rsp + 0x1d0]
mov rax, qword [rcx + 8]
mov qword [rax], r13
mov rdi, qword [rcx]
test rdi, rdi
je 0x14012fea9
nop dword [rax + rax]
mov rbx, qword [rdi]
lea rcx, [rdi + 0x10]
call fcn.14004b540
mov edx, 0xbd8
mov rcx, rdi
call fcn.1401a9a50
mov rdi, rbx
test rbx, rbx
jne 0x14012fe80
mov rbx, qword [rsp + 0x1c8]
mov edx, 0xbd8
mov rcx, qword [rsp + 0x1d0]
call fcn.1401a9a50
mov rax, rbx
jmp 0x1401307e0
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x198]
call fcn.1400774f0
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 0x14013077f
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x220]
call fcn.1400fd350
nop
mov r9, qword [rdi + 0x10]
mov rdx, rdi
mov r10, qword [rdi + 0x18]
cmp r10, 8
jb 0x14012ff34
mov rdx, qword [rdi]
test r9, r9
je 0x14012ff6b
mov rax, r9
mov rcx, rdx
mov r8, r13
cmp word [rdx], 0x5e
je 0x14012ff5b
cmp rax, 1
je 0x14012ff5e
dec rax
add rcx, 2
cmp word [rcx], 0x5e
jne 0x14012ff48
mov r8, rcx
test r8, r8
je 0x14012ff6b
sub r8, rdx
sar r8, 1
jmp 0x14012ff72
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 0x14012ffa1
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 0x14012fffa
mov r8, qword [rdi]
test r9, r9
je 0x140130033
mov rax, r9
mov rcx, r8
mov rdx, r13
cmp word [r8], 0x5e
je 0x140130023
nop
cmp rax, 1
je 0x140130026
dec rax
add rcx, 2
cmp word [rcx], 0x5e
jne 0x140130010
mov rdx, rcx
test rdx, rdx
je 0x140130033
sub rdx, r8
sar rdx, 1
jmp 0x14013003a
mov rdx, 0xffffffffffffffff
cmp rdx, 0xffffffffffffffff
je 0x140130119
mov r8, rdi
cmp r10, 8
jb 0x140130050
mov r8, qword [rdi]
test r9, r9
je 0x140130088
mov rax, r9
mov rcx, r8
mov rdx, r13
cmp word [r8], 0x5e
je 0x140130078
cmp rax, 1
je 0x14013007b
dec rax
add rcx, 2
cmp word [rcx], 0x5e
jne 0x140130065
mov rdx, rcx
test rdx, rdx
je 0x140130088
sub rdx, r8
sar rdx, 1
jmp 0x14013008f
mov rdx, 0xffffffffffffffff
inc rdx
mov qword [rsp + 0x1a8], r13
mov qword [rsp + 0x1b8], r13
mov qword [rsp + 0x1c0], 7
cmp r9, rdx
jb 0x140130813
sub r9, rdx
mov r8, 0xffffffffffffffff
cmp r9, r8
cmovb r8, r9
mov rax, rdi
cmp r10, 8
jb 0x1401300d4
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 0x140130126
mov r8, qword [rdi]
mov byte [rsp + 0x20], 1
lea r9, [0x14024c398]
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x198]
call fcn.1400772f0
mov rsi, rax
lea rax, [rsp + 0x300]
cmp rax, rsi
je 0x140130190
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 0x1401301d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401301d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140130818
call fcn.1401a9a50
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401301e5
mov r8, qword [rdi]
mov byte [rsp + 0x20], 1
lea r9, str.PackagePath
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x198]
call fcn.1400772f0
mov rsi, rax
lea rax, [rsp + 0x228]
cmp rax, rsi
je 0x140130250
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 0x14013026a
mov r8, qword [rdi]
mov byte [rsp + 0x20], 1
lea r9, str.DrvStoreInfPath
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x198]
call fcn.1400772f0
mov rsi, rax
lea rax, [rsp + 0x248]
cmp rax, rsi
je 0x1401302d0
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 0x1401302ea
mov r8, qword [rdi]
mov byte [rsp + 0x20], 1
lea r9, str.ProductGUID
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x198]
call fcn.1400772f0
mov rsi, rax
lea rax, [rsp + 0x3c8]
cmp rax, rsi
je 0x140130350
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 0x14013036a
mov r8, qword [rdi]
mov byte [rsp + 0x20], 1
lea r9, str.UpgradeGUID
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x198]
call fcn.1400772f0
mov rsi, rax
lea rax, [rsp + 0x3e8]
cmp rax, rsi
je 0x1401303d0
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 0x1401303ea
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 0x14013081e
mov eax, dword [rsp + 0x1e0]
mov dword [rsp + 0x428], eax
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140130454
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 0x140130850
mov eax, dword [rsp + 0x1e4]
mov dword [rsp + 0x2ec], eax
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401304be
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 0x140130882
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x2f0], eax
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140130528
mov r8, qword [rdi]
mov byte [rsp + 0x20], 0
lea r9, str.BuildVersion
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x198]
call fcn.1400772f0
mov rsi, rax
lea rax, [rsp + 0x580]
cmp rax, rsi
je 0x140130590
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 0x1401305a7
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.1401316b0
mov rdi, rax
lea rax, [rsp + 0x418]
cmp rax, rdi
je 0x14013063d
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.1401a9a50
mov rsi, qword [rsp + 0x1d0]
cmp qword [rsp + 0x1d8], r12
je 0x1401308b4
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], r13
mov ecx, 0xbd8
call fcn.1401a9cf4
mov rdi, rax
mov qword [rsp + 0xa0], rax
lea rcx, [rax + 0x10]
lea rdx, [rsp + 0x220]
call fcn.1400456d0
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.1401a9a50
lea rcx, [rsp + 0xdc8]
call fcn.140022320
lea rcx, [rsp + 0xd98]
call fcn.1400272a0
lea rcx, [rsp + 0xcf8]
call fcn.14004c380
lea rcx, [rsp + 0x5a8]
call fcn.14004be10
lea rcx, [rsp + 0x220]
call fcn.14004c100
nop
mov rbx, qword [rbx]
jmp 0x14012fefb
lea rcx, [rsp + 0x208]
call fcn.140022320
lea rdx, [rsp + 0x1d0]
mov rcx, r14
call fcn.1400fcff0
nop
cmp byte [rsp + 0x1a0], 0
je 0x1401307c2
mov rcx, qword [rsp + 0x198]
test rcx, rcx
je 0x1401307c2
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.1400494c0
mov rax, r14
mov rcx, qword [rsp + 0xdf0]
xor rcx, rsp
call fcn.1401a9a30
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.1401e3dbc
nop
call fcn.14002ab00
call fcn.1401e3dbc
int3
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, esi
lea rcx, [rsp + 0x118]
call fcn.140046020
lea rdx, [0x1402ba948]
lea rcx, [rsp + 0x118]
call fcn.1401cfc8c
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, esi
lea rcx, [rsp + 0x140]
call fcn.140046020
lea rdx, [0x1402ba948]
lea rcx, [rsp + 0x140]
call fcn.1401cfc8c
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, esi
lea rcx, [rsp + 0x168]
call fcn.140046020
lea rdx, [0x1402ba948]
lea rcx, [rsp + 0x168]
call fcn.1401cfc8c
lea rcx, str.list_too_long
call fcn.1401ac51c
int3