Function at 0x1400059a0
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 [0x1400f6398]
xor rax, rsp
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [section..rdata]
lea rbp, [rsp + 0x30]
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
mov byte [rbp + 0x30], 0xaa
xor edi, edi
xor eax, eax
xor ecx, ecx
cpuid
mov r13d, eax
mov dword [rbp], ebx
mov dword [rbp + 4], edx
mov dword [rbp + 8], ecx
mov byte [rbp + 0xc], 0
lea rcx, [rsi + 0x30]
mov qword [rsp + 0x28], rcx
mov rdx, rbp
call fcn.1400046a0
test r13d, r13d
jle 0x140005b78
mov eax, 1
xor ecx, ecx
cpuid
mov r12d, ecx
mov r15d, edx
mov r14d, eax
cmp r13d, 7
jl 0x140005a36
mov eax, 7
xor ecx, ecx
cpuid
mov edi, ebx
and edi, 0x20
mov r13d, edi
mov dword [rsi], r14d
mov eax, r14d
and eax, 0xf
mov dword [rsi + 0x10], eax
mov eax, r14d
shr eax, 0xc
and eax, 3
mov dword [rsi + 4], eax
mov ebx, r14d
shr ebx, 8
and ebx, 0xf
mov edi, r14d
shr edi, 4
and edi, 0xf
xor ebp, ebp
cmp ebx, 6
jne 0x140005c1d
movzx eax, byte [rsi + 0x47]
test al, al
jns 0x140005a7a
mov rax, qword [rsi + 0x38]
cmp rax, 0xc
jne 0x140005ab9
mov qword [rsp + 0x20], 0xc
lea r9, [0x1400c4180]
xor ebp, ebp
mov rcx, qword [rsp + 0x28]
xor edx, edx
mov r8, 0xffffffffffffffff
call fcn.140016df0
test eax, eax
jne 0x140005ab9
mov ebp, r14d
shr ebp, 0x10
and ebp, 0xf
mov eax, ebp
shl eax, 4
or edi, eax
shr r14d, 0x14
xor eax, eax
cmp ebx, 0xf
movzx ecx, r14b
cmovne ecx, eax
add ebx, ecx
mov dword [rsi + 0x14], ebp
mov dword [rsi + 0x18], ecx
mov dword [rsi + 0xc], edi
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, r12d
and cl, 1
mov byte [rsi + 0x1f], cl
mov ecx, r12d
shr ecx, 9
and cl, 1
mov byte [rsi + 0x20], cl
mov ecx, r12d
shr ecx, 0x13
and cl, 1
mov byte [rsi + 0x21], cl
mov ecx, r12d
shr ecx, 0x14
and cl, 1
mov byte [rsi + 0x22], cl
mov ecx, r12d
shr ecx, 0x17
and cl, 1
mov byte [rsi + 0x23], cl
mov ecx, r12d
shr ecx, 0x1f
mov byte [rsi + 0x28], cl
mov ecx, 0x1c000000
mov edx, r12d
and edx, ecx
cmp edx, ecx
jne 0x140005b59
xor ecx, ecx
xgetbv
and eax, 6
cmp eax, 6
sete al
mov byte [rsi + 0x24], al
shr r12d, 0x19
and r12b, 1
mov byte [rsi + 0x26], r12b
test al, al
setne al
test r13d, r13d
setne cl
and cl, al
mov byte [rsi + 0x25], cl
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000004
jl 0x140005bf8
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.1400046a0
cmp edi, 0x80000007
jl 0x140005bf8
mov eax, 0x80000007
xor ecx, ecx
cpuid
shr edx, 8
and dl, 1
mov byte [rsi + 0x27], dl
cmp byte [rsi + 0x27], 0
je 0x140005c2b
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14008b870
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 0x140005aa9
jmp 0x140005ab9
cmp byte [rsi + 0x28], 0
je 0x140005bfe
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp edx, 0x76482074
jne 0x140005bfe
cmp ebx, 0x7263694d
jne 0x140005bfe
cmp ecx, 0x666f736f
jne 0x140005bfe
mov byte [rsi + 0x27], 1
jmp 0x140005bfe