Function at 0x14015a970
Capabilities:
Get number of processors

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x78], r8
mov rdi, rdx
mov r15, rcx
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rcx + 8]
mov rcx, qword [rax + 0x27]
cmp rcx, qword [0x1403a6cd0]
jne 0x14015a9d3
lea rcx, [rsp + 0xa8]
mov rdx, r15
call fcn.14015a790
mov rax, qword [rsp + 0xa8]
jmp 0x14015b0bd
mov qword [rsp + 0x40], rdi
mov ecx, dword [0x1403b0260]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
lea rdx, [rcx + 8]
mov qword [rsp + 0x60], rdx
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + 0x18]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rax + 0x27]
movzx ebx, word [rcx + 0x4b]
cmp ebx, 0x100
jb 0x14015aa49
mov rcx, qword [rax + 0x27]
movzx ecx, word [rcx + 0x4b]
mov rax, qword [rax + 0x27]
mov rdx, qword [rax + 0x27]
mov rcx, qword [rsp + 0x48]
call fcn.1400f90b0
mov rdi, rax
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x17]
cmp rax, qword [0x1403a6cd0]
jne 0x14015accd
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call fcn.1400f8fe0
mov r13, rax
mov rcx, rsi
call fcn.1400f3cf0
mov rbx, rax
mov rcx, qword [rsp + 0x58]
call fcn.140122bb0
xor ecx, ecx
test rax, rax
setg cl
mov qword [rsp + 0x68], rcx
mov rax, qword [r15 + 8]
mov ecx, dword [rax + 0x47]
and ecx, 0x1f
cmp ecx, 0xf
ja 0x14015b0e7
mov edi, 1
mov edx, 0x8026
bt edx, ecx
jae 0x14015b0e7
mov rcx, qword [rsp + 0x58]
call fcn.1401231e0
cmp rdi, rax
mov rcx, rbx
jge 0x14015ac39
mov rsi, rax
mov rax, qword [rsp + 0x68]
add rsi, rax
add rdi, rax
lea rbx, [rsp + 0xa8]
jmp 0x14015aadf
mov rcx, rbp
inc rdi
cmp rdi, rsi
jge 0x14015ac39
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov rdx, qword [rax + rdi*8 + 0x17]
mov rbp, rcx
call fcn.1400f3d10
mov r12, rdi
sub r12, qword [rsp + 0x68]
mov rax, qword [r15 + 8]
mov rax, qword [rax + 0x27]
mov rcx, qword [rax + 0x37]
call fcn.1400f0780
mov rax, qword [rax + 8]
mov rdx, qword [rax + r12*8 + 0x17]
mov rcx, r13
call fcn.1400f9000
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x318]
lea ecx, [rax - 0xad]
cmp ecx, 2
jb 0x14015aad0
mov r14, r13
nop word [rax + rax]
cmp eax, 0x52
jne 0x14015ab80
mov rcx, r14
mov rdx, rbx
call fcn.14016b180
mov rcx, qword [rsp + 0xa8]
call fcn.1400f3660
mov r14, rax
mov rax, qword [rax]
mov rcx, r14
call qword [rax + 0x318]
mov ecx, eax
add ecx, 0xffffff53
cmp ecx, 1
ja 0x14015ab40
jmp 0x14015aad0
cmp eax, 0x2c
jne 0x14015abb9
mov rax, qword [r14 + 8]
mov eax, dword [rax + 0xf]
and eax, 3
cmp eax, 1
jne 0x14015aad0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rax, qword [rax + 0x698]
test byte [rax + 0x3f0], 8
mov rcx, rbp
je 0x14015aad3
jmp 0x14015abbc
mov rcx, rbp
mov rax, qword [rcx + 8]
cmp rax, qword [0x1403a6cd0]
jne 0x14015abe6
mov r14, rcx
mov rcx, r13
mov rdx, qword [rsp + 0x120]
mov r8, qword [rsp + 0x128]
call fcn.14016b310
jmp 0x14015ac01
mov r14, rcx
mov rdx, r13
mov r8, qword [rsp + 0x120]
mov r9, qword [rsp + 0x128]
call fcn.140152c40
mov rcx, r14
test al, al
jne 0x14015aad3
mov rbx, rcx
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 0x27]
cmp rcx, qword [0x1403a6cd0]
jne 0x14015b0f9
mov rax, qword [0x1403ada18]
mov rdx, qword [rax + 8]
mov rdi, qword [rsp + 0x40]
jmp 0x14015b19b
mov rdi, rcx
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
call fcn.1401231d0
mov r12, rax
mov rcx, rsi
call fcn.1401231e0
sub r12, rax
je 0x14015b0b1
mov qword [rsp + 0x50], rdi
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 0x27]
mov edi, dword [rcx + 0x47]
mov ebx, dword [rcx + 0x47]
mov rax, qword [rax + 0x27]
mov ebp, dword [rax + 0x47]
mov r14, qword [rsp + 0x48]
mov rcx, r14
call fcn.1400f8d20
mov rsi, rax
mov rcx, r14
call fcn.1400f8d20
mov qword [rsp + 0x80], r12
test r12, r12
jle 0x14015b0b1
mov r14, rax
shr edi, 2
and edi, 0x3fff
shr ebx, 0x10
and ebx, 0x3fff
add ebx, edi
shr ebp, 2
and ebp, 0x3fff
mov qword [rsp + 0x70], rbp
xor r12d, r12d
jmp 0x14015aec0
shr ebx, 8
mov r14, qword [rsp + 0x48]
mov rcx, r14
call fcn.1400f8fe0
mov rsi, rax
mov rcx, r14
call fcn.1400f8fe0
cmp bx, 2
mov ecx, 1
cmovae ecx, ebx
mov rbx, rax
movzx r13d, cx
xor r14d, r14d
lea r12, [rsp + 0xa8]
jmp 0x14015ad6c
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 0x27]
call fcn.140159770
mov rcx, rax
mov rdx, r12
mov r8, r14
mov r9b, 1
call fcn.140159980
mov rdx, qword [rsp + 0xa8]
mov rcx, rsi
call fcn.1400f9000
mov rcx, rsi
mov rdx, rbx
mov r8, qword [rsp + 0x120]
mov r9, qword [rsp + 0x128]
call fcn.1401510e0
test al, al
je 0x14015b138
nop dword [rax]
inc r14
cmp r14, r13
je 0x14015aa49
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x17]
call fcn.1400f9060
mov rax, qword [rax + 8]
cmp rax, qword [0x1403a6cd0]
jne 0x14015ada0
mov rax, qword [0x1403abea8]
mov rdx, qword [rax + 8]
jmp 0x14015ada5
mov rdx, qword [rax + r14*8 + 0x27]
mov rcx, rbx
call fcn.1400f9000
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0xf]
cmp rcx, qword [0x1403a6cd0]
je 0x14015adec
mov rcx, qword [rax + 0xf]
call fcn.1400f0780
mov rax, qword [rax + 8]
mov rcx, r14
shr rcx, 5
mov rax, qword [rax + rcx*8 + 0x17]
sar rax, 1
mov ecx, r14d
and cl, 0x1f
sar rax, cl
test rax, rax
jne 0x14015ad60
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x318]
lea ecx, [rax - 0xad]
cmp ecx, 2
jb 0x14015ad60
mov rbp, rbx
nop word [rax + rax]
cmp eax, 0x52
jne 0x14015ae50
mov rcx, rbp
mov rdx, r12
call fcn.14016b180
mov rcx, qword [rsp + 0xa8]
call fcn.1400f3660
mov rbp, rax
mov rax, qword [rax]
mov rcx, rbp
call qword [rax + 0x318]
mov ecx, eax
add ecx, 0xffffff53
cmp ecx, 1
ja 0x14015ae10
jmp 0x14015ad60
cmp eax, 0x2c
jne 0x14015ad08
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0xf]
and eax, 3
cmp eax, 1
jne 0x14015ad60
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rax, qword [rax + 0x698]
test byte [rax + 0x3f0], 8
jne 0x14015ad08
jmp 0x14015ad60
mov rdx, r13
mov r8, qword [rsp + 0x120]
mov r9, qword [rsp + 0x128]
call fcn.140152c40
test al, al
jne 0x14015b0a0
jmp 0x14015b22d
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
lea rdx, [rsp + 0x90]
mov r8, r12
call fcn.1401231f0
mov rax, qword [rsp + 0x90]
mov qword [rsi + 8], rax
mov rcx, rdi
mov rdx, r12
call fcn.140123230
shl rax, 3
mov rcx, qword [rsp + 0x78]
add rax, qword [rcx + 8]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rax + rcx*8 + 0x17]
mov rcx, qword [rsp + 0x50]
call fcn.1400f3d10
cmp dword [rsp + 0x70], ebx
jae 0x14015b0a0
mov rdi, qword [rsp + 0x70]
nop
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 0x27]
cmp rcx, qword [0x1403a6cd0]
jne 0x14015af40
mov rax, qword [0x1403ada18]
mov rax, qword [rax + 8]
jmp 0x14015af7e
mov rcx, qword [rax + 0x27]
mov ebp, dword [rcx + 0x47]
mov rcx, qword [rax + 0x27]
test dword [rcx + 0x47], 2
je 0x14015af31
shr ebp, 2
and ebp, 0x3fff
cmp rdi, rbp
jb 0x14015af31
mov rax, qword [rax + 0x27]
mov rcx, qword [rax + 0x3f]
call fcn.1400f0780
mov rax, qword [rax + 8]
shl ebp, 3
sub rax, rbp
mov rax, qword [rax + rdi*8 + 0x17]
mov qword [r14 + 8], rax
mov rcx, r14
mov rdx, rsi
call fcn.1400f0a40
test al, al
jne 0x14015afa0
inc rdi
cmp rbx, rdi
jne 0x14015af20
jmp 0x14015b0a0
mov rax, qword [r15 + 8]
mov rax, qword [rax + 0x27]
mov rcx, qword [rax + 0x37]
call fcn.1400f0780
mov rax, qword [rax + 8]
mov rdx, qword [rax + rdi*8 + 0x17]
mov rcx, r13
call fcn.1400f9000
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x318]
lea ecx, [rax - 0xad]
cmp ecx, 2
jb 0x14015b0a0
mov rbp, r13
nop word cs:[rax + rax]
cmp eax, 0x52
jne 0x14015b030
mov rcx, rbp
lea rdx, [rsp + 0xa8]
call fcn.14016b180
mov rcx, qword [rsp + 0xa8]
call fcn.1400f3660
mov rbp, rax
mov rax, qword [rax]
mov rcx, rbp
call qword [rax + 0x318]
mov ecx, eax
add ecx, 0xffffff53
cmp ecx, 1
ja 0x14015aff0
jmp 0x14015b0a0
cmp eax, 0x2c
jne 0x14015b05c
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0xf]
and eax, 3
cmp eax, 1
jne 0x14015b0a0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rax, qword [rax + 0x698]
test byte [rax + 0x3f0], 8
je 0x14015b0a0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + 8]
cmp rax, qword [0x1403a6cd0]
jne 0x14015ae8d
mov rcx, r13
mov rdx, qword [rsp + 0x120]
mov r8, qword [rsp + 0x128]
call fcn.14016b310
test al, al
je 0x14015b22d
nop word cs:[rax + rax]
inc r12
cmp r12, qword [rsp + 0x80]
jne 0x14015aec0
mov rax, qword [0x1403a6cd0]
mov rdi, qword [rsp + 0x40]
mov qword [rdi], rax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140265f80
mov rax, rdi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor edi, edi
test dword [rax + 0x47], 0x10000
sete dil
jmp 0x14015aaa1
mov rcx, qword [rax + 0x27]
mov ecx, dword [rcx + 0x47]
mov rdx, qword [rax + 0x27]
test dword [rdx + 0x47], 2
mov rdi, qword [rsp + 0x40]
je 0x14015b190
shr ecx, 2
and ecx, 0x3fff
sub r12, rcx
jl 0x14015b190
mov rax, qword [rax + 0x27]
mov rcx, qword [rax + 0x3f]
call fcn.1400f0780
mov rax, qword [rax + 8]
mov rdx, qword [rax + r12*8 + 0x17]
jmp 0x14015b19b
mov rax, qword [rdi + 8]
mov rdx, qword [rax + 7]
mov r15, qword [rsp + 0x48]
mov rcx, r15
call fcn.1400f3310
mov rdi, rax
mov rcx, r15
call fcn.1400f8d20
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx + r14*8 + 0x17]
mov qword [rax + 8], rcx
mov edx, dword [0x14032ebb0]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xa0]
mov r8, rsi
mov r9, rbx
call fcn.140153360
mov rax, qword [rsp + 0xa0]
jmp 0x14015b0b8
mov rax, qword [0x1403ada18]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x48]
call fcn.1400f3580
mov rsi, rax
mov rax, qword [r13]
mov r8d, 0x7fffffff
mov rcx, r13
xor edx, edx
call qword [rax + 0x330]
test al, al
jne 0x14015b20f
mov rax, qword [r13]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x7fffffff
lea rdx, [rsp + 0x98]
mov rcx, r13
mov r8, qword [rsp + 0x120]
mov r9, qword [rsp + 0x128]
call qword [rax + 0x350]
mov rdx, qword [rsp + 0x98]
mov rcx, r13
call fcn.1400f9000
mov edx, dword [0x14032ebb0]
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov r8, rbx
mov r9, r13
call fcn.140153360
jmp 0x14015b0c0
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 0x27]
cmp rcx, qword [0x1403a6cd0]
jne 0x14015b255
mov rax, qword [0x1403ada18]
mov rdx, qword [rax + 8]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
jmp 0x14015b2aa
mov rcx, qword [rax + 0x27]
mov esi, dword [rcx + 0x47]
mov rcx, qword [rax + 0x27]
test dword [rcx + 0x47], 2
mov rbx, qword [rsp + 0x50]
je 0x14015b29a
shr esi, 2
and esi, 0x3fff
cmp rdi, rsi
jb 0x14015b29a
mov rax, qword [rax + 0x27]
mov rcx, qword [rax + 0x3f]
call fcn.1400f0780
mov rax, qword [rax + 8]
shl esi, 3
sub rax, rsi
mov rdx, qword [rax + rdi*8 + 0x17]
jmp 0x14015b2a5
mov rax, qword [0x1403ada18]
mov rdx, qword [rax + 8]
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.1400f3580
mov rsi, rax
mov rax, qword [r13]
mov r8d, 0x7fffffff
mov rcx, r13
xor edx, edx
call qword [rax + 0x330]
test al, al
jne 0x14015b20f
mov rax, qword [r13]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x7fffffff
lea rdx, [rsp + 0x88]
mov rcx, r13
mov r8, qword [rsp + 0x120]
mov r9, qword [rsp + 0x128]
call qword [rax + 0x350]
mov rdx, qword [rsp + 0x88]
jmp 0x14015b207