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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a4eb
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x1003e01c]
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 0x1001dc8c
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 0x1001dcca
mov eax, dword [ebp - 0x2c4]
inc eax
push eax
call fcn.10027250
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.1001a7b0
push 0x10019250
push 0x1001d180
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 0x1001db02
xor ecx, ecx
jmp 0x1001db09
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.1001a860
cmp dword [eax + 0x14], 0x10
jb 0x1001db3f
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 0x1001db63
push dword [ebp - 0x2e8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, 0x10044868
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 0x1001db84
mov eax, dword [str._XCPU:]
mov edx, dword [ebp - 0x2cc]
mov esi, edx
mov dword [ecx], eax
mov eax, dword [0x10033cb4]
mov dword [ecx + 4], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1001dba5
mov edi, 0x10044868
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001dbb4
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, 0x10044868
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x1001dbd0
mov ax, word [0x10033e28]
mov edx, ebx
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1001dbe7
mov edi, 0x10044868
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001dbf6
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.1001a880
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 0x1001dcca
mov eax, 0x10044868
dec eax
mov cl, byte [eax + 1]
lea eax, [eax + 1]
test cl, cl
jne 0x1001dc92
mov ecx, dword [str._XCPU:_Unknown]
mov dword [eax], ecx
mov ecx, dword [0x10033e30]
mov dword [eax + 4], ecx
mov ecx, dword [0x10033e34]
mov dword [eax + 8], ecx
mov cx, word [0x10033e38]
mov word [eax + 0xc], cx
mov cl, byte [0x10033e3a]
mov byte [eax + 0xe], cl
mov eax, 0x10044868
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.1002769f
mov esp, ebp
pop ebp
ret