Function at 0x42ca40
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x450010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x60], eax
lea edi, [ebp - 0x44]
mov dword [edi], ebx
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov byte [edi + 0xc], 0
lea eax, [esi + 0x2c]
mov dword [ebp - 0x5c], eax
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ebx, eax
mov dword [ebp - 0x58], esi
mov eax, dword [esi + 0x40]
cmp eax, ebx
jae 0x42caa3
sub esp, 0xc
mov al, byte [ebp - 0x54]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], ebx
mov ecx, dword [ebp - 0x5c]
call fcn.00414df0
jmp 0x42cacb
mov ecx, edi
mov edi, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x42cab3
mov eax, dword [ebp - 0x58]
mov edi, dword [eax + 0x2c]
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x3c], ebx
push ebx
push ecx
push edi
call sub.ntdll.dll_memmove
add esp, 0xc
mov byte [edi + ebx], 0
lea edi, [ebp - 0x44]
mov eax, dword [ebp - 0x60]
test eax, eax
jg 0x42cbf1
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000004
jl 0x42cba5
mov dword [ebp - 0x5c], 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
mov esi, dword [ebp - 0x58]
lea ebx, [esi + 0x44]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, edi
mov edi, eax
mov eax, dword [esi + 0x58]
cmp eax, edi
jae 0x42cb6a
sub esp, 0xc
mov al, byte [ebp - 0x54]
mov byte [esp + 4], al
mov dword [esp + 8], ecx
mov dword [esp], edi
mov ecx, ebx
call fcn.00414df0
jmp 0x42cb8a
cmp eax, 0x10
jb 0x42cb75
mov eax, dword [ebp - 0x58]
mov ebx, dword [eax + 0x44]
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x54], edi
push edi
push ecx
push ebx
call sub.ntdll.dll_memmove
add esp, 0xc
mov byte [ebx + edi], 0
cmp dword [ebp - 0x5c], 0x80000007
jl 0x42cba5
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x27], dh
mov eax, dword [ebp - 0x58]
cmp byte [eax + 0x27], 0
jne 0x42cbdf
mov eax, dword [ebp - 0x58]
cmp byte [eax + 0x28], 0
je 0x42cbdf
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x42cbdf
cmp ecx, 0x666f736f
jne 0x42cbdf
cmp edx, 0x76482074
jne 0x42cbdf
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x27], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004230e0
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
xor eax, eax
inc eax
xor edi, edi
xor ecx, ecx
cpuid
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x6c], edx
cmp esi, 7
jb 0x42cc18
mov eax, 7
xor ecx, ecx
cpuid
mov edi, ebx
and edi, 0x20
mov dword [ebp - 0x60], edi
mov esi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x68]
mov dword [esi], ebx
mov eax, ebx
and eax, 0xf
mov dword [esi + 0x10], eax
mov eax, ebx
shr eax, 0xc
and eax, 3
mov dword [esi + 4], eax
lea edi, [ebp - 0x54]
mov ecx, edi
mov edx, dword [ebp - 0x5c]
push ebx
call fcn.0042c960
add esp, 4
mov eax, dword [edi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [edi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
mov dword [esi + 0x14], eax
mov ecx, dword [ebp - 0x6c]
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 ecx, dword [ebp - 0x64]
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
not eax
test eax, 0x1c000000
jne 0x42ccd1
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x42ccd3
xor eax, eax
lea edi, [ebp - 0x44]
mov edx, dword [ebp - 0x58]
mov byte [edx + 0x24], al
mov ecx, dword [ebp - 0x64]
shr ecx, 0x19
and cl, 1
mov byte [edx + 0x26], cl
test al, al
setne al
cmp dword [ebp - 0x60], 0
setne cl
and cl, al
mov byte [edx + 0x25], cl
jmp 0x42cad6