Function at 0x696770
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x481090
push eax
mov al, byte [esp + 0x28]
mov dword fs:[0], esp
sub esp, 0x2c
test al, 0x1e
push edi
mov edi, ecx
je 0x696a97
push ebx
push ebp
push esi
call fcn.00693120
mov ebx, eax
mov ecx, ebx
call fcn.00691410
xor ebp, ebp
mov ecx, 1
cmp eax, ebp
je 0x6967be
mov edx, dword [eax + 0x28]
mov dword [esp + 0x10], ecx
cmp edx, ecx
je 0x6967c2
mov dword [esp + 0x10], ebp
mov eax, dword [edi + 0x6c]
cmp eax, ebp
jne 0x6967d5
mov dl, byte [edi + 0x44]
mov dword [esp + 0x14], ecx
test dl, 4
jne 0x6967d9
mov dword [esp + 0x14], ebp
xor ecx, ecx
mov edx, dword [edi + 0x3c]
cmp eax, 2
push edx
setne cl
dec ecx
and ecx, 3
mov esi, ecx
lea ecx, [esp + 0x30]
push esi
push ebp
call fcn.006d8507
mov ecx, ebx
mov dword [esp + 0x44], ebp
call fcn.00690480
cmp dword [esp + 0x58], eax
jl 0x69681b
mov ecx, ebx
call fcn.00690490
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
mov eax, 0xc0c0c0
jge 0x696820
mov eax, 0x808080
push eax
push esi
push ebp
lea ecx, [esp + 0x30]
call fcn.006d8507
mov esi, dword [esp + 0x4c]
push 1
mov byte [esp + 0x48], 1
mov eax, dword [esi + 8]
push eax
push ecx
call 0x8a84e1
push eax
call fcn.006d8485
mov ebp, dword [esp + 0x60]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov ecx, dword [ebp]
push ecx
push edx
mov ecx, edi
call fcn.00692e50
mov ebx, eax
mov eax, dword [ebp + 4]
mov ebp, dword [esp + 0x54]
push eax
push ebp
mov ecx, edi
call fcn.00692f80
mov edx, dword [esi + 8]
lea ecx, [esp + 0x1c]
push 1
push ecx
push edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
push ecx
call 0x82e1d6
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc ecx
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 8]
lea eax, [esp + 0x1c]
push 1
push eax
push ecx
call 0x839a21
mov dh, dh
inc esp
and al, 0x64
add dh, byte [edi - 0x75]
inc esp
and al, 0x5c
mov edx, dword [esp + 0x68]
test eax, eax
jne 0x696929
test edx, 0x40000
jne 0x696929
mov ecx, dword [esp + 0x10]
mov eax, edx
and eax, 0x10
jne 0x6968e3
cmp ecx, 1
je 0x6968f0
cmp dword [esp + 0x14], 1
jne 0x69692d
cmp ecx, 1
je 0x6968f0
test eax, eax
lea eax, [esp + 0x24]
je 0x6968f4
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.006d7aee
mov edx, dword [esp + 0x50]
push ebp
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, esi
call fcn.006d7fdf
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
push ecx
push edx
mov ecx, esi
call fcn.006d802b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
jmp 0x69692d
mov ecx, dword [esp + 0x10]
test byte [esp + 0x64], 4
je 0x69699e
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x696943
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x69699e
test edx, 0x80000
jne 0x69699e
mov eax, edx
and eax, 0x20
jne 0x69695e
cmp ecx, 1
je 0x69696b
cmp dword [esp + 0x14], 1
jne 0x69699e
cmp ecx, 1
je 0x69696b
test eax, eax
lea eax, [esp + 0x24]
je 0x69696f
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.006d7aee
mov eax, dword [esp + 0x50]
push ebp
lea ecx, [esp + 0x38]
push eax
push ecx
mov ecx, esi
call fcn.006d7fdf
mov edx, dword [esp + 0x1c]
push ebp
push edx
mov ecx, esi
call fcn.006d802b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
test byte [esp + 0x64], 8
je 0x6969fc
test edx, 0x100000
jne 0x6969fc
mov eax, edx
and eax, 0x40
jne 0x6969c0
cmp ecx, 1
je 0x6969cd
cmp dword [esp + 0x14], 1
jne 0x6969fc
cmp ecx, 1
je 0x6969cd
test eax, eax
lea eax, [esp + 0x24]
je 0x6969d1
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.006d7aee
push ebp
lea eax, [esp + 0x38]
push ebx
push eax
mov ecx, esi
call fcn.006d7fdf
mov ecx, dword [esp + 0x20]
push ecx
push ebx
mov ecx, esi
call fcn.006d802b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
test byte [esp + 0x64], 0x10
je 0x696a5c
test edx, 0x200000
jne 0x696a5c
mov eax, edx
and eax, 0x80
jne 0x696a20
cmp ecx, 1
je 0x696a2d
cmp dword [esp + 0x14], 1
jne 0x696a5c
cmp ecx, 1
je 0x696a2d
test eax, eax
lea eax, [esp + 0x24]
je 0x696a31
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.006d7aee
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
push edi
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, esi
call fcn.006d7fdf
mov ecx, dword [esp + 0x1c]
push edi
push ecx
mov ecx, esi
call fcn.006d802b
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
call fcn.006d7aee
mov esi, 0x539178
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 2
call fcn.006d84f1
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 3
call fcn.006d84f1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
pop edi
mov dword fs:[0], ecx
add esp, 0x38
ret 0x20