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

Disassembly:
push 0xffffffffffffffff
push 0x469daf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
xor edi, edi
push 0x48e488
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.0045dd36
lea eax, [esp + 0x14]
mov ebx, 1
push eax
push 0x20019
push edi
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x64], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
je 0x40f7a5
mov esi, dword [esp + 0x58]
push str._NULL_
mov ecx, esi
call fcn.0045dd36
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 0
call fcn.0045dcc8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push edi
push str.MHz
push ecx
mov dword [esp + 0x24], 8
call esi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x1c]
push edi
push eax
push edi
push str.Identifier
push ecx
mov dword [esp + 0x24], edi
call esi
mov edx, dword [esp + 0xc]
push edx
call fcn.0045da09
mov edx, dword [esp + 0x18]
add esp, 4
mov ebx, eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ebx
push ecx
push edi
push str.Identifier
push edx
call esi
test eax, eax
je 0x40f819
mov byte [ebx], 0
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push ebp
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
push edi
push str.ProcessorNameString
push edx
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 0x10]
push eax
call fcn.0045da09
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, eax
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push ebp
push edx
push edi
push str.ProcessorNameString
push eax
call esi
test eax, eax
je 0x40f865
mov byte [ebp], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edi
push edx
push edi
push str.VendorIdentifier
push eax
mov dword [esp + 0x28], edi
call esi
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0045da09
mov ecx, dword [esp + 0x1c]
add esp, 4
lea edx, [esp + 0x10]
mov edi, eax
push edx
lea eax, [esp + 0x20]
push edi
push eax
push 0
push str.VendorIdentifier
push ecx
call esi
test eax, eax
je 0x40f8b0
mov byte [edi], 0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push 0xa
push edx
push eax
call fcn.0043d0a4
add esp, 0xc
lea ecx, [esp + 0x14]
push str._CPU_NAME:
call fcn.0045e0a4
push ebp
lea ecx, [esp + 0x18]
call fcn.0045e0a4
push 0x4879a4
lea ecx, [esp + 0x18]
call fcn.0045e0a4
push str._CPU_VENDOR:
lea ecx, [esp + 0x18]
call fcn.0045e0a4
push edi
lea ecx, [esp + 0x18]
call fcn.0045e0a4
push 0x4879a4
lea ecx, [esp + 0x18]
call fcn.0045e0a4
push str._CPU_IDENTIFIER:
lea ecx, [esp + 0x18]
call fcn.0045e0a4
push ebx
lea ecx, [esp + 0x18]
call fcn.0045e0a4
push 0x4879a4
lea ecx, [esp + 0x18]
call fcn.0045e0a4
push ebx
call fcn.0045da32
push ebp
call fcn.0045da32
push edi
call fcn.0045da32
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x5c]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0045da3d
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 1
mov byte [esp + 0x54], 0
call fcn.0045dcc8
mov ecx, dword [esp + 0x4c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret