Function at 0x140017a20
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x2f8]
sub rsp, 0x3d0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14006c0f0]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov rbx, rcx
movdqa xmm0, xmmword [0x14005a0b0]
movdqu xmmword [rsp + 0x78], xmm0
xor r15d, r15d
mov word [rsp + 0x68], r15w
lea rdx, str._OneSettingsCustomClient__InitializeMachineProperties
lea rcx, [rsp + 0x68]
call fcn.140008078
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.140009a7c
nop
mov esi, r15d
mov r13d, 0x208
mov dword [rsp + 0x44], r13d
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 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]
or rdi, 0xffffffffffffffff
test eax, eax
jne 0x140017be2
mov esi, dword [rsp + 0x44]
add esi, 0x104
lea eax, [rdi + 3]
mul rsi
cmovo rax, rdi
lea rdx, [0x14006cbd9]
mov rcx, rax
call fcn.14004c638
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
mov qword [rbp - 0x78], rcx
mov byte [rbp - 0x70], 1
test rax, rax
jne 0x140017b94
mov rcx, qword [rbp + 0x2f8]
mov ebx, 0x8007000e
mov r9d, ebx
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettingscustomclient.cpp
mov edx, 0x397
call fcn.140003c18
nop
mov rcx, qword [rsp + 0x50]
call fcn.14004bb7c
nop
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140009a7c
lea rcx, [rsp + 0x68]
call fcn.140007e78
mov eax, ebx
jmp 0x140017e15
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x20], rcx
lea r9, str._M._m._ls
mov r8d, 9
mov rdx, rsi
mov rcx, rax
call fcn.140014b78
mov esi, eax
test eax, eax
js 0x140017bd0
lea rcx, [rbx + 0xa0]
mov rdx, qword [rsp + 0x50]
call fcn.140008078
nop
mov rcx, qword [rsp + 0x50]
call fcn.14004bb7c
test esi, esi
js 0x140017deb
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x48]
call fcn.140014538
test eax, eax
js 0x140017c5a
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x58]
mov edx, dword [rsp + 0x5c]
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 0x140017c5a
mov edx, dword [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.140010224
lea rcx, [rbx + 0xe0]
mov rdx, rax
call fcn.14000ae68
lea rcx, [rbp - 0x78]
call fcn.140007e78
mov r14d, 0x80
mov r8d, r14d
xor edx, edx
lea rcx, [rbp - 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x48], r14d
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x40], r14d
lea r9, [rbp + 0x30]
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_RtlConvertDeviceFamilyInfoToString]
nop dword [rax + rax]
test eax, eax
jne 0x140017cb8
lea rcx, [rbx + 0x120]
lea rdx, [rbp - 0x50]
call fcn.140008078
lea rdx, [rbx + 0x140]
call fcn.14001774c
mov r8, r13
xor edx, edx
lea rcx, [rbp + 0xb0]
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 + 0xb0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 2
lea r8, str.MachineId
lea rdx, str.SOFTWAREMicrosoftSQMClient
mov r14, 0xffffffff80000002
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140017d71
lea rax, [rbp + 0xb0]
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x140017d2a
cmp rdi, 2
jbe 0x140017d71
cmp word [rbp + 0xb0], 0x7b
jne 0x140017d71
lea rdi, [rdi*2 - 2]
cmp rdi, r13
jae 0x140017e41
mov word [rbp + rdi + 0xb0], r15w
lea rcx, [rbx + 0x160]
lea rdx, [rbp + 0xb2]
call fcn.140008078
lea r9, [rsp + 0x40]
lea r8, str.RacSampleNumber
lea rdx, str.SOFTWAREMicrosoftReliability_AnalysisRAC
mov rcx, r14
call fcn.140011d04
test eax, eax
js 0x140017db5
mov edx, dword [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.140010224
lea rcx, [rbx + 0x100]
mov rdx, rax
call fcn.14000ae68
lea rcx, [rbp - 0x78]
call fcn.140007e78
movdqa xmm0, xmmword [0x14005a0b0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r15w
lea rcx, [rbp - 0x78]
call fcn.140011304
lea rcx, [rbx + 0x180]
lea rdx, [rbp - 0x78]
call fcn.1400077dc
nop
lea rcx, [rbp - 0x78]
call fcn.140007e78
nop
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140009a7c
lea rcx, [rsp + 0x68]
call fcn.140007e78
mov eax, esi
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14004b4d0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.14004b638
nop
int3