Function at 0x4582e0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov esi, ecx
mov eax, dword [0x526014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea edi, [ebp - 0x44]
mov dword [edi + 0x2d], eax
mov dword [edi + 0x29], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [edi + 0x1c], xmm0
movdqu xmmword [edi + 0xc], xmm0
xor eax, eax
xor ecx, ecx
cpuid
mov dword [edi], ebx
mov dword [edi + 4], edx
mov dword [ebp - 0x4c], 0
mov dword [edi + 8], ecx
mov byte [edi + 0xc], 0
lea ecx, [esi + 0x2c]
mov dword [ebp - 0x50], ecx
push edi
mov edi, eax
call fcn.0046d540
test edi, edi
jle 0x458480
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x48], eax
cmp edi, 7
jb 0x458362
xor ecx, ecx
mov eax, 7
cpuid
and ebx, 0x20
mov dword [ebp - 0x4c], ebx
mov edi, dword [ebp - 0x48]
mov dword [esi], edi
mov eax, edi
and eax, 0xf
mov dword [esi + 0x10], eax
mov eax, edi
shr eax, 0xc
and eax, 3
mov dword [esi + 4], eax
mov ebx, edi
shr ebx, 8
and ebx, 0xf
shr edi, 4
and edi, 0xf
cmp ebx, 6
jne 0x458512
movzx eax, byte [esi + 0x37]
test al, al
jns 0x45839c
mov eax, dword [esi + 0x30]
mov ebx, 6
cmp eax, 0xc
jne 0x458537
mov ecx, dword [ebp - 0x50]
push 0xc
push 0x519680
push 0xffffffffffffffff
push 0
call fcn.0046e020
test eax, eax
jne 0x458537
mov ecx, dword [ebp - 0x48]
shr ecx, 0x10
and ecx, 0xf
mov eax, ecx
shl eax, 4
or edi, eax
xor edx, edx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edx
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0x54]
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0x1c], al
mov eax, ecx
shr eax, 0x19
and al, 1
mov byte [esi + 0x1d], al
shr ecx, 0x1a
and cl, 1
mov byte [esi + 0x1e], cl
mov ebx, dword [ebp - 0x58]
mov eax, ebx
and al, 1
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
mov byte [esi + 0x29], al
mov eax, ebx
not eax
test eax, 0x1c000000
jne 0x45853e
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [esi + 0x24], al
mov ecx, ebx
shr ecx, 0x19
and cl, 1
mov byte [esi + 0x27], cl
shr ebx, 0xc
and bl, 1
mov byte [esi + 0x25], bl
test al, al
setne al
cmp dword [ebp - 0x4c], 0
setne cl
and cl, al
mov byte [esi + 0x26], cl
xor ecx, ecx
mov eax, 0x80000000
cpuid
cmp eax, 0x80000004
jl 0x4584f8
mov edi, eax
xor ecx, ecx
mov eax, 0x80000002
cpuid
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov eax, 0x80000003
cpuid
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
xor ecx, ecx
mov eax, 0x80000004
cpuid
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x14], 0
lea ecx, [esi + 0x38]
lea eax, [ebp - 0x44]
push eax
call fcn.0046d540
cmp edi, 0x80000007
jl 0x4584f8
xor ecx, ecx
mov eax, 0x80000007
cpuid
and dh, 1
mov byte [esi + 0x28], dh
cmp byte [esi + 0x28], 0
je 0x458545
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004948c8
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp ebx, 0xf
jne 0x458537
mov ecx, dword [ebp - 0x48]
mov eax, ecx
shr eax, 0x10
and eax, 0xf
shr ecx, 0x14
movzx edx, cl
mov ecx, eax
shl eax, 4
or edi, eax
lea ebx, [edx + 0xf]
jmp 0x4583d7
xor ecx, ecx
jmp 0x4583d5
xor eax, eax
jmp 0x458458
cmp byte [esi + 0x29], 0
je 0x4584fe
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x458572
cmp ecx, 0x666f736f
jne 0x458572
cmp edx, 0x76482074
jne 0x458572
mov byte [esi + 0x28], 1
jmp 0x4584fe
cmp ebx, 0x4b4d564b
jne 0x4584fe
cmp ecx, 0x564b4d56
jne 0x4584fe
cmp edx, 0x4d
je 0x45856c
jmp 0x4584fe