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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1006ba00
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esi + 0xa0], eax
mov eax, dword [esp + 0x2c]
lea edi, [esi + 0x125]
push eax
xor ebx, ebx
push 0x1007b0d4
push edi
mov dword [esp + 0x24], 0xd
mov dword [esi + 0x98], ecx
mov dword [esi + 0x9c], edx
mov dword [esi + 0x94], ebx
call fcn.00b01669
mov ecx, dword [esp + 0x3c]
lea ebp, [esi + 0x227]
push ecx
push 0x1007b0d4
push ebp
call fcn.00b01669
add esp, 0x14
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
call fcn.00b0e43e
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
mov byte [esp + 0x24], 0xe
call fcn.00b0e43e
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
mov byte [esp + 0x28], 0xf
call fcn.00b0e43e
mov ecx, esi
mov byte [esp + 0x24], 0xd
call fcn.00ab2d48
mov al, byte [esp + 0x64]
test al, 4
je 0xaafdfc
cmp dword [esi + 0x94], ebx
je 0xaafdf0
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0xc
call fcn.00b0e6c9
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 0xb
call fcn.00b0e6c9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18], 0xa
call fcn.00b0e6c9
lea ecx, [esp + 0x30]
mov byte [esp + 0x18], 9
call fcn.00b0e6c9
lea ecx, [esp + 0x34]
mov byte [esp + 0x18], 8
call fcn.00b0e6c9
lea ecx, [esp + 0x38]
mov byte [esp + 0x18], 7
call fcn.00b0e6c9
lea ecx, [esp + 0x3c]
mov byte [esp + 0x18], 6
call fcn.00b0e6c9
lea ecx, [esp + 0x40]
mov byte [esp + 0x18], 5
call fcn.00b0e6c9
lea ecx, [esp + 0x44]
mov byte [esp + 0x18], 4
call fcn.00b0e6c9
lea ecx, [esp + 0x48]
mov byte [esp + 0x18], 3
call fcn.00b0e6c9
lea ecx, [esp + 0x54]
mov byte [esp + 0x18], 2
call fcn.00b0e6c9
lea ecx, [esp + 0x5c]
mov byte [esp + 0x18], 1
call fcn.00b0e6c9
lea ecx, [esp + 0x60]
mov byte [esp + 0x18], bl
call fcn.00b0e6c9
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], 0xffffffff
call fcn.00b0e6c9
mov eax, 0x34
jmp 0xab0320
mov dword [esi + 0x94], 4
jmp 0xaafe24
test byte [esi + 0x94], 1
jne 0xaafe11
test al, 1
jne 0xaafe11
mov dword [esi + 0x94], ebx
jmp 0xaafe1b
mov dword [esi + 0x94], 1
cmp dword [esi + 0xa0], 9
jne 0xaafe2a
mov dword [esi + 0xa0], ebx
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 0x58]
mov dword [esi + 0x54], eax
call fcn.00b0e7b6
lea edx, [esp + 0x28]
lea ecx, [esi + 0x5c]
push edx
call fcn.00b0e7b6
mov eax, dword [esp + 0x2c]
push eax
push 0x1007b0d4
push edi
call fcn.00b01669
mov ecx, dword [esp + 0x3c]
push ecx
push 0x1007b0d4
push ebp
call fcn.00b01669
add esp, 0x18
lea edx, [esp + 0x34]
lea ecx, [esi + 0x60]
push edx
call fcn.00b0e7b6
lea eax, [esp + 0x38]
lea ecx, [esi + 0x64]
push eax
call fcn.00b0e7b6
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x68]
call fcn.00b0e7b6
lea edx, [esp + 0x44]
lea ecx, [esi + 0x6c]
push edx
call fcn.00b0e7b6
lea eax, [esp + 0x40]
lea ecx, [esi + 0x70]
push eax
call fcn.00b0e7b6
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esi + 0x74]
call fcn.00b0e7b6
lea edx, [esp + 0x48]
lea ecx, [esi + 0x78]
push edx
call fcn.00b0e7b6
mov eax, dword [esp + 0x4c]
cmp eax, ebx
jbe 0xaafedd
cmp eax, 0xffff
ja 0xaafedd
mov dword [esi + 0x7c], eax
jmp 0xaafee4
mov dword [esi + 0x7c], 0x2044
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x54]
lea ecx, [esi + 0x80]
push edx
mov dword [esi + 0x88], eax
call fcn.00b0e7b6
mov eax, dword [esp + 0x58]
cmp eax, ebx
jbe 0xaaff15
cmp eax, 0xffff
ja 0xaaff15
mov dword [esi + 0x84], eax
jmp 0xaaff1f
mov dword [esi + 0x84], 0x20a8
lea ebp, [esi + 0x8c]
lea eax, [esp + 0x5c]
push eax
mov ecx, ebp
call fcn.00b0e7b6
lea ecx, [esp + 0x60]
lea ebx, [esi + 0x90]
push ecx
mov ecx, ebx
call fcn.00b0e7b6
mov eax, dword [esi + 0x54]
test eax, eax
je 0xaaff5a
push 0
push 0xb
push 0x482
push eax
call dword [0x1006f4b0]
lea edi, [esi + 0x2a8]
mov ecx, edi
call fcn.00aff738
test eax, eax
jne 0xab0040
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0xc
call fcn.00b0e6c9
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 0xb
call fcn.00b0e6c9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18], 0xa
call fcn.00b0e6c9
lea ecx, [esp + 0x30]
mov byte [esp + 0x18], 9
call fcn.00b0e6c9
lea ecx, [esp + 0x34]
mov byte [esp + 0x18], 8
call fcn.00b0e6c9
lea ecx, [esp + 0x38]
mov byte [esp + 0x18], 7
call fcn.00b0e6c9
lea ecx, [esp + 0x3c]
mov byte [esp + 0x18], 6
call fcn.00b0e6c9
lea ecx, [esp + 0x40]
mov byte [esp + 0x18], 5
call fcn.00b0e6c9
lea ecx, [esp + 0x44]
mov byte [esp + 0x18], 4
call fcn.00b0e6c9
lea ecx, [esp + 0x48]
mov byte [esp + 0x18], 3
call fcn.00b0e6c9
lea ecx, [esp + 0x54]
mov byte [esp + 0x18], 2
call fcn.00b0e6c9
lea ecx, [esp + 0x5c]
mov byte [esp + 0x18], 1
call fcn.00b0e6c9
lea ecx, [esp + 0x60]
mov byte [esp + 0x18], 0
call fcn.00b0e6c9
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], 0xffffffff
call fcn.00b0e6c9
mov eax, 0xb
jmp 0xab0320
push 0x1007b21c
push 0
mov ecx, edi
call fcn.00aff7b8
test eax, eax
jne 0xab012e
mov ecx, edi
call fcn.00aff788
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0xc
call fcn.00b0e6c9
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 0xb
call fcn.00b0e6c9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18], 0xa
call fcn.00b0e6c9
lea ecx, [esp + 0x30]
mov byte [esp + 0x18], 9
call fcn.00b0e6c9
lea ecx, [esp + 0x34]
mov byte [esp + 0x18], 8
call fcn.00b0e6c9
lea ecx, [esp + 0x38]
mov byte [esp + 0x18], 7
call fcn.00b0e6c9
lea ecx, [esp + 0x3c]
mov byte [esp + 0x18], 6
call fcn.00b0e6c9
lea ecx, [esp + 0x40]
mov byte [esp + 0x18], 5
call fcn.00b0e6c9
lea ecx, [esp + 0x44]
mov byte [esp + 0x18], 4
call fcn.00b0e6c9
lea ecx, [esp + 0x48]
mov byte [esp + 0x18], 3
call fcn.00b0e6c9
lea ecx, [esp + 0x54]
mov byte [esp + 0x18], 2
call fcn.00b0e6c9
lea ecx, [esp + 0x5c]
mov byte [esp + 0x18], 1
call fcn.00b0e6c9
lea ecx, [esp + 0x60]
mov byte [esp + 0x18], 0
call fcn.00b0e6c9
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], 0xffffffff
call fcn.00b0e6c9
mov eax, 0xc
jmp 0xab0320
mov eax, dword [esi + 0x54]
test eax, eax
je 0xab0145
push 0
push 0xc
push 0x482
push eax
call dword [0x1006f4b0]
mov eax, dword [ebx]
mov ecx, dword [ebp]
mov edx, dword [esi + 0x80]
mov ebp, dword [esi + 0x78]
push eax
mov eax, dword [esi + 0x84]
push ecx
mov ecx, dword [esi + 0x88]
push eax
push edx
mov edx, dword [esi + 0x7c]
push ecx
push edx
push ebp
mov ecx, edi
call fcn.00affa58
test eax, eax
jne 0xab0250
mov ecx, edi
call fcn.00aff788
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0xc
call fcn.00b0e6c9
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 0xb
call fcn.00b0e6c9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18], 0xa
call fcn.00b0e6c9
lea ecx, [esp + 0x30]
mov byte [esp + 0x18], 9
call fcn.00b0e6c9
lea ecx, [esp + 0x34]
mov byte [esp + 0x18], 8
call fcn.00b0e6c9
lea ecx, [esp + 0x38]
mov byte [esp + 0x18], 7
call fcn.00b0e6c9
lea ecx, [esp + 0x3c]
mov byte [esp + 0x18], 6
call fcn.00b0e6c9
lea ecx, [esp + 0x40]
mov byte [esp + 0x18], 5
call fcn.00b0e6c9
lea ecx, [esp + 0x44]
mov byte [esp + 0x18], 4
call fcn.00b0e6c9
lea ecx, [esp + 0x48]
mov byte [esp + 0x18], 3
call fcn.00b0e6c9
lea ecx, [esp + 0x54]
mov byte [esp + 0x18], 2
call fcn.00b0e6c9
lea ecx, [esp + 0x5c]
mov byte [esp + 0x18], 1
call fcn.00b0e6c9
lea ecx, [esp + 0x60]
mov byte [esp + 0x18], 0
call fcn.00b0e6c9
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], 0xffffffff
call fcn.00b0e6c9
mov eax, 0xd
jmp 0xab0320
mov ecx, esi
call fcn.00ae6b28
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0xc
call fcn.00b0e6c9
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 0xb
call fcn.00b0e6c9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18], 0xa
call fcn.00b0e6c9
lea ecx, [esp + 0x30]
mov byte [esp + 0x18], 9
call fcn.00b0e6c9
lea ecx, [esp + 0x34]
mov byte [esp + 0x18], 8
call fcn.00b0e6c9
lea ecx, [esp + 0x38]
mov byte [esp + 0x18], 7
call fcn.00b0e6c9
lea ecx, [esp + 0x3c]
mov byte [esp + 0x18], 6
call fcn.00b0e6c9
lea ecx, [esp + 0x40]
mov byte [esp + 0x18], 5
call fcn.00b0e6c9
lea ecx, [esp + 0x44]
mov byte [esp + 0x18], 4
call fcn.00b0e6c9
lea ecx, [esp + 0x48]
mov byte [esp + 0x18], 3
call fcn.00b0e6c9
lea ecx, [esp + 0x54]
mov byte [esp + 0x18], 2
call fcn.00b0e6c9
lea ecx, [esp + 0x5c]
mov byte [esp + 0x18], 1
call fcn.00b0e6c9
lea ecx, [esp + 0x60]
mov byte [esp + 0x18], 0
call fcn.00b0e6c9
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], 0xffffffff
call fcn.00b0e6c9
xor eax, eax
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x58