Function at 0x14001054c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140033670]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rax, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x58]
mov rdi, rcx
mov qword [rsp + 0x58], rdx
mov rcx, qword [rcx + 8]
lea rax, str.settings_v2.0
mov qword [rsp + 0x38], rcx
mov r10, rdx
mov qword [rsp + 0x30], rax
mov edx, 0x800
lea rax, str._ls__ls__ls_osWindows
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x28], rax
xor r12d, r12d
mov r13d, 0x400
mov qword [rsp + 0x60], r12
mov rcx, r10
mov dword [rsp + 0x20], r13d
call fcn.14000e610
mov ebx, eax
test eax, eax
js 0x14001090d
mov rax, qword [rdi + 0x30]
lea r9, [rsp + 0x50]
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, str.osVer_s
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call fcn.14000e610
mov ebx, eax
test eax, eax
js 0x14001090d
mov rax, qword [rdi + 0x40]
lea r9, [rsp + 0x50]
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, str.sku_s
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call fcn.14000e610
mov ebx, eax
test eax, eax
js 0x14001090d
mov rax, qword [rdi + 0x50]
lea r9, [rsp + 0x50]
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, str.deviceClass_s
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call fcn.14000e610
mov ebx, eax
test eax, eax
js 0x14001090d
mov rax, qword [rdi + 0x58]
lea r9, [rsp + 0x50]
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, str.locale_s
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call fcn.14000e610
mov ebx, eax
test eax, eax
js 0x14001090d
mov rax, qword [rdi + 0x60]
lea r9, [rsp + 0x50]
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, str.deviceIds:_s
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call fcn.14000e610
mov ebx, eax
test eax, eax
js 0x14001090d
mov rax, qword [rdi + 0x48]
lea r9, [rsp + 0x50]
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, str.sampleIds:_s
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call fcn.14000e610
mov ebx, eax
test eax, eax
js 0x14001090d
mov rax, qword [rdi + 0x68]
lea r9, [rsp + 0x50]
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, str.appVer_s
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call fcn.14000e610
mov ebx, eax
test eax, eax
js 0x14001090d
lea r9, [rsp + 0x60]
call fcn.140013780
mov r14, qword [rsp + 0x50]
lea r8d, [r12 + 0x10]
cmp r14, r8
jae 0x1400107c0
lea rdx, str.Query_length__d_exceeds_the_limit_2048
mov ecx, ebx
call fcn.140008434
jmp 0x1400107f9
mov rax, qword [rsp + 0x60]
lea r9, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rdx, r14
lea rax, [0x1400243d0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call fcn.14000e610
mov r14, qword [rsp + 0x50]
mov ebx, eax
test ebx, ebx
js 0x14001090d
mov rdx, qword [rdi + 0x28]
or rsi, 0xffffffffffffffff
test rdx, rdx
je 0x14001086b
mov rcx, rsi
inc rcx
cmp word [rdx + rcx*2], r12w
jne 0x140010811
mov eax, ecx
cmp rax, rcx
je 0x140010833
mov ecx, 0x216
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov rdx, qword [rdi + 0x28]
jmp 0x140010837
test ecx, ecx
je 0x14001086b
mov rcx, qword [rsp + 0x58]
lea rax, str.namespaces_s
mov qword [rsp + 0x30], rdx
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x58]
mov rdx, r14
mov dword [rsp + 0x20], r13d
call fcn.14000e610
mov r14, qword [rsp + 0x50]
mov ebx, eax
test ebx, ebx
js 0x14001090d
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x208
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rdx, qword [rdi + 0x20]
lea rax, [rsp + 0x60]
mov rcx, qword [rdi + 0x70]
lea r8, str.NamespaceExtension
mov qword [rsp + 0x30], rax
mov r9d, 2
lea rax, [rsp + 0x70]
mov dword [rsp + 0x60], 0x208
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x14001090d
lea rax, [rsp + 0x70]
inc rsi
cmp word [rax + rsi*2], r12w
jne 0x1400108ca
test rsi, rsi
je 0x14001090d
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x50]
lea rax, [0x140024420]
mov rdx, r14
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x58]
mov dword [rsp + 0x20], r13d
call fcn.14000e610
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14001c1f0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret