Function at 0x403ec0
Capabilities:
Get number of processors

Disassembly:
lea r12, [rsp - 0x40]
cmp r12, qword [r14 + 0x10]
jbe 0x40419c
push rbp
mov rbp, rsp
sub rsp, 0xb8
movups xmmword [rsp + 0xa0], xmm15
movups xmmword [rsp + 0xa8], xmm15
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0x70], rbx
mov byte [rsp + 0x47], 0
mov qword [rsp + 0x60], r14
lea rdx, fcn.0043f4e0
mov qword [rsp + 0xb0], rdx
mov byte [rsp + 0x47], 1
mov rdx, qword [r14 + 0x30]
cmp byte [rdx + 0xf8], 0
jne 0x403f3c
lea rax, [0x0053ea94]
call fcn.00402bc0
test eax, eax
jbe 0x403f6e
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov byte [rcx + 0xf8], 0
lea rcx, fcn.0043a080
mov qword [rsp], rcx
call fcn.0045b5e0
xorps xmm15, xmm15
mov r14, qword [0x0053ec60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0xd8]
test rdx, rdx
je 0x40405e
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x150]
mov rbx, qword [rax + 0x148]
inc rbx
mov r8, qword [rax + 0x140]
nop dword [rax]
cmp rcx, rbx
jae 0x403fc9
mov rax, r8
mov edi, 1
lea rsi, [0x004762a0]
call fcn.004469a0
mov rdx, qword [rsp + 0xd8]
mov r8, rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rcx
mov qword [r8 + rbx*8 - 8], rdx
lea rdx, [rax + 0x140]
mov rax, rdx
mov rbx, r8
call fcn.00403c00
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov qword [rdx + 0x150], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rdx + 0x148], rcx
movups xmmword [rsp + 0x88], xmm15
mov qword [rsp + 0x98], 0
lea rcx, [0x00404240]
mov qword [rsp + 0x88], rcx
lea rcx, [0x0048c628]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rdx
lea rcx, [rsp + 0x88]
mov qword [rsp + 0xa8], rcx
mov byte [rsp + 0x47], 3
mov eax, 3
jmp 0x404068
mov rdx, qword [rsp + 0x60]
mov eax, 1
mov byte [rsp + 0x46], al
mov rcx, qword [rdx + 0x30]
cmp dword [rcx + 0x108], 0
jne 0x404091
mov rax, qword [0x004e9188]
xor ebx, ebx
call fcn.00404fa0
movzx eax, byte [rsp + 0x46]
mov rdx, qword [rsp + 0x60]
mov ecx, dword [0x004ea820]
mov rdx, qword [rdx + 0x30]
nop dword [rax + rax]
cmp dword [rdx + 0xe0], ecx
je 0x4040b4
mov eax, ecx
call fcn.00432640
movzx eax, byte [rsp + 0x46]
mov byte [rsp + 0x45], 1
or eax, 4
mov byte [rsp + 0x46], al
movups xmmword [rsp + 0x78], xmm15
lea rcx, [0x004041e0]
mov qword [rsp + 0x78], rcx
lea rcx, [rsp + 0x45]
mov qword [rsp + 0x80], rcx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0xa0], rcx
mov byte [rsp + 0x47], al
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x58], rcx
lea rax, [rsp + 0x58]
call fcn.0044b2c0
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x70]
call rcx
mov byte [rsp + 0x45], 0
movzx ecx, byte [rsp + 0x46]
test cl, 4
je 0x404150
and ecx, 0xfffffffb
mov byte [rsp + 0x46], cl
mov byte [rsp + 0x47], cl
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rdx]
call rax
movzx ecx, byte [rsp + 0x46]
test cl, 2
je 0x404172
and ecx, 0xfffffffd
mov byte [rsp + 0x46], cl
mov byte [rsp + 0x47], cl
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rdx]
call rax
movzx ecx, byte [rsp + 0x46]
test cl, 1
je 0x404185
and ecx, 0xfffffffe
mov byte [rsp + 0x47], cl
nop
call fcn.0043f4e0
add rsp, 0xb8
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045b720
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop
jmp fcn.00403ec0