Function at 0x1400095c0
Capabilities:
Get number of processors

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov r12, r9
mov rsi, r8
mov r14, rdx
mov r13, rcx
mov ebx, 1
lock xadd qword [0x140026190], rbx
mov eax, dword [0x140026278]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x60], 0
jne 0x14000964e
call fcn.140001af0
test rax, rax
jne 0x140009655
lea rax, [0x14001d540]
mov qword [rsp + 0x20], rax
lea rcx, [0x14001d4db]
lea r9, [0x14001e3d8]
lea r8, [rbp - 0x10]
mov edx, 0x46
call fcn.14001bf20
ud2
lea rax, [rax + 0x68]
mov r15b, byte [rbp + 0xa0]
mov rdi, qword [rax]
add rdi, 1
mov qword [rax], rdi
test rbx, rbx
js 0x1400096cd
cmp rdi, 2
ja 0x1400096cd
lea rax, str.AccessErrorcannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs_
mov qword [rbp - 0x10], rax
lea rax, [0x14001e1d8]
mov qword [rbp - 8], rax
mov qword [rbp], rsi
mov qword [rbp + 8], r12
mov byte [rbp + 0x10], r15b
lea rcx, [0x140026178]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov rbx, qword [0x140026188]
test rbx, rbx
jne 0x140009811
mov rcx, r13
call qword [r14 + 0x20]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
lea rcx, [rbp - 0x10]
call fcn.140008a30
jmp 0x140009831
cmp rdi, 2
jbe 0x14000975b
mov byte [rbp + 0x24], 0
mov dword [rbp + 0x20], 0
lea rax, [rbp + 0x20]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 0
lea rax, str.thread_panicked_while_processing_panic._aborting._n
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
mov qword [rbp], 0
lea rax, str.AccessErrorcannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs_
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0
lea rdx, [0x14001dc50]
lea rcx, [rbp - 0x40]
lea r8, [rbp - 0x10]
call fcn.140016580
mov rcx, qword [rbp - 0x38]
test al, al
je 0x1400098b2
test rcx, rcx
lea rax, str.formatter_error
cmovne rax, rcx
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x10]
jmp 0x1400098c6
lea rax, str.AccessErrorcannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs_
mov qword [rbp - 0x40], rax
lea rax, [0x14001e1d8]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r12
mov byte [rbp - 0x20], r15b
mov byte [rbp - 0x14], 0
mov dword [rbp - 0x18], 0
lea rax, [rbp - 0x40]
mov qword [rbp - 0x58], rax
lea rax, [0x1400157d0]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 0
lea rax, str.AccessErrorcannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs_
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 2
mov qword [rbp], 0
lea rax, [rbp - 0x58]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 1
lea rdx, [0x14001dc50]
lea rcx, [rbp + 0x20]
lea r8, [rbp - 0x10]
call fcn.140016580
mov rcx, qword [rbp + 0x28]
test al, al
je 0x1400098bd
test rcx, rcx
lea rax, str.formatter_error
cmovne rax, rcx
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x48]
jmp 0x1400098c6
mov rsi, qword [0x140026180]
mov rcx, r13
call qword [r14 + 0x20]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
lea rdx, [rbp - 0x10]
mov rcx, rsi
call qword [rbx + 0x28]
lea rcx, [0x140026178]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
cmp rdi, 1
ja 0x140009856
test r15b, r15b
je 0x140009856
mov rcx, r13
mov rdx, r14
call fcn.1400099a0
ud2
mov byte [rbp + 0x24], 0
mov dword [rbp + 0x20], 0
lea rax, str.thread_panicked_while_panicking._aborting._n
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
mov qword [rbp], 0
lea rax, str.AccessErrorcannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs_
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0
lea rcx, [rbp + 0x20]
lea rdx, [rbp - 0x10]
call fcn.140004480
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x40]
call fcn.140001710
mov ecx, 7
int 0x29
ud2
test rcx, rcx
je 0x1400098cb
lea rcx, [rbp - 0x38]
jmp 0x1400098c6
test rcx, rcx
je 0x1400098cb
lea rcx, [rbp + 0x28]
call fcn.140001580
mov ecx, 7
int 0x29
ud2