Function at 0x1006d8e0
Capabilities:
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac43f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x34], edi
lea edx, [edi + 0x14]
mov dword [ebp - 0x28], edx
lea ecx, [edx + 0x2c]
xorps xmm0, xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x20], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x24], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
call fcn.10079c10
mov dword [edx + 0x68], 0
mov dword [edx + 0x70], 0
mov dword [edx + 0x6c], 0
mov dword [edx + 0xc8], 0
mov dword [edx + 0xcc], 0
mov dword [edx + 0xd0], 0
mov dword [edx + 0xd4], 0
mov dword [edx + 0xd8], 0
mov dword [edx + 0xdc], 0
lea eax, [edx + 0xe4]
mov ecx, 6
mov dword [eax + 4], 0
lea eax, [eax + 0x18]
mov dword [eax - 0x18], 0
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov dword [eax - 0xc], 0
mov dword [eax - 0x10], 0
sub ecx, 1
jne 0x1006d9b0
mov ecx, edx
call fcn.10079d40
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 3
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0
sub eax, ecx
mov dword [ebp - 0x30], 0x260
mov dword [ebp - 0x20], eax
xorps xmm0, xmm0
sar eax, 2
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1006da5c
push eax
lea ecx, [ebp - 0x1c]
call fcn.1002f0a0
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.10087600
mov eax, dword [ebp - 0x28]
add esp, 0xc
lea eax, [esi + eax*4]
mov dword [ebp - 0x18], eax
sub esp, 0xc
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x28], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sar eax, 2
test eax, eax
je 0x1006dab5
push eax
mov ecx, esi
call fcn.1002f0a0
mov edi, dword [esi]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub esi, eax
push esi
push eax
push edi
call fcn.10087600
mov ecx, dword [ebp - 0x28]
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov edi, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov ecx, 0xd78d54
call fcn.1001cb80
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esp, 0xc
mov dword [edi], eax
push 4
push eax
call esi
test eax, eax
je 0x1006dade
mov dword [edi], 0
jmp 0x1006dca6
lea ecx, [edi + 0x14]
mov dword [edi + 8], 0
mov dword [edi + 4], 0
call fcn.10079d40
mov ecx, edi
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
call fcn.1006dd00
mov ecx, edi
call fcn.1006fa10
cmp dword [0x100ce890], 0
jne 0x1006db66
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1006db66
push 4
push eax
call esi
test eax, eax
jne 0x1006db66
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x54
push eax
call esi
test eax, eax
jne 0x1006db66
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x54
mov dword [ebp - 0x24], eax
je 0x1006db66
mov eax, dword [eax]
push 4
push eax
mov dword [0x100ce890], eax
call esi
test eax, eax
jne 0x1006db66
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x1006ff30
cmp dword [0x100ce888], 0
jne 0x1006dbb6
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1006dbb6
push 4
push eax
call esi
test eax, eax
jne 0x1006dbb6
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x64
push eax
call esi
test eax, eax
jne 0x1006dbb6
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x64
mov dword [ebp - 0x24], eax
je 0x1006dbb6
mov eax, dword [eax]
push 4
push eax
mov dword [0x100ce888], eax
call esi
test eax, eax
jne 0x1006dbb6
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x10071390
cmp dword [0x100ce880], 0
jne 0x1006dc06
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1006dc06
push 4
push eax
call esi
test eax, eax
jne 0x1006dc06
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x6c
push eax
call esi
test eax, eax
jne 0x1006dc06
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x6c
mov dword [ebp - 0x24], eax
je 0x1006dc06
mov eax, dword [eax]
push 4
push eax
mov dword [0x100ce880], eax
call esi
test eax, eax
jne 0x1006dc06
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x100716f0
cmp dword [0x100ce870], 0
jne 0x1006dc56
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1006dc56
push 4
push eax
call esi
test eax, eax
jne 0x1006dc56
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x70
push eax
call esi
test eax, eax
jne 0x1006dc56
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x70
mov dword [ebp - 0x24], eax
je 0x1006dc56
mov eax, dword [eax]
push 4
push eax
mov dword [0x100ce870], eax
call esi
test eax, eax
jne 0x1006dc56
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x10072570
cmp dword [0x100ce868], 0
jne 0x1006dca6
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1006dca6
push 4
push eax
call esi
test eax, eax
jne 0x1006dca6
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x78
push eax
call esi
test eax, eax
jne 0x1006dca6
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x78
mov dword [ebp - 0x24], eax
je 0x1006dca6
mov eax, dword [eax]
push 4
push eax
mov dword [0x100ce868], eax
call esi
test eax, eax
jne 0x1006dca6
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x100728b0
lea ecx, [ebp - 0x1c]
call fcn.10013e60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10085995
mov esp, ebp
pop ebp
ret