Function at 0x462b5c
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 0x462f29
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 0x462ba2
mov eax, dword [ebp - 4]
call fcn.00462534
add esi, dword [ebx + 0x18]
add edi, dword [ebx + 0x1c]
lea ecx, [ebp - 0x40]
mov edx, edi
mov eax, esi
call fcn.0064d54c
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00461b3c
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 0x462bfd
sub dl, 3
je 0x462bfd
sub dl, 2
jne 0x462c24
mov edx, dword [esi + 8]
mov ecx, edx
sub ecx, dword [ebp - 0x14]
mov edi, dword [ebx + 0x20]
cmp ecx, edi
jge 0x462c13
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 0x462c24
sub edx, edi
mov dword [ebp - 0x14], edx
mov edx, eax
dec edx
sub dl, 3
jae 0x462c53
mov edx, dword [esi + 0xc]
mov ecx, edx
sub ecx, dword [ebp - 0x10]
mov edi, dword [ebx + 0x24]
cmp ecx, edi
jge 0x462c42
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 0x462c53
sub edx, edi
mov dword [ebp - 0x10], edx
mov edx, eax
sub dl, 3
je 0x462c64
sub dl, 2
je 0x462c64
sub dl, 3
jne 0x462c8a
mov ecx, dword [ebp - 0x14]
mov edx, dword [esi]
sub ecx, edx
mov edi, dword [ebx + 0x20]
cmp ecx, edi
jge 0x462c79
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 0x462c8a
add edx, edi
mov dword [ebp - 0x14], edx
add al, 0xfa
sub al, 3
jae 0x462cb7
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 4]
sub ecx, eax
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jge 0x462ca6
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 0x462cb7
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x24]
mov edx, 0x78
call fcn.0055f77c
test eax, eax
setne al
xor edx, edx
mov dl, byte [ebx + 0x14]
cmp edx, 8
ja case.0x462cd9.0
jmp dword [edx*4 + 0x462ce0]
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x44], eax
jmp case.0x462cd9.0
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x40], eax
jmp case.0x462cd9.0
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x48], eax
jmp case.0x462cd9.0
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x4c], eax
jmp case.0x462cd9.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.0x462cd9.0
push ebp
lea eax, [ebp - 0x40]
call fcn.00462af8
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 0x462d73
mov eax, dword [ebx + 0x48]
sub eax, dword [ebp - 0x20]
mov dword [ebx + 0x40], eax
jmp case.0x462cd9.0
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jbe case.0x462cd9.0
mov eax, dword [ebx + 0x4c]
sub eax, dword [ebp - 0x1c]
mov dword [ebx + 0x44], eax
jmp case.0x462cd9.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.0x462cd9.0
push ebp
lea eax, [ebp - 0x40]
call fcn.00462af8
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 0x462dd3
mov eax, dword [ebx + 0x40]
add eax, dword [ebp - 0x28]
mov dword [ebx + 0x48], eax
jmp case.0x462cd9.0
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jbe case.0x462cd9.0
mov eax, dword [ebx + 0x4c]
sub eax, dword [ebp - 0x24]
mov dword [ebx + 0x44], eax
jmp case.0x462cd9.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.0x462cd9.0
push ebp
lea eax, [ebp - 0x40]
call fcn.00462af8
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 0x462e30
mov eax, dword [ebx + 0x48]
sub eax, dword [ebp - 0x30]
mov dword [ebx + 0x40], eax
jmp case.0x462cd9.0
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jbe case.0x462cd9.0
mov eax, dword [ebx + 0x44]
add eax, dword [ebp - 0x2c]
mov dword [ebx + 0x4c], eax
jmp case.0x462cd9.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.0x462cd9.0
push ebp
lea eax, [ebp - 0x40]
call fcn.00462af8
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 0x462e82
mov eax, dword [ebx + 0x40]
add eax, dword [ebp - 0x38]
mov dword [ebx + 0x48], eax
jmp case.0x462cd9.0
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jbe case.0x462cd9.0
mov eax, dword [ebx + 0x44]
add eax, dword [ebp - 0x34]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 4]
call fcn.00462534
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.0056539c
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.0056539c
push eax
call sub.kernel32.dll_MulDiv
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0
lea edx, [ebp - 0x5c]
mov eax, dword [0x66f538]
mov eax, dword [eax]
mov ecx, 1
call fcn.00655a28
mov ecx, dword [ebp - 0x4c]
mov eax, dword [0x66fc38]
mov eax, dword [eax]
mov dl, 2
call fcn.004ff550
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462f30
lea eax, [ebp - 0x4c]
call fcn.00403274
ret