Function at 0x1400670e0
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x300
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r14, r8
xor r15d, r15d
mov edi, r15d
mov dword [rbp - 0x40], 0x104
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
call fcn.140068ca0
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 8]
lea r8d, [r15 + 4]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAppxAppxAllUserStoreApplications
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140067549
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x20]
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14006753f
inc edi
mov dword [rbp - 0x40], 0x104
cmp dword [0x14045e968], 0
jne 0x14006753f
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rbp - 0x20], 0
jne 0x1400671d6
mov r8, r15
jmp 0x1400671eb
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400671e0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.14004dd70
lea rcx, [rsp + 0x40]
call fcn.140082440
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rbp - 0x20], 0
jne 0x140067223
mov r8, r15
jmp 0x14006723b
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140067230
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.14004dd70
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
cmp word [rbp - 0x20], 0
jne 0x14006726a
mov r8, r15
jmp 0x14006727d
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140067272
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.14004dd70
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.140068ea0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x38]
call fcn.140068f50
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x1400672ce
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.14004e2e0
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x1400672ff
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14004e2e0
mov qword [rbp - 0x48], r15
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8d, [r9 - 4]
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006750c
mov ebx, r15d
mov dword [rbp - 0x40], 0x104
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x20]
xor edx, edx
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x140067502
nop dword [rax]
inc ebx
cmp dword [0x14045e968], 0
jne 0x140067502
mov dword [rbp - 0x40], 0x104
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rbp - 0x20], 0
jne 0x1400673a6
mov r8, r15
jmp 0x1400673bb
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400673b0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.14004dd70
lea rcx, [rsp + 0x40]
call fcn.140082440
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rbp - 0x20], 0
jne 0x1400673f3
mov r8, r15
jmp 0x14006740b
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140067400
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.14004dd70
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
cmp word [rbp - 0x20], 0
jne 0x14006743a
mov r8, r15
jmp 0x14006744d
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140067442
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.14004dd70
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.140068ea0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x38]
call fcn.140068f50
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14006749e
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.14004e2e0
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x1400674cf
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14004e2e0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x20]
mov edx, ebx
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x140067370
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x20]
mov edx, edi
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x1400671a0
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp - 0x30], 0
jbe 0x1400676d5
cmp qword [r14 + 8], 0
jbe 0x1400676d5
mov r8, qword [rbp - 0x38]
mov rdi, qword [r8]
cmp rdi, r8
je 0x1400676d9
nop
cmp dword [0x14045e968], 0
jne 0x1400676d9
cmp qword [rdi + 0x38], 8
jb 0x14006758a
mov rdx, qword [rdi + 0x20]
jmp 0x14006758e
lea rdx, [rdi + 0x20]
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rdx], 0
jne 0x1400675ad
mov r8, r15
jmp 0x1400675bc
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400675b1
lea rcx, [rsp + 0x40]
call fcn.14004dd70
lea rcx, [rsp + 0x40]
call fcn.140082440
mov rax, qword [r14]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140067677
nop
cmp dword [0x14045e968], 0
jne 0x140067677
cmp qword [rdi + 0x38], 8
jb 0x1400675fa
mov rcx, qword [rdi + 0x20]
jmp 0x1400675fe
lea rcx, [rdi + 0x20]
mov rdx, qword [rbx + 0x40]
add rdx, 0x68
call fcn.14027c4d8
test eax, eax
jne 0x140067623
mov r8, rbx
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.140067ef0
mov rbx, qword [rax]
jmp 0x14006766e
cmp byte [rbx + 0x19], 0
jne 0x14006766e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14006764e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14006766e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140067640
jmp 0x14006766e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14006766b
cmp rbx, qword [rax + 0x10]
jne 0x14006766b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140067658
mov rbx, rax
cmp rbx, qword [r14]
jne 0x1400675e0
cmp byte [rdi + 0x19], 0
jne 0x1400676c6
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400676a1
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1400676c6
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140067693
jmp 0x1400676c6
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x1400676c3
nop dword [rax + rax]
cmp rdi, qword [rax + 0x10]
jne 0x1400676c3
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400676b0
mov rdi, rax
mov r8, qword [rbp - 0x38]
cmp rdi, r8
jne 0x140067570
jmp 0x1400676d9
mov r8, qword [rbp - 0x38]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x38]
call fcn.1400684c0
mov rcx, qword [rbp - 0x38]
call fcn.14012a654
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14012a2b0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret