Function at 0x1001ed90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1012040b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, ecx
push 0x64
call fcn.100629b7
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x2c], edi
je 0x1001edef
mov ecx, esi
call fcn.1003e760
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push edi
push edi
lea ecx, [esi + 0x28]
mov byte [esp + 0x44], 1
call fcn.1001cd30
mov dword [esi], 0x10127930
mov dword [esp + 0xc], esi
jmp 0x1001edf5
mov dword [esp + 0xc], edi
mov esi, edi
cmp esi, edi
mov dword [esp + 0x2c], 0xffffffff
jne 0x1001ee17
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x30], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x38], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x3c], edx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x40], ecx
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x44], edx
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x48], ecx
mov edx, dword [eax + 0x24]
mov dword [esi + 0x4c], edx
mov ecx, dword [eax + 0x28]
mov dword [esi + 0x50], ecx
mov edx, dword [eax + 0x2c]
mov dword [esi + 0x54], edx
mov ecx, dword [eax + 0x30]
mov dword [esi + 0x58], ecx
mov edx, dword [eax + 0x34]
mov dword [esi + 0x5c], edx
mov eax, dword [eax + 0x38]
mov ecx, esi
mov dword [esi + 0x60], eax
call fcn.1003e930
test eax, eax
jne 0x1001ee92
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push ebp
lea eax, [ebx + 0x14]
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.1003bcc0
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov ebp, edx
mov dword [esp + 0x30], 2
mov dword [esp + 0x18], ebp
inc ebp
cmp ebp, edi
jne 0x1001eed6
cmp eax, edi
je 0x1001eecb
push eax
call fcn.10062976
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x1001efc4
cmp eax, edi
jne 0x1001ef0e
lea edi, [ebp*4]
push edi
call fcn.100629b7
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x1001efc4
mov ecx, dword [ebx + 0xc]
cmp ebp, ecx
jg 0x1001ef2c
cmp ebp, edx
jle 0x1001ef24
mov ecx, ebp
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 8], ebp
jmp 0x1001efc4
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x1001ef56
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x1001ef4a
mov eax, 4
jmp 0x1001ef56
cmp eax, 0x400
jle 0x1001ef56
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x38], eax
jl 0x1001ef64
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x38]
lea ecx, [eax*4]
push ecx
call fcn.100629b7
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
mov dword [esp + 0x18], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.10020ea0
mov eax, dword [ebx + 4]
push eax
call fcn.10062976
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x20]
add esp, 0x10
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], edx
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
mov dword [eax + ecx*4], esi
lea ecx, [esp + 0x1c]
call fcn.1003bd20
mov ecx, dword [esp + 0x28]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4