Function at 0x14015c450
Capabilities:
Get number of processors

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x408
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x380], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
cmp byte [rdx + 0xb0], 0
je 0x14015c49a
cmp qword [rdi], 0
je 0x14015c674
mov rbx, qword [rdi + 8]
mov al, 1
jmp 0x14015c683
movzx eax, word [rdi + 0xb1]
movzx ecx, byte [rdi + 0xb3]
mov rdx, qword [rdi + 0x48]
mov word [rbp + 0x98], ax
mov byte [rbp + 0x9a], 1
mov byte [rbp + 0x9b], cl
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], 1
lea rcx, [rbp - 0x40]
lea rdx, [rbp + 0x88]
call fcn.14014b0a0
mov r15, qword [rbp - 0x40]
mov r14, qword [rbp - 0x38]
cmp r15, 2
je 0x14015c6d6
lea rdx, [rbp - 0x30]
lea rbx, [rbp + 0x150]
mov r8d, 0xb8
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rbp + 0x150]
movups xmm1, xmmword [rbp + 0x160]
movups xmm2, xmmword [rbp + 0x170]
movups xmmword [rbp + 0x348], xmm2
movups xmmword [rbp + 0x338], xmm1
movups xmmword [rbp + 0x328], xmm0
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x88]
mov r8d, 0x88
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x318], r15
mov qword [rbp + 0x320], r14
mov rdx, qword [rdi + 0x50]
mov byte [rbp + 0x376], 1
mov rcx, rdi
call fcn.14015eb70
mov r14, rax
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x218], rdx
lock inc qword [rax]
jle 0x14015ce7a
mov qword [rbp + 0x2f0], r14
lea r13, [rdi + 0xa4]
mov byte [rbp + 0x379], 0
mov byte [rbp + 0x378], 1
mov rcx, r13
call fcn.140155c80
mov r15d, eax
mov r12d, edx
mov byte [rbp + 0x379], 0
mov byte [rbp + 0x378], 1
mov rcx, r13
call fcn.140155c80
mov dword [rbp + 0x250], 0
mov dword [rbp + 0x254], eax
mov dword [rbp + 0x258], edx
movups xmm0, xmmword [rbp + 0x318]
movups xmm1, xmmword [rbp + 0x328]
movups xmm2, xmmword [rbp + 0x338]
movups xmm3, xmmword [rbp + 0x348]
movaps xmmword [rbp + 0x2c0], xmm3
movaps xmmword [rbp + 0x2b0], xmm2
movaps xmmword [rbp + 0x2a0], xmm1
movaps xmmword [rbp + 0x290], xmm0
lea rcx, [rbp - 0x40]
lea rdx, [rbp + 0x88]
mov r8d, 0x88
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x14015ccd1
mov rcx, qword [rdi + 0x80]
lock inc qword [rax]
jle 0x14015ce7a
mov rdx, qword [rdi + 0x88]
test rdx, rdx
je 0x14015cce1
mov r8, qword [rdi + 0x90]
lock inc qword [rdx]
jg 0x14015cce1
jmp 0x14015ce7a
call fcn.14014bf30
mov rbx, rax
movzx eax, byte [rdi + 0xb0]
movzx ecx, word [rdi + 0xb1]
movzx edx, byte [rdi + 0xb3]
mov r8, qword [rdi + 0x48]
mov word [rbp + 0x98], cx
xor al, 1
mov byte [rbp + 0x9a], al
mov byte [rbp + 0x9b], dl
mov qword [rbp + 0x88], r8
mov qword [rbp + 0x90], rbx
lea rcx, [rbp - 0x40]
lea rdx, [rbp + 0x88]
call fcn.14014b0a0
mov r15, qword [rbp - 0x40]
mov r14, qword [rbp - 0x38]
cmp r15, 2
jne 0x14015c6e6
mov qword [rsi + 8], r14
mov qword [rsi], 2
jmp 0x14015cdc9
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x150]
mov r8d, 0xb8
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rbp + 0x150]
movups xmm1, xmmword [rbp + 0x160]
movups xmm2, xmmword [rbp + 0x170]
movups xmmword [rbp + 0x240], xmm2
movups xmmword [rbp + 0x230], xmm1
movups xmmword [rbp + 0x220], xmm0
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x88]
mov r8d, 0x88
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x210], r15
mov qword [rbp + 0x218], r14
mov rdx, qword [rdi + 0x50]
add rdx, rbx
mov byte [rbp + 0x377], 1
mov rcx, rdi
call fcn.14015eb70
mov r13, rax
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x288], rdx
lock inc qword [rax]
jle 0x14015ce7a
mov qword [rbp + 0x310], r13
lea r12, [rdi + 0xa4]
mov byte [rbp + 0x37c], 1
mov byte [rbp + 0x37b], 0
mov byte [rbp + 0x37a], 1
mov rcx, r12
call fcn.140155c80
mov r14d, eax
mov r15d, edx
mov byte [rbp + 0x37c], 1
mov byte [rbp + 0x37b], 0
mov byte [rbp + 0x37a], 1
mov rcx, r12
call fcn.140155c80
mov dword [rbp + 0x2e4], 0
mov dword [rbp + 0x2e8], eax
mov dword [rbp + 0x2ec], edx
movups xmm0, xmmword [rbp + 0x210]
movups xmm1, xmmword [rbp + 0x220]
movups xmm2, xmmword [rbp + 0x230]
movups xmm3, xmmword [rbp + 0x240]
movaps xmmword [rbp + 0x140], xmm3
movaps xmmword [rbp + 0x130], xmm2
movaps xmmword [rbp + 0x120], xmm1
movaps xmmword [rbp + 0x110], xmm0
lea rcx, [rbp + 0x150]
lea rdx, [rbp + 0x88]
mov r8d, 0x88
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x14015c86b
mov rcx, qword [rdi + 0x80]
lock inc qword [rax]
jle 0x14015ce7a
mov rdx, qword [rdi + 0x88]
test rdx, rdx
je 0x14015c877
mov r8, qword [rdi + 0x90]
lock inc qword [rdx]
jg 0x14015c877
jmp 0x14015ce7a
mov rdx, qword [rdi + 0x88]
test rdx, rdx
jne 0x14015c859
mov r9d, dword [rdi + 0xa0]
mov r10, qword [rdi + 0x20]
mov r11, qword [rdi + 0x98]
mov di, word [rdi + 0xb4]
mov qword [rbp + 0x318], r10
mov dword [rbp + 0x348], r9d
mov qword [rbp + 0x320], r11
mov qword [rbp + 0x328], rax
mov qword [rbp + 0x330], rcx
mov qword [rbp + 0x338], rdx
mov qword [rbp + 0x340], r8
mov word [rbp + 0x358], di
mov dword [rbp + 0x34c], 0
mov dword [rbp + 0x350], r14d
mov dword [rbp + 0x354], r15d
mov qword [rbp + 0x270], r13
mov byte [rbp + 0x375], 1
lea rcx, [rbp + 0x110]
mov qword [rbp + 0x368], r13
call fcn.14014d4e0
mov r14, rax
lea r15, [rbp - 0x40]
lea rdi, [rbp + 0x150]
mov r8d, 0x88
mov rcx, r15
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x358]
mov qword [rbp + 0x2d0], rax
movups xmm0, xmmword [rbp + 0x318]
movups xmm1, xmmword [rbp + 0x328]
movups xmm2, xmmword [rbp + 0x338]
movups xmm3, xmmword [rbp + 0x348]
movaps xmmword [rbp + 0x2c0], xmm3
movaps xmmword [rbp + 0x2b0], xmm2
movaps xmmword [rbp + 0x2a0], xmm1
movaps xmmword [rbp + 0x290], xmm0
mov byte [rbp + 0x375], 0
lea rax, [rbp + 0x290]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x2e4]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x368]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x250]
mov rdx, rbx
mov r8, r14
mov r9, r15
call fcn.140157320
mov rbx, qword [rbp + 0x250]
mov rax, qword [rbp + 0x268]
mov qword [rbp + 0x300], rax
movups xmm0, xmmword [rbp + 0x258]
movaps xmmword [rbp + 0x2f0], xmm0
mov qword [rbp + 0x318], 1
mov qword [rbp + 0x320], rbx
mov eax, dword [0x140382128]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xa8]
cmp eax, 1
je 0x14015ca57
test eax, eax
jne 0x14015ce60
mov byte [rbp + 0x37f], 1
mov byte [rbp + 0x37e], 0
mov byte [rbp + 0x37d], 1
mov eax, dword [0x140382128]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x58]
lea rdx, [0x1401501e0]
call case.0x1401a84c4.363
mov eax, dword [0x140382128]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0xa8], 1
mov eax, dword [0x140382128]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x58], 0
jne 0x14015ce09
mov eax, dword [0x140382128]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x58], 0xffffffffffffffff
lock inc qword [rbx]
jle 0x14015ce7a
mov eax, dword [0x140382128]
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rdx + 0x60]
mov rcx, qword [rdx + 0x68]
mov qword [rdx + 0x60], 1
mov qword [rdx + 0x68], rbx
inc qword [rdx + 0x58]
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x158], rcx
mov rdx, qword [rdx + 0x70]
cmp rdx, 0xffffffffffffffff
je 0x14015ce2c
inc rdx
mov r8d, dword [0x140382128]
mov r9, qword gs:[0x58]
mov r8, qword [r9 + r8*8]
mov qword [r8 + 0x70], rdx
mov qword [rbp + 0x298], rcx
mov qword [rbp + 0x2a0], rdx
mov qword [rbp + 0x290], rax
movaps xmm0, xmmword [rbp + 0x2f0]
movaps xmmword [rbp + 0x150], xmm0
mov rcx, qword [rbp + 0x300]
mov qword [rbp + 0x160], 0
mov rax, qword [rbp + 0x158]
lea rdx, [rax + rcx*8]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], 0
test rcx, rcx
je 0x14015cbc5
lea rdi, [0x1402d0fd0]
mov ebx, 0x84
jmp 0x14015cb9a
mov rax, qword [rbp - 0x40]
cmp rax, qword [rbp - 0x38]
je 0x14015cbc5
lea rcx, [rax + 8]
mov qword [rbp - 0x40], rcx
mov rcx, qword [rax]
mov rdx, rdi
call fcn.14015e900
mov rcx, rax
mov eax, 0xcc
lock cmpxchg qword [rcx], rbx
je 0x14015cb90
mov rax, qword [rcx + 0x10]
call qword [rax + 0x20]
jmp 0x14015cb90
lea rcx, [rbp - 0x40]
call fcn.140166080
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0x360], rax
test rax, rax
je 0x14015cc35
mov rdi, qword [rbp + 0x158]
mov rbx, qword [rbp + 0x360]
neg rbx
mov ecx, 1
mov qword [rbp + 0x278], rdi
jmp 0x14015cc1b
mov rcx, qword [rbp + 0x368]
lea rax, [rbx + rcx]
inc rax
inc rcx
add rdi, 8
cmp rax, 1
je 0x14015cc35
mov qword [rbp + 0x368], rcx
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x14015cc00
mov rcx, rdi
call fcn.14014a4a0
jmp 0x14015cc00
mov rdx, qword [rbp + 0x150]
test rdx, rdx
je 0x14015cc57
mov rcx, qword [rbp + 0x158]
shl rdx, 3
mov r8d, 8
call fcn.14000bcb0
movups xmm0, xmmword [rbp + 0x318]
mov qword [rsi], 1
movups xmmword [rsi + 0x30], xmm0
movaps xmm0, xmmword [rbp + 0x280]
movups xmmword [rsi + 0x40], xmm0
lea rcx, [rbp + 0x290]
call fcn.14014f5d0
mov rax, qword [rbp + 0x290]
cmp rax, 2
je 0x14015cdc9
lea rcx, [rbp + 0x298]
test rax, rax
je 0x14015cde0
mov rax, qword [rbp + 0x298]
lock dec qword [rax]
jne 0x14015cdc9
mov byte [rbp + 0x37f], 0
mov byte [rbp + 0x37e], 1
mov byte [rbp + 0x37d], 0
call fcn.140149b10
jmp 0x14015cdc9
mov rdx, qword [rdi + 0x88]
test rdx, rdx
jne 0x14015c65e
mov r9d, dword [rdi + 0xa0]
mov r10, qword [rdi + 0x20]
mov r11, qword [rdi + 0x98]
mov di, word [rdi + 0xb4]
mov qword [rbp + 0x150], r10
mov dword [rbp + 0x180], r9d
mov qword [rbp + 0x158], r11
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rcx
mov qword [rbp + 0x170], rdx
mov qword [rbp + 0x178], r8
mov word [rbp + 0x190], di
mov dword [rbp + 0x184], 0
mov dword [rbp + 0x188], r15d
mov dword [rbp + 0x18c], r12d
mov byte [rbp + 0x379], 1
mov byte [rbp + 0x378], 0
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x250]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x110]
lea rdx, [rbp + 0x290]
lea r8, [rbp - 0x40]
mov r9, r14
call fcn.140153b00
mov rax, qword [rbp + 0x130]
mov qword [rsi + 0x28], rax
movups xmm0, xmmword [rbp + 0x110]
movups xmm1, xmmword [rbp + 0x120]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, qword [rbp + 0x138]
mov qword [rsi], 0
mov qword [rsi + 0x30], 0
mov qword [rsi + 0x38], rax
movaps xmm0, xmmword [rbp + 0x210]
movups xmmword [rsi + 0x40], xmm0
mov rax, rsi
add rsp, 0x408
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp + 0x298]
lock dec qword [rax]
jne 0x14015cdc9
mov byte [rbp + 0x37f], 0
mov byte [rbp + 0x37e], 1
mov byte [rbp + 0x37d], 0
call fcn.14014a9f0
jmp 0x14015cdc9
mov byte [rbp + 0x37f], 1
mov byte [rbp + 0x37e], 0
mov byte [rbp + 0x37d], 1
lea rcx, [0x1402cf750]
call fcn.1401dbd80
jmp 0x14015ce7a
lea rax, [0x1402cf728]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x30], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea rdx, [0x1402cf738]
lea rcx, [rbp - 0x40]
call fcn.1401dbe80
jmp 0x14015ce7a
mov byte [rbp + 0x37f], 1
mov byte [rbp + 0x37e], 0
mov byte [rbp + 0x37d], 1
call fcn.1401d66d0
ud2