Function at 0x520930
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 [0x674014]
xor eax, ebp
mov dword [ebp - 0x10], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x28], xmm0
movdqu xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x17], 0xffffffff
mov dword [ebp - 0x1b], 0xffffffff
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.004aa7e8
test edi, edi
jle 0x520b09
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], 0
mov eax, 1
xor ecx, ecx
cpuid
mov dword [ebp - 0x58], ecx
mov ecx, eax
cmp edi, 7
jb 0x5209c2
mov eax, 7
mov dword [ebp - 0x48], ecx
xor ecx, ecx
mov edi, edx
cpuid
mov ecx, dword [ebp - 0x48]
mov edx, edi
and ebx, 0x20
mov dword [ebp - 0x4c], ebx
mov dword [esi], ecx
mov eax, ecx
and eax, 0xf
mov dword [esi + 0x10], eax
mov eax, ecx
shr eax, 0xc
and eax, 3
mov dword [esi + 4], eax
mov ebx, ecx
shr ebx, 8
and ebx, 0xf
mov edi, ecx
shr edi, 4
and edi, 0xf
cmp ebx, 0xf
je 0x520a29
xor eax, eax
cmp ebx, 6
jne 0x520a45
movzx eax, byte [esi + 0x37]
test al, al
jns 0x5209fe
mov eax, dword [esi + 0x30]
mov ebx, 6
cmp eax, 0xc
jne 0x520a49
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x54]
push 0xc
push str.GenuineIntel
push 0xffffffffffffffff
push 0
call fcn.004aadde
test eax, eax
je 0x520a4d
xor ecx, ecx
jmp 0x520a5d
mov eax, ecx
shr eax, 0x10
and eax, 0xf
shr ecx, 0x14
movzx ebx, cl
mov ecx, eax
shl eax, 4
or edi, eax
mov eax, ebx
add ebx, 0xf
jmp 0x520a62
xor ecx, ecx
jmp 0x520a62
xor ecx, ecx
jmp 0x520a60
mov ecx, dword [ebp - 0x48]
shr ecx, 0x10
and ecx, 0xf
mov eax, ecx
shl eax, 4
or edi, eax
mov edx, dword [ebp - 0x50]
xor eax, eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ecx
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 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 0x520ade
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x520ae0
xor eax, eax
mov edx, dword [ebp - 0x4c]
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
test edx, edx
setne cl
and cl, al
mov byte [esi + 0x26], cl
mov eax, SysReAllocString
xor ecx, ecx
cpuid
cmp eax, reloc.OLEAUT32.dll_SysReAllocStringLen
jb 0x520b87
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, reloc.WS2_32.dll_closesocket
mov ecx, 0
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
mov ecx, 0
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.004aa7e8
cmp edi, 0x80000007
jb 0x520b87
mov eax, VariantCopy
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x28], dh
cmp byte [esi + 0x28], 0
je 0x520ba1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd6f3
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp byte [esi + 0x29], 0
je 0x520b8d
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x520b8d
cmp ecx, 0x666f736f
jne 0x520b8d
cmp edx, 0x76482074
jne 0x520b8d
mov byte [esi + 0x28], 1
jmp 0x520b8d