Function at 0x1001ff70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1f03450
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
call dword [eax + 0x30]
cmp eax, 0xd4
jb 0x100201f5
mov edx, dword [esi]
lea ebx, [edi + 0x18]
push 0xc
push ebx
mov ecx, esi
mov dword [ebp - 4], 0
call dword [edx + 0x34]
cmp dword [ebx], 0x44524745
jne 0x100201f5
mov eax, dword [edi + 0x1c]
dec eax
cmp eax, 3
ja 0x1002000a
jmp dword [eax*4 + 0x1ee0208]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [edi + 0x24]
sub ebx, eax
shl ecx, 2
cmp ecx, ebx
ja 0x100201f5
xor ebx, ebx
mov eax, dword [edi + 0x24]
mov edx, dword [esi]
cmp ebx, eax
jge 0x10020043
lea eax, [ebp - 0x18]
push 4
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x1002002c
mov ecx, esi
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [edi + 0x28]
sub ebx, eax
shl ecx, 2
cmp ecx, ebx
ja 0x100201f5
xor ebx, ebx
mov eax, dword [edi + 0x28]
mov edx, dword [esi]
cmp ebx, eax
jge 0x1002007a
lea eax, [ebp - 0x1c]
push 4
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x10020063
mov ecx, esi
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
sub ebx, eax
mov eax, dword [edi + 0x78]
lea ecx, [eax + eax*4]
shl ecx, 3
cmp ecx, ebx
ja 0x100201f5
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x78]
cmp edx, eax
jge 0x1002010e
mov eax, dword [esi]
lea ecx, [edi + 0xac]
push 0x28
push ecx
mov ecx, esi
call dword [eax + 0x34]
mov eax, dword [edi + 0xd0]
test eax, eax
jle 0x10020109
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
sub ebx, eax
mov eax, dword [edi + 0xd0]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 2
cmp ecx, ebx
ja 0x100201f5
xor ebx, ebx
cmp ebx, dword [edi + 0xd0]
jge 0x10020109
mov edx, dword [esi]
lea eax, [ebp - 0x80]
push 0x64
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x100200f1
inc dword [ebp - 0x14]
jmp 0x100200a2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
sub ebx, eax
mov eax, dword [edi + 0x7c]
lea ecx, [eax + eax*2]
shl ecx, 3
cmp ecx, ebx
ja 0x100201f5
xor ebx, ebx
mov eax, dword [edi + 0x7c]
mov edx, dword [esi]
cmp ebx, eax
jge 0x1002014d
lea eax, [edi + 0xd4]
push 0x18
push eax
mov ecx, esi
call dword [edx + 0x34]
inc ebx
jmp 0x10020133
mov ecx, esi
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
sub ebx, eax
mov eax, dword [edi + 0x80]
mov ecx, eax
shl ecx, 4
add ecx, eax
shl ecx, 4
cmp ecx, ebx
ja 0x100201f5
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x80]
cmp edx, eax
jge 0x100201d9
mov eax, dword [esi]
lea ecx, [edi + 0xec]
push 0x110
push ecx
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [edi + 0x1f8]
sub ebx, eax
cmp ecx, ebx
ja 0x100201f5
test ecx, ecx
je 0x100201d4
push ecx
push 0
call dword [0x1f052c8]
mov ecx, dword [edi + 0x1f8]
mov edx, dword [esi]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x34]
inc dword [ebp - 0x14]
jmp 0x1002017c
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret