hice este , super sencillo:
.386
.model flat,stdcall
include windows.inc
include advapi32.inc
include kernel32.inc
includelib advapi32.lib
includelib kernel32.lib
.data
BytBuff DB 50 dup(0),0
lenBuff DD ($-BytBuff)
namKey DB "HARDWARE\DESCRIPTION\System\CentralProcessor\0",0
subKey DB "ProcessorNameString",0
hwKey DD 0h
sType DD 0h
.code
main:
invoke RegOpenKeyEx,HKEY_CURRENT_USER,addr namKey,NULL,KEY_ALL_ACCESS,addr hwKey
cmp hwKey,0
jz error
mov sType,REG_SZ
invoke RegQueryValueEx,hwKey,addr subKey,NULL,addr sType,addr BytBuff,addr lenBuff
mov edx,eax
invoke RegCloseKey,hwKey
error:
invoke ExitProcess,0
end main
simplemente obtiene apartir del registro el nombre registrado del procesador de PC