Function at 0x1400014b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x1a8
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x190], rax
lea rdx, [0x140021e0c]
lea rcx, [0x140022220]
call fcn.140006944
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140001509
lea rcx, [0x140022230]
call fcn.1400010f0
mov rcx, qword [rsp + 0x48]
call fcn.140006b7c
mov eax, 1
jmp 0x140001779
lea rdx, str.___Reg_MuiCache_Information_n
mov rcx, qword [rsp + 0x48]
call fcn.140001080
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x78], 0x104
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x68], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsShellMuiCache
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140001591
mov edx, dword [rsp + 0x40]
lea rcx, str.Failed_to_open_registry_key__error_code:__d_n
call fcn.1400010f0
mov rcx, qword [rsp + 0x48]
call fcn.140006b7c
mov eax, 1
jmp 0x140001779
xor eax, eax
cmp eax, 1
je 0x140001764
mov dword [rsp + 0x78], 0x104
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0x104
jae 0x1400015bf
jmp 0x1400015c4
call fcn.140002a38
mov rax, qword [rsp + 0x60]
mov byte [rsp + rax + 0x80], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x80]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x14000173f
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14000166c
mov edx, dword [rsp + 0x40]
lea rcx, str.Failed_to_get_value_data_size__error_code:__d_n
call fcn.1400010f0
jmp 0x140001764
mov eax, dword [rsp + 0x68]
mov ecx, eax
call fcn.140009188
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140001695
lea rcx, str.Failed_to_allocate_memory_for_value_data_n
call fcn.1400010f0
jmp 0x140001764
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400016e9
mov edx, dword [rsp + 0x40]
lea rcx, str.Failed_to_get_value_data__error_code:__d_n
call fcn.1400010f0
mov rcx, qword [rsp + 0x58]
call fcn.1400090fc
jmp 0x140001764
lea r8, [rsp + 0x80]
lea rdx, str._s_:
mov rcx, qword [rsp + 0x48]
call fcn.140001080
mov r8, qword [rsp + 0x58]
lea rdx, [0x140021e2c]
mov rcx, qword [rsp + 0x48]
call fcn.140001080
lea rdx, [0x140021e4c]
mov rcx, qword [rsp + 0x48]
call fcn.140001080
mov rcx, qword [rsp + 0x58]
call fcn.1400090fc
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
jmp 0x14000175f
cmp dword [rsp + 0x40], 0x103
jne 0x14000174d
jmp 0x140001764
mov edx, dword [rsp + 0x40]
lea rcx, str.Failed_to_enumerate_registry_values__error_code:__d_n
call fcn.1400010f0
jmp 0x140001764
jmp 0x140001591
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call fcn.140006b7c
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140002910
add rsp, 0x1a8
ret