Function at 0x40d340
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6682e6
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x6fe3a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x5c]
call fcn.00404120
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
add ecx, 0x18
call fcn.00404120
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x5c]
add ecx, 0x30
call fcn.00404120
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c]
add ecx, 0x48
call fcn.00404120
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x5c]
add ecx, 0x64
call fcn.00404120
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
add ecx, 0x7c
call fcn.00404120
mov byte [ebp - 4], 5
push 0x67ae00
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.004040b0
mov byte [ebp - 4], 6
push 3
call fcn.004cc250
add esp, 4
push 0x67ae04
lea eax, [ebp - 0x6c]
push eax
call fcn.0040ca00
add esp, 8
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x64]
call fcn.0042dd70
push eax
lea ecx, [ebp - 0x28]
call fcn.004040b0
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.00404250
lea ecx, [ebp - 0x28]
call fcn.004041d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6c]
call fcn.004059a0
push 0x67ae48
lea eax, [ebp - 0x7c]
push eax
call fcn.0040ca00
add esp, 8
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x74]
call fcn.0042dd70
push eax
lea ecx, [ebp - 0x40]
call fcn.004040b0
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0x5c]
add ecx, 0x18
call fcn.00404250
lea ecx, [ebp - 0x40]
call fcn.004041d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call fcn.004059a0
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.0040e620
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x5c]
add ecx, 0x48
call fcn.00404250
lea ecx, [ebp - 0x58]
call fcn.004041d0
push 0
call fcn.0040d260
add esp, 4
push eax
call fcn.0064b449
add esp, 4
call fcn.0064b428
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0x84], 0x3c
jle 0x40d598
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x60], 0x359
push 0x67ae3c
lea eax, [ebp - 0x90]
push eax
call fcn.0040ca00
add esp, 8
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x8c]
call fcn.0042dd70
push eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x64
call fcn.0040b790
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x90]
call fcn.004059a0
push 0x67aea8
lea edx, [ebp - 0x9c]
push edx
call fcn.0040ca00
add esp, 8
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x98]
call fcn.0042dd70
push eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x7c
call fcn.0040b790
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9c]
call fcn.004059a0
jmp 0x40d642
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x60], 0x35a
push 0x67aee0
lea edx, [ebp - 0xa8]
push edx
call fcn.0040ca00
add esp, 8
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xa4]
call fcn.0042dd70
push eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x64
call fcn.0040b790
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa8]
call fcn.004059a0
push 0x67af14
lea ecx, [ebp - 0xb4]
push ecx
call fcn.0040ca00
add esp, 8
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xb0]
call fcn.0042dd70
push eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x7c
call fcn.0040b790
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.004059a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00641b27
mov esp, ebp
pop ebp
ret