Function at 0x1000e020
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10049b2d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1005f0f8]
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 0x1000e2c7
call dword [eax + 4]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
call fcn.100097b0
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 0x1000e0af
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x1000e0af
mov eax, dword [ecx]
push 1
call dword [eax]
push 0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x50]
push 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.10007a10
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x6c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov byte [ebp - 4], 2
lea edx, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
mov ecx, dword [ebp - 0x5c]
cmovae edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
sub eax, esi
mov dword [ebp - 0x34], ecx
push ecx
push edx
cmp ecx, eax
ja 0x1000e12e
cmp dword [ebp - 0x3c], 0x10
lea eax, [esi + ecx]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
add esi, eax
push esi
call fcn.10028ec0
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x1000e13e
mov byte [ebp - 0x34], 0
push dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x50]
call fcn.10009b30
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x58]
cmp edx, 0x10
jb 0x1000e176
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e16c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e39e
push edx
push ecx
call fcn.100274be
add esp, 8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
cmp ecx, edx
jae 0x1000e198
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
mov word [eax + ecx], 0
jmp 0x1000e1aa
push 0
mov byte [ebp - 0x34], 0
push dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x50]
call fcn.100099f0
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov byte [ebp - 4], 3
lea edx, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
mov ecx, dword [ebp - 0x5c]
cmovae edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
sub eax, esi
mov dword [ebp - 0x54], ecx
push ecx
push edx
cmp ecx, eax
ja 0x1000e1fe
cmp dword [ebp - 0x3c], 0x10
lea eax, [esi + ecx]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
add esi, eax
push esi
call fcn.10028ec0
mov eax, dword [ebp - 0x54]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x1000e20e
mov byte [ebp - 0x54], 0
push dword [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x50]
call fcn.10009b30
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x58]
cmp edx, 0x10
jb 0x1000e246
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e23c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e3a3
push edx
push ecx
call fcn.100274be
add esp, 8
cmp dword [ebp - 0x3c], 0x10
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.100109e0
add esp, 0x14
sub eax, 0
je 0x1000e280
sub eax, 1
je 0x1000e27b
mov byte [edi], 0
mov dword [ebx], 2
jmp 0x1000e283
mov byte [edi], 1
jmp 0x1000e283
mov byte [edi], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x1000e35b
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e2b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e3a8
push edx
push ecx
call fcn.100274be
add esp, 8
jmp 0x1000e35b
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.1000f180
mov dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x34]
mov esi, eax
test ecx, ecx
je 0x1000e310
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x1000e310
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [ebp - 0x30], 0
jne 0x1000e31b
mov byte [edi], 0
jmp 0x1000e355
lea eax, [ebp - 0x34]
push eax
push esi
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10026585
mov ecx, eax
add esp, 0x10
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x54], eax
je 0x1000e352
cmp dword [ebp - 0x34], 0
jne 0x1000e352
test ecx, ecx
setne al
mov byte [edi], al
test ecx, ecx
je 0x1000e35b
cmp ecx, 1
je 0x1000e35b
jmp 0x1000e355
mov byte [edi], 1
mov dword [ebx], 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.10010940
add esp, 8
test al, al
je 0x1000e372
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.10026f69
mov esp, ebp
pop ebp
ret 0x20
call fcn.1002df33
call fcn.1002df33
call fcn.1002df33
int3