Function at 0x140176860
Capabilities:
Reference processor manufacturer constants

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rsi, rcx
xor eax, eax
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov ebx, eax
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x50], 0xaa
xor r14d, r14d
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x24], edx
mov dword [rsp + 0x28], ecx
mov byte [rsp + 0x2c], 0
lea rdi, [rsi + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400e76c8
test ebx, ebx
jle 0x140176a53
xor ecx, ecx
mov eax, 1
xchg rbx, rbp
cpuid
xchg rbx, rbp
mov r8d, ecx
mov r9d, edx
mov r10d, eax
cmp ebx, 7
jb 0x140176906
xor ecx, ecx
mov eax, 7
xchg rbx, r14
cpuid
xchg rbx, r14
and r14d, 0x20
mov dword [rsi], r10d
mov eax, r10d
and eax, 0xf
mov dword [rsi + 0x10], eax
mov eax, r10d
shr eax, 0xc
and eax, 3
mov dword [rsi + 4], eax
mov edx, r10d
shr edx, 8
and edx, 0xf
mov eax, r10d
shr eax, 4
and eax, 0xf
cmp edx, 0xf
je 0x140176950
xor ecx, ecx
cmp edx, 6
jne 0x14017699d
movzx ebx, byte [rsi + 0x47]
mov edx, 6
test bl, bl
js 0x14017696e
cmp bl, 0xc
je 0x140176978
jmp 0x14017699d
mov edx, r10d
shr edx, 0x10
and edx, 0xf
shr r10d, 0x14
movzx ecx, r10b
mov r10d, edx
shl edx, 4
or eax, edx
lea edx, [rcx + 0xf]
jmp 0x1401769a0
cmp qword [rsi + 0x38], 0xc
jne 0x14017699d
mov rdi, qword [rdi]
movabs rdx, 0x49656e69756e6547
xor rdx, qword [rdi]
mov ebp, dword [rdi + 8]
xor rbp, 0x6c65746e
or rbp, rdx
mov edx, 6
je 0x140176b70
xor r10d, r10d
mov dword [rsi + 8], edx
mov dword [rsi + 0xc], eax
mov dword [rsi + 0x18], ecx
mov dword [rsi + 0x14], r10d
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [rsi + 0x1c], al
mov eax, r9d
shr eax, 0x19
and al, 1
mov byte [rsi + 0x1d], al
shr r9d, 0x1a
and r9b, 1
mov byte [rsi + 0x1e], r9b
mov eax, r8d
and al, 1
mov byte [rsi + 0x1f], al
mov eax, r8d
shr eax, 9
and al, 1
mov byte [rsi + 0x20], al
mov eax, r8d
shr eax, 0x13
and al, 1
mov byte [rsi + 0x21], al
mov eax, r8d
shr eax, 0x14
and al, 1
mov byte [rsi + 0x22], al
mov eax, r8d
shr eax, 0x17
and al, 1
mov byte [rsi + 0x23], al
mov eax, r8d
shr eax, 0x1f
mov byte [rsi + 0x29], al
mov eax, r8d
not eax
test eax, 0x1c000000
jne 0x140176a26
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x140176a28
xor eax, eax
mov byte [rsi + 0x24], al
mov ecx, r8d
shr ecx, 0x19
and cl, 1
mov byte [rsi + 0x27], cl
shr r8d, 0xc
and r8b, 1
mov byte [rsi + 0x25], r8b
test al, al
setne al
test r14d, r14d
setne cl
and cl, al
mov byte [rsi + 0x26], cl
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, rbp
cpuid
xchg rbx, rbp
cmp eax, 0x80000004
jb 0x140176b1a
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
xor ecx, ecx
mov eax, 0x80000003
xchg rbx, r15
cpuid
xchg rbx, r15
mov r12d, ecx
mov r11d, edx
mov ebp, eax
mov eax, 0x80000004
mov ecx, 0
xchg rbx, rbx
cpuid
xchg rbx, rbx
mov dword [rsp + 0x20], r10d
mov dword [rsp + 0x24], r14d
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x2c], r8d
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x34], r15d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x3c], r11d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x4c], edx
mov byte [rsp + 0x50], 0
lea rcx, [rsi + 0x48]
lea rdx, [rsp + 0x20]
call fcn.1400e76c8
cmp edi, 0x80000007
jb 0x140176b1a
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, rbp
cpuid
xchg rbx, rbp
shr edx, 8
and dl, 1
mov byte [rsi + 0x28], dl
cmp byte [rsi + 0x28], 0
je 0x140176b3d
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140257200
nop
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp byte [rsi + 0x29], 0
je 0x140176b20
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, rbp
cpuid
xchg rbx, rbp
cmp ebp, 0x7263694d
jne 0x140176b20
cmp ecx, 0x666f736f
jne 0x140176b20
cmp edx, 0x76482074
jne 0x140176b20
mov byte [rsi + 0x28], 1
jmp 0x140176b20
shr r10d, 0x10
and r10d, 0xf
mov ebp, r10d
shl ebp, 4
or eax, ebp
jmp 0x1401769a0