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

Disassembly:
push 0xffffffffffffffff
push 0x4bb232
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
mov eax, dword [0x51eea4]
xor eax, dword [esp + 0x2c4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x2c4], eax
lea eax, [esp + 0x14]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
mov dword [esp + 0x2c], ebx
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406527
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc8]
push edx
push ebx
push ebx
push str.VendorIdentifier
mov edi, 0x100
push eax
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c8]
push edx
push ebx
push ebx
push str.Identifier
push eax
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
push str.Mhz
push eax
mov dword [esp + 0x28], edi
call esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0xac]
push eax
call fcn.00405900
add esp, 8
mov esi, eax
mov ebp, 0xf
lea eax, [esp + 0xc4]
mov dword [esp + 0x2d0], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406560
sub eax, edx
push eax
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x4f18c8
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x2dc], 1
call fcn.00402f70
lea ecx, [esp + 0x1d0]
push ecx
push eax
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0x2e8], 2
call fcn.00402f70
push 0x4f18c4
push eax
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x2f4], 3
call fcn.00402f70
push esi
push eax
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0x300], 4
call fcn.00403020
mov edi, dword [esp + 0x308]
push str._Mhz
push eax
push edi
mov byte [esp + 0x30c], 5
call fcn.00402f70
mov eax, dword [esp + 0xe0]
mov esi, 0x10
add esp, 0x3c
cmp eax, esi
jb 0x406622
mov edx, dword [esp + 0x90]
push edx
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x50], esi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
jb 0x40664a
mov eax, dword [esp + 0x3c]
push eax
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x88], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x40666c
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
jb 0x406691
mov edx, dword [esp + 0x58]
push edx
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x34], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jb 0x4066b0
mov eax, dword [esp + 0x20]
push eax
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x4066d5
mov ecx, dword [esp + 0xac]
push ecx
call fcn.004ade5d
add esp, 4
mov ecx, dword [esp + 0x2c8]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2c0]
xor ecx, dword [esp + 0x2d0]
pop esi
pop ebp
pop ebx
call fcn.004ae650
add esp, 0x2c4
ret 4