Function at 0x41d370
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 [0x438014]
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 0x41d3d3
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.00401280
jmp 0x41d3fb
mov ecx, edi
mov edi, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x41d3e3
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.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + ebx], 0
lea edi, [ebp - 0x44]
mov eax, dword [ebp - 0x60]
test eax, eax
jg 0x41d521
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000004
jl 0x41d4d5
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 0x41d49a
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.00401280
jmp 0x41d4ba
cmp eax, 0x10
jb 0x41d4a5
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.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [ebx + edi], 0
cmp dword [ebp - 0x5c], 0x80000007
jl 0x41d4d5
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 0x41d50f
mov eax, dword [ebp - 0x58]
cmp byte [eax + 0x28], 0
je 0x41d50f
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x41d50f
cmp ecx, 0x666f736f
jne 0x41d50f
cmp edx, 0x76482074
jne 0x41d50f
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x27], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00417da0
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 0x41d548
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.0041d290
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 0x41d601
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x41d603
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 0x41d406