Function at 0x405880
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [0x43600c]
mov edi, ecx
xor ecx, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
cpuid
mov esi, eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x5c], edi
add edi, 0x2c
mov dword [eax], ebx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov byte [eax + 0xc], 0
mov ecx, edi
push eax
call fcn.00405a90
test esi, esi
jg 0x405982
mov esi, dword [ebp - 0x5c]
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000004
jl 0x40593d
mov edi, eax
mov eax, 0x80000002
xor ecx, ecx
cpuid
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov eax, 0x80000003
xor ecx, ecx
cpuid
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov eax, 0x80000004
xor ecx, ecx
cpuid
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x14], 0
lea ecx, [esi + 0x44]
push eax
call fcn.00405a90
cmp edi, 0x80000007
jl 0x40593d
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x27], dh
cmp byte [esi + 0x27], 0
je 0x405955
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ee00
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esi + 0x28], 0
je 0x405943
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp edx, 0x76482074
jne 0x405943
cmp ebx, 0x7263694d
jne 0x405943
cmp ecx, 0x666f736f
jne 0x405943
mov byte [esi + 0x27], 1
jmp 0x405943
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x58], 0
inc eax
cpuid
cmp esi, 7
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
jl 0x4059ad
mov eax, 7
xor ecx, ecx
cpuid
and ebx, 0x20
mov dword [ebp - 0x58], ebx
mov esi, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x5c]
mov edx, edi
mov ecx, esi
mov eax, esi
mov dword [ebx], esi
shr ecx, 0xc
and eax, 0xf
and ecx, 3
mov dword [ebx + 0x10], eax
mov dword [ebx + 4], ecx
lea ecx, [ebp - 0x54]
push esi
call fcn.004057b0
add esp, 4
lea ecx, [ebp - 0x54]
mov esi, ebx
mov edx, 0x1c000000
mov eax, dword [ecx + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 0x18], eax
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x64]
mov dword [ebx + 0x14], eax
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [ebx + 0x1c], al
mov eax, ecx
shr ecx, 0x1a
shr eax, 0x19
and cl, 1
and al, 1
mov byte [ebx + 0x1d], al
mov byte [ebx + 0x1e], cl
mov ebx, dword [ebp - 0x68]
mov eax, ebx
mov ecx, ebx
and al, 1
and ecx, edx
mov byte [esi + 0x1f], al
mov eax, ebx
shr eax, 9
and al, 1
mov byte [esi + 0x20], al
mov eax, ebx
shr eax, 0x13
and al, 1
mov byte [esi + 0x21], al
mov eax, ebx
shr eax, 0x14
and al, 1
mov byte [esi + 0x22], al
mov eax, ebx
shr eax, 0x17
and al, 1
mov byte [esi + 0x23], al
mov eax, ebx
shr eax, 0x1f
cmp ecx, edx
mov byte [esi + 0x28], al
jne 0x405a67
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x405a69
xor eax, eax
mov ecx, dword [ebp - 0x58]
shr ebx, 0x19
mov byte [esi + 0x24], al
and bl, 1
test al, al
setne al
mov byte [esi + 0x26], bl
test ecx, ecx
setne cl
and cl, al
mov byte [esi + 0x25], cl
jmp 0x4058c2