Function at 0x14001208c
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 [0x1400363c0]
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.1400102c4
mov ebx, eax
test eax, eax
js 0x14001245a
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.1400102c4
mov ebx, eax
test eax, eax
js 0x14001245a
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.1400102c4
mov ebx, eax
test eax, eax
js 0x14001245a
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.1400102c4
mov ebx, eax
test eax, eax
js 0x14001245a
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.1400102c4
mov ebx, eax
test eax, eax
js 0x14001245a
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.1400102c4
mov ebx, eax
test eax, eax
js 0x14001245a
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.1400102c4
mov ebx, eax
test eax, eax
js 0x14001245a
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.1400102c4
mov ebx, eax
test eax, eax
js 0x14001245a
lea r9, [rsp + 0x60]
call fcn.140015634
mov r14, qword [rsp + 0x50]
lea r8d, [r12 + 0x10]
mov rsi, qword [rsp + 0x60]
cmp r14, r8
jae 0x140012305
lea rdx, str.Query_length__d_exceeds_the_limit_2048
mov ecx, ebx
call fcn.14000dff8
jmp 0x140012339
mov rcx, qword [rsp + 0x58]
lea rax, [0x1400273f0]
mov qword [rsp + 0x30], rsi
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x58]
mov rdx, r14
mov dword [rsp + 0x20], r13d
call fcn.1400102c4
mov r14, qword [rsp + 0x50]
mov ebx, eax
test rsi, rsi
je 0x140012346
mov rcx, rsi
call fcn.14001fbf0
test ebx, ebx
js 0x14001245a
mov rdx, qword [rdi + 0x28]
or rsi, 0xffffffffffffffff
test rdx, rdx
je 0x1400123b8
mov rcx, rsi
inc rcx
cmp word [rdx + rcx*2], r12w
jne 0x14001235e
mov eax, ecx
cmp rax, rcx
je 0x140012380
mov ecx, 0x216
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov rdx, qword [rdi + 0x28]
jmp 0x140012384
test ecx, ecx
je 0x1400123b8
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.1400102c4
mov r14, qword [rsp + 0x50]
mov ebx, eax
test ebx, ebx
js 0x14001245a
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 0x14001245a
lea rax, [rsp + 0x70]
inc rsi
cmp word [rax + rsi*2], r12w
jne 0x140012417
test rsi, rsi
je 0x14001245a
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x50]
lea rax, [0x140026274]
mov rdx, r14
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x58]
mov dword [rsp + 0x20], r13d
call fcn.1400102c4
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14001f510
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