Function at 0x1001d830
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x1003d01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x218], 1
push 0x1fe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
mov dword [ebp - 0x2c4], 0x100
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2c8]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001db7c
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.ProcessorNameString
push dword [ebp - 0x2c8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x2c8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1001dbba
mov eax, dword [ebp - 0x2c4]
inc eax
push eax
call fcn.10026cd0
mov ecx, dword [ebp - 0x2c4]
lea edx, [ebp - 0x210]
add esp, 4
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x214], esi
push ecx
push edx
inc ecx
push ecx
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCR120.dll_wcstombs_s]
add esp, 0x14
lea esi, [ebp - 0x228]
xor ecx, ecx
mov eax, 1
cpuid
mov dword [esi], eax
lea eax, [ebp - 0x2c0]
push 0x98
mov dword [esi + 4], ebx
push 0
mov dword [esi + 8], ecx
push eax
mov dword [esi + 0xc], edx
call sub.MSVCR120.dll_memset
add esp, 4
lea ecx, [ebp - 0x2c0]
call fcn.1001a6a0
push 0x10019160
push 0x1001d070
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov esi, dword [sym.imp.MSVCP120.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edi, eax
push 0
lea eax, [ebp - 0x2f8]
push 8
mov ecx, dword [edi]
push eax
mov ecx, dword [ecx + 4]
mov byte [ecx + edi + 0x40], 0x30
call esi
mov ecx, dword [edi]
add esp, 0xc
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, edi
push ecx
call eax
add esp, 0xc
lea eax, [ebp - 0x2e0]
push 0
push 8
push eax
call esi
add esp, 0xc
mov ecx, edi
mov ebx, eax
push dword [ebp - 0x21c]
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov esi, eax
test esi, esi
jne 0x1001d9f2
xor ecx, ecx
jmp 0x1001d9f9
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [ebx + 0xc]
mov eax, dword [ebx]
push dword [ebx + 8]
push ecx
call eax
add esp, 0xc
mov ecx, esi
push dword [ebp - 0x228]
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.1001a750
cmp dword [eax + 0x14], 0x10
jb 0x1001da2f
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR120.dll__strdup]
add esp, 4
mov ebx, eax
cmp dword [ebp - 0x2d4], 0x10
jb 0x1001da53
push dword [ebp - 0x2e8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, 0x10043878
mov dword [ebp - 0x2d4], 0xf
mov dword [ebp - 0x2d8], 0
dec ecx
mov byte [ebp - 0x2e8], 0
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x1001da74
mov eax, dword [str._XCPU:]
mov edx, dword [ebp - 0x2cc]
mov esi, edx
mov dword [ecx], eax
mov eax, dword [0x10032c34]
mov dword [ecx + 4], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1001da95
mov edi, 0x10043878
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001daa4
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10043878
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x1001dac0
mov ax, word [0x10032da8]
mov edx, ebx
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1001dad7
mov edi, 0x10043878
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001dae6
mov ecx, edx
shr ecx, 2
push dword [ebp - 0x2cc]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
call esi
add esp, 4
push ebx
call esi
mov eax, dword [ebp - 0x2c0]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2c4], eax
lea ecx, [ebp - 0x2bc]
call fcn.1001a770
mov ecx, dword [ebp - 0x2c0]
mov edx, dword [ecx + 4]
mov ecx, dword [sym.imp.MSVCP120.dll_const_std::basic_ostream_char__struct_std::char_traits_char__::vftable]
mov dword [ebp + edx - 0x2c0], ecx
mov ecx, dword [ebp - 0x2c0]
mov edx, dword [ecx + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0x2c4], ecx
lea ecx, [ebp - 0x270]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x1001dbba
mov eax, 0x10043878
dec eax
mov cl, byte [eax + 1]
lea eax, [eax + 1]
test cl, cl
jne 0x1001db82
mov ecx, dword [str._XCPU:_Unknown]
mov dword [eax], ecx
mov ecx, dword [0x10032db0]
mov dword [eax + 4], ecx
mov ecx, dword [0x10032db4]
mov dword [eax + 8], ecx
mov cx, word [0x10032db8]
mov word [eax + 0xc], cx
mov cl, byte [0x10032dba]
mov byte [eax + 0xe], cl
mov eax, 0x10043878
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002711f
mov esp, ebp
pop ebp
ret