Function at 0x802490
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x802761
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x802744
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.00882dbc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
xor edx, edx
call fcn.004425fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
cmp dword [eax + 0x228], 0
je 0x802702
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x354]
xor edx, edx
call fcn.006829f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
mov dl, 1
call fcn.0044f21c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x354]
mov dl, 1
call fcn.0044f21c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor edx, edx
push ebp
push 0x8026fb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x8a9dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xcc8]
mov eax, dword [eax + 0x254]
call fcn.00637aa0
mov byte [eax + 0x30], 0
lea eax, [ebp - 8]
mov edx, 0x802778
call fcn.00404bcc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3e0], 0
jne 0x802604
mov eax, dword [0x8a9dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xcc8]
mov eax, dword [eax + 0x254]
cmp byte [eax + 0x46d], 0
je 0x802604
mov eax, dword [0x8a9dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
call fcn.00853b7c
lea eax, [ebp - 8]
mov edx, 0x80278c
call fcn.00404e04
mov eax, dword [0x8a9dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xcc8]
mov eax, dword [eax + 0x254]
call fcn.00637aa0
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.005ed150
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
xor edx, edx
call fcn.004425fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov eax, dword [eax + 0x228]
call fcn.007fb7c4
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov ecx, dword [eax + 0x228]
mov eax, dword [0x8a9dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xcc8]
mov edx, dword [eax + 0x254]
mov eax, dword [ebp - 4]
call fcn.007fd894
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x354]
cmp dword [eax + 0x188], 0
jne 0x8026aa
mov edx, 0x64
call fcn.006829f0
push 0x32
call sub.kernel32.dll_Sleep_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x802702
mov eax, dword [0x8a9dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xcc8]
mov eax, dword [eax + 0x254]
call fcn.00637aa0
mov byte [eax + 0x30], 1
mov eax, dword [0x8a9dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xcc8]
mov eax, dword [eax + 0x254]
mov edx, dword [eax]
call dword [edx + 0xc4]
ret
xor eax, eax
push ebp
push 0x80271f
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004680e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x802729
mov eax, dword [ebp - 4]
call fcn.0046ddb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x80274b
call fcn.00882ddc
ret