Function at 0x4f5350
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x53fec2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov esi, ecx
lea eax, [esp + 0x13]
mov dword [esp + 0x20], esi
lea ebx, [edi + 4]
lea ebp, [esi + 4]
push eax
mov ecx, ebx
mov dword [esp + 0x20], ebp
call fcn.004ffc70
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push eax
sub ecx, edx
mov eax, 0x38e38e39
mov dword [esp + 0x30], 0
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, ebp
push edx
call fcn.004f6c00
mov eax, dword [ebp]
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x34]
mov byte [esp + 0x2c], 2
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
call fcn.004fbb80
add esp, 0x10
mov dword [ebp + 4], eax
push fcn.00418e50
push 0x4d6070
push 4
lea eax, [esi + 0x10]
push 0xc
push eax
mov dword [esp + 0x40], 3
call fcn.005268d2
mov ecx, dword [edi + 0x40]
lea ebp, [edi + 0x4c]
mov dword [esi + 0x40], ecx
mov edx, dword [edi + 0x44]
lea ecx, [esp + 0x13]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 0x48]
lea ebx, [esi + 0x4c]
push ecx
mov ecx, ebp
mov byte [esp + 0x30], 4
mov dword [esi + 0x48], eax
mov dword [esp + 0x20], ebx
call fcn.004ffc70
push 0
push eax
lea ecx, [ebx + 8]
mov byte [esp + 0x34], 5
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.005124c0
mov eax, dword [ebp + 4]
mov ebp, dword [ebp]
mov dl, byte [esp + 0x34]
mov byte [esp + 0x2c], 7
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], dl
push ecx
push eax
push ebp
mov ecx, ebx
call fcn.00406a10
lea edx, [edi + 0x58]
lea ecx, [esi + 0x58]
push edx
mov byte [esp + 0x30], 8
call fcn.004f6c70
lea eax, [edi + 0x64]
lea ecx, [esi + 0x64]
push eax
mov byte [esp + 0x30], 9
call fcn.004f6d60
lea eax, [edi + 0x10]
sub edi, esi
mov byte [esp + 0x2c], 0xa
mov dword [esi], 0x548f80
mov dword [esp + 0x14], eax
lea ebp, [esi + 0x14]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 4
lea ecx, [ebp - 4]
cmp eax, ecx
je 0x4f556c
add byte [eax], al
mov edi, dword [edi + ebp]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 4]
lea ebx, [ebp - 4]
mov dword [esp + 0x34], edi
sub edi, eax
sub edx, ecx
sar edi, 2
sar edx, 2
cmp edi, edx
jbe 0x4f5503
mov ecx, dword [esp + 0x34]
push ecx
push eax
push edi
mov ecx, ebx
call fcn.00512560
mov edx, dword [ebp + 4]
lea ecx, [ebp + 4]
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
sub edx, eax
sar edx, 2
push edx
push eax
call fcn.004fdfd0
mov eax, dword [esp + 0x34]
mov dword [ebx], eax
lea eax, [eax + edi*4]
mov dword [ebp + 4], eax
jmp 0x4f555c
mov edx, dword [ebp]
push ecx
sub edx, ecx
sar edx, 2
cmp edx, edi
jb 0x4f5520
mov ecx, dword [esp + 0x38]
push ecx
push eax
call fcn.00401440
add esp, 0xc
jmp 0x4f555c
lea edx, [eax + edx*4]
push edx
push eax
call fcn.00401440
mov al, byte [esp + 0x40]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], al
mov eax, dword [ebp]
push ecx
mov ecx, dword [edx + ebp]
mov edx, dword [esp + 0x24]
push eax
push ecx
mov ecx, dword [ebx]
sub eax, ecx
mov ecx, dword [edx]
sar eax, 2
lea edx, [ecx + eax*4]
push edx
call fcn.004634b0
add esp, 0x1c
mov eax, dword [ebx]
lea ecx, [eax + edi*4]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x1c]
add eax, 0xc
add ebp, 0xc
dec ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
jne 0x4f54a4
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4