Function at 0x5f5be0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x716e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
mov ebp, ecx
push esi
mov ebx, 0xd
push edi
mov ecx, dword [ebp + 4]
mov dword [esp + 0x30], ebx
call fcn.005f6e00
mov eax, dword [ebp + 4]
cmp dword [eax + 8], ebx
jne 0x5f5c1b
xor ecx, ecx
jmp 0x5f5c1e
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5f5e65
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [ebp]
mov edi, eax
test ecx, ecx
mov dword [esp + 0x24], edi
je 0x5f5c53
lea edx, [esp + 0x1c]
push edx
push edi
call fcn.005f1380
test eax, eax
je 0x5f5c53
mov esi, dword [esp + 0x1c]
sub esi, edi
mov dword [esp + 0x14], esi
jmp 0x5f5c8e
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [edx + 8]
push str.Length
call fcn.005f4430
cmp dword [esp + 0x30], 1
jne 0x5f5e37
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], eax
call fcn.005f2e10
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 4]
cmp dword [eax + 8], ebx
je 0x5f5e65
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5f5e65
cmp dword [eax + 8], ebx
jne 0x5f5cae
xor ecx, ecx
jmp 0x5f5cb1
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x40]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [esp + 0x50]
mov ebx, eax
push ecx
push esi
mov eax, dword [ebx]
push 1
push edi
mov ecx, ebx
call dword [eax + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 4]
cmp dword [eax + 8], 0xd
je 0x5f5cec
mov eax, dword [eax + 0x10]
lea ecx, [esi + edi]
push 0
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
mov eax, dword [ebp + 4]
cmp dword [eax + 8], 0xd
jne 0x5f5cf9
xor edi, edi
jmp 0x5f5cfc
mov edi, dword [eax + 0x10]
test edi, edi
je 0x5f5d60
mov dword [esp + 0x18], 0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x18]
push eax
mov dword [esp + 0x24], eax
call fcn.005f6e50
add esp, 4
test eax, eax
je 0x5f5d2e
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x64
mov dword [esp + 0x18], eax
jl 0x5f5d08
cmp dword [esp + 0x20], 0x65
jne 0x5f5d60
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push 8
push ecx
mov ecx, edi
call dword [eax + 0x24]
cmp eax, 8
je 0x5f5dc0
mov ecx, 2
mov edi, str.ndstream
lea esi, [esp + 0x28]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x5f5dc0
mov esi, dword [esp + 0x14]
mov ebp, dword [ebp + 4]
cmp dword [ebp + 8], 0xd
jne 0x5f5d6e
or eax, 0xffffffff
jmp 0x5f5d76
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x30]
push str.Missing_endstream
push eax
push 1
call fcn.006033f0
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.005f2d00
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5f5da2
mov edx, dword [ecx]
push 1
call dword [edx]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
add esi, 0x1388
push ecx
push esi
push 1
push edx
mov ecx, ebx
call dword [eax + 0x58]
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x5f5dcc
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov esi, dword [esp + 0x54]
test esi, esi
je 0x5f5e22
push 0x180
call fcn.0044f661
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
mov dword [esp + 0x48], 0
je 0x5f5e14
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push esi
push ecx
mov ecx, eax
call fcn.00613900
jmp 0x5f5e16
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
push edx
push eax
call fcn.005e5430
jmp 0x5f5e67
mov ebp, dword [ebp + 4]
cmp dword [ebp + 8], ebx
jne 0x5f5e44
or eax, 0xffffffff
jmp 0x5f5e4c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x30]
push str.Bad_Length_attribute_in_stream
push eax
push 1
call fcn.006033f0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.005f2e10
xor eax, eax
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x1c