Function at 0x1c59d20
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov esi, ecx
mov eax, dword [0x1d02014]
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 - 0x58], 0
mov dword [edi + 8], ecx
mov byte [edi + 0xc], 0
lea ecx, [esi + 0x2c]
mov dword [ebp - 0x54], ecx
push edi
mov edi, eax
call fcn.01c47520
test edi, edi
jle 0x1c59eed
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], eax
cmp edi, 7
jb 0x1c59f85
mov eax, 7
xor ecx, ecx
cpuid
and ebx, 0x20
mov dword [ebp - 0x58], ebx
shr cl, 3
and cl, 1
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
mov dword [ebp - 0x5c], ecx
jne 0x1c59f8c
movzx eax, byte [esi + 0x37]
test al, al
jns 0x1c59df2
mov edx, dword [esi + 0x30]
jmp 0x1c59df7
mov edx, eax
and edx, 0x7f
mov ebx, 6
cmp edx, 0xc
jne 0x1c59fb4
test al, al
jns 0x1c59e10
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
jmp 0x1c59e13
mov eax, dword [ebp - 0x54]
push 0xc
push str.GenuineIntel
push eax
call fcn.01c90dad
add esp, 0xc
test eax, eax
jne 0x1c59fb4
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 - 0x60]
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 + 0x2a], al
mov eax, ebx
not eax
test eax, 0x1c000000
jne 0x1c59fbb
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 - 0x58], 0
setne cl
and cl, al
mov byte [esi + 0x26], cl
mov eax, dword [ebp - 0x5c]
mov byte [esi + 0x28], al
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000004
jb 0x1c59f6b
mov edi, eax
mov eax, 0x80000002
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, 0x80000003
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, 0x80000004
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.01c47520
cmp edi, 0x80000007
jb 0x1c59f6b
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x29], dh
cmp byte [esi + 0x29], 0
je 0x1c59fc2
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8f4d3
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret 4
xor ecx, ecx
jmp 0x1c59dac
cmp ebx, 0xf
jne 0x1c59fb4
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 0x1c59e3b
xor edx, edx
jmp 0x1c59e3b
xor eax, eax
jmp 0x1c59ebf
cmp byte [esi + 0x2a], 0
je 0x1c59f71
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x1c59f71
cmp ecx, 0x666f736f
jne 0x1c59f71
cmp edx, 0x76482074
jne 0x1c59f71
mov byte [esi + 0x29], 1
jmp 0x1c59f71