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

Disassembly:
push 0xffffffffffffffff
push 0x46c20f
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 0x490728
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.00460131
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 0x410085
mov esi, dword [esp + 0x58]
push str._NULL_
mov ecx, esi
call fcn.00460131
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 0
call fcn.004600c3
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.0045fe04
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 0x4100f9
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.0045fe04
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 0x410145
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.0045fe04
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 0x410190
mov byte [edi], 0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push 0xa
push edx
push eax
call fcn.0043f484
add esp, 0xc
lea ecx, [esp + 0x14]
push str._CPU_NAME:
call fcn.0046049f
push ebp
lea ecx, [esp + 0x18]
call fcn.0046049f
push 0x489b54
lea ecx, [esp + 0x18]
call fcn.0046049f
push str._CPU_VENDOR:
lea ecx, [esp + 0x18]
call fcn.0046049f
push edi
lea ecx, [esp + 0x18]
call fcn.0046049f
push 0x489b54
lea ecx, [esp + 0x18]
call fcn.0046049f
push str._CPU_IDENTIFIER:
lea ecx, [esp + 0x18]
call fcn.0046049f
push ebx
lea ecx, [esp + 0x18]
call fcn.0046049f
push 0x489b54
lea ecx, [esp + 0x18]
call fcn.0046049f
push ebx
call fcn.0045fe2d
push ebp
call fcn.0045fe2d
push edi
call fcn.0045fe2d
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.0045fe38
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 1
mov byte [esp + 0x54], 0
call fcn.004600c3
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