Function at 0x415a80
Capabilities:
Get number of processors

Disassembly:
lea r12, [rsp - 0x40]
cmp r12, qword [r14 + 0x10]
jbe 0x415ff7
push rbp
mov rbp, rsp
sub rsp, 0xb8
mov qword [rsp + 0x88], r14
mov rdx, qword [r14 + 0x30]
nop
inc dword [rdx + 0xd8]
mov rdx, qword [rsp + 0x88]
mov rdx, qword [rdx + 0x30]
mov rsi, r14
nop dword [rax]
cmp qword [rdx], rsi
je 0x415b0c
mov edi, dword [rdx + 0xd8]
cmp edi, 1
jg 0x415b0c
cmp qword [rdx + 0xd0], 0
jne 0x415b0c
lea r8d, [rdi - 1]
nop
mov dword [rdx + 0xd8], r8d
cmp edi, 1
jne 0x415afc
cmp byte [rsi + 0xb9], 0
je 0x415afc
mov qword [rsi + 0x10], 0xfffffffffffffade
mov dword [rsp + 0x34], ecx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rax
jmp 0x415b4d
mov eax, dword [rdx + 0xd8]
lea ecx, [rax - 1]
nop
mov dword [rdx + 0xd8], ecx
nop dword [rax]
cmp eax, 1
jne 0x415b36
cmp byte [rsi + 0xb9], 0
je 0x415b36
mov qword [rsi + 0x10], 0xfffffffffffffade
add rsp, 0xb8
pop rbp
ret
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x70]
call fcn.00415980
test al, al
jne 0x415b5a
xor eax, eax
jmp 0x415b66
call fcn.0041f8e0
cmp rax, 0xffffffffffffffff
setne al
test al, al
jne 0x415b3f
nop
lea rax, [0x007d79d8]
xor ebx, ebx
xor ecx, ecx
xor edi, edi
mov esi, 0x12
nop dword [rax]
call fcn.00443da0
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x34]
call fcn.00415980
nop dword [rax + rax]
test al, al
je 0x415c8f
mov edx, dword [0x0081d280]
cmp edx, 1
jne 0x415bba
mov edx, 1
jmp 0x415bcc
cmp edx, 2
mov edx, 0
mov r8d, 2
cmove rdx, r8
mov qword [rsp + 0x60], rdx
lea rax, [0x007bf1d4]
xor ebx, ebx
xor ecx, ecx
xor edi, edi
mov esi, 0x12
call fcn.00443da0
nop
lea rax, [0x007bf1d0]
xor ebx, ebx
xor ecx, ecx
xor edi, edi
mov esi, 0x12
nop dword [rax + rax]
call fcn.00443da0
mov rdx, qword [rsp + 0x68]
cmp rdx, 2
sete byte [0x007d79f0]
cmp byte [0x007d8130], 0
jne 0x415c24
xor ebx, ebx
xor eax, eax
jmp 0x415c2e
call fcn.00451720
mov rdx, qword [rsp + 0x68]
test rbx, rbx
je 0x415c7d
mov qword [rsp + 0x78], rax
call fcn.00451ae0
nop
mov ecx, 1
mov rdx, qword [rsp + 0x78]
lock xadd qword [rdx + 0x2c0], rcx
mov ecx, dword [rdx + 0xd8]
lea esi, [rcx - 1]
nop
mov dword [rdx + 0xd8], esi
cmp ecx, 1
jne 0x415c78
cmp byte [r14 + 0xb9], 0
je 0x415c78
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x007d6d20]
mov rsi, qword [0x007d6d28]
xor eax, eax
jmp 0x415cb1
nop
lea rax, [0x007d79d8]
xor ebx, ebx
xor ecx, ecx
nop dword [rax + rax]
call fcn.00444100
add rsp, 0xb8
pop rbp
ret
inc rax
cmp rax, rsi
jge 0x415cd5
mov rdi, qword [rcx + rax*8]
mov rdi, qword [rdi + 0x38]
mov edi, dword [rdi + 0x488]
mov r8d, dword [0x007eed80]
cmp edi, r8d
je 0x415cae
jmp 0x415fe5
call fcn.00417320
lea rax, fcn.00417e80
mov qword [rsp], rax
call fcn.00463ec0
xorps xmm15, xmm15
mov r14, qword [0x0081ccc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [0x0081cad4]
mov dword [0x007d7a2c], eax
mov dword [0x007d7a30], eax
mov ecx, dword [0x0081cad8]
cmp ecx, eax
jge 0x415d1e
mov dword [0x007d7a2c], ecx
mov rax, qword [0x0081da28]
mov qword [0x007d7a60], rax
mov qword [0x007d7a58], 0
mov rax, qword [rsp + 0x60]
mov qword [0x007d79e8], rax
call fcn.00467c00
xorps xmm15, xmm15
mov r14, qword [0x0081ccc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp]
mov qword [rsp + 0x58], rax
mov qword [0x007d7a38], rax
mov byte [rsp + 0x38], 0
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x50], 0
lea rax, [0x004160a0]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0xa8]
mov qword [rsp], rcx
call fcn.00463ec0
xorps xmm15, xmm15
mov r14, qword [0x0081ccc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
add qword [0x007d7a90], rax
add qword [0x007d7a98], rax
lea rax, [0x0067dda8]
mov qword [rsp], rax
nop dword [rax + rax]
call fcn.00463ec0
xorps xmm15, xmm15
mov r14, qword [0x0081ccc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call fcn.00417fe0
nop
mov eax, 1
lea rcx, [0x007d7a28]
lock xadd dword [rcx], eax
mov rbx, qword [rsp + 0x58]
movsxd rcx, dword [0x0081cad4]
lea rax, [0x0081d9c0]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x34]
call fcn.0041bda0
mov rcx, qword [rsp + 0x58]
lea rax, [0x0081d1a0]
mov ebx, 1
call fcn.00418380
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x415e60
xor eax, eax
call fcn.0043f4e0
mov rax, qword [rsp + 0x60]
nop
mov ecx, 1
lea rdx, [0x0081caa0]
xchg dword [rdx], ecx
mov ecx, dword [0x0081caa0]
cmp ecx, 1
jne 0x415e82
mov ecx, 1
nop
jmp 0x415e88
cmp ecx, 2
sete cl
mov byte [0x0081ce90], cl
nop
mov dword [0x007d7970], 0xffffffff
mov dword [0x007d7980], 0xffffffff
call fcn.00418b20
call fcn.0041bc40
mov eax, 1
lea rcx, [0x0081caa4]
xchg dword [rcx], eax
mov rax, qword [r14 + 0x30]
nop
inc dword [rax + 0xd8]
mov rax, qword [r14 + 0x30]
mov qword [rsp + 0x80], rax
call fcn.00467c00
xorps xmm15, xmm15
mov r14, qword [0x0081ccc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
movsxd rax, dword [0x007d7a30]
mov rcx, qword [rsp]
sub rcx, qword [rsp + 0x48]
imul rcx, rax
add qword [0x007d7a90], rcx
add qword [0x007d7a98], rcx
movups xmmword [rsp + 0x98], xmm15
lea rax, [0x00416020]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x90]
mov qword [rsp], rax
call fcn.00463ec0
xorps xmm15, xmm15
mov r14, qword [0x0081ccc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
nop
lea rax, [0x007bf1d0]
xor ebx, ebx
xor ecx, ecx
call fcn.00444100
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0xd8]
lea edx, [rcx - 1]
nop
mov dword [rax + 0xd8], edx
cmp ecx, 1
jne 0x415fb4
cmp byte [r14 + 0xb9], 0
je 0x415faa
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jmp 0x415fbc
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jmp 0x415fbc
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x415fcb
nop
lea rax, [0x0067ddc8]
call fcn.00463e40
nop
lea rax, [0x007d79d8]
xor ebx, ebx
xor ecx, ecx
call fcn.00444100
add rsp, 0xb8
pop rbp
ret
lea rax, [0x00659e19]
mov ebx, 0x14
call fcn.0045e760
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
call fcn.00463fe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
jmp fcn.00415a80