Function at 0x4a3220
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4a3229
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.00405f0c
mov eax, dword [ebp - 0xc]
call fcn.00405f0c
xor eax, eax
push ebp
push 0x4a368e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xfffe7961
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xfffe7961
cmp dword [ebp - 0xc], 0
je 0x4a3622
lea eax, [ebp - 0x10]
call fcn.00405e98
push eax
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov ecx, 0x4a36a0
call fcn.00405edc
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xb0]
call fcn.00405fa8
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00405fa8
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00405fa8
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00405fa8
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00405fa8
sub edi, dword [ebp - 0x40]
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00405fa8
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00405fa8
sub edi, dword [ebp - 0x40]
xor eax, eax
push ebp
push 0x4a361b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.004a38a4
cmp dword [ebp - 0x30], 0xfffe7961
jne 0x4a3351
call fcn.00403c8c
jmp 0x4a3622
cmp dword [ebp + 0x10], 0
jne 0x4a336b
xor eax, eax
mov dword [ebp - 0x1c], eax
sar edi, 1
jns 0x4a3363
adc edi, 0
mov dword [ebp - 0x18], edi
jmp 0x4a3436
cmp dword [ebp + 0x10], 1
jne 0x4a338d
mov eax, dword [ebp - 0x20]
sar eax, 1
jns 0x4a337b
adc eax, 0
mov dword [ebp - 0x1c], eax
sar edi, 1
jns 0x4a3385
adc edi, 0
mov dword [ebp - 0x18], edi
jmp 0x4a3436
cmp dword [ebp + 0x10], 2
jne 0x4a33a8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
sar edi, 1
jns 0x4a33a0
adc edi, 0
mov dword [ebp - 0x18], edi
jmp 0x4a3436
cmp dword [ebp + 0x10], 3
jne 0x4a33fa
mov edx, dword [ebp - 0x20]
mov eax, edx
shl edx, 3
sub edx, eax
test edx, edx
jns 0x4a33bf
add edx, 7
sar edx, 3
mov eax, dword [ebp - 0x20]
test eax, eax
jns 0x4a33cc
add eax, 7
sar eax, 3
call fcn.00498010
mov dword [ebp - 0x1c], eax
lea edx, [edi + edi*2]
test edx, edx
jns 0x4a33e1
add edx, 3
sar edx, 2
mov eax, edi
test eax, eax
jns 0x4a33ed
add eax, 3
sar eax, 2
call fcn.00498010
mov dword [ebp - 0x18], eax
jmp 0x4a3436
cmp dword [ebp + 0x10], 4
jne 0x4a3436
mov edx, dword [ebp - 0x20]
mov eax, edx
shl edx, 3
sub edx, eax
test edx, edx
jns 0x4a3411
add edx, 7
sar edx, 3
mov eax, dword [ebp - 0x20]
test eax, eax
jns 0x4a341e
add eax, 7
sar eax, 3
call fcn.00498010
mov dword [ebp - 0x1c], eax
test edi, edi
jns 0x4a3430
add edi, 3
sar edi, 2
mov dword [ebp - 0x18], edi
add ebx, dword [ebp - 0x1c]
add ebx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
add ebx, esi
add ebx, dword [ebp - 0x30]
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 0xc], 3
jg 0x4a3469
lea eax, [ebp - 0x24]
call fcn.00405e98
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00405fa8
jmp 0x4a3490
lea eax, [ebp - 0x24]
call fcn.00405e98
push eax
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 8]
mov ecx, 0x4a36b0
call fcn.00405edc
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00405fa8
lea eax, [ebp - 0x58]
call fcn.0040ff20
push eax
push 0
push 0x4a36c4
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00405fa8
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
call fcn.0041521c
mov eax, dword [ebp - 0x48]
call fcn.00408c78
mov edi, eax
lea eax, [ebp - 0x6c]
call fcn.0040ff20
push eax
push 0
push 0x4a36e0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00405fa8
lea eax, [ebp - 0x6c]
lea edx, [ebp - 0x5c]
call fcn.0041521c
mov eax, dword [ebp - 0x5c]
call fcn.00408c78
mov dword [ebp - 0x14], eax
cmp ebx, dword [ebp - 0x28]
jle 0x4a3553
mov ebx, 1
mov edx, 0xc8
mov eax, 0x64
call fcn.00498010
mov esi, eax
jmp 0x4a3547
push 0
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x14]
add edx, ebx
mov cl, 0xfc
call fcn.004140d0
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push 0x4a36e0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00405fa8
add ebx, 0xa
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x28]
add eax, esi
cmp ebx, eax
jle 0x4a3514
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jle 0x4a35bc
mov ebx, 1
mov edx, 0xc8
mov eax, 0x64
call fcn.00498010
mov esi, eax
jmp 0x4a35b0
push 0
lea eax, [ebp - 0x8c]
lea edx, [ebx + edi]
mov cl, 0xfc
call fcn.004140d0
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
push 0x4a36c4
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00405fa8
add ebx, 0xa
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x2c]
add eax, esi
cmp ebx, eax
jle 0x4a3573
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jg 0x4a35cc
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jle 0x4a35ff
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0xa
jle 0x4a35e5
mov dword [ebp - 0x1c], 0xfffe7961
mov dword [ebp - 0x18], 0xfffe7961
jmp 0x4a35ff
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a3220
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3622
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3695
lea eax, [ebp - 0x8c]
mov edx, dword [0x4010e8]
mov ecx, 3
call fcn.00404f1c
lea eax, [ebp - 0x5c]
call fcn.00404244
lea eax, [ebp - 0x58]
call fcn.0040ff20
lea eax, [ebp - 0x48]
call fcn.00404244
lea eax, [ebp - 0x44]
call fcn.00405e98
lea eax, [ebp - 0x38]
call fcn.00405e98
lea eax, [ebp - 0x24]
call fcn.00405e98
lea eax, [ebp - 0x10]
call fcn.00405e98
lea eax, [ebp - 0xc]
call fcn.00405e98
lea eax, [ebp - 8]
call fcn.00405e98
ret