Function at 0x5e7c70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
jl 0x5e8062
mov edi, dword [ebp + 0xc]
test edi, edi
jl 0x5e8062
cmp eax, dword [0x65e038]
jge 0x5e8062
cmp edi, dword [0x65e03c]
jge 0x5e8062
mov edx, dword [ebp - 0xc]
xor edx, eax
mov eax, dword [ebp - 0xa]
and edx, 0x3ff
xor word [ebp - 0xc], dx
and eax, 0xffffc000
mov edx, edi
and edx, 0x3ff
xor eax, edx
xor edx, edx
mov dl, byte [ebp + 0x10]
and edx, 0xf
shl edx, 0xa
or eax, edx
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00412b10
mov ecx, dword [0x67db18]
mov ebx, eax
call fcn.004c5110
mov ecx, eax
mov esi, 1
shl esi, cl
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
mov edx, edi
call fcn.004eb530
and eax, 0xffff
test esi, eax
jne 0x5e7cef
mov al, byte [0x68e5b0]
test al, al
je 0x5e8062
mov eax, dword [0x67153c]
mov edx, dword [0x68e5b8]
mov ecx, dword [0x68e5bc]
mov esi, eax
imul eax, dword [ebp + 0x18]
imul esi, dword [ebp + 0x14]
add eax, edx
mov edx, dword [0x65e038]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
add esi, ecx
cmp eax, edx
mov ecx, dword [0x65e03c]
jge 0x5e7e8d
cmp edi, ecx
jge 0x5e7e8d
mov edx, dword [0x68e5a8]
mov ecx, dword [edx + 0x2c]
imul ecx, dword [edx + 0x28]
mov edi, dword [edx + 0x30]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
xor edx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dl, byte [ebx + 0xc]
mov ecx, dword [0x68e5a8]
shr dl, 1
mov eax, dword [ebx + 4]
and edx, 0xffffff01
push edx
xor edx, edx
mov dl, byte [ebx + 0xc]
and edx, 0xffffff01
push edx
mov edx, dword [ecx + 0x2c]
push edx
mov edx, dword [ecx + 0x28]
push edx
mov edx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x30]
push edx
push 0
push 0
push ecx
mov ecx, dword [ebp - 4]
push 0x20
push 0x20
mov edx, eax
push 0
shl edx, 0x10
shl eax, 0x18
push 0
sar edx, 0x18
sar eax, 0x18
mov ecx, dword [ecx + eax*4 + 0x60]
push edx
call fcn.004762b0
mov edx, dword [ebp + 0x10]
add edx, 8
cmp esi, 8
jl 0x5e805b
mov ecx, dword [0x67153c]
lea eax, [ecx + esi]
cmp eax, 0x258
jge 0x5e805b
cmp edx, 8
jl 0x5e805b
lea eax, [edx + ecx]
cmp eax, 0x228
jge 0x5e805b
mov ebx, dword [0x68e5a8]
mov eax, dword [ebx + 0x24]
mov ebx, dword [ebx + 0x30]
mov dword [ebp + 0x14], eax
mov eax, dword [0x67d8ac]
mov eax, dword [eax + 0x40]
mov edi, dword [eax + 0x24]
mov dword [ebp + 0x18], edi
mov edi, dword [eax + 0x2c]
imul edi, edx
add edi, dword [eax + 0x30]
test ecx, ecx
lea edi, [edi + esi*2]
mov dword [ebp + 8], edi
mov dword [ebp + 0x10], 0
jle 0x5e8062
mov dword [ebp + 0xc], 0x68e528
xor esi, esi
test ecx, ecx
jle 0x5e7e55
mov edx, 0x68e528
mov eax, dword [edx]
lea eax, [ebx + eax*2]
mov ax, word [eax]
test ax, ax
je 0x5e7e47
mov word [edi], ax
mov ecx, dword [0x67153c]
add edi, 2
inc esi
add edx, 4
cmp esi, ecx
jl 0x5e7e31
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
imul eax, dword [ebp + 0x14]
mov esi, dword [0x68e5a8]
mov esi, dword [esi + 0x30]
lea ebx, [esi + eax*2]
mov eax, dword [ebp + 0x18]
lea edi, [edi + eax*2]
mov eax, dword [ebp + 0x10]
inc eax
add edx, 4
cmp eax, ecx
mov dword [ebp + 8], edi
mov dword [ebp + 0x10], eax
mov dword [ebp + 0xc], edx
jl 0x5e7e26
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0xffffffff
jne 0x5e7eb7
cmp edi, eax
jne 0x5e7ea0
mov edx, 0x10
jmp 0x5e7f28
cmp edi, ecx
jne 0x5e7eab
mov edx, 0x13
jmp 0x5e7f28
jge 0x5e7f06
mov edx, edi
and edx, 3
add edx, 0x20
jmp 0x5e7f01
cmp eax, edx
jne 0x5e7ede
cmp edi, 0xffffffff
jne 0x5e7ec7
mov edx, 0x11
jmp 0x5e7f28
cmp edi, ecx
jne 0x5e7ed2
mov edx, 0x12
jmp 0x5e7f28
jge 0x5e7f06
mov edx, edi
and edx, 3
add edx, 0x18
jmp 0x5e7f01
cmp edi, 0xffffffff
jne 0x5e7ef1
cmp eax, edx
jge 0x5e7f06
mov edx, eax
and edx, 3
add edx, 0x14
jmp 0x5e7f01
cmp edi, ecx
jne 0x5e7f06
cmp eax, ecx
jge 0x5e7f06
mov edx, eax
and edx, 3
add edx, 0x1c
cmp edx, 0xffffffff
jne 0x5e7f28
add edi, 0x10
and edi, 0x80000003
jns 0x5e7f16
dec edi
or edi, 0xfffffffc
inc edi
add eax, 0x10
and eax, 0x80000003
jns 0x5e7f25
dec eax
or eax, 0xfffffffc
inc eax
lea edx, [eax + edi*4]
mov edi, dword [0x68e5a8]
mov ecx, dword [edi + 0x2c]
imul ecx, dword [edi + 0x28]
mov edi, dword [edi + 0x30]
mov ebx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
push 0
push 0
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x68e5a8]
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, dword [eax + 0x28]
push ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x30]
push ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xac]
push 0
push 0
push eax
push 0x20
push 0x20
push 0
push 0
push edx
call fcn.004762b0
mov edx, dword [ebp + 0x10]
add edx, 8
cmp esi, 8
jl 0x5e805b
mov ecx, dword [0x67153c]
lea eax, [ecx + esi]
cmp eax, 0x258
jge 0x5e805b
cmp edx, 8
jl 0x5e805b
lea eax, [ecx + edx]
cmp eax, 0x228
jge 0x5e805b
mov ebx, dword [0x68e5a8]
mov eax, dword [ebx + 0x24]
mov ebx, dword [ebx + 0x30]
mov dword [ebp + 0x14], eax
mov eax, dword [0x67d8ac]
mov eax, dword [eax + 0x40]
mov edi, dword [eax + 0x24]
mov dword [ebp + 0x18], edi
mov edi, dword [eax + 0x2c]
imul edi, edx
add edi, dword [eax + 0x30]
test ecx, ecx
lea edi, [edi + esi*2]
mov dword [ebp + 8], edi
mov dword [ebp + 0x10], 0
jle 0x5e8062
mov dword [ebp + 0xc], 0x68e528
xor esi, esi
test ecx, ecx
jle 0x5e8023
mov edx, 0x68e528
mov eax, dword [edx]
lea eax, [ebx + eax*2]
mov ax, word [eax]
test ax, ax
je 0x5e8015
mov word [edi], ax
mov ecx, dword [0x67153c]
add edi, 2
inc esi
add edx, 4
cmp esi, ecx
jl 0x5e7fff
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
imul eax, dword [ebp + 0x14]
mov esi, dword [0x68e5a8]
mov esi, dword [esi + 0x30]
lea ebx, [esi + eax*2]
mov eax, dword [ebp + 0x18]
lea edi, [edi + eax*2]
mov eax, dword [ebp + 0x10]
inc eax
add edx, 4
cmp eax, ecx
mov dword [ebp + 8], edi
mov dword [ebp + 0x10], eax
mov dword [ebp + 0xc], edx
jl 0x5e7ff4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, esi
call fcn.005e77e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14