Function at 0x40ef90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x432d18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [0x43ee7c]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], ebx
call fcn.00409fe0
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 1
call fcn.0040a1a0
cmp dword [0x4700d0], ebx
je 0x40eff6
mov eax, 0x64
dec eax
mov dword [0x45be58], ebx
jne 0x40efe1
mov dword [0x45bfe8], ebx
mov dword [0x4700d0], ebx
mov eax, dword [0x45e6fc]
mov dword [esp + 0x18], ebx
cmp eax, ebx
jle 0x40f16c
mov dword [esp + 0x14], 0x45bfec
mov cl, byte [esp + 0x13]
push 0xc
mov byte [esp + 0x3c], cl
call fcn.00425b19
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x54], 2
call fcn.0040a310
test eax, eax
jne 0x40f06f
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x4c], 1
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x44]
call fcn.00410fe0
mov edx, dword [esp + 0x3c]
push edx
jmp 0x40f13a
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
cmp edi, eax
je 0x40f0c7
mov esi, dword [edi + 8]
push esi
call fcn.0040ee90
add esp, 4
test eax, eax
jne 0x40f0bd
call fcn.0040eec0
cmp eax, 0xffffffff
je 0x40f09c
mov dword [eax*4 + 0x45be58], esi
jmp 0x40f0b8
mov eax, dword [0x45bfe8]
cmp eax, 0x64
jge 0x40f0bd
mov dword [eax*4 + 0x45be58], esi
mov eax, dword [0x45bfe8]
inc eax
mov dword [0x45bfe8], eax
mov ebp, 1
mov edi, dword [edi]
mov eax, dword [esp + 0x3c]
cmp edi, eax
jne 0x40f079
mov esi, dword [eax]
mov edi, eax
cmp esi, eax
je 0x40f111
mov eax, esi
mov esi, dword [esi]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x28]
push ebx
push eax
lea ecx, [esp + 0x24]
call fcn.00411270
mov eax, dword [eax]
push eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
call fcn.00425b42
mov ecx, dword [esp + 0x44]
add esp, 4
dec ecx
cmp esi, edi
mov dword [esp + 0x40], ecx
jne 0x40f0cf
mov eax, dword [esp + 0x3c]
mov esi, dword [eax]
mov byte [esp + 0x4c], 1
cmp esi, eax
mov edi, eax
je 0x40f139
mov eax, esi
mov esi, dword [esi]
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x40]
call fcn.00411230
cmp esi, edi
jne 0x40f11e
mov eax, dword [esp + 0x3c]
push eax
call fcn.00425b42
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [0x45e6fc]
add esp, 4
inc eax
add edx, 0x64
cmp eax, ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jl 0x40f00f
mov eax, dword [0x460fa4]
xor edi, edi
cmp eax, ebx
jle 0x40f1ae
mov esi, 0x45e894
push esi
lea ecx, [esp + 0x34]
call fcn.0040a2a0
cmp eax, ebx
je 0x40f1a1
push eax
call fcn.0040ef10
add esp, 4
test eax, eax
jne 0x40f1a1
call fcn.0040f1f0
mov ebp, 1
mov eax, dword [0x460fa4]
inc edi
add esi, 0x64
cmp edi, eax
jl 0x40f17c
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], bl
call fcn.0040a010
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00425dde
mov ecx, dword [esp + 0x44]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret