Function at 0x40c320
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x437050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
call fcn.0042ca79
lea ecx, [esp + 0x24]
mov dword [esp + 0x64], 0
call fcn.0042d2c6
mov eax, dword [0x446600]
mov dword [esp + 0x34], eax
mov ebx, 0x43b03c
or edi, 0xffffffff
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 2
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edi
call fcn.0042dacd
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 3
push ecx
push 0x1001
push 0x445ed4
lea ecx, [esp + 0x20]
call fcn.0042cb8b
test eax, eax
jne 0x40c3bb
mov dword [esp + 0x24], ebx
mov byte [esp + 0x64], 4
jmp 0x40c574
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x40c557
mov eax, ebx
mov ebx, dword [ebx]
push 0x1e
lea ecx, [esp + 0x18]
mov esi, dword [eax + 8]
lea edx, [esi + 8]
push edx
call fcn.0042cce2
mov al, byte [esi + 0x44]
mov byte [esp + 0xf], al
mov eax, dword [esi + 0x50]
test eax, eax
je 0x40c3ef
add byte [esp + 0xf], 0x10
mov eax, dword [esi + 0x54]
test eax, eax
je 0x40c3fb
add byte [esp + 0xf], 0x20
lea ecx, [esp + 0xf]
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea edx, [esi + 0x45]
push 1
push edx
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea eax, [esi + 0x46]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea ecx, [esi + 0x47]
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea edx, [esi + 0x48]
push 1
push edx
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea eax, [esi + 0x49]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea ecx, [esi + 0x4a]
push 2
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea edx, [esi + 0x4c]
push 2
push edx
lea ecx, [esp + 0x1c]
call fcn.0042cce2
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov al, byte [esi + 0x44]
sub eax, 0
je 0x40c4ae
dec eax
jne 0x40c509
lea eax, [esi + 0x58]
push 2
push eax
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea ecx, [esi + 0x5a]
push 2
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042cce2
push 0xd
jmp 0x40c4fb
lea eax, [esi + 0x60]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea ecx, [esi + 0x58]
push 2
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea edx, [esi + 0x5a]
push 2
push edx
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea eax, [esi + 0x5c]
push 2
push eax
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea ecx, [esi + 0x5e]
push 2
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042cce2
push 8
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x18]
push edx
call fcn.0042cce2
lea eax, [esi + 0x62]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea ecx, [esi + 0x63]
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042cce2
lea edx, [esi + 0x64]
push 0x24
push edx
lea ecx, [esp + 0x1c]
call fcn.0042cce2
add esi, 0xac
push 0x24
push esi
lea ecx, [esp + 0x1c]
call fcn.0042cce2
test ebx, ebx
jne 0x40c3c6
mov esi, dword [esp + 0x10]
or edi, 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0042cda6
mov dword [esi + 0x1c], 0
mov dword [esp + 0x24], 0x43b03c
mov byte [esp + 0x64], 5
lea ecx, [esp + 0x34]
call fcn.0042d980
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], edi
call fcn.0042cace
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret