Function at 0x6097bc
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x6097c5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x6097de
add esp, 0xfffffff0
call fcn.00404254
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov eax, dword [ebp + 8]
call fcn.00405130
xor eax, eax
push ebp
push 0x609d56
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [esi + 0x30]
xor edx, edx
mov eax, ebx
call fcn.0043d1b4
lea eax, [ebx + 0x1bc]
call fcn.00404c80
lea eax, [ebx + 0x1b8]
call fcn.00404c80
xor eax, eax
mov dword [ebx + 0x174], eax
mov eax, esi
mov edx, dword [0x43a9b4]
call fcn.004040a0
mov dword [ebx + 0x1d4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [0x43a9b4]
call fcn.004040a0
mov dword [ebx + 0x1d8], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [0x43a9b4]
call fcn.004040a0
mov dword [ebx + 0x1dc], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x7fffffff
mov edx, 3
mov eax, dword [ebp + 8]
call fcn.004051a0
mov eax, dword [ebx + 0x1dc]
mov edx, dword [0x6042ec]
call fcn.004040a0
mov edi, dword [eax + 0x190]
add edi, dword [0x681ad8]
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp + 8]
mov eax, 0x609d88
call fcn.00405284
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp + 8]
call fcn.004051a0
mov eax, dword [ebp - 0x10]
call fcn.00409c68
mov edx, eax
mov eax, dword [ebx + 0x1dc]
add edx, dword [eax + 0x40]
add edx, edi
mov eax, ebx
call fcn.0047ea50
lea eax, [ebp + 8]
push eax
mov edx, dword [ebp + 8]
mov eax, 0x609d88
call fcn.00405284
mov edx, eax
inc edx
mov ecx, 0x7fffffff
mov eax, dword [ebp + 8]
call fcn.004051a0
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp + 8]
mov eax, 0x609d88
call fcn.00405284
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp + 8]
call fcn.004051a0
mov eax, dword [ebp - 0x14]
call fcn.00409c68
mov edx, eax
mov eax, dword [ebx + 0x1dc]
mov eax, dword [eax + 0x44]
add eax, dword [0x681adc]
add edx, eax
mov eax, ebx
call fcn.0047ea74
lea eax, [ebp + 8]
push eax
mov edx, dword [ebp + 8]
mov eax, 0x609d88
call fcn.00405284
mov edx, eax
inc edx
mov ecx, 0x7fffffff
mov eax, dword [ebp + 8]
call fcn.004051a0
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp + 8]
mov eax, 0x609d88
call fcn.00405284
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp + 8]
call fcn.004051a0
mov eax, dword [ebp - 0x18]
call fcn.00409c68
mov edx, eax
mov eax, ebx
call fcn.0047ea9c
lea eax, [ebp + 8]
push eax
mov edx, dword [ebp + 8]
mov eax, 0x609d88
call fcn.00405284
mov edx, eax
inc edx
mov ecx, 0x7fffffff
mov eax, dword [ebp + 8]
call fcn.004051a0
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp + 8]
mov eax, 0x609d88
call fcn.00405284
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp + 8]
call fcn.004051a0
mov eax, dword [ebp - 0x1c]
call fcn.00409c68
mov edx, eax
mov eax, ebx
call fcn.0047eac0
lea eax, [ebp + 8]
push eax
mov edx, dword [ebp + 8]
mov eax, 0x609d94
call fcn.00405284
mov edx, eax
inc edx
mov ecx, 0x7fffffff
mov eax, dword [ebp + 8]
call fcn.004051a0
lea eax, [ebx + 0x1b0]
push eax
mov edx, dword [ebp + 8]
mov eax, 0x609da0
call fcn.00405284
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp + 8]
call fcn.004051a0
lea eax, [ebp - 0x20]
push eax
mov edx, dword [ebx + 0x1b0]
mov eax, 0x609d88
call fcn.00405284
mov ecx, eax
dec ecx
mov eax, dword [ebx + 0x1b0]
mov edx, 1
call fcn.004051a0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0xc]
call fcn.0040972c
cmp dword [ebp - 0xc], 0
jne 0x609a64
lea eax, [ebp - 0xc]
mov edx, 0x609dac
call fcn.00404d18
mov eax, dword [ebp - 0xc]
call fcn.00409c68
mov dword [ebx + 0x1c0], eax
lea eax, [ebx + 0x1b0]
push eax
mov edx, dword [ebx + 0x1b0]
mov eax, 0x609d88
call fcn.00405284
mov edx, eax
inc edx
mov eax, dword [ebx + 0x1b0]
mov ecx, 0x7fffffff
call fcn.004051a0
lea eax, [ebp - 0x24]
push eax
mov edx, dword [ebx + 0x1b0]
mov eax, 0x609d88
call fcn.00405284
mov ecx, eax
dec ecx
mov eax, dword [ebx + 0x1b0]
mov edx, 1
call fcn.004051a0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0xc]
call fcn.0040972c
cmp dword [ebp - 0xc], 0
jne 0x609ae1
lea eax, [ebp - 0xc]
mov edx, 0x609dac
call fcn.00404d18
mov eax, dword [ebp - 0xc]
call fcn.00409c68
mov dword [ebx + 0x1c4], eax
lea eax, [ebx + 0x1b0]
push eax
mov edx, dword [ebx + 0x1b0]
mov eax, 0x609d88
call fcn.00405284
mov edx, eax
inc edx
mov eax, dword [ebx + 0x1b0]
mov ecx, 0x7fffffff
call fcn.004051a0
mov al, byte [0x609db0]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1b0]
xor ecx, ecx
mov edx, 0x609dbc
call fcn.0040f7a4
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x1b0]
call fcn.00404cd4
xor eax, eax
mov dword [ebx + 0x1a0], eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x1b0]
call fcn.004094f8
mov edx, dword [ebp - 0x2c]
mov eax, 0x609dc8
call fcn.00405284
mov edi, eax
test edi, edi
jle 0x609bb7
lea eax, [ebp - 8]
push eax
lea edx, [edi + 3]
mov eax, dword [ebx + 0x1b0]
mov ecx, 0x7fffffff
call fcn.004051a0
lea eax, [ebx + 0x1b0]
push eax
mov ecx, edi
dec ecx
mov eax, dword [ebx + 0x1b0]
mov edx, 1
call fcn.004051a0
mov eax, dword [ebp - 8]
call fcn.00595294
test al, al
je 0x609bb7
mov eax, dword [ebp - 8]
call fcn.00409c68
mov dword [ebx + 0x1a0], eax
mov dword [ebx + 0x16c], ebx
mov dword [ebx + 0x168], 0x608fd8
mov dword [ebx + 0xe4], ebx
mov dword [ebx + 0xe0], 0x6083f4
mov dword [ebx + 0xdc], ebx
mov dword [ebx + 0xd8], 0x607c1c
mov edx, dword [esi + 0x30]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov dx, 0xffeb
mov eax, ebx
call fcn.0047f514
xor eax, eax
mov dword [ebx + 0x1e0], eax
mov ecx, dword [esi + 0x30]
mov dl, 1
mov eax, dword [0x43b6fc]
call fcn.0043ddb8
mov esi, eax
mov edx, 0x64
mov eax, esi
call fcn.0043df50
push ebx
push 0x608fd8
mov eax, esi
call fcn.0043df60
xor eax, eax
mov dword [ebx + 0x1cc], eax
xor eax, eax
mov dword [ebx + 0x1d0], eax
mov esi, dword [ebx + 0x160]
mov eax, dword [esi + 0xc]
mov edx, 0x609dd4
call fcn.0042a548
mov eax, dword [esi + 0xc]
mov edx, 0x10
call fcn.0042a5c0
mov eax, dword [esi + 0xc]
mov edx, 0xff
call fcn.0042a320
lea eax, [ebx + 0x198]
call fcn.00404c80
xor eax, eax
mov dword [ebx + 0x1ac], eax
cmp dword [ebx + 0x1c0], 0x64
jl 0x609c91
mov dword [ebx + 0x1ac], 0xffffffff
xor eax, eax
mov dword [ebx + 0x1e4], eax
xor eax, eax
mov dword [ebx + 0x1c8], eax
xor eax, eax
mov dword [ebx + 0x178], eax
xor eax, eax
mov dword [ebx + 0x170], eax
mov eax, dword [ebx + 0x1dc]
mov edx, dword [0x6042ec]
call fcn.004040a0
mov eax, dword [eax + 4]
mov edx, dword [0x604624]
call fcn.004040a0
mov esi, eax
mov edx, dword [esi + 0x3dc]
mov eax, 0x609de4
call fcn.00405284
test eax, eax
jle 0x609cf0
mov dword [ebx + 0x178], 0xffffffff
mov edx, dword [esi + 0x3dc]
mov eax, 0x609d88
call fcn.00405284
test eax, eax
jle 0x609d10
mov eax, dword [esi + 0x340]
mov dword [ebx + 0x170], eax
cmp dword [0x67cc24], 1
jne 0x609d23
mov dword [ebx + 0x178], 0xffffffff
mov edx, dword [ebx + 0x44]
add edx, dword [ebx + 0x170]
mov eax, ebx
call fcn.0047ea74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x609d5d
lea eax, [ebp - 0x2c]
mov edx, 0xa
call fcn.00404ca4
lea eax, [ebp + 8]
call fcn.00404c80
ret