Function at 0x4cee60
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 [0x7a8498]
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 ecx, ecx
xor eax, eax
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 + 0x30]
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.00454d7c
test edi, edi
jle 0x4cf037
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], 0
xor ecx, ecx
mov eax, 1
cpuid
mov dword [ebp - 0x58], ecx
cmp edi, 7
jb 0x4ceef0
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov eax, 7
mov edi, edx
cpuid
mov eax, dword [ebp - 0x48]
mov edx, edi
and ebx, 0x20
mov dword [ebp - 0x4c], ebx
mov dword [esi], eax
mov ecx, eax
and ecx, 0xf
mov dword [esi + 0x10], ecx
mov ecx, eax
shr ecx, 0xc
and ecx, 3
mov dword [esi + 4], ecx
mov ebx, eax
shr ebx, 8
and ebx, 0xf
mov edi, eax
shr edi, 4
and edi, 0xf
cmp ebx, 0xf
je 0x4cef59
cmp ebx, 6
jne 0x4cef55
movzx ecx, byte [esi + 0x3b]
test cl, cl
jns 0x4cef2a
mov ecx, dword [esi + 0x34]
mov ebx, 6
cmp ecx, 0xc
jne 0x4cef55
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x54]
push 0xc
push str.GenuineIntel
push 0xffffffffffffffff
push 0
call fcn.00455306
test eax, eax
je 0x4cef7b
xor ecx, ecx
jmp 0x4cef8b
xor ecx, ecx
jmp 0x4cef8e
mov ebx, eax
shr ebx, 0x10
and ebx, 0xf
shr eax, 0x14
movzx eax, al
mov dword [ebp - 0x48], eax
mov ecx, ebx
mov eax, ebx
shl eax, 4
or edi, eax
mov eax, dword [ebp - 0x48]
lea ebx, [eax + 0xf]
jmp 0x4cef90
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 + 0x21], al
mov eax, edx
shr eax, 0x19
and al, 1
mov byte [esi + 0x22], al
shr edx, 0x1a
and dl, 1
mov byte [esi + 0x23], dl
mov ebx, dword [ebp - 0x58]
mov eax, ebx
and al, 1
mov byte [esi + 0x24], al
mov eax, ebx
shr eax, 9
and al, 1
mov byte [esi + 0x25], al
mov eax, ebx
shr eax, 0x13
and al, 1
mov byte [esi + 0x26], al
mov eax, ebx
shr eax, 0x14
and al, 1
mov byte [esi + 0x27], al
mov eax, ebx
shr eax, 0x17
and al, 1
mov byte [esi + 0x28], al
mov eax, ebx
shr eax, 0x1f
mov byte [esi + 0x2e], al
mov eax, ebx
not eax
test eax, 0x1c000000
jne 0x4cf00c
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x4cf00e
xor eax, eax
mov edx, dword [ebp - 0x4c]
mov byte [esi + 0x29], al
mov ecx, ebx
shr ecx, 0x19
and cl, 1
mov byte [esi + 0x2c], cl
shr ebx, 0xc
and bl, 1
mov byte [esi + 0x2a], bl
test al, al
setne al
test edx, edx
setne cl
and cl, al
mov byte [esi + 0x2b], cl
xor ecx, ecx
mov eax, connect
cpuid
cmp eax, reloc.WS2_32.dll_connect
jl 0x4cf0af
mov edi, eax
xor ecx, ecx
mov eax, reloc.WS2_32.dll_bind
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, reloc.WS2_32.dll_closesocket
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, reloc.WS2_32.dll_connect
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 + 0x3c]
lea eax, [ebp - 0x44]
push eax
call fcn.00454d7c
cmp edi, reloc.WS2_32.dll_getsockopt
jl 0x4cf0af
xor ecx, ecx
mov eax, reloc.WS2_32.dll_getsockopt
cpuid
and dh, 1
mov byte [esi + 0x2d], dh
cmp byte [esi + 0x2d], 0
je 0x4cf0c9
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c9121
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp byte [esi + 0x2e], 0
je 0x4cf0b5
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x4cf0b5
cmp ecx, 0x666f736f
jne 0x4cf0b5
cmp edx, 0x76482074
jne 0x4cf0b5
mov byte [esi + 0x2d], 1
jmp 0x4cf0b5