Function at 0x140066a80
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 [0x1403a0088]
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.140068620
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 0x140066ee9
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 0x140066edf
inc edi
mov dword [rbp - 0x40], 0x104
cmp dword [0x140455b64], 0
jne 0x140066edf
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rbp - 0x20], 0
jne 0x140066b76
mov r8, r15
jmp 0x140066b8b
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140066b80
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.14004db90
lea rcx, [rsp + 0x40]
call fcn.14007d390
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rbp - 0x20], 0
jne 0x140066bc3
mov r8, r15
jmp 0x140066bdb
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140066bd0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.14004db90
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
cmp word [rbp - 0x20], 0
jne 0x140066c0a
mov r8, r15
jmp 0x140066c1d
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140066c12
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.14004db90
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.140068820
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x38]
call fcn.1400688d0
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x140066c6e
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.14004e100
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x140066c9f
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14004e100
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 0x140066eac
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 0x140066ea2
nop dword [rax]
inc ebx
cmp dword [0x140455b64], 0
jne 0x140066ea2
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 0x140066d46
mov r8, r15
jmp 0x140066d5b
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140066d50
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.14004db90
lea rcx, [rsp + 0x40]
call fcn.14007d390
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rbp - 0x20], 0
jne 0x140066d93
mov r8, r15
jmp 0x140066dab
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140066da0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.14004db90
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
cmp word [rbp - 0x20], 0
jne 0x140066dda
mov r8, r15
jmp 0x140066ded
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140066de2
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.14004db90
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.140068820
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x38]
call fcn.1400688d0
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x140066e3e
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.14004e100
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x140066e6f
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14004e100
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 0x140066d10
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 0x140066b40
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp - 0x30], 0
jbe 0x140067075
cmp qword [r14 + 8], 0
jbe 0x140067075
mov r8, qword [rbp - 0x38]
mov rdi, qword [r8]
cmp rdi, r8
je 0x140067079
nop
cmp dword [0x140455b64], 0
jne 0x140067079
cmp qword [rdi + 0x38], 8
jb 0x140066f2a
mov rdx, qword [rdi + 0x20]
jmp 0x140066f2e
lea rdx, [rdi + 0x20]
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rdx], 0
jne 0x140066f4d
mov r8, r15
jmp 0x140066f5c
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140066f51
lea rcx, [rsp + 0x40]
call fcn.14004db90
lea rcx, [rsp + 0x40]
call fcn.14007d390
mov rax, qword [r14]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140067017
nop
cmp dword [0x140455b64], 0
jne 0x140067017
cmp qword [rdi + 0x38], 8
jb 0x140066f9a
mov rcx, qword [rdi + 0x20]
jmp 0x140066f9e
lea rcx, [rdi + 0x20]
mov rdx, qword [rbx + 0x40]
add rdx, 0x68
call fcn.1402779b8
test eax, eax
jne 0x140066fc3
mov r8, rbx
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.1400678a0
mov rbx, qword [rax]
jmp 0x14006700e
cmp byte [rbx + 0x19], 0
jne 0x14006700e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140066fee
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14006700e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140066fe0
jmp 0x14006700e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14006700b
cmp rbx, qword [rax + 0x10]
jne 0x14006700b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140066ff8
mov rbx, rax
cmp rbx, qword [r14]
jne 0x140066f80
cmp byte [rdi + 0x19], 0
jne 0x140067066
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140067041
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140067066
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140067033
jmp 0x140067066
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x140067063
nop dword [rax + rax]
cmp rdi, qword [rax + 0x10]
jne 0x140067063
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140067050
mov rdi, rax
mov r8, qword [rbp - 0x38]
cmp rdi, r8
jne 0x140066f10
jmp 0x140067079
mov r8, qword [rbp - 0x38]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x38]
call fcn.140067e40
mov rcx, qword [rbp - 0x38]
call fcn.140125e0c
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140125a70
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