Function at 0x1400504b0
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 [0x1400c95d8]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor edi, edi
xor eax, eax
xor ecx, ecx
cpuid
mov ebp, eax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x38], ecx
mov byte [rsp + 0x3c], 0
lea r14, [rsi + 0x30]
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14001ca90
test ebp, ebp
jle 0x140050678
mov eax, 1
xor ecx, ecx
cpuid
mov r13d, ecx
mov r15d, edx
mov r12d, eax
cmp ebp, 7
jl 0x14005052b
mov eax, 7
xor ecx, ecx
cpuid
mov edi, ebx
and edi, 0x20
mov dword [rsi], r12d
mov eax, r12d
and eax, 0xf
mov dword [rsi + 0x10], eax
mov eax, r12d
shr eax, 0xc
and eax, 3
mov dword [rsi + 4], eax
mov ebp, r12d
shr ebp, 8
and ebp, 0xf
mov ebx, r12d
shr ebx, 4
and ebx, 0xf
cmp ebp, 0xf
je 0x1400505a8
mov rcx, r14
xor r14d, r14d
cmp ebp, 6
jne 0x1400505bb
movzx eax, byte [rsi + 0x47]
test al, al
jns 0x140050571
mov rax, qword [rsi + 0x38]
xor r14d, r14d
cmp rax, 0xc
jne 0x14005059f
mov qword [rsp + 0x20], 0xc
lea r9, str.GenuineIntel
xor r14d, r14d
xor edx, edx
mov r8, 0xffffffffffffffff
call fcn.14001cc48
test eax, eax
je 0x1400505a8
mov ebp, 6
xor eax, eax
jmp 0x1400505cd
mov r14d, r12d
shr r14d, 0x10
and r14d, 0xf
mov eax, r14d
shl eax, 4
or ebx, eax
xor eax, eax
cmp ebp, 0xf
jne 0x1400505cd
shr r12d, 0x14
movzx eax, r12b
lea ebp, [rax + 0xf]
mov dword [rsi + 0x14], r14d
mov dword [rsi + 0x18], eax
mov dword [rsi + 0xc], ebx
mov dword [rsi + 8], ebp
mov eax, r15d
shr eax, 0x17
and al, 1
mov byte [rsi + 0x1c], al
mov eax, r15d
shr eax, 0x19
and al, 1
mov byte [rsi + 0x1d], al
shr r15d, 0x1a
and r15b, 1
mov byte [rsi + 0x1e], r15b
mov eax, r13d
and al, 1
mov byte [rsi + 0x1f], al
mov eax, r13d
shr eax, 9
and al, 1
mov byte [rsi + 0x20], al
mov eax, r13d
shr eax, 0x13
and al, 1
mov byte [rsi + 0x21], al
mov eax, r13d
shr eax, 0x14
and al, 1
mov byte [rsi + 0x22], al
mov eax, r13d
shr eax, 0x17
and al, 1
mov byte [rsi + 0x23], al
mov eax, r13d
shr eax, 0x1f
mov byte [rsi + 0x28], al
mov eax, r13d
and eax, 0x1c000000
cmp eax, 0x1c000000
jne 0x140050658
xor ecx, ecx
xgetbv
and eax, 6
cmp eax, 6
sete al
jmp 0x14005065a
xor eax, eax
mov byte [rsi + 0x24], al
shr r13d, 0x19
and r13b, 1
mov byte [rsi + 0x26], r13b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [rsi + 0x25], cl
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000004
jl 0x140050702
mov edi, eax
mov eax, 0x80000002
xor ecx, ecx
cpuid
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x3c], edx
mov eax, 0x80000003
xor ecx, ecx
cpuid
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x4c], edx
mov eax, 0x80000004
xor ecx, ecx
cpuid
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x5c], edx
mov byte [rsp + 0x60], 0
lea rcx, [rsi + 0x48]
lea rdx, [rsp + 0x30]
call fcn.14001ca90
cmp edi, 0x80000007
jl 0x140050702
mov eax, 0x80000007
xor ecx, ecx
cpuid
shr edx, 8
and dl, 1
mov byte [rsi + 0x27], dl
cmp byte [rsi + 0x27], 0
je 0x140050727
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140079940
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsi + 0x28], 0
je 0x140050708
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp edx, 0x76482074
jne 0x140050708
cmp ebx, 0x7263694d
jne 0x140050708
cmp ecx, 0x666f736f
jne 0x140050708
mov byte [rsi + 0x27], 1
jmp 0x140050708