Function at 0x418900
Capabilities:
Get number of processors

Disassembly:
lea r12, [rsp - 0x40]
cmp r12, qword [r14 + 0x10]
jbe 0x418e77
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 0x41898c
mov edi, dword [rdx + 0xd8]
cmp edi, 1
jg 0x41898c
cmp qword [rdx + 0xd0], 0
jne 0x41898c
lea r8d, [rdi - 1]
nop
mov dword [rdx + 0xd8], r8d
cmp edi, 1
jne 0x41897c
cmp byte [rsi + 0xb9], 0
je 0x41897c
mov qword [rsi + 0x10], 0xfffffffffffffade
mov dword [rsp + 0x34], ecx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rax
jmp 0x4189cd
mov eax, dword [rdx + 0xd8]
lea ecx, [rax - 1]
nop
mov dword [rdx + 0xd8], ecx
nop dword [rax]
cmp eax, 1
jne 0x4189b6
cmp byte [rsi + 0xb9], 0
je 0x4189b6
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.00418800
test al, al
jne 0x4189da
xor eax, eax
jmp 0x4189e6
call fcn.00422760
cmp rax, 0xffffffffffffffff
setne al
test al, al
jne 0x4189bf
nop
lea rax, [0x00755d58]
xor ebx, ebx
xor ecx, ecx
xor edi, edi
mov esi, 0x12
nop dword [rax]
call fcn.004470a0
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x34]
call fcn.00418800
nop dword [rax + rax]
test al, al
je 0x418b0f
mov edx, dword [0x0079aa00]
cmp edx, 1
jne 0x418a3a
mov edx, 1
jmp 0x418a4c
cmp edx, 2
mov edx, 0
mov r8d, 2
cmove rdx, r8
mov qword [rsp + 0x60], rdx
lea rax, [0x0073a1d8]
xor ebx, ebx
xor ecx, ecx
xor edi, edi
mov esi, 0x12
call fcn.004470a0
nop
lea rax, [0x0073a1d4]
xor ebx, ebx
xor ecx, ecx
xor edi, edi
mov esi, 0x12
nop dword [rax + rax]
call fcn.004470a0
mov rdx, qword [rsp + 0x68]
cmp rdx, 2
sete byte [0x00755d70]
cmp byte [0x007564b0], 0
jne 0x418aa4
xor ebx, ebx
xor eax, eax
jmp 0x418aae
call fcn.00454e20
mov rdx, qword [rsp + 0x68]
test rbx, rbx
je 0x418afd
mov qword [rsp + 0x78], rax
call fcn.004551e0
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 0x418af8
cmp byte [r14 + 0xb9], 0
je 0x418af8
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x00755100]
mov rsi, qword [0x00755108]
xor eax, eax
jmp 0x418b31
nop
lea rax, [0x00755d58]
xor ebx, ebx
xor ecx, ecx
nop dword [rax + rax]
call fcn.00447400
add rsp, 0xb8
pop rbp
ret
inc rax
cmp rax, rsi
jge 0x418b55
mov rdi, qword [rcx + rax*8]
mov rdi, qword [rdi + 0x38]
mov edi, dword [rdi + 0x488]
mov r8d, dword [0x0076c6e0]
cmp edi, r8d
je 0x418b2e
jmp 0x418e65
call fcn.0041a1a0
lea rax, fcn.0041ad00
mov qword [rsp], rax
call fcn.004679c0
xorps xmm15, xmm15
mov r14, qword [0x0079a608]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [0x0079a428]
mov dword [0x00755dac], eax
mov dword [0x00755db0], eax
mov ecx, dword [0x0079a42c]
cmp ecx, eax
jge 0x418b9e
mov dword [0x00755dac], ecx
mov rax, qword [0x0079af88]
mov qword [0x00755de0], rax
mov qword [0x00755dd8], 0
mov rax, qword [rsp + 0x60]
mov qword [0x00755d68], rax
call fcn.0046b700
xorps xmm15, xmm15
mov r14, qword [0x0079a608]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp]
mov qword [rsp + 0x58], rax
mov qword [0x00755db8], rax
mov byte [rsp + 0x38], 0
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x50], 0
lea rax, [0x00418f20]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0xa8]
mov qword [rsp], rcx
call fcn.004679c0
xorps xmm15, xmm15
mov r14, qword [0x0079a608]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
add qword [0x00755e10], rax
add qword [0x00755e18], rax
lea rax, [0x005f8e68]
mov qword [rsp], rax
nop dword [rax + rax]
call fcn.004679c0
xorps xmm15, xmm15
mov r14, qword [0x0079a608]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call fcn.0041ae60
nop
mov eax, 1
lea rcx, [0x00755da8]
lock xadd dword [rcx], eax
mov rbx, qword [rsp + 0x58]
movsxd rcx, dword [0x0079a428]
lea rax, [0x0079af20]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x34]
call fcn.0041ec20
mov rcx, qword [rsp + 0x58]
lea rax, [0x0079a920]
mov ebx, 1
call fcn.0041b200
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x418ce0
xor eax, eax
call fcn.004427e0
mov rax, qword [rsp + 0x60]
nop
mov ecx, 1
lea rdx, [0x0079a3f4]
xchg dword [rdx], ecx
mov ecx, dword [0x0079a3f4]
cmp ecx, 1
jne 0x418d02
mov ecx, 1
nop
jmp 0x418d08
cmp ecx, 2
sete cl
mov byte [0x0079a690], cl
nop
mov dword [0x00755cf0], 0xffffffff
mov dword [0x00755d00], 0xffffffff
call fcn.0041b9a0
call fcn.0041eac0
mov eax, 1
lea rcx, [0x0079a3f8]
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.0046b700
xorps xmm15, xmm15
mov r14, qword [0x0079a608]
mov r14, qword gs:[r14]
mov r14, qword [r14]
movsxd rax, dword [0x00755db0]
mov rcx, qword [rsp]
sub rcx, qword [rsp + 0x48]
imul rcx, rax
add qword [0x00755e10], rcx
add qword [0x00755e18], rcx
movups xmmword [rsp + 0x98], xmm15
lea rax, [0x00418ea0]
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.004679c0
xorps xmm15, xmm15
mov r14, qword [0x0079a608]
mov r14, qword gs:[r14]
mov r14, qword [r14]
nop
lea rax, [0x0073a1d4]
xor ebx, ebx
xor ecx, ecx
call fcn.00447400
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0xd8]
lea edx, [rcx - 1]
nop
mov dword [rax + 0xd8], edx
cmp ecx, 1
jne 0x418e34
cmp byte [r14 + 0xb9], 0
je 0x418e2a
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jmp 0x418e3c
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jmp 0x418e3c
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x418e4b
nop
lea rax, [0x005f8e88]
call fcn.00467940
nop
lea rax, [0x00755d58]
xor ebx, ebx
xor ecx, ecx
call fcn.00447400
add rsp, 0xb8
pop rbp
ret
lea rax, [0x005e1356]
mov ebx, 0x14
call fcn.00462540
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
call fcn.00467ae0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
jmp fcn.00418900