Function at 0x579550
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov esi, ecx
mov eax, dword [0x7aa024]
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 - 0x54], 0
mov dword [edi + 8], ecx
mov byte [edi + 0xc], 0
lea ecx, [esi + 0x2c]
mov dword [ebp - 0x58], ecx
push edi
mov edi, eax
call fcn.005dec40
test edi, edi
jle 0x5796f8
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], eax
cmp edi, 7
jb 0x5795d2
mov eax, 7
xor ecx, ecx
cpuid
and ebx, 0x20
mov dword [ebp - 0x54], ebx
mov edi, dword [ebp - 0x4c]
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
mov dword [ebp - 0x50], 0
cmp ebx, 6
jne 0x579790
movzx eax, byte [esi + 0x37]
test al, al
jns 0x579613
mov eax, dword [esi + 0x30]
mov ebx, 6
cmp eax, 0xc
jne 0x5797b8
mov ecx, dword [ebp - 0x58]
push 0xc
push str.GenuineIntel
push 0xffffffffffffffff
push 0
call fcn.005df300
test eax, eax
jne 0x5797b8
mov edx, dword [ebp - 0x4c]
shr edx, 0x10
and edx, 0xf
mov eax, edx
shl eax, 4
or edi, eax
mov ecx, dword [ebp - 0x48]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edx
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 - 0x5c]
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 0x5797bf
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 - 0x54], 0
setne cl
and cl, al
mov byte [esi + 0x26], cl
mov eax, SysReAllocString
xor ecx, ecx
cpuid
cmp eax, reloc.WS2_32.dll_connect
jb 0x579776
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.WS2_32.dll_connect
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.005dec40
cmp edi, reloc.WS2_32.dll_getsockopt
jb 0x579776
mov eax, reloc.WS2_32.dll_getsockopt
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x28], dh
cmp byte [esi + 0x28], 0
je 0x5797c6
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064d372
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp ebx, 0xf
jne 0x5797b8
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
shr eax, 0x10
and eax, 0xf
shr ecx, 0x14
movzx ecx, cl
mov edx, eax
shl eax, 4
or edi, eax
mov dword [ebp - 0x50], ecx
lea ebx, [ecx + 0xf]
jmp 0x57964c
xor edx, edx
jmp 0x57964c
xor eax, eax
jmp 0x5796d0
cmp byte [esi + 0x29], 0
je 0x57977c
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x57977c
cmp ecx, 0x666f736f
jne 0x57977c
cmp edx, 0x76482074
jne 0x57977c
mov byte [esi + 0x28], 1
jmp 0x57977c