Function at 0x4aac80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff6c8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x53a098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], edi
call fcn.004aabf0
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
add eax, 0xffffff6c
push esi
mov ecx, ebx
mov dword [ebp - 0x28], eax
call fcn.00404cc0
lea eax, [esi + 0x18]
push eax
lea ecx, [ebx + 0x18]
call fcn.00404cc0
lea eax, [esi + 0x30]
push eax
lea ecx, [ebx + 0x30]
call fcn.00404cc0
lea eax, [esi + 0x48]
push eax
lea ecx, [ebx + 0x48]
call fcn.00404cc0
mov al, byte [esi + 0x60]
lea ecx, [ebx + 0x64]
mov byte [ebx + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00404cc0
lea eax, [esi + 0x7c]
push eax
lea ecx, [ebx + 0x7c]
call fcn.00404cc0
add ebx, 0x94
add esi, 0x94
lea eax, [ebx + 0x7c]
mov dword [ebp - 0x20], eax
lea eax, [ebx + 0x64]
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x48]
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0x30]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x18]
mov dword [ebp - 0x10], eax
nop dword [eax]
push edi
mov ecx, esi
call fcn.004abd20
mov ecx, ebx
test al, al
je 0x4aadf7
push esi
call fcn.00404cc0
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 0x18]
push eax
call fcn.00404cc0
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 0x30]
push eax
call fcn.00404cc0
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x48]
push eax
call fcn.00404cc0
mov al, byte [esi + 0x60]
mov ecx, dword [ebp - 0x1c]
mov byte [ebx + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00404cc0
mov ecx, dword [ebp - 0x20]
lea eax, [esi + 0x7c]
push eax
call fcn.00404cc0
add dword [ebp - 0x10], 0x94
add esi, 0x94
add dword [ebp - 0x14], 0x94
add ebx, 0x94
add dword [ebp - 0x18], 0x94
add dword [ebp - 0x1c], 0x94
add dword [ebp - 0x20], 0x94
cmp esi, dword [ebp - 0x24]
jne 0x4aad50
mov esi, dword [ebp - 0x2c]
mov ecx, edi
push ebx
mov edx, esi
call fcn.004a7ad0
add esp, 4
jmp 0x4aaed7
push edi
call fcn.00404cc0
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 0x18]
push eax
call fcn.00404cc0
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 0x30]
push eax
call fcn.00404cc0
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 0x48]
push eax
call fcn.00404cc0
mov al, byte [edi + 0x60]
mov ecx, dword [ebp - 0x1c]
mov byte [ebx + 0x60], al
lea eax, [edi + 0x64]
push eax
call fcn.00404cc0
mov ecx, dword [ebp - 0x20]
lea eax, [edi + 0x7c]
push eax
call fcn.00404cc0
add dword [ebp - 0x10], 0x94
add edi, 0x94
add dword [ebp - 0x14], 0x94
add ebx, 0x94
add dword [ebp - 0x18], 0x94
add dword [ebp - 0x1c], 0x94
add dword [ebp - 0x20], 0x94
cmp edi, dword [ebp - 0x28]
jne 0x4aad50
mov edx, dword [ebp - 0x24]
mov ecx, esi
push ebx
call fcn.004a7ad0
mov ebx, dword [ebp - 0x28]
add esp, 4
mov esi, eax
mov ecx, esi
push ebx
call fcn.00404cc0
lea ecx, [ebx + 0x18]
push ecx
lea ecx, [esi + 0x18]
call fcn.00404cc0
lea ecx, [ebx + 0x30]
push ecx
lea ecx, [esi + 0x30]
call fcn.00404cc0
lea eax, [ebx + 0x48]
push eax
lea ecx, [esi + 0x48]
call fcn.00404cc0
mov al, byte [ebx + 0x60]
lea ecx, [esi + 0x64]
mov byte [esi + 0x60], al
lea eax, [ebx + 0x64]
push eax
call fcn.00404cc0
lea eax, [ebx + 0x7c]
push eax
lea ecx, [esi + 0x7c]
call fcn.00404cc0
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x30]
cmp ebx, esi
je 0x4aaef7
push ecx
mov ecx, ebx
call fcn.004a7f00
add ebx, 0x94
cmp ebx, esi
jne 0x4aaee5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret