Function at 0x140013790
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 r14, qword [rsp + 0x128]
mov r15, qword [rsp + 0x120]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0xb0], r9
shr rsi, 1
cmp rsi, r9
jae 0x1400138ec
test r14, r14
je 0x140013a55
shl r14, 5
lea rax, [r15 + r14]
mov qword [rsp + 0x30], rax
mov rsi, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x38], rax
add r15, 0x28
mov r12d, 0x20
sub r12, r14
lea rdi, [rsp + 0x50]
jmp 0x140013822
add r15, 0x20
add r12, 0x20
cmp r12, 0x20
je 0x140013a55
cmp byte [r15 - 0x10], 2
je 0x140013928
mov rbx, qword [r15 - 0x28]
mov r13, qword [r15 - 0x20]
mov r8, qword [r15 - 0x18]
mov rcx, rdi
mov rdx, rbx
call fcn.140043490
cmp qword [rsp + 0x50], 0
jne 0x140013a8a
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r9, rsi
call fcn.14001c600
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x1400138c0
mov rbp, qword [rsp + 0x58]
mov rcx, r14
call qword [rbp]
cmp qword [rbp + 8], 0
je 0x1400138a8
cmp qword [rbp + 0x10], 0x11
jb 0x140013896
mov r14, qword [r14 - 8]
mov rcx, qword [0x1400f91f8]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
test r13, r13
jne 0x1400138d5
jmp 0x140013810
mov rax, qword [rsp + 0x58]
add qword [0x1400f90f8], rax
test r13, r13
je 0x140013810
mov rcx, qword [0x1400f91f8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140013810
mov rdi, r8
test dl, dl
je 0x14001391a
mov eax, dword [0x1400f92c4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x98]
test rax, rax
je 0x140013968
add rax, 0x110
jmp 0x14001396d
test rdi, rdi
je 0x1400137d7
shr rdi, 1
jmp 0x140013981
lea rax, [r15 - 8]
cmp rax, qword [rsp + 0x30]
je 0x140013a55
neg r12
shr r12, 5
jmp 0x14001394d
add r15, 0x20
dec r12
je 0x140013a55
cmp qword [r15], 0
je 0x140013940
mov r8, qword [r15 - 8]
mov rcx, qword [0x1400f91f8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140013940
call fcn.1400686f0
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 + 0x48], rsi
sub r14, rsi
jb 0x140013aa4
mov rax, rsi
shl rax, 5
add rax, r15
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r14
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 0x140013a48
call fcn.1400686f0
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 0x140013a6a
cmp qword [rdx + 0x110], rcx
jne 0x140013a7a
lea rcx, [rsp + 0x50]
xor r8d, r8d
call fcn.140004430
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.1400a7160
jmp 0x140013a55
sub rcx, 0xffffffffffffff80
lea r8, [rsp + 0x50]
call fcn.1400a7670
jmp 0x140013a55
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.1400aa0a0
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, [0x1400b2360]
mov edx, 0x23
call fcn.1400aa0a0
ud2