Function at 0x14000f1f4
Capabilities:
Get number of processors

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb8
mov rax, qword [0x1400b8288]
xor rax, rsp
mov qword [rbp + 7], rax
xor ebx, ebx
mov qword [rbp - 0x11], r9
lea rax, [rcx - 1]
mov qword [rbp - 0x19], r8
mov qword [rbp - 0x21], rcx
mov rdi, rdx
mov qword [rbp - 0x39], rbx
mov rsi, rcx
mov qword [rbp - 0x31], rbx
mov r13d, ebx
mov dword [rbp - 0x55], ebx
mov r14d, ebx
mov r12d, ebx
mov r15d, ebx
cmp rax, 0xfffffffffffffffd
ja 0x14000f5f1
test rdx, rdx
je 0x14000f5f1
test r8, r8
je 0x14000f5f1
movsd xmm0, qword [0x14009fe90]
lea r8d, [rbx + 4]
movzx eax, word [0x14009fe98]
lea rdx, [rbp - 9]
mov rcx, rdi
movsd qword [rbp - 9], xmm0
mov word [rbp - 1], ax
call qword [sym.imp.msvcrt.dll_wcsncmp]
nop dword [rax + rax]
test eax, eax
je 0x14000f434
mov rcx, rdi
call fcn.14000de54
mov r14, rax
test rax, rax
je 0x14000f602
mov rcx, rax
call fcn.14000df3c
mov r12, rax
test rax, rax
je 0x14000f4e3
lea r8d, [rbx + 4]
mov rcx, rax
lea rdx, [rbp - 9]
call qword [sym.imp.msvcrt.dll_wcsncmp]
nop dword [rax + rax]
test eax, eax
je 0x14000f42a
or rcx, 0xffffffffffffffff
mov qword [rbp - 0x41], r14
mov rdi, rcx
mov dword [rbp - 0x59], ebx
mov edx, ebx
lea rax, [rbp - 9]
inc rdi
cmp word [rax + rdi*2], bx
jne 0x14000f2f8
mov rsi, rcx
inc rsi
cmp word [r14 + rsi*2], bx
jne 0x14000f304
mov r9d, 1
test edi, edi
je 0x14000f34a
lea eax, [rdi - 1]
lea r8d, [r9 + 0x5b]
cmp r8w, word [rbp + rax*2 - 9]
jne 0x14000f33f
cmp r8w, word [r14]
jne 0x14000f335
lea rax, [r14 + 2]
mov qword [rbp - 0x41], rax
lea eax, [rsi - 1]
cmovne eax, esi
mov esi, eax
jmp 0x14000f34a
cmp r8w, word [r14]
cmovne edx, r9d
mov dword [rbp - 0x59], edx
lea ecx, [rdx + 1]
mov edx, 8
add ecx, esi
add ecx, edi
mov eax, ecx
mov qword [rbp - 0x29], rax
lea r8, [rcx + rcx]
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x14000f396
mov rax, qword gs:[0x30]
mov dword [rax + 0x68], 8
jmp 0x14000f4c3
mov rdx, qword [rbp - 0x29]
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 9]
lea rax, [rbp - 0x49]
mov r9d, edi
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.14000c208
mov edi, eax
test eax, eax
js 0x14000f496
cmp dword [rbp - 0x59], ebx
jbe 0x14000f400
mov rdx, qword [rbp - 0x51]
lea rax, [rbp - 0x51]
mov rcx, qword [rbp - 0x49]
lea r8, [0x14009b488]
mov qword [rsp + 0x28], rax
mov r9d, 1
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
call fcn.14000c208
mov edi, eax
test eax, eax
js 0x14000f496
mov r8, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x51]
mov rcx, qword [rbp - 0x49]
mov r9d, esi
call fcn.14000107c
mov edi, eax
test eax, eax
js 0x14000f496
mov rax, qword gs:[0x30]
mov rsi, qword [rbp - 0x21]
mov dword [rax + 0x68], ebx
test r15, r15
mov rdi, r12
cmovne rdi, r15
lea r8, [rbp - 0x31]
mov rcx, rdi
lea rdx, [rbp - 0x39]
call fcn.14000eff8
mov edx, eax
mov rcx, rsi
call fcn.14000e0a4
mov rsi, rax
test rax, rax
je 0x14000f510
mov rax, qword [rbp - 0x39]
cmp rax, 0xffffffffffffffff
je 0x14000f508
mov rcx, qword [rbp - 0x31]
cmp rcx, 0xffffffffffffffff
je 0x14000f508
lea rdx, [rdi + rax*2]
lea rcx, [rsi + rcx*2]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
mov ecx, ebx
sete cl
jmp 0x14000f526
mov rcx, qword gs:[0x60]
mov r8, r15
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rax, qword gs:[0x30]
movzx ecx, di
mov dword [rax + 0x68], ecx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
jmp 0x14000f602
mov r13d, 0x307
jmp 0x14000f549
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r13d, eax
test eax, eax
jne 0x14000f569
mov ecx, dword [rbp - 0x55]
mov rax, qword [rbp - 0x19]
mov dword [rax], ecx
mov rax, qword [rbp - 0x11]
test rax, rax
je 0x14000f544
test ecx, ecx
jne 0x14000f541
mov qword [rax], rsi
mov rsi, rbx
jmp 0x14000f544
mov qword [rax], rbx
test rsi, rsi
je 0x14000f569
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
test r15, r15
je 0x14000f58e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
test r12, r12
je 0x14000f5b3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
test r14, r14
je 0x14000f5d8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
test r13d, r13d
sete bl
mov eax, ebx
jmp 0x14000f604
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140096bd0
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret