Function at 0x10025ee0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009051d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100b5164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
test dword [esi + 0x14], 0x4000
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0x70], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
je 0x1002610e
call dword [eax + 4]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
call fcn.1006dd77
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x34]
mov esi, eax
mov dword [ebp - 0x54], esi
test ecx, ecx
je 0x10025f6f
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x10025f6f
mov eax, dword [ecx]
push 1
call dword [eax]
xor eax, eax
mov dword [ebp - 0x50], 0
push eax
push 1
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.1006dd77
mov dword [ebp - 4], 1
mov eax, dword [esi]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call dword [0x10096270]
mov ecx, dword [ebp - 0x54]
call esi
mov byte [ebp - 4], 2
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
lea ecx, [ebp - 0x50]
push dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x6c]
push eax
call fcn.1006dd77
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x1002600b
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10026001
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100261e5
push edx
push ecx
call fcn.1006dd77
add esp, 8
push 0
lea ecx, [ebp - 0x50]
call fcn.1006dd77
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call dword [0x10096270]
mov ecx, dword [ebp - 0x54]
call esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
lea ecx, [ebp - 0x50]
push dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x6c]
push eax
call fcn.1006dd77
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x10026087
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002607d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100261ea
push edx
push ecx
call fcn.1006dd77
add esp, 8
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push 1
cmovae eax, dword [ebp - 0x50]
push eax
push 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.1006dd77
add esp, 0x14
sub eax, 0
je 0x100260c1
sub eax, 1
je 0x100260bc
mov byte [edi], 0
mov dword [ebx], 2
jmp 0x100260c4
mov byte [edi], 1
jmp 0x100260c4
mov byte [edi], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x100261a2
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100260ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100261ef
push edx
push ecx
call fcn.1006dd77
add esp, 8
jmp 0x100261a2
call dword [eax + 4]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 4
push eax
push dword [esi + 0x14]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x54]
call fcn.1006dd77
mov dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x34]
mov esi, eax
test ecx, ecx
je 0x10026157
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x10026157
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [ebp - 0x30], 0
jne 0x10026162
mov byte [edi], 0
jmp 0x1002619c
lea eax, [ebp - 0x34]
push eax
push esi
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1006dd77
mov ecx, eax
add esp, 0x10
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x54], eax
je 0x10026199
cmp dword [ebp - 0x34], 0
jne 0x10026199
test ecx, ecx
setne al
mov byte [edi], al
test ecx, ecx
je 0x100261a2
cmp ecx, 1
je 0x100261a2
jmp 0x1002619c
mov byte [edi], 1
mov dword [ebx], 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.1006dd77
add esp, 8
test al, al
je 0x100261b9
or dword [ebx], 1
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006552a
mov esp, ebp
pop ebp
ret 0x20
call fcn.1006a0c2
call fcn.1006a0c2
call fcn.1006a0c2
int3