Function at 0x14000e630
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, r8
mov rdi, rdx
mov rbx, rcx
lea rax, str.scan
mov qword [rsp + 0x90], rax
lea r15, [0x140046ecd]
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0x98], 0
mov word [rsp + 0xa8], 0
mov eax, dword [0x140682508]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea r14, [rax + 0x2ac8]
mov rax, qword [rax + 0x2ac8]
test rax, rax
je 0x14000e6d9
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0xaa], cx
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov qword [r14], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000e6fa
call fcn.1400153a0
jmp 0x14000e6fa
mov word [rsp + 0xaa], 0
mov qword [rsp + 0x88], 0
lea rax, [rsp + 0x88]
mov qword [r14], rax
mov rax, qword [rbx]
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne 0x14000e726
test rax, rax
js 0x14000e743
mov qword [rsp + 0x98], 0xdd
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call fcn.14000e0e0
mov rax, qword [r14]
mov rax, qword [rax]
mov qword [r14], rax
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, dword [0x140682508]
mov rdx, qword gs:[0x58]
mov r12, qword [rdx + rcx*8]
and rax, 0xfffffffffffffffc
or rax, 2
mov qword [rbx], rax
mov qword [rsp + 0x98], 0xf4
lea rax, str.trace
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], 0
mov word [rsp + 0x70], 0
mov rax, qword [r14]
lea rdx, [rsp + 0x50]
test rax, rax
je 0x14000e7c0
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x72], cx
mov qword [rsp + 0x50], rax
mov qword [r14], rdx
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000e7d3
call fcn.1400153a0
jmp 0x14000e7d3
mov word [rsp + 0x72], 0
mov qword [rsp + 0x50], 0
mov qword [r14], rdx
lea rax, [r12 + 0x2ad8]
mov qword [rsp + 0x80], rax
cmp qword [rdi + 0x20], 0
je 0x14000e89a
mov qword [rsp + 0x60], 0x32
lea rax, [0x140047050]
mov qword [rsp + 0x68], rax
lea rax, [0x1400472f7]
mov qword [rsp + 0x28], rax
lea rax, [0x1400472fa]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov word [rsp + 0x40], 0
mov rcx, qword [r14]
test rcx, rcx
je 0x14000e861
lea rax, [rsp + 0x20]
movzx edx, word [rcx + 0x22]
add edx, 1
mov word [rsp + 0x42], dx
mov qword [rsp + 0x20], rcx
mov qword [r14], rax
movzx ecx, dx
cmp ecx, 0x7d0
jne 0x14000e879
call fcn.1400153a0
mov rax, qword [r14]
jmp 0x14000e879
mov word [rsp + 0x42], 0
mov qword [rsp + 0x20], 0
lea rax, [rsp + 0x20]
mov qword [r14], rax
add rbx, 0x10
mov rax, qword [rax]
mov qword [r14], rax
mov qword [rsp + 0x60], 0x50
mov qword [rsp + 0x68], r15
mov rcx, rbx
mov rdx, rsi
call qword [rdi + 0x20]
mov rax, qword [r14]
mov rax, qword [rax]
mov qword [r14], rax
mov rax, qword [rsp + 0x80]
cmp byte [rax], 0
jne 0x14000e726
cmp qword [rsi], 0
jle 0x14000e726
lea rbp, [rsp + 0x20]
lea r12, [0x1400472fa]
jmp 0x14000e902
mov qword [rsp + 0x98], 0xfa
mov rdx, rdi
mov r8, rsi
call fcn.14000e0e0
mov rax, qword [rsp + 0x80]
cmp byte [rax], 0
jne 0x14000e726
cmp qword [rsi], 0
jle 0x14000e726
mov qword [rsp + 0x98], 0xf6
lea rax, [0x140046fdb]
mov qword [rsp + 0x28], rax
lea rax, [0x140046f25]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov word [rsp + 0x40], 0
mov rax, qword [r14]
test rax, rax
je 0x14000e970
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x42], cx
mov qword [rsp + 0x20], rax
mov qword [r14], rbp
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000e983
call fcn.1400153a0
jmp 0x14000e983
mov word [rsp + 0x42], 0
mov qword [rsp + 0x20], 0
mov qword [r14], rbp
mov qword [rsp + 0x30], 0x34
mov rax, qword [rsi]
add rax, 0xffffffffffffffff
jno 0x14000e9a0
call fcn.1400054b0
jmp 0x14000e9b7
mov rcx, qword [rsi + 0x10]
mov rdx, rax
shl rdx, 4
mov r13, qword [rcx + rdx]
mov rdi, qword [rcx + rdx + 8]
mov qword [rsi], rax
mov rax, qword [r14]
mov rax, qword [rax]
mov qword [r14], rax
mov qword [rsp + 0x98], 0x2b
lea rax, [0x140046fe8]
mov qword [rsp + 0xa0], rax
mov rbx, qword [r13]
lea rax, [0x14004734a]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
mov word [rsp + 0x40], 0
mov rax, qword [r14]
test rax, rax
je 0x14000ea40
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x42], cx
mov qword [rsp + 0x20], rax
mov qword [r14], rbp
movzx ecx, cx
mov rax, rbp
cmp ecx, 0x7d0
jne 0x14000ea56
call fcn.1400153a0
mov rax, qword [r14]
jmp 0x14000ea56
mov word [rsp + 0x42], 0
mov qword [rsp + 0x20], 0
mov qword [r14], rbp
mov rax, rbp
mov rax, qword [rax]
mov qword [r14], rax
mov qword [rsp + 0x98], 0xf8
mov qword [rsp + 0xa0], r15
mov rax, qword [rbx - 0x10]
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne 0x14000e8f8
lea rcx, [rbx - 0x10]
test rax, rax
jns 0x14000e8d0
and rax, 0xfffffffffffffffc
or rax, 2
mov qword [rcx], rax
mov qword [rsp + 0x98], 0x10d
lea rax, str.trace
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], 0
mov word [rsp + 0x70], 0
mov rax, qword [r14]
test rax, rax
je 0x14000eb03
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x72], cx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [r14], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000eaf7
call fcn.1400153a0
cmp qword [rdi + 0x20], 0
jne 0x14000eb26
jmp 0x14000ebc3
mov word [rsp + 0x72], 0
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [r14], rax
cmp qword [rdi + 0x20], 0
je 0x14000ebc3
mov qword [rsp + 0x60], 0x32
lea rax, [0x140047050]
mov qword [rsp + 0x68], rax
lea rax, [0x1400472f7]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
mov word [rsp + 0x40], 0
mov rax, qword [r14]
test rax, rax
je 0x14000eb90
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x42], cx
mov qword [rsp + 0x20], rax
mov qword [r14], rbp
movzx ecx, cx
mov rax, rbp
cmp ecx, 0x7d0
jne 0x14000eba6
call fcn.1400153a0
mov rax, qword [r14]
jmp 0x14000eba6
mov word [rsp + 0x42], 0
mov qword [rsp + 0x20], 0
mov qword [r14], rbp
mov rax, rbp
mov rax, qword [rax]
mov qword [r14], rax
mov qword [rsp + 0x60], 0x50
mov qword [rsp + 0x68], r15
mov rcx, rbx
mov rdx, rsi
call qword [rdi + 0x20]
mov rax, qword [r14]
mov rax, qword [rax]
mov qword [r14], rax
jmp 0x14000e8e7