Function at 0x14000c140
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.freeHugeChunk
mov qword [rsp + 0x60], rax
lea r15, str._home_neko_.choosenim_toolchains_nim_2.0.2_lib_system_alloc.nim
mov qword [rsp + 0x70], r15
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 rbx, [rax + 0x2ac8]
mov rax, qword [rax + 0x2ac8]
test rax, rax
je 0x14000c1ce
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x7a], cx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbx], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000c1e2
call fcn.1400153a0
jmp 0x14000c1e2
mov word [rsp + 0x7a], 0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbx], rax
mov r14, qword [rsi + 8]
mov qword [rsp + 0x68], 0x2b1
lea rax, str.pageIndex
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [rbx]
test rax, rax
je 0x14000c246
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rbx], rax
movzx ecx, cx
cmp ecx, 0x7d0
jne 0x14000c25a
call fcn.1400153a0
mov rax, qword [rbx]
jmp 0x14000c25a
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rbx], rax
mov rax, qword [rax]
mov qword [rbx], rax
lea rax, str.excl
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0x98], 0
mov word [rsp + 0xa8], 0
mov rax, qword [rbx]
test rax, rax
je 0x14000c2c8
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0xaa], cx
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov qword [rbx], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000c2e5
call fcn.1400153a0
jmp 0x14000c2e5
mov word [rsp + 0xaa], 0
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov qword [rbx], rax
mov qword [rsp + 0x98], 0x188
mov r12, rsi
sar r12, 0x15
lea rax, str.intSetGet
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [rbx]
test rax, rax
je 0x14000c34b
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rbx], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000c35f
call fcn.1400153a0
jmp 0x14000c35f
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rbx], rax
movzx eax, r12b
mov rax, qword [rdi + rax*8 + 0x20a0]
test rax, rax
je 0x14000c38e
mov rcx, rsi
sar rcx, 0xc
nop word [rax + rax]
cmp qword [rax + 8], r12
je 0x14000c399
mov rax, qword [rax]
test rax, rax
jne 0x14000c380
mov rax, qword [rbx]
mov rax, qword [rax]
mov qword [rbx], rax
jmp 0x14000c3c7
mov rdx, qword [rbx]
mov rdx, qword [rdx]
mov qword [rbx], rdx
mov qword [rsp + 0x98], 0x18c
mov rdx, rcx
shr rdx, 3
mov r8, 0xfffffffffffffffe
rol r8, cl
and edx, 0x38
and qword [rax + rdx + 0x10], r8
mov rax, qword [rbx]
mov rax, qword [rax]
mov qword [rbx], rax
mov qword [rsp + 0x68], 0x2b2
lea rax, str.decCurrMem
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [rbx]
test rax, rax
je 0x14000c430
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rbx], rax
movzx ecx, cx
cmp ecx, 0x7d0
jne 0x14000c444
call fcn.1400153a0
mov rax, qword [rbx]
jmp 0x14000c444
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rbx], rax
mov rcx, qword [rdi + 0x2070]
mov rdx, qword [rdi + 0x2078]
cmp rdx, rcx
cmovle rdx, rcx
mov qword [rdi + 0x2078], rdx
sub rcx, r14
mov qword [rdi + 0x2070], rcx
mov rax, qword [rax]
mov qword [rbx], rax
mov qword [rsp + 0x68], 0x2b3
lea rax, str.osDeallocPages
mov qword [rsp + 0x30], rax
lea rax, str._home_neko_.choosenim_toolchains_nim_2.0.2_lib_system_osalloc.nim
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [rbx]
test rax, rax
je 0x14000c4d3
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rbx], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000c4e7
call fcn.1400153a0
jmp 0x14000c4e7
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rbx], rax
mov qword [rsp + 0x38], 0xbe
mov rcx, rsi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x14000c528
mov rax, qword [rbx]
mov rax, qword [rax]
mov qword [rbx], rax
mov rax, qword [rbx]
mov rax, qword [rax]
mov qword [rbx], rax
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsp + 0x38], 0xbf
call fcn.1400195c0
mov qword [rsp + 0x38], 0xc0
mov ecx, 1
call sub.msvcrt.dll_exit
int3