Function at 0x140041720
Capabilities:
Reference processor manufacturer constants

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x14010c038]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea r15, [rcx + 0x30]
xorps xmm0, xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx], xmm0
mov byte [rcx + 0x47], 7
mov eax, dword [0x1400f0778]
mov dword [rcx + 0x30], eax
mov eax, dword [0x1400f077b]
mov dword [rcx + 0x33], eax
xor r14d, r14d
mov byte [rcx + 0x37], r14b
movups xmmword [rcx + 0x48], xmm0
mov qword [rcx + 0x58], 0
movaps xmm0, xmmword [0x1400ec9c0]
lea rdi, [rsp + 0x30]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov byte [rdi + 0x30], 0xaa
xor eax, eax
xor ecx, ecx
cpuid
mov ebp, eax
mov dword [rdi], ebx
mov dword [rdi + 4], edx
mov dword [rdi + 8], ecx
mov byte [rdi + 0xc], r14b
mov rcx, r15
mov rdx, rdi
call fcn.1400573a0
test ebp, ebp
jle 0x140041929
mov r8, r15
mov eax, 1
xor ecx, ecx
cpuid
mov r13d, ecx
mov r12d, edx
mov edi, eax
cmp ebp, 7
jl 0x1400417e8
mov eax, 7
xor ecx, ecx
cpuid
mov r14d, ebx
and r14d, 0x20
mov dword [rsi], edi
mov eax, edi
and eax, 0xf
mov dword [rsi + 0x10], eax
mov eax, edi
shr eax, 0xc
and eax, 3
mov dword [rsi + 4], eax
mov ebp, edi
shr ebp, 8
and ebp, 0xf
mov ebx, edi
shr ebx, 4
and ebx, 0xf
xor r15d, r15d
cmp ebp, 6
jne 0x1400419d0
movzx eax, byte [rsi + 0x47]
test al, al
jns 0x140041825
mov rax, qword [rsi + 0x38]
cmp rax, 0xc
jne 0x140041866
mov qword [rsp + 0x20], 0xc
lea r9, str.GenuineIntel
xor r15d, r15d
mov rcx, r8
xor edx, edx
mov r8, 0xffffffffffffffff
call fcn.140057dd0
test eax, eax
jne 0x140041866
mov r15d, edi
shr r15d, 0x10
and r15d, 0xf
mov eax, r15d
shl eax, 4
or ebx, eax
shr edi, 0x14
movzx ecx, dil
lea edx, [rcx + 0xf]
xor eax, eax
cmp ebp, 0xf
cmovne edx, ebp
cmovne ecx, eax
mov dword [rsi + 0x14], r15d
mov dword [rsi + 0x18], ecx
mov dword [rsi + 0xc], ebx
mov dword [rsi + 8], edx
mov ecx, r12d
shr ecx, 0x17
and cl, 1
mov byte [rsi + 0x21], cl
mov ecx, r12d
shr ecx, 0x19
and cl, 1
mov byte [rsi + 0x22], cl
shr r12d, 0x1a
and r12b, 1
mov byte [rsi + 0x23], r12b
mov ecx, r13d
and cl, 1
mov byte [rsi + 0x24], cl
mov ecx, r13d
shr ecx, 9
and cl, 1
mov byte [rsi + 0x25], cl
mov ecx, r13d
shr ecx, 0x13
and cl, 1
mov byte [rsi + 0x26], cl
mov ecx, r13d
shr ecx, 0x14
and cl, 1
mov byte [rsi + 0x27], cl
mov ecx, r13d
shr ecx, 0x17
and cl, 1
mov byte [rsi + 0x28], cl
mov ecx, r13d
shr ecx, 0x1f
mov byte [rsi + 0x2f], cl
mov ecx, 0x1c000000
mov edx, r13d
and edx, ecx
cmp edx, ecx
jne 0x14004190a
xor ecx, ecx
xgetbv
and eax, 6
cmp eax, 6
sete al
mov byte [rsi + 0x29], al
shr r13d, 0x19
and r13b, 1
mov byte [rsi + 0x2b], r13b
test al, al
setne al
test r14d, r14d
setne cl
and cl, al
mov byte [rsi + 0x2a], cl
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000004
jl 0x1400419a9
mov edi, eax
lea rbp, [rsp + 0x30]
mov eax, 0x80000002
xor ecx, ecx
cpuid
mov dword [rbp], eax
mov dword [rbp + 4], ebx
mov dword [rbp + 8], ecx
mov dword [rbp + 0xc], edx
mov eax, 0x80000003
xor ecx, ecx
cpuid
mov dword [rbp + 0x10], eax
mov dword [rbp + 0x14], ebx
mov dword [rbp + 0x18], ecx
mov dword [rbp + 0x1c], edx
mov eax, 0x80000004
xor ecx, ecx
cpuid
mov dword [rbp + 0x20], eax
mov dword [rbp + 0x24], ebx
mov dword [rbp + 0x28], ecx
mov dword [rbp + 0x2c], edx
mov byte [rbp + 0x30], 0
lea rcx, [rsi + 0x48]
mov rdx, rbp
call fcn.1400573a0
cmp edi, 0x80000007
jl 0x1400419a9
mov eax, 0x80000007
xor ecx, ecx
cpuid
shr edx, 8
and dl, 1
mov byte [rsi + 0x2e], dl
cmp byte [rsi + 0x2e], 0
je 0x1400419de
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400797f0
mov rax, rsi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp ebp, 0xf
je 0x140041853
jmp 0x140041866
cmp byte [rsi + 0x2f], 0
je 0x1400419af
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp edx, 0x76482074
jne 0x1400419af
cmp ebx, 0x7263694d
jne 0x1400419af
cmp ecx, 0x666f736f
jne 0x1400419af
mov byte [rsi + 0x2e], 1
jmp 0x1400419af