Function at 0x7f980c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x7f9bed
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x7f9a53
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
add eax, 0xac
mov edx, dword [0x8a9588]
mov edx, dword [edx]
mov edx, dword [edx + 0x800]
mov edx, dword [edx + 0x45c]
call fcn.00404b88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
add eax, 0xc8
mov edx, dword [0x8a9588]
mov edx, dword [edx]
mov edx, dword [edx + 0x800]
mov edx, dword [edx + 0x46c]
call fcn.00404b88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
add eax, 0xd0
mov edx, dword [0x8a9588]
mov edx, dword [edx]
mov edx, dword [edx + 0x800]
mov edx, dword [edx + 0x470]
call fcn.00404b88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.006dbf78
mov edx, dword [0x8a9588]
mov edx, dword [edx]
mov edx, dword [edx + 0x800]
mov dl, byte [edx + 0x468]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
mov byte [eax + 0xcc], dl
mov dl, 1
call fcn.006dbdd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [eax + 0x328], 0xffffffff
push 0x64
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
cmp byte [ebx + 0x324], 0
je 0x7f992a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7f9bc2
mov eax, dword [ebx + 0x308]
push dword [eax + 0x40]
push 0x7f9c00
lea eax, [ebp - 8]
mov edx, dword [ebx + 0x318]
call fcn.0040544c
push dword [ebp - 8]
push 0x7f9c08
fild qword [ebx + 0x310]
fdiv dword [0x7f9c10]
fmul dword [0x7f9c14]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.004324e8
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdiv dword [0x7f9c14]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x10]
push eax
mov ecx, 2
mov edx, 0xa
mov al, 3
call fcn.0040d1a4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.0040544c
push dword [ebp - 0xc]
push 0x7f9c1c
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, 6
call fcn.004055a8
mov eax, dword [ebp - 4]
push eax
push 0x7f97b0
mov eax, dword [ebp - 4]
call fcn.00426fd4
mov eax, dword [0x8a9588]
mov eax, dword [eax]
mov eax, dword [eax + 0x800]
mov edx, dword [eax + 0x460]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
call fcn.006dc794
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
cmp byte [eax + 0x324], 0
je 0x7f9a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7f9bc2
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov eax, dword [edx + 0x2f8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x38], 0x7f9c98
push 0
mov ecx, dword [edx + 0x318]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x34]
call fcn.006dc578
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax + 0x31c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7f9ab7
xor eax, eax
push ebp
push 0x7f9ae3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
xor edx, edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7f9aed
xor eax, eax
push ebp
push 0x7f9bb8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0x54]
test al, al
je 0x7f9bae
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
mov eax, dword [ebx + 0x2f0]
cmp dword [eax + 0xc], 0
jne 0x7f9b81
mov eax, dword [ebx + 0x308]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
add eax, 0x38
mov ecx, 0x7f9c40
call fcn.00405544
mov eax, dword [ebp - 4]
push eax
push 0x7f97b0
mov eax, dword [ebp - 4]
call fcn.00426fd4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
cmp byte [ebx + 0x31c], 0
je 0x7f9b81
mov eax, dword [ebx + 0x304]
call fcn.004939e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
push eax
push 0x7f9c4c
mov eax, dword [ebp - 4]
call fcn.00426fd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
call fcn.006dc058
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f0]
cmp dword [eax + 0xc], 0
jne 0x7f9bae
push 0x1f4
call sub.kernel32.dll_Sleep_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7f9bc2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7f9bf4
lea eax, [ebp - 0x18]
call fcn.00405268
lea eax, [ebp - 0x10]
call fcn.00404b34
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405280
ret