Function at 0x40e190
Capabilities:
Get number of processors
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447a7f
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x45b4b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004105b0
mov dword [edi], eax
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
call fcn.00412bf0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x98]
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x4c], 0x4cbebc20
mov dword [edi + 0x48], 0x4cbebc20
mov dword [edi + 0x44], 0x4cbebc20
mov dword [edi + 0x40], 0x4cbebc20
mov dword [edi + 0x3c], 0x4cbebc20
mov dword [edi + 0x38], 0x4cbebc20
mov dword [edi + 0x34], 0x4cbebc20
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x64], 0x60
mov dword [edi + 0x68], 0x61
mov dword [edi + 0x6c], 0x62
mov dword [edi + 0x70], 0x63
mov dword [edi + 0x74], 0x64
mov dword [edi + 0x78], 0x65
mov dword [edi + 0x7c], 0x66
mov dword [edi + 0x80], 0x67
mov dword [edi + 0x84], 0x68
mov dword [edi + 0x88], 0x69
mov dword [edi + 0x8c], 0x6e
mov dword [edi + 0x90], 0x6b
mov dword [edi + 0x94], 0x6d
call fcn.004134a0
mov byte [ebp - 4], 2
lea esi, [edi + 0xc8]
mov dword [edi + 0xbc], 0xffffffff
mov dword [edi + 0xc0], 9
mov dword [edi + 0xc4], 0
call fcn.00402df0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40e301
push 0x80004005
call fcn.00402ba0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
call fcn.00402df0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40e32f
push 0x80004005
call fcn.00402ba0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0xcc], eax
mov byte [ebp - 4], 4
call fcn.00402df0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40e361
push 0x80004005
call fcn.00402ba0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0xd0], eax
mov byte [ebp - 4], 5
call fcn.00402df0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40e393
push 0x80004005
call fcn.00402ba0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0xd4], eax
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0
mov byte [edi + 0xf8], 0
push 8
push str.Pal6.exe
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.004097f0
push esi
lea ecx, [edi + 0xcc]
call fcn.0040ce40
push 0xc
push str.NOT_SET:_1.0
lea ecx, [edi + 0xd4]
call fcn.004097f0
push ecx
mov ecx, dword [edi + 0xcc]
mov esi, esp
sub ecx, 0x10
mov dword [ebp - 0x10], esp
call fcn.004021d0
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 8
mov esi, esp
mov ecx, dword [edi + 0xc8]
sub ecx, 0x10
call fcn.004021d0
add eax, 0x10
lea ecx, [edi + 8]
mov dword [esi], eax
mov byte [ebp - 4], 7
call fcn.00412d30
lea eax, [edi + 8]
mov dword [ebp - 0x3c], 0
lea esi, [edi + 0x2c]
xorps xmm0, xmm0
mov dword [esi], eax
lea eax, [ebp - 0x10]
push eax
movdqu xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x10], 0
movdqu xmmword [ebp - 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x10], 0
lea eax, [ebp - 0x3c]
push eax
je 0x40e4a7
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x40e4ad
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x38]
mov dword [esi + 4], eax
mov eax, edi
mov dword [edi + 0x60], esi
mov dword [edi + 0xa0], esi
mov dword [edi + 0xf4], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret