Function at 0x180034890
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 rdi, rcx
cmp byte [rcx + 0x21], 0
je 0x1800348ba
mov byte [rbp + 0x2f], 3
jmp 0x1800348e5
mov eax, dword [0x1800d038c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x28], 1
jbe 0x1800348dd
mov byte [rbp + 0x2f], 1
jmp 0x1800348e5
call sym.rt_dll.dll_std::panic::get_backtrace_style::h08889f04780904d1
mov byte [rbp + 0x2f], al
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x10], rax
mov rsi, qword [rdi]
mov rdi, qword [rdi + 8]
mov rcx, rsi
call qword [rdi + 0x18]
movabs rcx, 0xfdbc168100b1ef64
xor rcx, rdx
movabs rdx, 0xc1a2c89ccd1e7bc1
xor rdx, rax
or rdx, rcx
jne 0x18003491f
lea rax, [rsi + 8]
jmp 0x180034952
mov rcx, rsi
call qword [rdi + 0x18]
movabs rcx, 0xd3a76bd7c8d00adf
xor rcx, rdx
movabs rdx, 0x7b99aa28f082eb52
xor rdx, rax
or rdx, rcx
jne 0x18003495a
lea rcx, [rsi + 8]
add rsi, 0x10
mov rax, rsi
mov rsi, rcx
mov rcx, qword [rsi]
mov rax, qword [rax]
jmp 0x180034966
mov eax, listen
lea rcx, str.Box_dyn_Any__unnamed_
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
call fcn.1800333e0
mov rdi, rax
mov qword [rbp + 8], rax
mov eax, 9
lea rcx, [0x1800875d4]
test rdi, rdi
je 0x18003499e
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x18003499e
mov rax, qword [rdi + 0x20]
dec rax
mov rcx, rdx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x2f]
mov qword [rbp - 0x38], rax
movzx eax, byte [0x1800d01a1]
test al, al
je 0x1800349fe
mov byte [0x1800d01a1], 1
mov eax, dword [0x1800d038c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x60], 0
je 0x180034a0b
lea rax, [rax + 0x68]
jmp 0x180034a23
mov qword [rbp], 0
jmp 0x180034ad2
mov qword [rbp + 0x20], rdi
xor ecx, ecx
call fcn.180036570
test rax, rax
mov rdi, qword [rbp + 0x20]
je 0x180034ba1
mov rsi, qword [rax]
mov qword [rax], 0
mov qword [rbp], rsi
test rsi, rsi
je 0x180034ad2
mov qword [rbp - 8], rsi
lea rcx, [rsi + 0x10]
mov qword [rbp + 0x20], rcx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [sym.rt_dll.dll_std::panicking::panic_count::GLOBAL_PANIC_COUNT::h325a24149641f39e]
shl rax, 1
test rax, rax
jne 0x180034b7c
mov dword [rbp + 0x14], 0
movzx eax, byte [rsi + 0x18]
lea rdx, [rsi + 0x20]
lea r8, [0x1800875e0]
lea rcx, [rbp - 0x50]
call fcn.180034d70
cmp byte [rbp + 0x14], 0
jne 0x180034a97
mov rax, qword [sym.rt_dll.dll_std::panicking::panic_count::GLOBAL_PANIC_COUNT::h325a24149641f39e]
shl rax, 1
test rax, rax
jne 0x180034b8b
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov byte [0x1800d01a1], 1
mov qword [rbp + 0x18], rsi
mov eax, dword [0x1800d038c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x60], 0
je 0x180034afe
lea rax, [rax + 0x68]
jmp 0x180034b16
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
mov byte [rbp + 0x2d], 0
lea r8, [0x180087630]
lea rcx, [rbp - 0x50]
lea rdx, [rbp + 0x18]
call fcn.180034d70
xor esi, esi
test rdi, rdi
jne 0x180034b40
jmp 0x180034b4f
mov qword [rbp + 0x20], rsi
xor ecx, ecx
call fcn.180036570
test rax, rax
mov rsi, qword [rbp + 0x20]
je 0x180034bcb
mov rcx, qword [rax]
mov qword [rax], rsi
mov qword [rbp + 0x18], rcx
test rcx, rcx
je 0x180034b34
lock dec qword [rcx]
jne 0x180034b34
lea rcx, [rbp + 0x18]
call fcn.1800187c0
mov sil, 1
mov rdi, qword [rbp + 8]
test rdi, rdi
je 0x180034b4f
lock dec qword [rdi]
jne 0x180034b4f
lea rcx, [rbp + 8]
call fcn.180018850
mov rax, qword [rbp]
test rax, rax
setne cl
not sil
test sil, cl
je 0x180034b6f
lock dec qword [rax]
jne 0x180034b6f
mov rcx, rbp
call fcn.1800187c0
nop
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop rbp
ret
call sym.rt_dll.dll_std::panicking::panic_count::is_zero_slow_path::hddd52a2f411255ed
xor al, 1
mov dword [rbp + 0x14], eax
jmp 0x180034a66
call sym.rt_dll.dll_std::panicking::panic_count::is_zero_slow_path::hddd52a2f411255ed
test al, al
jne 0x180034a97
mov byte [rsi + 0x18], 1
jmp 0x180034a97
lea rax, [0x180086288]
mov qword [rsp + 0x20], rax
lea rcx, [0x180086222]
lea r9, [0x180084588]
lea r8, [rbp + 0x18]
mov edx, 0x46
call sym.rt_dll.dll_core::result::unwrap_failed::h4d01bca44d471e73
jmp 0x180034c06
lock dec qword [rsi]
jne 0x180034bda
lea rcx, [rbp + 0x18]
call fcn.1800187c0
mov byte [rbp + 0x2e], 0
lea rax, [0x180086288]
mov qword [rsp + 0x20], rax
lea rcx, [0x180086222]
lea r9, [0x180084588]
lea r8, [rbp + 0x18]
mov edx, 0x46
call sym.rt_dll.dll_core::result::unwrap_failed::h4d01bca44d471e73
ud2