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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x80000005
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1000fae2
mov eax, 0x10019497
push eax
push 1
mov ebx, 0x194
call fcn.10013760
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esp
push 0
mov eax, 0x10019497
test eax, eax
je 0x1000fb0c
add eax, 8
push eax
push dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1000fb1c
add eax, 8
push eax
push 0
push 0xfde9
call dword [0x10018068]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1000fb43
push 6
call fcn.100117a3
add esp, 4
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x10019487]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.10001921
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.10012c80
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000fb91
push ebx
call fcn.10011797
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x10019487]
fstp qword [ebp - 0x20]
mov dword [ebp - 0x24], esp
fld qword [ebp - 0x20]
call fcn.10001921
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1000fbbd
add eax, 8
push eax
push dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1000fbcd
add eax, 8
push eax
push 0
push 0xfde9
call dword [0x10018068]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1000fbf4
push 6
call fcn.100117a3
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1000fc07
mov eax, 0x10019497
push eax
push 1
mov ebx, 0x194
call fcn.10013760
add esp, 0x10
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fdiv qword [0x10019487]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10001921
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esp
push 0
push 0
push 0
push 0
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1000fc5e
add eax, 8
push eax
push 0x200
push 0x3a8
call dword [0x1001801c]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1000fc85
push 6
call fcn.100117a3
add esp, 4
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x1bc
call fcn.10012c80
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000fcbb
push ebx
call fcn.10011797
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 0
push 0
push dword [ebp - 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000fcd9
add eax, 8
push eax
push 0xffffffff
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1000fce9
add eax, 8
push eax
push 0x200
push 0x3a8
call dword [0x1001801c]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1000fd10
push 6
call fcn.100117a3
add esp, 4
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push 0x80000005
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1000fd35
mov eax, 0x10019497
push eax
push 3
mov ebx, 0x19c
call 0x10015a50
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x80000004
je 0x1000fd69
push 5
call fcn.100117a3
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x1000fd71
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000fd82
push ebx
call fcn.10011797
add esp, 0x36
xor byte ss:[eax + edi], dh
xor bh, byte [eax]
xor al, 0x38
xor dh, byte [eax + edi]
xor al, 0x38
xor al, 0x36
cmp byte [esi], dh
xor dh, byte [eax]
xor dh, byte ss:[esi]