Function at 0x4e69d0
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 [0x6401e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
xor ecx, ecx
cpuid
mov edi, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x38], 0
lea ebx, [esi + 0x2c]
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.00478abe
test edi, edi
jle 0x4e6b8e
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x58], 0
mov eax, 1
xor ecx, ecx
cpuid
mov dword [ebp - 0x48], eax
cmp edi, 7
jl 0x4e6a44
mov eax, 7
mov dword [ebp - 0x50], ecx
xor ecx, ecx
mov edi, edx
cpuid
mov edx, edi
mov ecx, dword [ebp - 0x50]
and ebx, 0x20
mov dword [ebp - 0x58], 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, 0xf
je 0x4e6ab9
cmp ebx, 6
jne 0x4e6acc
movzx eax, byte [esi + 0x37]
test al, al
jns 0x4e6a7f
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x54], 0
cmp eax, 0xc
jne 0x4e6aae
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x4c]
push 0xc
push str.GenuineIntel
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x4c], edx
call fcn.00478dda
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
test eax, eax
je 0x4e6ab9
xor eax, eax
mov dword [ebp - 0x48], 6
jmp 0x4e6ae9
mov eax, dword [ebp - 0x48]
shr eax, 0x10
and eax, 0xf
mov dword [ebp - 0x54], eax
shl eax, 4
or edi, eax
jmp 0x4e6ad3
mov dword [ebp - 0x54], 0
xor eax, eax
cmp ebx, 0xf
jne 0x4e6ae6
mov eax, dword [ebp - 0x48]
shr eax, 0x14
movzx eax, al
lea ebx, [eax + 0xf]
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x54]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0xc], edi
mov eax, dword [ebp - 0x48]
mov dword [esi + 8], eax
mov eax, edx
shr eax, 0x17
and al, 1
mov byte [esi + 0x1c], al
mov eax, edx
shr eax, 0x19
and al, 1
mov byte [esi + 0x1d], al
shr edx, 0x1a
and dl, 1
mov byte [esi + 0x1e], dl
mov eax, ecx
and al, 1
mov byte [esi + 0x1f], al
mov eax, ecx
shr eax, 9
and al, 1
mov byte [esi + 0x20], al
mov eax, ecx
shr eax, 0x13
and al, 1
mov byte [esi + 0x21], al
mov eax, ecx
shr eax, 0x14
and al, 1
mov byte [esi + 0x22], al
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0x23], al
mov eax, ecx
shr eax, 0x1f
mov byte [esi + 0x28], al
mov eax, ecx
and eax, 0x1c000000
cmp eax, 0x1c000000
jne 0x4e6b6f
mov edi, ecx
xor ecx, ecx
xgetbv
mov ecx, edi
not eax
test al, 6
sete al
jmp 0x4e6b71
xor eax, eax
mov byte [esi + 0x24], al
shr ecx, 0x19
and cl, 1
mov byte [esi + 0x26], cl
test al, al
setne al
cmp dword [ebp - 0x58], 0
setne cl
and cl, al
mov byte [esi + 0x25], cl
mov eax, SysReAllocString
xor ecx, ecx
cpuid
cmp eax, reloc.OLEAUT32.dll_SysReAllocStringLen
jl 0x4e6c06
mov edi, eax
mov eax, reloc.OLEAUT32.dll_SysReAllocString
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, SysStringLen
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, reloc.OLEAUT32.dll_SysReAllocStringLen
xor ecx, ecx
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.00478abe
cmp edi, 0x80000007
jl 0x4e6c06
mov eax, VariantCopy
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x27], dh
cmp byte [esi + 0x27], 0
je 0x4e6c1e
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00596351
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esi + 0x28], 0
je 0x4e6c0c
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp edx, 0x76482074
jne 0x4e6c0c
cmp ebx, 0x7263694d
jne 0x4e6c0c
cmp ecx, 0x666f736f
jne 0x4e6c0c
mov byte [esi + 0x27], 1
jmp 0x4e6c0c