Function at 0x408d40
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585197
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5d4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00406750
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00406750
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.00406750
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.00406750
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x64]
push eax
call fcn.00406750
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x7c]
push eax
call fcn.00406750
lea ecx, [edi + 0x94]
mov byte [ebp - 4], 5
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
mov word [ecx], ax
push eax
lea eax, [esi + 0x94]
push eax
call fcn.00406750
mov byte [ebp - 4], 6
lea ecx, [edi + 0xb0]
mov eax, dword [esi + 0xac]
mov dword [edi + 0xac], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0xb0]
push eax
call fcn.00406750
lea ecx, [edi + 0xc8]
mov byte [ebp - 4], 7
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0xc8]
push eax
call fcn.00406750
mov byte [ebp - 4], 8
lea ecx, [edi + 0xe4]
mov eax, dword [esi + 0xe0]
mov dword [edi + 0xe0], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0xe4]
push eax
call fcn.00406750
mov byte [ebp - 4], 9
lea ecx, [edi + 0x100]
movzx eax, byte [esi + 0xfc]
mov byte [edi + 0xfc], al
lea eax, [esi + 0x100]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00406b70
mov eax, dword [esi + 0x118]
mov dword [edi + 0x118], eax
mov eax, dword [esi + 0x11c]
mov dword [edi + 0x11c], eax
mov eax, dword [esi + 0x120]
mov dword [edi + 0x120], eax
movzx eax, byte [esi + 0x124]
mov byte [edi + 0x124], al
mov eax, dword [esi + 0x128]
mov dword [edi + 0x128], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4