Function at 0x1006b8d4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x23c
mov eax, 0x100fc478
call fcn.100eefb3
mov edi, ecx
mov dword [ebp - 0x244], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x248], edi
call fcn.1006b8b6
push 0xf
pop ebx
push 0x10
xor ecx, ecx
mov dword [edi], vtable.Microsoft::Applications::Telemetry::PlatformAbstraction::DeviceInformationImpl.0
lea eax, [edi + 0xc]
mov dword [edi + 4], vtable.Microsoft::Applications::Telemetry::PlatformAbstraction::DeviceInformationImpl.1.0
pop edx
mov dword [ebp - 4], ecx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], ecx
cmp ebx, edx
jb 0x1006b920
mov eax, dword [eax]
mov byte [eax], cl
lea eax, [edi + 0x24]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], ecx
cmp ebx, edx
jb 0x1006b931
mov eax, dword [eax]
mov byte [eax], cl
lea ebx, [edi + 0x3c]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], edx
jb 0x1006b949
mov eax, dword [ebx]
jmp 0x1006b94b
mov eax, ebx
mov byte [eax], cl
lea eax, [edi + 0x54]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], edx
jb 0x1006b961
mov eax, dword [eax]
mov byte [eax], cl
lea eax, [edi + 0x6c]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], edx
jb 0x1006b977
mov eax, dword [eax]
mov byte [eax], cl
push esi
lea ecx, [edi + 0x9c]
mov byte [ebp - 4], 5
call fcn.1006dd92
mov byte [ebp - 4], 6
call fcn.1006dea7
mov dword [edi + 0x84], eax
call fcn.1006be9f
mov esi, eax
push esi
call fcn.10021119
pop ecx
push eax
push esi
lea ecx, [edi + 0xc]
call fcn.100203e7
mov esi, 0x200
lea eax, [ebp - 0x210]
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0x244], esi
mov esi, dword [str.Unknown_Manufacturer]
push esi
call fcn.10021119
add esp, 0x10
push eax
push esi
lea esi, [edi + 0x24]
mov ecx, esi
call fcn.100203e7
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 2
push str.SystemManufacturer
push str.SYSTEMCurrentControlSetControlSystemInformation
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1006ba98
and dword [ebp - 0x218], eax
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
cmp word [ebp - 0x210], ax
je 0x1006ba42
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.10025a31
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1006bf72
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.100057e5
push 0
push 1
lea ecx, [ebp - 0x240]
call fcn.100202d3
push 0
push 1
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 6
call fcn.100257f5
push 0x5c
push str.C:_build_aria_cpp_v1clienttelemetry.NETPALwin32WindowsDesktopDeviceInformationImpl.cpp
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x1006babd
push 0x5c
push str.C:_build_aria_cpp_v1clienttelemetry.NETPALwin32WindowsDesktopDeviceInformationImpl.cpp
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
pop ecx
pop ecx
inc eax
jmp 0x1006bac2
mov eax, str.C:_build_aria_cpp_v1clienttelemetry.NETPALwin32WindowsDesktopDeviceInformationImpl.cpp
cmp dword [esi + 0x14], 0x10
jb 0x1006baca
mov esi, dword [esi]
push esi
push str.DeviceInformationImpl
push dword [0x10148178]
push 0x78
push eax
push str._24s:_5d____10s____32s_Device_Manufacturer_s
push 8
push 2
call fcn.10023da0
mov esi, dword [str.Unknown_Model]
push esi
mov dword [ebp - 0x244], 0x200
call fcn.10021119
add esp, 0x24
mov ecx, ebx
push eax
push esi
call fcn.100203e7
lea eax, [ebp - 0x244]
xor esi, esi
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push 2
push str.SystemProductName
push str.SYSTEMCurrentControlSetControlSystemInformation
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1006bbbb
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], esi
mov word [ebp - 0x228], ax
cmp word [ebp - 0x210], ax
je 0x1006bb67
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.10025a31
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1006bf72
pop ecx
pop ecx
push eax
mov ecx, ebx
call fcn.100057e5
push esi
push 1
lea ecx, [ebp - 0x240]
call fcn.100202d3
push esi
push 1
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 6
call fcn.100257f5
push 0x5c
mov esi, str.C:_build_aria_cpp_v1clienttelemetry.NETPALwin32WindowsDesktopDeviceInformationImpl.cpp
push esi
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x1006bbdd
push 0x5c
push esi
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
pop ecx
pop ecx
lea esi, [eax + 1]
cmp dword [ebx + 0x14], 0x10
jb 0x1006bbe5
mov ebx, dword [ebx]
push ebx
push str.DeviceInformationImpl
push dword [0x10148178]
push 0x81
push esi
push str._24s:_5d____10s____32s_Device_Model_s
push 8
push 2
call fcn.10023da0
add esp, 0x20
call fcn.1006bd34
mov dword [edi + 0x98], eax
mov eax, edi
call fcn.100eef5d
ret 4