Function at 0x140042250
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 [0x1400a52b0]
jle 0x1400423c3
mov eax, dword [0x1400a5378]
mov r8, qword gs:[0x58]
mov rax, qword [r8 + rax*8]
cmp byte [rax + 0x68], 0
jne 0x140042442
mov ebx, r9d
mov eax, dword [0x1400a5378]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
inc qword [rax + 0x60]
mov byte [rax + 0x68], 1
mov eax, dword [0x1400a5290]
cmp eax, 0x3ffffffd
ja 0x1400422e3
lea ecx, [rax + 1]
lock cmpxchg dword [0x1400a5290], ecx
je 0x1400422ef
lea rcx, [0x1400a5290]
call fcn.140060dd0
movzx esi, byte [rbp + 0x80]
movzx eax, byte [0x1400a5298]
cmp qword [0x1400a52a0], 0
jne 0x140042334
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.1400414d0
jmp 0x14004236b
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 [0x1400a52a0]
mov rax, qword [0x1400a52a8]
lea rdx, [rbp - 0x10]
call qword [rax + 0x28]
mov edx, 0xffffffff
lock xadd dword [0x1400a5290], edx
dec edx
mov eax, edx
and eax, 0xbfffffff
cmp eax, 0x80000000
jne 0x140042394
lea rcx, [0x1400a5290]
call fcn.140060ef0
mov eax, dword [0x1400a5378]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x68], 0
test bl, bl
je 0x1400424e1
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
call fcn.140042590
mov dword [rbp + 0x20], 0
mov byte [rbp + 0x24], 0
lea rax, [rbp + 0x28]
mov qword [rbp - 0x58], rax
lea rax, [0x140032f30]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x48], rax
lea rax, [0x1400344d0]
mov qword [rbp - 0x40], rax
lea rax, [0x14008d3e0]
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.14003c5f0
mov qword [rbp - 0x38], rax
test rax, rax
je 0x1400424d8
lea rcx, [rbp - 0x38]
jmp 0x1400424d3
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, [0x140032f30]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x48], rax
lea rax, [0x140032f40]
mov qword [rbp - 0x40], rax
lea rax, str.panicked_at_:_nlibrary_std_srcpanic.rs
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.14003c5f0
mov qword [rbp + 0x20], rax
test rax, rax
je 0x1400424d8
lea rcx, [rbp + 0x20]
call fcn.140033c80
mov ecx, 7
int 0x29
ud2
mov dword [rbp - 0x38], 0
mov byte [rbp - 0x34], 0
lea rax, str.thread_caused_non_unwinding_panic._aborting._n
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.14003c5f0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x58]
call fcn.140034310
mov ecx, 7
int 0x29
ud2