Function at 0x4bf2ac
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x4bf2b5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404df8
mov eax, dword [ebp - 0xc]
call fcn.00404df8
mov eax, dword [ebp + 8]
call fcn.00404df8
xor eax, eax
push ebp
push 0x4bfcbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x37c]
xor edx, edx
call fcn.00434950
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.00402be0
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
mov ecx, 0x4bfcd8
call fcn.00404c54
push 0x4bfce4
push dword [ebp - 0x18]
push 0x4bfd1c
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404cc8
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
call fcn.004051d0
mov edx, dword [ebp - 0x30]
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b4fd4
mov eax, dword [ebp - 0x18]
call fcn.00409a80
test al, al
jne 0x4bf465
xor eax, eax
push ebp
push 0x4bf45b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x38]
mov eax, 0x4bfd44
call fcn.0047cb24
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x28]
call fcn.00415a08
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov edx, 0x4bfce4
call fcn.00404c54
mov eax, dword [ebp - 0x3c]
push eax
push 0x4bfd54
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.00411194
add esp, 0x10
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004a2e30
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
mov edx, 0x4bfd68
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b6f80
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004a2e30
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
mov edx, 0x4bfdc0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b6f80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bf465
lea eax, [ebp - 0x14]
call fcn.00404948
mov eax, dword [ebp + 8]
call fcn.00404c08
mov ebx, eax
test ebx, ebx
jle 0x4bf4ad
mov esi, 1
lea eax, [ebp - 0x44]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebp + 8]
call fcn.00404e68
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.0040912c
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x14]
call fcn.00404c10
inc esi
dec ebx
jne 0x4bf480
lea eax, [ebp - 0x10]
call fcn.00404948
mov eax, dword [ebp - 0x14]
call fcn.00404c08
mov ebx, eax
test ebx, ebx
jle 0x4bf4f5
mov esi, 1
lea eax, [ebp - 0x4c]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.00404e68
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.0040912c
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x10]
call fcn.00404c10
inc esi
dec ebx
jne 0x4bf4c8
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404c08
mov ecx, eax
sub ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404e68
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x10]
mov ecx, 0x4bfe04
call fcn.00404c54
mov eax, dword [ebp - 0x10]
call fcn.00404c08
cmp eax, 6
jle 0x4bf75d
xor eax, eax
push ebp
push 0x4bf5b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004a2e30
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
push eax
push 0x4bfe10
push dword [ebp - 0x10]
push 0x4bfe38
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404cc8
mov edx, dword [ebp - 0x54]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004a2e24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bf5bf
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jle 0x4bf5e3
lea eax, [ebp - 0x10]
call fcn.00404948
jmp 0x4bf6b0
xor eax, eax
push ebp
push 0x4bf6a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004a2e30
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
mov edx, dword [eax]
call dword [edx + 0x44]
push 0x4bfe44
push dword [ebp - 0x10]
push 0x4bfe64
call fcn.0040b7e4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x5c]
mov eax, 0x4bfe70
call fcn.0040c448
push dword [ebp - 0x5c]
push 0x4bfe84
call fcn.0040b7e4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x60]
mov eax, 0x4bfe90
call fcn.0040c448
push dword [ebp - 0x60]
push 0x4bfea0
lea eax, [ebp - 0x58]
mov edx, 7
call fcn.00404cc8
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b6f80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bf6b0
xor eax, eax
push ebp
push 0x4bf753
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004a2e30
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
mov edx, dword [eax]
call dword [edx + 0x44]
call fcn.0040b7e4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x6c]
mov eax, 0x4bfe70
call fcn.0040c448
mov eax, dword [ebp - 0x6c]
call fcn.004095d0
sub eax, 0x64
lea edx, [ebp - 0x68]
call fcn.00409494
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x4bfeac
call fcn.00404c54
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b6f80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bf75d
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0xc]
call fcn.0040912c
mov eax, dword [ebp - 0x70]
mov edx, 0x4bfed0
call fcn.00404d54
je 0x4bfaed
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0xc]
call fcn.0040912c
mov eax, dword [ebp - 0x74]
mov edx, 0x4bfee4
call fcn.00404d54
je 0x4bfaed
mov eax, dword [ebp - 0xc]
call fcn.00404c08
test eax, eax
jle 0x4bfaed
xor eax, eax
push ebp
push 0x4bf835
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004a2e30
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
mov edx, dword [eax]
call dword [edx + 0x44]
push 0x4bfef8
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.00409494
push dword [ebp - 0x7c]
push 0x4bfe38
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.00404cc8
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004a2e24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bf83f
lea eax, [ebp - 0x80]
push eax
xor ecx, ecx
mov edx, 0x4bfe38
mov eax, dword [ebp - 8]
call fcn.00434dd4
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 8]
call fcn.004049e0
lea eax, [ebp - 0x84]
push eax
xor ecx, ecx
mov edx, 0x4bfe38
mov eax, dword [ebp - 0xc]
call fcn.00434dd4
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0xc]
call fcn.004049e0
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jle 0x4bf9ed
xor eax, eax
push ebp
push 0x4bf9de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x30]
mov edx, 2
call fcn.00499434
lea edx, [ebp - 0x88]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x88]
push 0x4bff20
push dword [ebp - 0xc]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cc8
mov eax, dword [ebp - 0xc]
call fcn.00404c08
cmp eax, 0xbb8
jge 0x4bf9d1
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004a2e30
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
mov edx, dword [eax]
call dword [edx + 0x44]
push 0x4bff44
push dword [ebp - 0xc]
push 0x4bff64
call fcn.0040b7e4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x90]
mov eax, 0x4bfe70
call fcn.0040c448
push dword [ebp - 0x90]
push 0x4bff74
call fcn.0040b7e4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x94]
mov eax, 0x4bfe90
call fcn.0040c448
push dword [ebp - 0x94]
push 0x4bff84
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 4]
call fcn.00409494
push dword [ebp - 0x98]
push 0x4bfe38
lea eax, [ebp - 0x8c]
mov edx, 9
call fcn.00404cc8
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b6f80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bfaed
xor eax, eax
push ebp
push 0x4bfae3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004a2e30
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
mov edx, dword [eax]
call dword [edx + 0x44]
push 0x4bff98
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 4]
call fcn.00409494
push dword [ebp - 0xa0]
push 0x4bffbc
push dword [ebp - 8]
push 0x4bffbc
push dword [ebp - 0xc]
push 0x4bfe64
call fcn.0040b7e4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0xa4]
mov eax, 0x4bfe70
call fcn.0040c448
push dword [ebp - 0xa4]
push 0x4bfe84
call fcn.0040b7e4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0xa8]
mov eax, 0x4bfe90
call fcn.0040c448
push dword [ebp - 0xa8]
push 0x4bfea0
lea eax, [ebp - 0x9c]
mov edx, 0xb
call fcn.00404cc8
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b6f80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bfaed
xor eax, eax
push ebp
push 0x4bfba2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004a2e30
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
mov edx, dword [eax]
call dword [edx + 0x44]
call fcn.0040b7e4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0xb4]
mov eax, 0x4bfe70
call fcn.0040c448
mov eax, dword [ebp - 0xb4]
call fcn.004095d0
sub eax, 0x64
lea edx, [ebp - 0xb0]
call fcn.00409494
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xac]
mov edx, 0x4bffc8
call fcn.00404c54
mov eax, dword [ebp - 0xac]
push eax
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b7058
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004b6f80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bfbac
mov eax, dword [ebp - 0x18]
call fcn.00409a80
test al, al
je 0x4bfc50
xor eax, eax
push ebp
push 0x4bfc46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
call fcn.004a2e30
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x380]
xor edx, edx
call fcn.004b4fd4
mov dl, 1
mov eax, dword [0x41c354]
call fcn.00403a44
mov ebx, eax
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004212ac
lea edx, [ebp - 0xb8]
xor eax, eax
call fcn.00402be0
lea eax, [ebp - 0xb8]
mov edx, 0x4bfff0
call fcn.00404c10
mov edx, dword [ebp - 0xb8]
mov eax, ebx
call fcn.004211d8
mov eax, ebx
call fcn.0042125c
mov eax, ebx
call fcn.00403a74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bfc50
mov eax, dword [0x4d6604]
mov eax, dword [eax + 0x37c]
mov dl, 1
call fcn.00434950
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bfcc4
lea eax, [ebp - 0xb8]
mov edx, 0x20
call fcn.0040496c
lea eax, [ebp - 0x38]
call fcn.00406708
lea eax, [ebp - 0x34]
call fcn.00404948
lea eax, [ebp - 0x30]
call fcn.00405054
lea eax, [ebp - 0x2c]
call fcn.00404948
lea eax, [ebp - 0x28]
call fcn.0041118c
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.0040496c
lea eax, [ebp + 8]
call fcn.00404948
ret