Function at 0x495da0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6a1548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x3c]
push ebx
push ebp
push esi
lea eax, [eax + eax*4]
push edi
mov esi, ecx
xor ebp, ebp
lea eax, [eax + eax*4]
mov cl, byte [esp + 0x4c]
mov byte [esp + 0x4c], cl
mov dl, byte [esp + 0x4c]
lea eax, [eax + eax*4]
mov byte [esp + 0x10], dl
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x10]
lea edi, [eax + eax*4]
mov dword [esp + 0x1c], ebp
shl edi, 4
mov dword [esp + 0x20], ebp
lea eax, [edi + 0x270f]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x11]
push eax
push ecx
push edx
push 0x64
lea ecx, [esp + 0x3c]
call fcn.00659dd0
mov dword [esp + 0x44], ebp
add esi, 0xd0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0041e550
add esp, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
cmp eax, ebp
je 0x495e77
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 8]
cmp ecx, edi
jl 0x495e44
cmp ecx, dword [esp + 0x14]
jle 0x495e53
lea ecx, [esp + 0x1c]
call fcn.00495d50
mov eax, dword [esp + 0x1c]
jmp 0x495e30
mov ecx, ebx
call fcn.004b14e0
cmp ebx, ebp
je 0x495e66
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
mov eax, dword [esp + 0x1c]
mov ecx, esi
add eax, 4
push eax
call fcn.00578850
jmp 0x495e19
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push ecx
push edx
call fcn.0041e550
add esp, 8
mov ecx, eax
cmp eax, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
je 0x495eea
mov ebx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
mov edi, dword [ecx + 8]
cmp eax, ebx
jle 0x495ebb
sub eax, 0x2710
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x12]
push eax
mov dword [esp + 0x1c], ebp
push ecx
jmp 0x495ecd
mov dword [esp + 0x24], eax
lea edx, [esp + 0x13]
lea eax, [esp + 0x24]
push edx
mov dword [esp + 0x2c], ebp
push eax
lea ecx, [esp + 0x34]
call fcn.00538970
lea ecx, [esp + 0x1c]
mov dword [eax + 8], edi
call fcn.00495d50
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
jne 0x495e98
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push 0x51f270
push ecx
push edx
call fcn.005813d0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
mov dword [esi + 8], ebp
call fcn.0041e550
add esp, 0x14
lea ecx, [esp + 0x2c]
cmp eax, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
je 0x495f59
mov edx, dword [eax + 4]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebp
call fcn.00538970
mov edx, dword [esp + 0x1c]
add eax, 8
mov ecx, dword [edx + 8]
mov dword [eax], ecx
lea ecx, [esp + 0x1c]
call fcn.00495d50
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jne 0x495f20
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push 0x51f270
push edx
push eax
call fcn.005813d0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
push 0x51f270
push ecx
push edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x5c], 0xffffffff
call fcn.005813d0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], ebp
push eax
call dword [0x6c74ac]
mov ecx, dword [esp + 0x58]
add esp, 0x1c
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4