Function at 0x140057060
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 [0x1400e05d8]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor ebp, ebp
lea rdi, [rsp + 0x30]
xor eax, eax
xor ecx, ecx
cpuid
mov r14d, eax
mov dword [rdi], ebx
mov dword [rdi + 4], edx
mov dword [rdi + 8], ecx
mov byte [rdi + 0xc], 0
lea r12, [rsi + 0x30]
mov rcx, r12
mov rdx, rdi
call fcn.140027ab0
test r14d, r14d
jle 0x140057223
mov eax, 1
xor ecx, ecx
cpuid
mov r13d, ecx
mov r15d, edx
mov edi, eax
cmp r14d, 7
jl 0x1400570db
mov eax, 7
xor ecx, ecx
cpuid
mov ebp, ebx
and ebp, 0x20
mov dword [rsp + 0x2c], ebp
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 ebx, edi
shr ebx, 8
and ebx, 0xf
mov ebp, edi
shr ebp, 4
and ebp, 0xf
xor r14d, r14d
cmp ebx, 6
jne 0x1400572c8
movzx eax, byte [rsi + 0x47]
test al, al
jns 0x14005711c
mov rax, qword [rsi + 0x38]
cmp rax, 0xc
jne 0x14005715d
mov qword [rsp + 0x20], 0xc
lea r9, str.GenuineIntel
xor r14d, r14d
mov rcx, r12
xor edx, edx
mov r8, 0xffffffffffffffff
call fcn.140027d60
test eax, eax
jne 0x14005715d
mov r14d, edi
shr r14d, 0x10
and r14d, 0xf
mov eax, r14d
shl eax, 4
or ebp, eax
shr edi, 0x14
xor eax, eax
cmp ebx, 0xf
movzx ecx, dil
cmovne ecx, eax
add ebx, ecx
mov dword [rsi + 0x14], r14d
mov dword [rsi + 0x18], ecx
mov dword [rsi + 0xc], ebp
mov dword [rsi + 8], ebx
mov ecx, r15d
shr ecx, 0x17
and cl, 1
mov byte [rsi + 0x1c], cl
mov ecx, r15d
shr ecx, 0x19
and cl, 1
mov byte [rsi + 0x1d], cl
shr r15d, 0x1a
and r15b, 1
mov byte [rsi + 0x1e], r15b
mov ecx, r13d
and cl, 1
mov byte [rsi + 0x1f], cl
mov ecx, r13d
shr ecx, 9
and cl, 1
mov byte [rsi + 0x20], cl
mov ecx, r13d
shr ecx, 0x13
and cl, 1
mov byte [rsi + 0x21], cl
mov ecx, r13d
shr ecx, 0x14
and cl, 1
mov byte [rsi + 0x22], cl
mov ecx, r13d
shr ecx, 0x17
and cl, 1
mov byte [rsi + 0x23], cl
mov ecx, r13d
shr ecx, 0x1f
mov byte [rsi + 0x28], cl
mov ecx, r13d
and ecx, 0x1c000000
mov edx, 0x1c000000
cmp ecx, edx
jne 0x140057201
xor ecx, ecx
xgetbv
and eax, 6
cmp eax, 6
sete al
mov ecx, dword [rsp + 0x2c]
mov byte [rsi + 0x24], al
shr r13d, 0x19
and r13b, 1
mov byte [rsi + 0x26], r13b
test al, al
setne al
test ecx, ecx
setne cl
and cl, al
mov byte [rsi + 0x25], cl
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000004
jl 0x1400572a3
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.140027ab0
cmp edi, 0x80000007
jl 0x1400572a3
mov eax, 0x80000007
xor ecx, ecx
cpuid
shr edx, 8
and dl, 1
mov byte [rsi + 0x27], dl
cmp byte [rsi + 0x27], 0
je 0x1400572d6
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14008a0f0
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp ebx, 0xf
je 0x14005714a
jmp 0x14005715d
cmp byte [rsi + 0x28], 0
je 0x1400572a9
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp edx, 0x76482074
jne 0x1400572a9
cmp ebx, 0x7263694d
jne 0x1400572a9
cmp ecx, 0x666f736f
jne 0x1400572a9
mov byte [rsi + 0x27], 1
jmp 0x1400572a9