Function at 0x5025d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x54193a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push edi
mov edi, dword [esp + 0xa0]
xor edx, edx
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
imul eax, dword [0x549294]
imul ecx, dword [0x549298]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x98], edx
lea edx, [esp + 0xf]
lea eax, [esp + 0xe]
push edx
lea ecx, [esp + 0x11]
push eax
push ecx
push 0x64
lea ecx, [esp + 0x64]
call fcn.00504c80
lea ecx, [esp + 0x68]
mov dword [esp + 0x98], 1
call fcn.00504900
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 2
call fcn.00504900
mov ebp, dword [esp + 0xa4]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x9c], 3
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.00513730
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x14]
dec eax
push edx
dec ecx
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.00513730
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
lea edx, [esp + 0x2c]
lea eax, [edi + 0x34]
mov dword [esp + 0x38], ecx
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.005133f0
mov ebx, dword [ebp]
mov eax, dword [ebp + 8]
cmp ebx, eax
jge 0x502844
lea eax, [ebx + ebx*4]
push esi
shl eax, 4
mov dword [esp + 0x14], eax
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 0xc]
cmp esi, eax
jge 0x50282c
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x11]
mov byte [esp + 0x9c], 4
push ecx
lea ecx, [esp + 0x1c]
call fcn.00504c30
lea edx, [esp + 0x12]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0xa0], 7
call fcn.0050e020
lea eax, [esp + 0x13]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0xa0], 0xa
call fcn.005047e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 0xb
push ecx
push esi
push ebx
lea ecx, [esp + 0x5c]
call fcn.00513730
lea edx, [esp + 0x18]
lea eax, [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x38]
lea eax, [edi + 0x34]
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.005136c0
mov edx, dword [edi + 0x28]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x54]
mov eax, dword [edx + esi*4]
mov edx, dword [esp + 0x18]
add edx, eax
push edx
call fcn.005138c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 0xd
call fcn.00474a00
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp edi, eax
mov byte [esp + 0x9c], 0xe
mov ebp, eax
je 0x5027e0
push 0
mov ecx, edi
call fcn.00506550
add edi, 4
cmp edi, ebp
jne 0x5027d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 0xc
call fcn.00418e50
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 0xf
call fcn.00504e50
mov eax, dword [esp + 0x18]
push 1
push eax
lea ecx, [esp + 0x20]
call fcn.004fdfd0
mov ecx, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
inc esi
cmp esi, dword [ecx + 0xc]
jl 0x502718
mov ebp, ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
inc ebx
add ecx, 0x50
cmp ebx, eax
mov dword [esp + 0x14], ecx
jl 0x502702
pop esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x98], 0x11
call fcn.0050ad10
lea edx, [esp + 0x68]
mov dword [esp + 0x28], edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x98], 0x13
call fcn.00429db0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 0x10
call fcn.00418e50
lea eax, [esp + 0x54]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x98], 0x15
call fcn.00429db0
lea ecx, [esp + 0x58]
mov dword [esp + 0x98], 0xffffffff
call fcn.00418e50
mov ecx, dword [esp + 0x90]
pop edi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret