Function at 0x140012ce0
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 rsi, rcx
mov rbx, qword [rsp + 0x130]
mov r12, qword [rsp + 0x128]
mov r15, qword [rsp + 0x120]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0xb0], r9
shr rsi, 1
cmp rsi, r9
jae 0x140012e4d
test r12, r12
je 0x140012f76
mov r13, qword [rbx]
mov rsi, qword [rbx + 8]
mov rbp, qword [rbx + 0x10]
shl r12, 5
lea rbx, [rsp + 0x50]
jmp 0x140012d6a
mov rax, qword [rsp + 0x58]
add qword [0x1400f90f0], rax
add r15, 0x20
add r12, 0xffffffffffffffe0
je 0x140012f76
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rbp
mov rcx, qword [r13]
mov eax, dword [0x1400f92c4]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov rdx, qword [rax + 0x98]
test rdx, rdx
je 0x140012e27
cmp qword [rdx + 0x110], rcx
jne 0x140012e3a
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rbx
call fcn.1400433d0
cmp qword [rsp + 0x50], 0
jne 0x140012fab
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov qword [rsp + 0x20], rbp
mov rcx, rbx
mov r9, rsi
call fcn.14001c430
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x140012d50
mov rdi, qword [rsp + 0x58]
mov rcx, r14
call qword [rdi]
cmp qword [rdi + 8], 0
je 0x140012d5c
cmp qword [rdi + 0x10], 0x11
jb 0x140012e10
mov r14, qword [r14 - 8]
mov rcx, qword [0x1400f91f8]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140012d5c
sub rcx, 0xffffffffffffff80
lea rdx, [rsp + 0x30]
call fcn.1400a6f20
jmp 0x140012d5c
sub rcx, 0xffffffffffffff80
lea r8, [rsp + 0x30]
call fcn.1400a7cc0
jmp 0x140012d5c
mov rdi, r8
test dl, dl
je 0x140012e7b
mov eax, dword [0x1400f92c4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x98]
test rax, rax
je 0x140012e89
add rax, 0x110
jmp 0x140012e8e
test rdi, rdi
je 0x140012d27
shr rdi, 1
jmp 0x140012ea2
call fcn.1400685e0
mov rax, qword [rax]
mov rax, qword [rax + 0x210]
shr rdi, 1
cmp rax, rdi
cmova rdi, rax
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0x30], rsi
sub r12, rsi
jb 0x140012fc5
mov rax, rsi
shl rax, 5
add rax, r15
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rbx
mov eax, dword [0x1400f92c4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rdx, qword [rax + 0x98]
test rdx, rdx
jne 0x140012f69
call fcn.1400685e0
mov rcx, qword [rax]
mov eax, dword [0x1400f92c4]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov rdx, qword [rax + 0x98]
test rdx, rdx
je 0x140012f8b
cmp qword [rdx + 0x110], rcx
jne 0x140012f9b
lea rcx, [rsp + 0x50]
xor r8d, r8d
call fcn.140003a70
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
sub rcx, 0xffffffffffffff80
lea rdx, [rsp + 0x50]
call fcn.1400a67f0
jmp 0x140012f76
sub rcx, 0xffffffffffffff80
lea r8, [rsp + 0x50]
call fcn.1400a7200
jmp 0x140012f76
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Userswilliamcanin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.6_srcwin.rs
lea r8, str.srcengine_aes.rs
mov edx, 0x2b
call fcn.1400a9e70
ud2
lea rcx, str.assertion_failed:_mid___self.len__C:Userswilliamcanin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64ct_1.6.0_srcencoding.rs
lea r8, str.C:Userswilliamcanin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rayon_1.8.0_src_slicemod.rs
mov edx, 0x23
call fcn.1400a9e70
ud2