Function at 0x636d3c
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 0x6370c7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x636f64
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 [0x65fe64]
mov edx, dword [edx]
mov edx, dword [edx + 0x4e0]
mov edx, dword [edx + 0x2d4]
call fcn.004048b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
add eax, 0xc8
mov edx, dword [0x65fe64]
mov edx, dword [edx]
mov edx, dword [edx + 0x4e0]
mov edx, dword [edx + 0x2e4]
call fcn.004048b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
add eax, 0xd0
mov edx, dword [0x65fe64]
mov edx, dword [edx]
mov edx, dword [edx + 0x4e0]
mov edx, dword [edx + 0x2e8]
call fcn.004048b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.005d49a0
mov edx, dword [0x65fe64]
mov edx, dword [edx]
mov edx, dword [edx + 0x4e0]
mov dl, byte [edx + 0x2e0]
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.005d47f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [eax + 0x320], 0xffffffff
push 0x64
call sub.KERNEL32.DLL_Sleep
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
cmp byte [ebx + 0x31c], 0
je 0x636e5a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6370b1
push 0x6370e0
push dword [ebx + 0x310]
push 0x6370f4
fild qword [ebx + 0x308]
fdiv dword [0x6370f8]
fmul dword [0x6370fc]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0043006c
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fdiv dword [0x6370fc]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 8]
push eax
mov ecx, 2
mov edx, 0xa
mov al, 3
call fcn.0040add4
push dword [ebp - 8]
push 0x637108
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, 5
call fcn.00404bd4
mov eax, dword [ebp - 4]
push eax
push 0x636ce0
mov eax, dword [ebp - 4]
call fcn.0042437c
mov eax, dword [0x65fe64]
mov eax, dword [eax]
mov eax, dword [eax + 0x4e0]
mov edx, dword [eax + 0x2d8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
call fcn.005d51bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
cmp byte [eax + 0x31c], 0
je 0x636f19
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6370b1
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], 0x637190
push 0
mov ecx, dword [edx + 0x310]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x34]
call fcn.005d4fa0
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 0x636faf
xor eax, eax
push ebp
push 0x636fdb
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 0x636fe5
xor eax, eax
push ebp
push 0x6370a7
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 0x63709d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f0]
cmp dword [eax + 0xc], 0
jne 0x637070
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, 0x637130
call fcn.004048b0
mov eax, dword [ebp - 4]
push eax
push 0x636ce0
mov eax, dword [ebp - 4]
call fcn.0042437c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
cmp byte [ebx + 0x314], 0
je 0x637070
mov eax, dword [ebx + 0x304]
call fcn.004a7c24
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
push eax
push 0x637144
mov eax, dword [ebp - 4]
call fcn.0042437c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f8]
call fcn.005d4a80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2f0]
cmp dword [eax + 0xc], 0
jne 0x63709d
push 0x1f4
call sub.KERNEL32.DLL_Sleep
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6370b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6370ce
lea eax, [ebp - 8]
call fcn.0040485c
ret