Function at 0x44ccac
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44d077
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x268]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
lea ebx, [eax + 0x2d0]
cmp byte [ebx + 0x15], 0
je 0x44ccf2
mov eax, dword [ebp - 4]
call fcn.0044c684
add esi, dword [ebx + 0x18]
add edi, dword [ebx + 0x1c]
lea ecx, [ebp - 0x40]
mov edx, edi
mov eax, esi
call fcn.0064d660
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0044bcdc
lea esi, [ebx + 0x30]
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
mov eax, dword [edx + 0x2c]
imul eax, dword [edx + 0x34]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
mov eax, dword [edx + 0x30]
imul dword [edx + 0x38]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdivp st(1)
fstp dword [ebp - 0xc]
wait
mov al, byte [ebx + 0x14]
mov edx, eax
sub dl, 1
je 0x44cd4d
sub dl, 3
je 0x44cd4d
sub dl, 2
jne 0x44cd74
mov edx, dword [esi + 8]
mov ecx, edx
sub ecx, dword [ebp - 0x14]
mov edi, dword [ebx + 0x20]
cmp ecx, edi
jge 0x44cd63
mov ecx, edx
sub ecx, edi
mov dword [ebp - 0x14], ecx
mov ecx, edx
sub ecx, dword [ebp - 0x14]
mov edi, dword [ebx + 0x28]
cmp ecx, edi
jle 0x44cd74
sub edx, edi
mov dword [ebp - 0x14], edx
mov edx, eax
dec edx
sub dl, 3
jae 0x44cda3
mov edx, dword [esi + 0xc]
mov ecx, edx
sub ecx, dword [ebp - 0x10]
mov edi, dword [ebx + 0x24]
cmp ecx, edi
jge 0x44cd92
mov ecx, edx
sub ecx, edi
mov dword [ebp - 0x10], ecx
mov ecx, edx
sub ecx, dword [ebp - 0x10]
mov edi, dword [ebx + 0x2c]
cmp ecx, edi
jle 0x44cda3
sub edx, edi
mov dword [ebp - 0x10], edx
mov edx, eax
sub dl, 3
je 0x44cdb4
sub dl, 2
je 0x44cdb4
sub dl, 3
jne 0x44cdda
mov ecx, dword [ebp - 0x14]
mov edx, dword [esi]
sub ecx, edx
mov edi, dword [ebx + 0x20]
cmp ecx, edi
jge 0x44cdc9
mov ecx, edx
add ecx, edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
sub ecx, edx
mov edi, dword [ebx + 0x28]
cmp ecx, edi
jle 0x44cdda
add edx, edi
mov dword [ebp - 0x14], edx
add al, 0xfa
sub al, 3
jae 0x44ce07
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 4]
sub ecx, eax
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jge 0x44cdf6
mov ecx, eax
add ecx, edx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov edx, dword [ebx + 0x2c]
cmp ecx, edx
jle 0x44ce07
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x24]
mov edx, 0x78
call fcn.00559d28
test eax, eax
setne al
xor edx, edx
mov dl, byte [ebx + 0x14]
cmp edx, 8
ja case.0x44ce29.0
jmp dword [edx*4 + 0x44ce30]
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x44], eax
jmp case.0x44ce29.0
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x40], eax
jmp case.0x44ce29.0
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x48], eax
jmp case.0x44ce29.0
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x4c], eax
jmp case.0x44ce29.0
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x40], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x44], edx
test al, al
je case.0x44ce29.0
push ebp
lea eax, [ebp - 0x40]
call fcn.0044cc48
pop ecx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jae 0x44cec3
mov eax, dword [ebx + 0x48]
sub eax, dword [ebp - 0x20]
mov dword [ebx + 0x40], eax
jmp case.0x44ce29.0
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jbe case.0x44ce29.0
mov eax, dword [ebx + 0x4c]
sub eax, dword [ebp - 0x1c]
mov dword [ebx + 0x44], eax
jmp case.0x44ce29.0
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x48], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x44], edx
test al, al
je case.0x44ce29.0
push ebp
lea eax, [ebp - 0x40]
call fcn.0044cc48
pop ecx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jae 0x44cf23
mov eax, dword [ebx + 0x40]
add eax, dword [ebp - 0x28]
mov dword [ebx + 0x48], eax
jmp case.0x44ce29.0
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jbe case.0x44ce29.0
mov eax, dword [ebx + 0x4c]
sub eax, dword [ebp - 0x24]
mov dword [ebx + 0x44], eax
jmp case.0x44ce29.0
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x40], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x4c], edx
test al, al
je case.0x44ce29.0
push ebp
lea eax, [ebp - 0x40]
call fcn.0044cc48
pop ecx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jae 0x44cf80
mov eax, dword [ebx + 0x48]
sub eax, dword [ebp - 0x30]
mov dword [ebx + 0x40], eax
jmp case.0x44ce29.0
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jbe case.0x44ce29.0
mov eax, dword [ebx + 0x44]
add eax, dword [ebp - 0x2c]
mov dword [ebx + 0x4c], eax
jmp case.0x44ce29.0
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x48], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x4c], edx
test al, al
je case.0x44ce29.0
push ebp
lea eax, [ebp - 0x40]
call fcn.0044cc48
pop ecx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jae 0x44cfd2
mov eax, dword [ebx + 0x40]
add eax, dword [ebp - 0x38]
mov dword [ebx + 0x48], eax
jmp case.0x44ce29.0
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jbe case.0x44ce29.0
mov eax, dword [ebx + 0x44]
add eax, dword [ebp - 0x34]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 4]
call fcn.0044c684
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x2c]
push eax
push 0x64
mov edx, dword [ebx + 0x48]
sub edx, dword [ebx + 0x40]
mov eax, dword [ebp - 0x18]
call fcn.0055fafc
push eax
call sub.kernel32.dll_MulDiv
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x30]
push eax
push 0x64
mov edx, dword [ebx + 0x4c]
sub edx, dword [ebx + 0x44]
mov eax, dword [ebp - 0x18]
call fcn.0055fafc
push eax
call sub.kernel32.dll_MulDiv
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0
lea edx, [ebp - 0x5c]
mov eax, 0x44d088
mov ecx, 1
call fcn.006550e0
mov ecx, dword [ebp - 0x4c]
mov eax, dword [0x6698c0]
mov eax, dword [eax]
mov dl, 2
call fcn.004f6420
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d07e
lea eax, [ebp - 0x4c]
call fcn.00403274
ret