Function at 0x140010bc0
Capabilities:
Get number of processors

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rsi, rdx
mov rdi, rcx
lea rax, str.registerCycle
mov qword [rsp + 0x60], rax
lea rax, [0x140046ecd]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], 0
mov word [rsp + 0x78], 0
mov eax, dword [0x140682508]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea r15, [rax + 0x2ac8]
mov rax, qword [rax + 0x2ac8]
test rax, rax
je 0x140010c4e
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x7a], cx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [r15], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x140010c62
call fcn.1400153a0
jmp 0x140010c62
mov word [rsp + 0x7a], 0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [r15], rax
mov qword [rsp + 0x68], 0x19a
mov eax, dword [0x140682508]
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx + rax*8]
mov rax, qword [rcx + 0x2aa8]
inc rax
jo 0x140010edc
lea rbx, [rcx + 0x2aa8]
mov qword [rdi + 8], rax
mov qword [rsp + 0x68], 0x19b
cmp qword [rbx + 0x10], 0
lea r12, [0x140046f25]
jne 0x140010e08
lea rax, str.init
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0x98], 0
mov word [rsp + 0xa8], 0
mov rax, qword [r15]
test rax, rax
je 0x140010d1c
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0xaa], cx
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov qword [r15], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x140010d39
call fcn.1400153a0
jmp 0x140010d39
mov word [rsp + 0xaa], 0
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov qword [r15], rax
mov qword [rbx], 0
mov qword [rbx + 8], 0x400
mov qword [rsp + 0x98], 0x25
mov eax, dword [0x140682508]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea r14, [rax + 8]
lea rax, str.alloc
mov qword [rsp + 0x30], rax
lea rax, str._home_neko_.choosenim_toolchains_nim_2.0.2_lib_system_alloc.nim
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [r15]
test rax, rax
je 0x140010dc8
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x140010ddc
call fcn.1400153a0
jmp 0x140010ddc
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
mov qword [rsp + 0x38], 0x41c
mov edx, 0x4000
mov rcx, r14
call fcn.1400098f0
mov rcx, qword [r15]
mov rcx, qword [rcx]
mov qword [r15], rcx
mov qword [rbx + 0x10], rax
mov rax, qword [r15]
mov rax, qword [rax]
mov qword [r15], rax
mov qword [rsp + 0x68], 0x19c
lea rax, [0x140047474]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [r15]
test rax, rax
je 0x140010e64
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x140010e78
call fcn.1400153a0
jmp 0x140010e78
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
mov rax, qword [rbx]
cmp qword [rbx + 8], rax
jg 0x140010e95
mov qword [rsp + 0x38], 0x1d
mov rcx, rbx
call fcn.14000d1c0
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
mov rdx, rax
shl rdx, 4
mov qword [rcx + rdx], rdi
mov qword [rcx + rdx + 8], rsi
mov qword [rsp + 0x38], 0x1f
inc rax
jno 0x140010ebe
call fcn.1400054b0
jmp 0x140010ec1
mov qword [rbx], rax
mov rax, qword [r15]
mov rax, qword [rax]
mov qword [r15], rax
mov qword [rsp + 0x68], 0x19e
mov rax, qword [rbx]
add rax, 0xffffffffffffff80
jno 0x140010efb
call fcn.1400054b0
mov rax, qword [r15]
mov rax, qword [rax]
mov qword [r15], rax
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, dword [0x140682508]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp qword [rcx + 0x2ac0], rax
jg 0x140010ee1
mov qword [rsp + 0x68], 0x19f
call fcn.1400105e0
jmp 0x140010ee1