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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431b15
mov eax, dword fs:[0]
push eax
sub esp, 0x8e0
mov eax, dword [0x442018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x8e8]
push eax
mov dword [ebp - 0x834], 1
mov dword [ebp - 0x838], 0x400
call fcn.00418c70
mov dword [ebp - 4], 0
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t____]
push str.System_information
push ecx
lea ecx, [ebp - 0x8d8]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push eax
call fcn.00419820
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 8
lea edx, [ebp - 0x830]
push edx
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4174a5
lea eax, [ebp - 0x838]
push eax
mov eax, dword [ebp - 0x830]
lea ecx, [ebp - 0x810]
push ecx
lea edx, [ebp - 0x834]
push edx
push 0
push str.ProcessorNameString
push eax
call edi
test eax, eax
jne 0x417498
cmp word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
jne 0x41746c
mov eax, str.Unknown
push eax
push ecx
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t____]
push str.____H_W_________:
push ecx
lea ecx, [ebp - 0x8d8]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push eax
call fcn.00419820
add esp, 0xc
push eax
call fcn.00419820
add esp, 8
mov edx, dword [ebp - 0x830]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x830]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call esi
test eax, eax
jne 0x417677
lea ecx, [ebp - 0x838]
push ecx
mov ecx, dword [ebp - 0x830]
lea edx, [ebp - 0x810]
push edx
lea eax, [ebp - 0x834]
push eax
push 0
push 0x436d6c
push ecx
call edi
test eax, eax
jne 0x417530
cmp word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
jne 0x417504
mov eax, str.Unknown
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t____]
push eax
push ecx
push str.____ProductName_:
push edx
lea ecx, [ebp - 0x8d8]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push eax
call fcn.00419820
add esp, 0xc
push eax
call fcn.00419820
add esp, 8
lea eax, [ebp - 0x838]
push eax
mov eax, dword [ebp - 0x830]
lea ecx, [ebp - 0x810]
push ecx
lea edx, [ebp - 0x834]
push edx
push 0
push str.EditionID
push eax
call edi
test eax, eax
jne 0x417599
cmp word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
jne 0x41756d
mov eax, str.Unknown
push eax
push ecx
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t____]
push str.____EditionID___:
push ecx
lea ecx, [ebp - 0x8d8]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push eax
call fcn.00419820
add esp, 0xc
push eax
call fcn.00419820
add esp, 8
lea edx, [ebp - 0x838]
push edx
mov edx, dword [ebp - 0x830]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x834]
push ecx
push 0
push str.ReleaseId
push edx
call edi
test eax, eax
jne 0x417601
cmp word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
jne 0x4175d6
mov eax, str.Unknown
push eax
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t____]
push ecx
push str.____ReleaseId___:
push eax
lea ecx, [ebp - 0x8d8]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push eax
call fcn.00419820
add esp, 0xc
push eax
call fcn.00419820
add esp, 8
lea ecx, [ebp - 0x838]
push ecx
mov ecx, dword [ebp - 0x830]
lea edx, [ebp - 0x810]
push edx
lea eax, [ebp - 0x834]
push eax
push 0
push str.CSDVersion
push ecx
call edi
test eax, eax
jne 0x41766a
cmp word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
jne 0x41763e
mov eax, str.Unknown
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t____]
push eax
push ecx
push str.____CSDVersion__:
push edx
lea ecx, [ebp - 0x8d8]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push eax
call fcn.00419820
add esp, 0xc
push eax
call fcn.00419820
add esp, 8
mov eax, dword [ebp - 0x830]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x82c]
lea eax, [ebp - 0x8e8]
call fcn.00418d10
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], esi
jb 0x417698
mov eax, dword [eax]
push eax
push str.DbgLog.cpp
push 0x445978
mov ecx, 0x4442d0
call dword [sym.imp.MSVCR100.dll_public:_char_const____thiscall_type_info::_name_internal_method_struct___type_info_node__const]
push eax
mov edx, 0x16c
mov ecx, 5
mov eax, 0x445e70
call fcn.00418000
add esp, 0xc
cmp dword [ebp - 0x818], esi
jb 0x4176de
mov ecx, dword [ebp - 0x82c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x8e8]
xor edx, edx
mov word [ebp - 0x82c], dx
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x888]
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x83c], eax
mov dword [ebp + edx - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
lea ecx, [ebp - 0x8d0]
mov dword [ebp - 4], 2
call fcn.00418d30
lea ecx, [ebp - 0x8d0]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x888]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ef46
mov esp, ebp
pop ebp
ret