Function at 0x7cd17c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x7cd185
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 ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x7cda28
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x7cd9e8
mov edx, 0x7cda44
mov eax, dword [ebp - 4]
call fcn.007d5e90
test ebx, ebx
je 0x7cd1d7
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x7cd2b1
cmp dword [ebp + 0x14], 0
jle 0x7cd244
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x7cd244
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.008335a4
mov esi, eax
imul eax, dword [ebp + 0x14], 0x64
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
mov dword [ebp - 0x24], esi
fild dword [ebp - 0x24]
fdivp st(1)
call fcn.0040704c
mov esi, eax
test esi, esi
jne 0x7cd21f
mov esi, 1
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x7cda58
call fcn.00440ce8
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.007d5e90
cmp dword [ebp + 0x10], 0
jle 0x7cd2b1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
test eax, eax
jle 0x7cd2b1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.008335a4
mov esi, eax
imul eax, dword [ebp + 0x10], 0x64
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
mov dword [ebp - 0x24], esi
fild dword [ebp - 0x24]
fdivp st(1)
call fcn.0040704c
mov esi, eax
test esi, esi
jne 0x7cd28c
mov esi, 1
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x7cda74
call fcn.00440ce8
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.007d5e90
lea eax, [ebp - 0x38]
push eax
push ebp
call fcn.007cd13c
pop ecx
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
push ebp
call fcn.007cd15c
pop ecx
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x48]
mov ecx, 1
mov eax, 0x7cda90
call fcn.00440ce8
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.007d5e90
mov eax, dword [ebp - 0xc]
mov edx, dword [0x50ac9c]
call fcn.004088e0
test al, al
je 0x7cd449
test ebx, ebx
jne 0x7cd449
test byte [ebp + 0xd], 1
je 0x7cd3b9
mov eax, dword [0xa8ecb8]
cmp dword [eax], 0
je 0x7cd3b9
mov ebx, dword [0xa8e8d0]
mov ebx, dword [ebx]
mov eax, dword [0xa8ecb8]
mov eax, dword [eax]
call ebx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x7cd3b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x48]
mov ecx, 1
mov eax, 0x7cdab4
call fcn.00440ce8
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.007d5e90
push ebp
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.007ccfbc
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7cd9db
mov eax, dword [ebp - 0x10]
call fcn.00408618
ret
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
jle 0x7cd3ea
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00514e24
push eax
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00514e24
mov edx, eax
pop eax
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov ebx, eax
jmp 0x7cd3f4
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x64], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
lea edx, [ebp - 0x68]
mov ecx, 2
mov eax, 0x7cdad8
call fcn.00440ce8
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.007d5e90
push ebp
mov eax, dword [ebp - 0xc]
call fcn.007cd114
pop ecx
jmp 0x7cd9db
mov eax, dword [ebp - 0xc]
mov edx, dword [0x50a43c]
call fcn.004088e0
test al, al
je 0x7cd54c
test ebx, ebx
jne 0x7cd54c
mov ebx, dword [ebp - 0xc]
cmp byte [ebx + 0x2c], 0
je 0x7cd4e6
test byte [ebp + 0xc], 4
jne 0x7cd4c6
lea eax, [ebp - 0x6c]
push eax
mov eax, ebx
call fcn.005124dc
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
mov eax, dword [ebp - 0xc]
call fcn.005124c4
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x48]
mov ecx, 1
mov eax, 0x7cdb10
call fcn.00440ce8
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.007d5e90
push ebp
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.007ccfbc
pop ecx
xor esi, esi
xor ebx, ebx
jmp 0x7cd4ea
mov dl, 1
mov eax, dword [0x50a43c]
call fcn.005121a0
mov esi, eax
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [esi + 0x2c], 0
mov bl, 1
jmp 0x7cd4ea
mov esi, ebx
xor ebx, ebx
test esi, esi
je 0x7cd9db
lea eax, [ebp - 0x70]
push eax
mov eax, esi
call fcn.005124dc
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
mov eax, esi
call fcn.005124c4
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x48]
mov ecx, 1
mov eax, 0x7cdb34
call fcn.00440ce8
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.007d5e90
push ebp
mov eax, esi
call fcn.007cd128
pop ecx
test bl, bl
je 0x7cd9db
mov eax, esi
call fcn.00408618
jmp 0x7cd9db
mov eax, dword [ebp - 0xc]
mov edx, dword [0x6dae9c]
call fcn.004088e0
test al, al
je 0x7cd5b8
test byte [ebp + 0xc], 8
je 0x7cd5b8
test ebx, ebx
jne 0x7cd5b8
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x48]
mov ecx, 1
mov eax, 0x7cdb5c
call fcn.00440ce8
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.007d5e90
push ebp
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.007ccfbc
pop ecx
jmp 0x7cd9db
mov eax, dword [0xa8ecb8]
cmp dword [eax], 0
je 0x7cd630
mov eax, dword [ebp - 0xc]
mov edx, dword [0xa8ecb8]
mov edx, dword [edx]
call fcn.004088e0
test al, al
je 0x7cd630
test ebx, ebx
jne 0x7cd630
test byte [ebp + 0xc], 0x10
je 0x7cd630
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x48]
mov ecx, 1
mov eax, 0x7cdab4
call fcn.00440ce8
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.007d5e90
push ebp
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.007ccfbc
pop ecx
jmp 0x7cd9db
test byte [ebp + 0xc], 0x20
jne 0x7cd64c
mov eax, dword [ebp - 0xc]
mov edx, dword [0x50ac9c]
call fcn.004088e0
test al, al
je 0x7cd88c
mov dl, 1
mov eax, dword [0x50ac9c]
call fcn.00514380
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x7cd697
lea edx, [ebp - 0x1c]
mov esi, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
call fcn.00514ca0
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
jmp 0x7cd747
xor eax, eax
push ebp
push 0x7cd6bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7cd747
test byte [ebp + 0xd], 1
je 0x7cd7f4
mov eax, dword [0xa8ecb8]
cmp dword [eax], 0
je 0x7cd7f4
mov ebx, dword [0xa8e8d0]
mov ebx, dword [ebx]
mov eax, dword [0xa8ecb8]
mov eax, dword [eax]
call ebx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x7cd7ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x48]
mov ecx, 1
mov eax, 0x7cdab4
call fcn.00440ce8
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.007d5e90
push ebp
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.007ccfbc
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7cd87f
mov eax, dword [ebp - 0x10]
call fcn.00408618
ret
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
jle 0x7cd825
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00514e24
push eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00514e24
mov edx, eax
pop eax
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov ebx, eax
jmp 0x7cd82f
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ebx, eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x64], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
lea edx, [ebp - 0x68]
mov ecx, 2
mov eax, 0x7cdad8
call fcn.00440ce8
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 4]
call fcn.007d5e90
push ebp
mov eax, dword [ebp - 0x14]
call fcn.007cd114
pop ecx
mov eax, dword [ebp - 0x14]
call fcn.00408618
jmp 0x7cd9db
mov dl, 1
mov eax, dword [0x50a43c]
call fcn.005121a0
mov esi, eax
mov byte [esi + 0x2c], 0
test ebx, ebx
je 0x7cd8e4
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
mov ecx, esi
mov dl, 1
mov eax, dword [0x509f6c]
call fcn.00511e54
mov edi, eax
mov edx, edi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, edi
call fcn.00408618
jmp 0x7cd92e
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
mov ecx, esi
mov dl, 1
mov eax, dword [0x509f6c]
call fcn.00511e54
mov ebx, eax
mov eax, dword [ebp - 0xc]
push eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x44]
mov eax, ebx
call fcn.00408618
test byte [ebp + 0xc], 0x40
je 0x7cd988
mov byte [esi + 0x2c], 1
lea eax, [ebp - 0x84]
push eax
mov eax, esi
call fcn.005124dc
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
mov eax, esi
call fcn.005124c4
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x48]
mov ecx, 1
mov eax, 0x7cdb10
call fcn.00440ce8
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 4]
call fcn.007d5e90
push ebp
xor edx, edx
mov eax, esi
call fcn.007ccfbc
pop ecx
jmp 0x7cd9d4
lea eax, [ebp - 0x88]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x48]
mov ecx, 1
mov eax, 0x7cdb84
call fcn.00440ce8
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.007d5e90
push ebp
mov eax, esi
call fcn.007cd128
pop ecx
mov eax, esi
call fcn.00408618
mov edx, 0x7cdbac
mov eax, dword [ebp - 4]
call fcn.007d5e90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7cda2f
lea eax, [ebp - 0x88]
mov edx, 8
call fcn.0040a368
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0040a368
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0040a368
lea eax, [ebp - 0x28]
call fcn.0040a2fc
ret