Function at 0x7af734
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x7afabf
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x7af95c
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 [0x83f380]
mov edx, dword [edx]
mov edx, dword [edx + 0x740]
mov edx, dword [edx + 0x380]
call fcn.00404c10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
add eax, 0xc8
mov edx, dword [0x83f380]
mov edx, dword [edx]
mov edx, dword [edx + 0x740]
mov edx, dword [edx + 0x390]
call fcn.00404c10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
add eax, 0xd0
mov edx, dword [0x83f380]
mov edx, dword [edx]
mov edx, dword [edx + 0x740]
mov edx, dword [edx + 0x394]
call fcn.00404c10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.006b58e4
mov edx, dword [0x83f380]
mov edx, dword [edx]
mov edx, dword [edx + 0x740]
mov dl, byte [edx + 0x38c]
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.006b573c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [eax + 0x320], 0xffffffff
push 0x64
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
cmp byte [ebx + 0x31c], 0
je 0x7af852
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7afaa9
push 0x7afad8
push dword [ebx + 0x310]
push 0x7afaec
fild qword [ebx + 0x308]
fdiv dword [0x7afaf0]
fmul dword [0x7afaf4]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.004325f8
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fdiv dword [0x7afaf4]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 8]
push eax
mov ecx, 2
mov edx, 0xa
mov al, 3
call fcn.0040d2d8
push dword [ebp - 8]
push 0x7afb00
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, 5
call fcn.00404f44
mov eax, dword [ebp - 4]
push eax
push 0x7af6d8
mov eax, dword [ebp - 4]
call fcn.004270e4
mov eax, dword [0x83f380]
mov eax, dword [eax]
mov eax, dword [eax + 0x740]
mov edx, dword [eax + 0x384]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
call fcn.006b6100
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
cmp byte [eax + 0x31c], 0
je 0x7af911
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7afaa9
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], 0x7afb88
push 0
mov ecx, dword [edx + 0x310]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x34]
call fcn.006b5ee4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax + 0x314], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7af9a7
xor eax, eax
push ebp
push 0x7af9d3
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 0x7af9dd
xor eax, eax
push ebp
push 0x7afa9f
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 0x7afa95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f0]
cmp dword [eax + 0xc], 0
jne 0x7afa68
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, 0x7afb28
call fcn.00404c10
mov eax, dword [ebp - 4]
push eax
push 0x7af6d8
mov eax, dword [ebp - 4]
call fcn.004270e4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
cmp byte [ebx + 0x314], 0
je 0x7afa68
mov eax, dword [ebx + 0x304]
call fcn.004932fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
push eax
push 0x7afb3c
mov eax, dword [ebp - 4]
call fcn.004270e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
call fcn.006b59c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f0]
cmp dword [eax + 0xc], 0
jne 0x7afa95
push 0x1f4
call sub.kernel32.dll_Sleep_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7afaa9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7afac6
lea eax, [ebp - 8]
call fcn.00404bbc
ret