Function at 0x40da30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41a902
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
lea eax, [esp + 0xf]
push edi
mov esi, ecx
push eax
lea edx, [esp + 0x18]
push 0
lea ecx, [esi + 4]
push edx
mov dword [esp + 0x28], esi
call fcn.0040f330
lea eax, [esp + 0x15]
lea ecx, [esp + 0x16]
push eax
lea ebx, [esi + 0x20]
push 0
push ecx
mov ecx, ebx
mov dword [esp + 0x60], 0
call fcn.0040f540
lea edx, [esp + 0x14]
lea ebp, [esi + 0x30]
push edx
lea eax, [esp + 0x17]
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x60], 1
call fcn.0040f540
mov dl, byte [esp + 0x16]
lea ecx, [esi + 0x40]
push 0
mov byte [esp + 0x58], 2
mov byte [ecx], dl
call fcn.00405280
lea ecx, [esi + 0x50]
mov byte [esp + 0x54], 3
call fcn.0040d9a0
lea eax, [esp + 0x16]
lea edx, [esp + 0x15]
push eax
push 0
lea ecx, [esi + 0x64]
push edx
mov byte [esp + 0x60], 4
call fcn.0040f890
mov al, byte [esp + 0x16]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 5
mov dword [esi], 0x41b1a8
mov byte [esp + 0x2c], al
call fcn.00405280
mov edi, str.WIN32
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.WIN32
lea ecx, [esp + 0x30]
call fcn.00405f90
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 6
mov dword [esp + 0x20], 0
call fcn.0040f650
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
mov byte [esp + 0x5c], 7
call fcn.0040f440
mov edi, dword [eax]
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 6
call fcn.00405280
push 1
lea ecx, [esp + 0x2c]
mov dword [edi + 0x1c], 1
mov byte [esp + 0x58], 5
call fcn.00405280
mov cl, byte [esp + 0x16]
push 0
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
call fcn.00405280
mov edi, str.MACOSX
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.MACOSX
lea ecx, [esp + 0x30]
call fcn.00405f90
lea edx, [esp + 0x18]
lea eax, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 8
mov dword [esp + 0x20], 0
call fcn.0040f650
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x5c], 9
call fcn.0040f440
mov edi, dword [eax]
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 8
call fcn.00405280
push 1
lea ecx, [esp + 0x2c]
mov dword [edi + 0x1c], 4
mov byte [esp + 0x58], 5
call fcn.00405280
mov dl, byte [esp + 0x16]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], dl
call fcn.00405280
mov edi, 0x41e41c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41e41c
lea ecx, [esp + 0x30]
call fcn.00405f90
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 0xa
mov dword [esp + 0x20], 0
call fcn.0040f650
lea edx, [esp + 0x20]
push eax
push edx
mov ecx, ebx
mov byte [esp + 0x5c], 0xb
call fcn.0040f440
mov edi, dword [eax]
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xa
call fcn.00405280
push 1
lea ecx, [esp + 0x2c]
mov dword [edi + 0x1c], 6
mov byte [esp + 0x58], 5
call fcn.00405280
mov al, byte [esp + 0x16]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call fcn.00405280
mov edi, 0x41e418
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41e418
lea ecx, [esp + 0x30]
call fcn.00405f90
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
xor ebx, ebx
push ecx
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 0xc
mov dword [esp + 0x20], ebx
call fcn.0040f650
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
mov byte [esp + 0x5c], 0xd
call fcn.0040f440
mov edi, dword [eax]
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xc
call fcn.00405280
push 1
lea ecx, [esp + 0x2c]
mov dword [edi + 0x1c], ebx
mov byte [esp + 0x58], 5
call fcn.00405280
mov cl, byte [esp + 0x16]
push ebx
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
call fcn.00405280
mov edi, str.elif
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.elif
lea ecx, [esp + 0x30]
call fcn.00405f90
lea edx, [esp + 0x18]
lea eax, [esp + 0x28]
push edx
mov byte [esp + 0x58], 0xe
mov dword [esp + 0x1c], ebx
push eax
lea ecx, [esp + 0x40]
call fcn.0040f650
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x5c], 0xf
call fcn.0040f440
mov edi, dword [eax]
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xe
call fcn.00405280
push 1
lea ecx, [esp + 0x2c]
mov dword [edi + 0x1c], 1
mov byte [esp + 0x58], 5
call fcn.00405280
mov dl, byte [esp + 0x16]
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], dl
call fcn.00405280
mov edi, str.else
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.else
lea ecx, [esp + 0x30]
call fcn.00405f90
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
mov byte [esp + 0x58], 0x10
call fcn.0040f170
push 1
lea ecx, [esp + 0x2c]
mov dword [eax], 2
mov byte [esp + 0x58], 5
call fcn.00405280
lea ecx, [esp + 0x17]
push ecx
push str.endif
lea ecx, [esp + 0x30]
call fcn.00404770
lea edx, [esp + 0x28]
mov ecx, ebp
push edx
mov byte [esp + 0x58], 0x11
call fcn.0040f170
push 1
lea ecx, [esp + 0x2c]
mov dword [eax], 3
mov byte [esp + 0x58], 5
call fcn.00405280
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret