Function at 0x140015898
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x248]
sub rsp, 0x320
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14005e0f0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rsi, rcx
movdqa xmm0, xmmword [0x14004da30]
movdqu xmmword [rsp + 0x70], xmm0
xor r14d, r14d
mov word [rsp + 0x60], r14w
lea rdx, str._OneSettings__InitializeMachineProperties
lea rcx, [rsp + 0x60]
call fcn.1400082d4
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.140009b0c
nop
mov r13d, 0x208
mov dword [rsp + 0x44], r13d
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 2]
lea r8, str.BuildLabEx
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14001599c
mov edi, dword [rsp + 0x44]
shr edi, 1
inc edi
mov edx, edi
lea rcx, [rsi + 0x28]
call fcn.140011ccc
mov edx, edi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, str._M._m._ls
lea r8d, [r14 + 9]
mov rcx, qword [rsi + 0x28]
call fcn.140012388
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.140011d48
or rdi, 0xffffffffffffffff
mov r12d, 0x104
test eax, eax
js 0x140015a49
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_0.dll_GetProductInfo]
nop dword [rax + rax]
test eax, eax
je 0x140015a49
lea rbx, [rsi + 0x38]
mov edx, r12d
mov rcx, rbx
call fcn.140011ccc
mov r9d, dword [rsp + 0x40]
lea r8, [0x14004c1e4]
mov edx, r12d
mov rcx, qword [rbx]
call fcn.140002278
mov rcx, qword [rbx]
test rcx, rcx
je 0x140015a49
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140015a2a
lea edx, [rax + 1]
add rdx, rdx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemRealloc]
nop dword [rax + rax]
mov qword [rbx], rax
mov ebx, 0x80
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x190]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x48], ebx
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x80]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x40], ebx
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x190]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_RtlConvertDeviceFamilyInfoToString]
nop dword [rax + rax]
test eax, eax
jne 0x140015aaa
lea rcx, [rsi + 0x48]
lea rdx, [rbp + 0x190]
call fcn.140011c08
mov edx, 0x55
lea rcx, [rsi + 0x50]
call fcn.140011ccc
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x140015ad2
mov edx, 0x55
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetUserDefaultLocaleName]
nop dword [rax + rax]
mov r8, r13
xor edx, edx
lea rcx, [rbp - 0x80]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x40], r13d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
lea r8, str.MachineId
lea rdx, str.SOFTWAREMicrosoftSQMClient
mov rbx, 0xffffffff80000002
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140015b6d
lea rcx, [rbp - 0x80]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140015b32
cmp rax, 2
jbe 0x140015b6d
cmp word [rbp - 0x80], 0x7b
jne 0x140015b6d
lea rax, [rax*2 - 2]
cmp rax, r13
jae 0x140015cb2
mov word [rbp + rax - 0x80], r14w
lea rcx, [rsi + 0x58]
lea rdx, [rbp - 0x7e]
call fcn.140011c08
lea r9, [rsp + 0x40]
lea r8, str.RacSampleNumber
lea rdx, str.SOFTWAREMicrosoftReliability_AnalysisRAC
mov rcx, rbx
call fcn.14000e8f0
test eax, eax
js 0x140015bdc
lea rbx, [rsi + 0x40]
mov edx, r12d
mov rcx, rbx
call fcn.140011ccc
mov r9d, dword [rsp + 0x40]
lea r8, [0x14004b778]
mov rdx, r12
mov rcx, qword [rbx]
call fcn.140002278
mov rcx, qword [rbx]
test rcx, rcx
je 0x140015bdc
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140015bbd
lea edx, [rax + 1]
add rdx, rdx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemRealloc]
nop dword [rax + rax]
mov qword [rbx], rax
mov edx, r12d
lea rcx, [rsi + 0x60]
call fcn.140011ccc
lea r9, [rbp - 0x80]
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [0x140000000]
call fcn.140012984
movzx eax, word [rbp - 0x7a]
movzx r8d, word [rbp - 0x7c]
movzx r10d, word [rbp - 0x7e]
movzx r9d, word [rbp - 0x80]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r10d
lea r8, str._u._u._u._u
mov rdx, r12
mov rcx, qword [rsi + 0x60]
call fcn.140002278
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x140015c5b
inc rdi
cmp word [rcx + rdi*2], r14w
jne 0x140015c3b
lea edx, [rdi + 1]
add rdx, rdx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemRealloc]
nop dword [rax + rax]
mov qword [rsi + 0x60], rax
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140009b0c
lea rcx, [rsp + 0x60]
call fcn.140008164
xor eax, eax
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140041d90
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.140041ef8
nop
int3