Function at 0x140037940
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 r15, rcx
xor eax, eax
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
mov ebp, eax
mov rax, qword [0x14005e018]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor esi, esi
lea rax, [rsp + 0x30]
mov dword [rax], ebx
mov dword [rax + 4], edx
mov dword [rax + 8], ecx
mov byte [rax + 0xc], 0
lea rdi, [r15 + 0x30]
mov rcx, rdi
mov rdx, rax
call fcn.140002d80
test ebp, ebp
jg 0x140037ab3
mov eax, 0x80000000
xor ecx, ecx
xchg rbx, rbp
cpuid
xchg rbx, rbp
cmp eax, 0x80000004
jl 0x140037a5a
mov edi, eax
mov eax, 0x80000002
xor ecx, ecx
xchg rbx, r14
cpuid
xchg rbx, r14
mov r9d, ecx
mov r8d, edx
mov r10d, eax
mov eax, 0x80000003
mov ecx, 0
xchg rbx, r12
cpuid
xchg rbx, r12
mov r13d, ecx
mov r11d, edx
mov ebx, eax
mov ecx, 0
mov eax, 0x80000004
xchg rbx, rbp
cpuid
xchg rbx, rbp
lea rsi, [rsp + 0x30]
mov dword [rsi], r10d
mov dword [rsi + 4], r14d
mov dword [rsi + 8], r9d
mov dword [rsi + 0xc], r8d
mov dword [rsi + 0x10], ebx
mov dword [rsi + 0x14], r12d
mov dword [rsi + 0x18], r13d
mov dword [rsi + 0x1c], r11d
mov dword [rsi + 0x20], eax
mov dword [rsi + 0x24], ebp
mov dword [rsi + 0x28], ecx
mov dword [rsi + 0x2c], edx
mov byte [rsi + 0x30], 0
lea rcx, [r15 + 0x50]
mov rdx, rsi
call fcn.140002d80
cmp edi, 0x80000007
jl 0x140037a5a
xor ecx, ecx
mov eax, 0x80000007
xchg rbx, rbp
cpuid
xchg rbx, rbp
shr edx, 8
and dl, 1
mov byte [r15 + 0x27], dl
cmp byte [r15 + 0x27], 0
jne 0x140037a94
cmp byte [r15 + 0x28], 0
je 0x140037a94
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, rbp
cpuid
xchg rbx, rbp
cmp ebp, 0x7263694d
jne 0x140037a94
cmp ecx, 0x666f736f
jne 0x140037a94
cmp edx, 0x76482074
jne 0x140037a94
mov byte [r15 + 0x27], 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14002c730
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, 1
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
mov r14d, ecx
mov ebx, edx
mov r8d, eax
cmp ebp, 7
jb 0x140037ae1
mov eax, 7
xor ecx, ecx
xchg rbx, rsi
cpuid
xchg rbx, rsi
and esi, 0x20
mov dword [r15], r8d
mov eax, r8d
and eax, 0xf
mov dword [r15 + 0x10], eax
mov eax, r8d
shr eax, 0xc
and eax, 3
mov dword [r15 + 4], eax
lea rbp, [rsp + 0x20]
mov rcx, rbp
mov rdx, rdi
call fcn.140037850
mov eax, dword [rbp + 0xc]
mov dword [r15 + 8], eax
mov eax, dword [rbp + 8]
mov dword [r15 + 0xc], eax
mov eax, dword [rbp + 4]
mov dword [r15 + 0x18], eax
mov eax, dword [rbp]
mov dword [r15 + 0x14], eax
mov eax, ebx
shr eax, 0x17
and al, 1
mov byte [r15 + 0x1c], al
mov eax, ebx
shr eax, 0x19
and al, 1
mov byte [r15 + 0x1d], al
shr ebx, 0x1a
and bl, 1
mov byte [r15 + 0x1e], bl
mov eax, r14d
and al, 1
mov byte [r15 + 0x1f], al
mov eax, r14d
shr eax, 9
and al, 1
mov byte [r15 + 0x20], al
mov eax, r14d
shr eax, 0x13
and al, 1
mov byte [r15 + 0x21], al
mov eax, r14d
shr eax, 0x14
and al, 1
mov byte [r15 + 0x22], al
mov eax, r14d
shr eax, 0x17
and al, 1
mov byte [r15 + 0x23], al
mov eax, r14d
shr eax, 0x1f
mov byte [r15 + 0x28], al
mov eax, r14d
not eax
test eax, 0x1c000000
jne 0x140037ba4
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x140037ba6
xor eax, eax
mov byte [r15 + 0x24], al
shr r14d, 0x19
and r14b, 1
mov byte [r15 + 0x26], r14b
test al, al
setne al
test esi, esi
setne cl
and cl, al
mov byte [r15 + 0x25], cl
jmp 0x14003799a