Function at 0x14001b780
Capabilities:
Get number of processors

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov dword [rsp + 0x5c], edx
mov qword [rsp + 0x60], rcx
lea rax, str.setFilePermissions
mov qword [rsp + 0x78], rax
lea rax, str._home_neko_.choosenim_toolchains_nim_2.0.2_lib_std_private_osfiles.nim
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], 0
mov word [rsp + 0x90], 0
mov eax, dword [0x140682508]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea r13, [rax + 0x2ac8]
mov rax, qword [rax + 0x2ac8]
test rax, rax
je 0x14001b821
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x92], cx
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov qword [r13], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14001b83d
call fcn.1400153a0
jmp 0x14001b83d
mov word [rsp + 0x92], 0
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x70]
mov qword [r13], rax
mov eax, dword [0x140682508]
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx + rax*8]
lea rsi, [rdi + 0x2ad8]
mov qword [rsp + 0x80], 0x33
lea r12, str._home_neko_.choosenim_toolchains_nim_2.0.2_lib_std_private_oscommon.nim
mov qword [rsp + 0x88], r12
mov rax, qword [rsp + 0x60]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xa0], xmm0
lea r14, [rsp + 0x20]
lea rdx, [rsp + 0xa0]
mov rcx, r14
call fcn.140003740
mov r15, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov bpl, 1
cmp byte [rdi + 0x2ad8], 0
lea rdi, [0x1400482ac]
jne 0x14001bbe9
lea rax, [0x1400483e0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], 0
mov word [rsp + 0x40], 0
mov rax, qword [r13]
test rax, rax
je 0x14001b90c
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x42], cx
mov qword [rsp + 0x20], rax
mov qword [r13], r14
movzx eax, cx
cmp eax, 0x7d0
jne 0x14001b925
call fcn.1400153a0
mov r14, qword [r13]
jmp 0x14001b925
mov word [rsp + 0x42], 0
mov qword [rsp + 0x20], 0
lea r14, [rsp + 0x20]
mov qword [r13], r14
mov rax, qword [r14]
mov qword [r13], rax
cmp byte [rsi], 0
jne 0x14001bbe9
mov rax, qword [0x1400483f0]
mov rcx, rbx
call qword [rax]
mov ebp, eax
mov qword [rsp + 0x80], 0x89
lea rax, str._home_neko_.choosenim_toolchains_nim_2.0.2_lib_std_private_osfiles.nim
mov qword [rsp + 0x88], rax
cmp ebp, 0xffffffff
je 0x14001ba2a
mov qword [rsp + 0x68], rbx
mov rbx, r15
xor r15d, r15d
test byte [rsp + 0x5c], 2
sete dil
mov qword [rsp + 0x80], 0x36
mov qword [rsp + 0x88], r12
mov rax, qword [rsp + 0x60]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xa0], xmm0
lea r12, [rsp + 0x20]
lea rdx, [rsp + 0xa0]
mov rcx, r12
call fcn.140003740
mov rax, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
cmp byte [rsi], 0
jne 0x14001bbf3
mov qword [rsp + 0xb0], rax
lea rax, [0x1400483e0]
mov qword [rsp + 0x28], rax
lea rax, [0x1400482ac]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov word [rsp + 0x40], 0
mov rax, qword [r13]
test rax, rax
je 0x14001ba64
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x42], cx
mov qword [rsp + 0x20], rax
mov qword [r13], r12
movzx eax, cx
cmp eax, 0x7d0
jne 0x14001ba7d
call fcn.1400153a0
mov r12, qword [r13]
jmp 0x14001ba7d
call fcn.14001b6c0
cmp byte [rsi], 0
jne 0x14001bc21
mov rcx, qword [rsp + 0x60]
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.14001b5a0
xor r14d, r14d
cmp byte [rsi], 0
je 0x14001b967
xor eax, eax
mov bpl, 1
jmp 0x14001bae0
mov word [rsp + 0x42], 0
mov qword [rsp + 0x20], 0
lea r12, [rsp + 0x20]
mov qword [r13], r12
mov rax, qword [r12]
mov qword [r13], rax
cmp byte [rsi], 0
jne 0x14001bc0a
and ebp, 0xfffffffe
mov r15b, dil
or r15d, ebp
mov rax, qword [0x1400483f8]
mov rcx, r14
mov edx, r15d
call qword [rax]
mov qword [rsp + 0x80], 0x8f
lea rcx, str._home_neko_.choosenim_toolchains_nim_2.0.2_lib_std_private_osfiles.nim
mov qword [rsp + 0x88], rcx
cmp eax, 0xffffffff
mov r15, rbx
mov rbx, qword [rsp + 0x68]
je 0x14001bb4b
movzx ebp, byte [rsi]
lea rdi, [0x1400482ac]
mov rax, qword [rsp + 0xb0]
mov byte [rsi], 0
mov qword [rsp + 0x80], 0x1d
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], r14
lea rcx, [rsp + 0x20]
call fcn.140003680
cmp byte [rsi], 0
jne 0x14001bb2c
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x20]
call fcn.140003680
cmp byte [rsi], 0
jne 0x14001bb2c
mov byte [rsi], bpl
mov rax, qword [r13]
mov rax, qword [rax]
mov qword [r13], rax
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14001b6c0
cmp byte [rsi], 0
jne 0x14001bc29
mov ebp, eax
mov rax, qword [rsp + 0x60]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
mov eax, dword [rsp + 0x5c]
mov word [rsp + 0x30], ax
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x20]
call fcn.140002710
mov rdi, qword [rsp + 0xa8]
cmp byte [rsi], 0
jne 0x14001bbae
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x20]
mov ecx, ebp
call fcn.14001b5a0
mov qword [rsp + 0x80], 0x172
lea rax, [0x140048272]
mov qword [rsp + 0x88], rax
test rdi, rdi
je 0x14001bace
test byte [rdi + 7], 0x40
jne 0x14001bace
mov rcx, rdi
call fcn.14000f500
jmp 0x14001bace
xor r14d, r14d
xor eax, eax
jmp 0x14001bae0
mov r15, rbx
mov rbx, qword [rsp + 0x68]
lea rdi, [0x1400482ac]
mov bpl, 1
jmp 0x14001bae0
mov r15, rbx
mov rbx, qword [rsp + 0x68]
lea rdi, [0x1400482ac]
mov bpl, 1
jmp 0x14001bad8
xor r14d, r14d
jmp 0x14001ba5d
mov qword [rsp + 0x80], 0x172
lea rax, [0x140048272]
mov qword [rsp + 0x88], rax
jmp 0x14001bace