Function at 0x14007c600
Capabilities:
Get number of processors

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x30], 0xfffffffffffffffe
movzx ebx, byte [rbp + 0x90]
mov eax, 1
lock xadd qword [0x14010ba70], rax
test rax, rax
js 0x14007c6db
mov rdi, rcx
mov eax, dword [0x14010bb10]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r15, qword [rax + 0x60]
inc r15
mov qword [rax + 0x60], r15
cmp r15, 2
ja 0x14007c6f2
mov rsi, rdx
lea r14, [0x1400ee140]
mov qword [rbp - 0x18], r14
lea rax, [0x1400ef8e8]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], r8
mov qword [rbp], r9
mov byte [rbp + 8], bl
lea rcx, [0x14010ba50]
call qword [sym.imp.kernel32.dll_AcquireSRWLockShared]
movzx eax, byte [0x14010ba58]
cmp qword [0x14010ba60], 0
mov rax, qword [rsi + 0x20]
jne 0x14007c82b
mov byte [rbp + 0x2f], 1
mov rcx, rdi
call rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rdx
mov byte [rbp + 0x2f], 1
lea rcx, [rbp - 0x18]
call fcn.14007bc40
jmp 0x14007c858
movabs rcx, 0x7fffffffffffffff
and rax, rcx
cmp rax, 2
jbe 0x14007c776
mov byte [rbp + 0x1c], 0
mov dword [rbp + 0x18], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x58], 0
lea rax, str.thread_panicked_while_processing_panic._aborting._n
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
lea rax, [0x1400ee140]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 0
lea rdx, fcn.140071af0
lea rcx, [rbp - 0x18]
lea r8, [rbp - 0x58]
call fcn.14008b140
mov rcx, qword [rbp - 0x18]
test al, al
je 0x14007c941
test rcx, rcx
lea rax, str.formatter_error
cmovne rax, rcx
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x58]
jmp 0x14007c955
lea rax, [0x1400ee140]
mov qword [rbp - 0x18], rax
lea rax, [0x1400ef8e8]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], r8
mov qword [rbp], r9
mov byte [rbp + 8], bl
mov byte [rbp + 0x14], 0
mov dword [rbp + 0x10], 0
lea rax, [rbp - 0x18]
mov qword [rbp - 0x28], rax
lea rax, [0x14008a4c0]
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x18], 0
mov qword [rbp - 0x58], 0
lea rax, [0x1400ef940]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
lea rax, [rbp - 0x28]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rdx, fcn.140071af0
lea rcx, [rbp + 0x18]
lea r8, [rbp - 0x58]
call fcn.14008b140
mov rcx, qword [rbp + 0x18]
test al, al
je 0x14007c94c
test rcx, rcx
lea rax, str.formatter_error
cmovne rax, rcx
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x60]
jmp 0x14007c955
mov byte [rbp + 0x2f], 1
mov rcx, rdi
call rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rdx
mov rcx, qword [0x14010ba60]
mov rax, qword [0x14010ba68]
mov rax, qword [rax + 0x28]
mov byte [rbp + 0x2f], 1
lea rdx, [rbp - 0x18]
call rax
lea rcx, [0x14010ba50]
call qword [sym.imp.kernel32.dll_ReleaseSRWLockShared]
cmp r15, 1
ja 0x14007c880
test bl, bl
je 0x14007c880
mov byte [rbp + 0x2f], 0
mov rcx, rdi
mov rdx, rsi
call fcn.14007ca10
ud2
test bl, bl
je 0x14007c8df
mov byte [rbp - 0x24], 0
mov dword [rbp - 0x28], 0
lea rax, str.thread_panicked_while_panicking._aborting._n
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x58], 0
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 0
mov byte [rbp + 0x2f], 0
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x58]
call fcn.140077d00
mov qword [rbp + 0x18], rax
test rax, rax
je 0x14007c938
mov byte [rbp + 0x2f], 0
lea rcx, [rbp + 0x18]
call fcn.140071790
jmp 0x14007c938
mov byte [rbp - 0x24], 0
mov dword [rbp - 0x28], 0
lea rax, str.thread_caused_non_unwinding_panic._aborting._n
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x58], 0
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 0
mov byte [rbp + 0x2f], 0
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x58]
call fcn.140077d00
mov qword [rbp + 0x18], rax
test rax, rax
je 0x14007c938
mov byte [rbp + 0x2f], 0
lea rcx, [rbp + 0x18]
call fcn.140071790
mov ecx, 7
int 0x29
ud2
test rcx, rcx
je 0x14007c95a
lea rcx, [rbp - 0x18]
jmp 0x14007c955
test rcx, rcx
je 0x14007c95a
lea rcx, [rbp + 0x18]
call fcn.140071790
mov ecx, 7
int 0x29
ud2