Function at 0x8d0e58
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x8d1201
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
mov dl, 1
mov eax, dword [0x412984]
call fcn.00416864
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.004165f8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
call fcn.00404120
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x14]
call fcn.0040a510
cmp dword [ebp - 0x34], 0
jne 0x8d0ef0
call fcn.0040c3a4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x38]
mov eax, 0x8d1218
call fcn.0040d0cc
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x14]
mov edx, 0x8d1228
call fcn.00404364
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x9b81d0]
mov eax, dword [0x9b8724]
mov eax, dword [eax]
mov edx, dword [0x8cfcec]
call fcn.0045b2a8
xor edx, edx
push ebp
push 0x8d11d2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x9b81d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d4]
mov edx, 0x8d1234
call fcn.0043af44
mov eax, dword [0x9b81d0]
mov eax, dword [eax]
call fcn.00457ba4
mov eax, dword [0x9b8724]
mov eax, dword [eax]
call fcn.0045b17c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040a8e8
jmp 0x8d0f72
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, 0x8d1258
call fcn.00404364
mov eax, dword [ebp - 0x18]
call fcn.00404318
cmp eax, 3
jl 0x8d0f62
mov eax, dword [ebp - 0x18]
mov edx, 0x8d1264
call fcn.00404428
jne 0x8d0f9d
lea eax, [ebp - 0x18]
mov edx, 0x8d1270
call fcn.00404120
jmp 0x8d0fad
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, 0x8d1280
call fcn.00404364
xor edx, edx
push ebp
push 0x8d11a1
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xffff
mov eax, dword [ebp - 4]
push dword [eax + 0x3c]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004043d8
mov ecx, dword [ebp - 0x3c]
mov dl, 1
mov eax, dword [0x412984]
call fcn.00416864
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push dword [eax + 0x3c]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.004043d8
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x38]
mov dl, 1
mov eax, dword [0x8cffac]
call fcn.008d05b0
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x8d115c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
call fcn.004165f8
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.004165dc
sub ebx, eax
cmp ebx, 0x400
jg 0x8d10a2
mov eax, dword [ebp - 8]
call fcn.004165f8
push eax
mov eax, dword [ebp - 8]
call fcn.004165dc
pop ecx
sub ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004166a0
mov eax, dword [0x9b81d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
mov edx, 0x64
call fcn.00762edc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403b58
call fcn.00403b58
jmp 0x8d11d9
mov ecx, 0x400
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004166a0
mov eax, dword [ebp - 4]
cmp word [eax + 0x5a], 0
je 0x8d10d8
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
call fcn.004165dc
mov ecx, eax
mov ebx, dword [ebp - 4]
mov edx, 0x8d128c
mov eax, dword [ebx + 0x5c]
call dword [ebx + 0x58]
mov eax, dword [ebp - 8]
call fcn.004165dc
imul eax, eax, 0x64
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fild dword [ebp - 0x20]
fdivp st(1)
fstp xword [ebp - 0x30]
wait
push 0
push 0x64
fld xword [ebp - 0x30]
call fcn.00402c94
push edx
push eax
mov eax, dword [ebp - 0x20]
cdq
call fcn.00407d44
call fcn.00407d8a
mov edx, eax
mov eax, dword [0x9b81d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d8]
call fcn.00762edc
mov eax, dword [0x9b8724]
mov eax, dword [eax]
call fcn.0045b17c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10050]
test eax, eax
jns 0x8d1140
add eax, 0x3ff
sar eax, 0xa
add eax, 0x41
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x34]
jl 0x8d1039
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x8d1183
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8d11a8
mov eax, dword [ebp - 0x10]
call fcn.00403260
mov eax, dword [ebp - 0xc]
call fcn.00403260
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8d1208
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.004040ac
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004040ac
ret