Function at 0x14005b4e0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rcx
xor eax, eax
xor ecx, ecx
xchg rbx, r8
cpuid
xchg rbx, r8
mov ebx, eax
mov rax, qword [0x1400c9028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm6, xmmword [0x1400b3900]
lea r15, [rsp + 0x50]
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
mov byte [r15 + 0x30], 0xaa
mov dword [r15], r8d
mov dword [r15 + 4], edx
mov dword [r15 + 8], ecx
mov byte [r15 + 0xc], 0
lea r14, [rsi + 0x30]
mov rcx, r15
call fcn.14008f410
mov rdi, rax
movzx r9d, byte [rsi + 0x47]
test r9b, r9b
js 0x14005b576
mov r12, r14
cmp rdi, 0x16
jbe 0x14005b5bb
mov edx, 0x16
jmp 0x14005b590
movabs rdx, 0x7fffffffffffffff
and rdx, qword [rsi + 0x40]
dec rdx
cmp rdx, rdi
jae 0x14005b5b8
mov r9, qword [rsi + 0x38]
mov r8, rdi
sub r8, rdx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, r14
call fcn.140044040
jmp 0x14005b5ea
mov r12, qword [r14]
lea rdx, [rsp + 0x50]
mov rcx, r12
mov r8, rdi
call fcn.140078520
cmp byte [rsi + 0x47], 0
js 0x14005b5e1
cmp rdi, 0x17
jae 0x14005b8cb
mov byte [rsi + 0x47], dil
jmp 0x14005b5e5
mov qword [rsi + 0x38], rdi
mov byte [r12 + rdi], 0
test ebx, ebx
jle 0x14005b713
xor ecx, ecx
mov eax, 1
xchg rbx, r8
cpuid
xchg rbx, r8
mov r8d, eax
mov edi, ecx
mov ebp, edx
xor r12d, r12d
cmp ebx, 7
jb 0x14005b62d
mov eax, 7
xor ecx, ecx
xchg rbx, r12
cpuid
xchg rbx, r12
mov ebx, ecx
and r12d, 0x20
shr bl, 4
and bl, 1
jmp 0x14005b62f
xor ebx, ebx
mov dword [rsi], r8d
mov eax, r8d
and eax, 0xf
mov dword [rsi + 0x10], eax
mov eax, r8d
shr eax, 0xc
and eax, 3
mov dword [rsi + 4], eax
lea r15, [rsp + 0x40]
movaps xmmword [r15], xmm6
mov rcx, r15
mov rdx, r14
call fcn.14005b3e0
mov eax, dword [r15]
mov dword [rsi + 8], eax
mov eax, dword [r15 + 4]
mov dword [rsi + 0xc], eax
mov eax, dword [r15 + 8]
mov dword [rsi + 0x18], eax
mov eax, dword [r15 + 0xc]
mov dword [rsi + 0x14], eax
mov eax, ebp
shr eax, 0x17
and al, 1
mov byte [rsi + 0x1c], al
mov eax, ebp
shr eax, 0x19
and al, 1
mov byte [rsi + 0x1d], al
shr ebp, 0x1a
and bpl, 1
mov byte [rsi + 0x1e], bpl
mov eax, edi
and al, 1
mov byte [rsi + 0x1f], al
mov eax, edi
shr eax, 9
and al, 1
mov byte [rsi + 0x20], al
mov eax, edi
shr eax, 0x13
and al, 1
mov byte [rsi + 0x21], al
mov eax, edi
shr eax, 0x14
and al, 1
mov byte [rsi + 0x22], al
mov eax, edi
shr eax, 0x17
and al, 1
mov byte [rsi + 0x23], al
mov eax, edi
shr eax, 0x1f
mov byte [rsi + 0x2a], al
mov eax, edi
not eax
test eax, 0x1c000000
jne 0x14005b6e5
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x14005b6e7
xor eax, eax
mov byte [rsi + 0x24], al
mov ecx, edi
shr ecx, 0x19
and cl, 1
mov byte [rsi + 0x27], cl
shr edi, 0xc
and dil, 1
mov byte [rsi + 0x25], dil
test al, al
setne al
test r12d, r12d
setne cl
and cl, al
mov byte [rsi + 0x26], cl
mov byte [rsi + 0x28], bl
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r8
cpuid
xchg rbx, r8
cmp eax, 0x80000004
jb 0x14005b865
mov edi, eax
mov eax, 0x80000002
xor ecx, ecx
xchg rbx, r14
cpuid
xchg rbx, r14
mov r8d, ecx
mov r9d, edx
mov r10d, eax
mov ecx, 0
mov eax, 0x80000003
xchg rbx, r12
cpuid
xchg rbx, r12
mov r11d, ecx
mov ebx, edx
mov ebp, eax
mov ecx, 0
mov eax, 0x80000004
xchg rbx, r13
cpuid
xchg rbx, r13
lea r15, [rsp + 0x50]
mov dword [r15], r10d
mov dword [r15 + 4], r14d
mov dword [r15 + 8], r8d
mov dword [r15 + 0xc], r9d
mov dword [r15 + 0x10], ebp
mov dword [r15 + 0x14], r12d
mov dword [r15 + 0x18], r11d
mov dword [r15 + 0x1c], ebx
mov dword [r15 + 0x20], eax
mov dword [r15 + 0x24], r13d
mov dword [r15 + 0x28], ecx
mov dword [r15 + 0x2c], edx
mov byte [r15 + 0x30], 0
lea rbx, [rsi + 0x48]
mov rcx, r15
call fcn.14008f410
mov r14, rax
movzx r9d, byte [rsi + 0x5f]
test r9b, r9b
js 0x14005b7d1
cmp r14, 0x16
jbe 0x14005b816
mov edx, 0x16
jmp 0x14005b7eb
movabs rdx, 0x7fffffffffffffff
and rdx, qword [rsi + 0x58]
dec rdx
cmp rdx, r14
jae 0x14005b813
mov r9, qword [rsi + 0x50]
mov r8, r14
sub r8, rdx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rbx
call fcn.140044040
jmp 0x14005b845
mov rbx, qword [rbx]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov r8, r14
call fcn.140078520
cmp byte [rsi + 0x5f], 0
js 0x14005b83c
cmp r14, 0x17
jae 0x14005b8cb
mov byte [rsi + 0x5f], r14b
jmp 0x14005b840
mov qword [rsi + 0x50], r14
mov byte [rbx + r14], 0
cmp edi, 0x80000007
jb 0x14005b865
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r8
cpuid
xchg rbx, r8
shr edx, 8
and dl, 1
mov byte [rsi + 0x29], dl
cmp byte [rsi + 0x29], 0
je 0x14005b897
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140076ac0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsi + 0x2a], 0
je 0x14005b86b
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r8
cpuid
xchg rbx, r8
cmp r8d, 0x7263694d
jne 0x14005b86b
cmp ecx, 0x666f736f
jne 0x14005b86b
cmp edx, 0x76482074
jne 0x14005b86b
mov byte [rsi + 0x29], 1
jmp 0x14005b86b
lea rax, str.__s_should_never_be_greater_than_or_equal_to_the_short_string_capacity
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str.__s_____min_cap
mov r8d, 0x6c7
call fcn.14001c910
int3