Function at 0x14002d8e0
Capabilities:
Get number of processors

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp + 0x28], r8
lock inc qword [0x143b47610]
jle 0x14002da50
mov eax, dword [0x143b476b8]
mov r8, qword gs:[0x58]
mov rax, qword [r8 + rax*8]
cmp byte [rax + 0x60], 0
jne 0x14002dacf
mov ebx, r9d
mov eax, dword [0x143b476b8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
inc qword [rax + 0x58]
mov byte [rax + 0x60], 1
mov eax, dword [0x143b475f0]
cmp eax, 0x3ffffffd
ja 0x14002d973
lea ecx, [rax + 1]
lock cmpxchg dword [0x143b475f0], ecx
je 0x14002d97f
lea rcx, [0x143b475f0]
call fcn.140045bb0
movzx esi, byte [rbp + 0x80]
movzx eax, byte [0x143b475f8]
cmp qword [0x143b47600], 0
jne 0x14002d9c4
mov rdi, qword [rbp + 0x28]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
call qword [rax + 0x28]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
mov qword [rbp], rdi
mov byte [rbp + 8], bl
mov byte [rbp + 9], sil
lea rcx, [rbp - 0x10]
call fcn.14002c920
jmp 0x14002d9fb
mov rdi, qword [rbp + 0x28]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
call qword [rax + 0x28]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
mov qword [rbp], rdi
mov byte [rbp + 8], bl
mov byte [rbp + 9], sil
mov rcx, qword [0x143b47600]
mov rax, qword [0x143b47608]
lea rdx, [rbp - 0x10]
call qword [rax + 0x28]
mov edx, 0xffffffff
lock xadd dword [0x143b475f0], edx
dec edx
mov eax, edx
and eax, 0xbfffffff
neg eax
jno 0x14002da21
lea rcx, [0x143b475f0]
call fcn.140045ce0
mov eax, dword [0x143b476b8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x60], 0
test bl, bl
je 0x14002db6e
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
call fcn.14002dd20
mov dword [rbp + 0x20], 0
mov byte [rbp + 0x24], 0
lea rax, [rbp + 0x28]
mov qword [rbp - 0x58], rax
lea rax, [0x140023780]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x48], rax
lea rax, [0x140024220]
mov qword [rbp - 0x40], rax
lea rax, [0x143b35ef0]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 3
mov qword [rbp + 0x10], 0
lea rax, [rbp - 0x58]
mov qword [rbp], rax
mov qword [rbp + 8], 2
lea rcx, [rbp + 0x20]
lea rdx, [rbp - 0x10]
call fcn.1400285a0
mov qword [rbp - 0x38], rax
test rax, rax
je 0x14002db65
lea rcx, [rbp - 0x38]
jmp 0x14002db60
call qword [rdx + 0x30]
test rax, rax
mov ecx, 1
cmovne rcx, rax
cmove rdx, rax
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x30], rdx
mov dword [rbp - 0x18], 0
mov byte [rbp - 0x14], 0
lea rax, [rbp + 0x28]
mov qword [rbp - 0x58], rax
lea rax, [0x140023780]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x48], rax
lea rax, [0x140023760]
mov qword [rbp - 0x40], rax
lea rax, [0x143b35f58]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 3
mov qword [rbp + 0x10], 0
lea rax, [rbp - 0x58]
mov qword [rbp], rax
mov qword [rbp + 8], 2
lea rcx, [rbp - 0x18]
lea rdx, [rbp - 0x10]
call fcn.1400285a0
mov qword [rbp + 0x20], rax
test rax, rax
je 0x14002db65
lea rcx, [rbp + 0x20]
call fcn.140023db0
mov ecx, 7
int 0x29
ud2
mov dword [rbp - 0x38], 0
mov byte [rbp - 0x34], 0
lea rax, [0x143b35fb8]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
mov qword [rbp], 8
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x10]
call fcn.1400285a0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x58]
call fcn.140024040
mov ecx, 7
int 0x29
ud2