Function at 0x14019d4b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5f0]
sub rsp, 0x6f0
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov edi, r8d
mov dword [rsp + 0x68], r8d
mov r15, rdx
mov qword [rsp + 0x50], rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
xor esi, esi
mov r13d, esi
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x58], rsi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAppxPackageVolumes
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14019d9a8
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14019d9a8
test edi, edi
je 0x14019d681
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x48], 4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DefaultVolumeKey
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
lea rcx, [rbp - 0x78]
test eax, eax
je 0x14019d5cf
lea r8d, [rsi + 0x43]
lea rdx, str.ERROR:_Failed_to_query_registry_value___s_:__s__._Error_code0x_08x
call fcn.1400cf720
mov r9d, ebx
lea r8, str.DefaultVolumeKey
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAppxPackageVolumes
lea rcx, [rbp - 0x78]
call fcn.140162a30
jmp 0x14019d5ee
mov r8d, 0x22
lea rdx, str.Default_Appx_Installed_Volume___d_
call fcn.1400cf720
mov edx, dword [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.140162490
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.NextVolumeIndex
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
lea rcx, [rbp - 0x78]
test eax, eax
je 0x14019d662
mov r8d, 0x43
lea rdx, str.ERROR:_Failed_to_query_registry_value___s_:__s__._Error_code0x_08x
call fcn.1400cf720
mov r9d, ebx
lea r8, str.NextVolumeIndex
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAppxPackageVolumes
lea rcx, [rbp - 0x78]
call fcn.140162a30
jmp 0x14019d681
mov r8d, SafeArrayPutElement
lea rdx, str.Next_Volume_Index___d_
call fcn.1400cf720
mov edx, dword [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.140162490
mov r12d, esi
mov rbx, qword [rsp + 0x78]
nop dword [rax]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3d0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x3d0]
mov edx, r12d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r14d, eax
test eax, eax
je 0x14019d74f
cmp eax, 0x103
je 0x14019d993
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov r8d, 0x48
lea rdx, str.ERROR:_Failed_to_enumerate_sub_keys_of_registry___s__._Error_code0x_08x
lea rcx, [rbp - 0x78]
call fcn.1400cf720
mov r8d, r14d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAppxPackageVolumes
lea rcx, [rbp - 0x78]
call fcn.140162a30
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
mov qword [r15], rcx
mov qword [r15 + 8], rbx
mov qword [r15 + 0x10], r13
jmp 0x14019d9ec
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1c0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r9, [rbp + 0x3d0]
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionAppxPackageVolumes
lea rdx, str._s_s
lea rcx, [rbp + 0x1c0]
call fcn.140148050
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x1c0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
jne 0x14019d958
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x14019d958
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x40], 0x208
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SisPath
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
xor esi, esi
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
test eax, eax
je 0x14019d859
lea r8d, [rsi + 0x3b]
lea rdx, str.ERROR:_Failed_to_open_registry_key___s__._Error_code0x_08x
lea rcx, [rbp - 0x78]
call fcn.1400cf720
mov r8d, edi
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x78]
call fcn.140162a30
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14019d993
mov word [rbp - 0x78], si
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x14019d870
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.1400cf720
nop
cmp rbx, r13
je 0x14019d8b0
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rbx + 0x10], xmm1
mov edx, 7
mov word [rbp - 0x78], si
add rbx, 0x20
mov qword [rsp + 0x78], rbx
jmp 0x14019d8ce
lea r8, [rbp - 0x78]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14019d200
mov r13, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14019d90a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d905
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019da1f
call fcn.1401bfb10
cmp dword [rsp + 0x68], 0
je 0x14019d94b
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov r8d, 0x1e
lea rdx, str.____s__Volume_Appx_Path_:___s_
lea rcx, [rbp - 0x78]
call fcn.1400cf720
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp - 0x78]
call fcn.140162490
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14019d993
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], 7
lea r8d, [rax + 0x3b]
lea rdx, str.ERROR:_Failed_to_open_registry_key___s__._Error_code0x_08x
lea rcx, [rbp - 0x78]
call fcn.1400cf720
mov r8d, esi
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x78]
call fcn.140162a30
xor esi, esi
inc r12d
cmp r14d, 0x103
je 0x14019d72f
jmp 0x14019d690
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov r8d, 0x3a
lea rdx, str.ERROR:_Failed_to_open_registry_key___s_._Error_code0x_08x
lea rcx, [rbp - 0x78]
call fcn.1400cf720
mov r8d, ebx
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAppxPackageVolumes
lea rcx, [rbp - 0x78]
call fcn.140162a30
mov qword [r15], rsi
mov qword [r15 + 8], rsi
mov qword [r15 + 0x10], rsi
mov rax, r15
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.1401c0070
lea r11, [rsp + 0x6f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
int3