Function at 0x140002b50
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x918]
sub rsp, 0x9f0
mov rax, qword [0x140020208]
xor rax, rsp
mov qword [rbp + 0x8e0], rax
xor edi, edi
mov qword [rsp + 0x58], r8
lea rcx, [rsp + 0x60]
mov r13d, edi
mov r12, rdx
call fcn.14000971c
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x30], rax
lea r9d, [rdi + 2]
lea rax, [rbp + 0x6d0]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea r8, str.BuildLabEx
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
or r14, 0xffffffffffffffff
test eax, eax
je 0x140002c01
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140002d01
mov eax, dword [rsp + 0x40]
add eax, 0x104
mov r15d, eax
lea rbx, [rax*2 + 2]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x140002c4a
mov ebx, 0x8007000e
jmp 0x140002d05
lea rax, [rbp + 0x6d0]
mov r8d, 0xa
lea r9, str._M._m._ls
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, rsi
call fcn.140008cc4
mov ebx, eax
test eax, eax
js 0x140002ce1
mov rax, qword [rbp + 0x5e8]
lea r9, str.windows
lea r8, [0x140019e80]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x5d8]
call fcn.140009054
mov ebx, eax
test eax, eax
js 0x140002ce1
mov rax, r14
inc rax
cmp word [rsi + rax*2], di
jne 0x140002ca3
test rax, rax
je 0x140002cdc
mov rax, qword [rbp + 0x5e8]
lea r8, str.osver
mov r9, rsi
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x5d8]
call fcn.140009054
test eax, eax
mov ebx, eax
cmovns ebx, edi
jmp 0x140002ce1
mov ebx, 0x80070057
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
test ebx, ebx
jns 0x140002d17
lea r9, str.OneSettingsQuery::AddParameterOsVer_failed___x_
mov r8d, 0x452
jmp 0x140003073
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x30], rax
lea r8, str.UseOnesettingsPpe
lea rax, [rsp + 0x44]
mov r9d, 0x20000018
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsTelemetryController
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x140002dab
mov rax, qword [rbp + 0x5e8]
lea r9, str.B3E1505A_20B7_4B1A_8E9D_E0EFC7DA961B
lea r8, str.deviceid
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x5d8]
call fcn.140009054
test eax, eax
jns 0x140002da7
mov dword [rsp + 0x20], eax
lea r9, str.OneSettingsQuery::AddParameterDeviceId_failed___x_
mov r8d, 0x45e
jmp 0x140003077
mov eax, dword [rsp + 0x44]
test eax, eax
lea rcx, str.settings_win_ppe.data.microsoft.com
lea rdx, str.settings_win.data.microsoft.com
cmovne rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.140008220
test eax, eax
jns 0x140002de3
mov dword [rsp + 0x20], eax
lea r9, str.OneSettingsQuery::Query_failed___x_
mov r8d, 0x466
jmp 0x140003077
mov esi, 0x40
mov rcx, r13
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov ecx, esi
mov eax, 2
mul rcx
lea rdx, [0x140019047]
cmovo rax, r14
mov rcx, rax
call fcn.140015ea4
mov r13, rax
test rax, rax
je 0x140003061
mov r9d, esi
lea rcx, [rsp + 0x60]
mov r8, rax
call fcn.140003214
mov ebx, 1
cmp eax, 0x8007007a
jne 0x140002e48
add esi, esi
cmp esi, 0x1000
jbe 0x140002de8
jmp 0x140002e73
cmp eax, ebx
jne 0x140002e6f
lea rax, [0x140019190]
mov r8d, 0x47f
mov qword [rsp + 0x20], rax
lea r9, str.Requested_setting___ls__does_not_exist
mov ecx, 3
jmp 0x14000307c
test eax, eax
jns 0x140002e8b
lea r9, str.OneSettingsQuery::GetSetting_failed___x_
mov r8d, 0x484
mov dword [rsp + 0x20], eax
mov ecx, ebx
jmp 0x14000307c
cmp dword [rsp + 0x44], edi
je 0x140002ea1
mov esi, 0xa
mov r15d, edi
mov r12d, 0x535c
jmp 0x140002ee6
mov r9, r12
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x40]
call fcn.14000d468
mov edx, 0xc0000000
mov ecx, eax
and eax, edx
cmp eax, edx
jne 0x140002ed8
mov dword [rsp + 0x20], ecx
lea r9, str.AslFileGetVersionForPath_failed___x_
mov r8d, 0x494
jmp 0x140002e84
mov esi, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x4c]
mov r12d, dword [rsp + 0x50]
mov dword [rsp + 0x38], r12d
lea rax, [0x140019190]
mov dword [rsp + 0x30], r15d
lea r9, str._ls_version_is__02d_01d_05d
mov dword [rsp + 0x28], esi
lea rdx, str.TelemetryController::IsValidFromOneSettings
mov r8d, 0x498
mov qword [rsp + 0x20], rax
mov ecx, 3
call fcn.14000c024
xor eax, eax
mov dword [rsp + 0x28], r12d
xorps xmm0, xmm0
mov dword [rbp + 0x6c0], eax
mov r9d, esi
mov dword [rsp + 0x20], r15d
lea r8, str._02d_01d_05d:
lea edx, [rax + 0xa]
lea rcx, [rbp + 0x6b0]
movups xmmword [rbp + 0x6b0], xmm0
call fcn.1400085fc
test eax, eax
jns 0x140002f69
lea r9, str.StringCchPrintfW_failed___x_
mov r8d, 0x49e
jmp 0x140002e80
lea rdx, [rbp + 0x6b0]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
jne 0x140002fb8
lea rax, [rbp + 0x6b0]
mov qword [rsp + 0x28], r13
lea r9, str._ls_not_found_in___ls_
mov qword [rsp + 0x20], rax
mov r8d, 0x4a7
lea rdx, str.TelemetryController::IsValidFromOneSettings
mov ecx, 3
call fcn.14000c024
jmp 0x140003088
lea rcx, [rbp + 0x6b0]
inc r14
cmp word [rcx + r14*2], di
jne 0x140002fbf
lea r14, [rax + r14*2]
movzx eax, word [r14]
mov rsi, r14
jmp 0x140002ff5
test ax, ax
je 0x140002ffe
movzx ecx, ax
call qword [sym.imp.msvcrt.dll_iswdigit]
nop dword [rax + rax]
test eax, eax
je 0x14000302d
add rsi, 2
movzx eax, word [rsi]
cmp ax, 0x3b
jne 0x140002fd6
mov word [rsi], di
mov rcx, r14
call qword [sym.imp.msvcrt.dll__wtoi64]
nop dword [rax + rax]
mov rcx, rax
movabs rdx, 0x1f7e33be0d39bff
dec rax
cmp rax, rdx
ja 0x140003047
cmp qword [rsp + 0x58], rcx
setb dil
jmp 0x140003088
mov dword [rsp + 0x20], 0x8000ffff
lea r9, str.Unexected_character___x_
mov r8d, 0x4bb
jmp 0x140002e84
mov dword [rsp + 0x20], 0x8000ffff
lea r9, str.Invalid_expiration_date___x_
mov r8d, 0x4c3
jmp 0x140002e84
mov ebx, 0x8007000e
lea r9, str.new_failed___x_
mov r8d, 0x471
mov dword [rsp + 0x20], ebx
mov ecx, 1
lea rdx, str.TelemetryController::IsValidFromOneSettings
call fcn.14000c024
mov rcx, r13
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
lea rcx, [rsp + 0x60]
call fcn.140009140
mov al, dil
mov rcx, qword [rbp + 0x8e0]
xor rcx, rsp
call fcn.140015530
lea r11, [rsp + 0x9f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret