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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e5ab
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x101e8118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.1001a250
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
call fcn.10020780
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.100207d0
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.100207f0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.10020810
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10020830
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.10020850
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.10020870
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.100208d0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100208f0
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.10020910
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.10020930
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.1001bc20
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.10019920
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.10022240
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.100222d0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.10022390
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.10022450
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.100224c0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.1001bc20
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.10022540
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0xd8
call fcn.10022610
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0xdc
call fcn.10022710
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0xe8
call fcn.10018840
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x98]
and ecx, 0xfffffffe
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x98], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x98]
and ecx, 0xfffffffd
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x98], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x98]
and ecx, 0xfffffffb
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x98], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x98]
and ecx, 0xfffffff7
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x98], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x98]
and ecx, 0xffffffef
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x98], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x98]
and ecx, 0xffffffdf
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x98], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc8]
or ecx, 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc8], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc8]
or ecx, 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc8], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc8]
and ecx, 0xfffffffb
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc8], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xcc], 0
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xd0], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xd4], 0x400
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc8]
or ecx, 8
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc8], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x98]
and ecx, 0xffffffbf
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x98], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc8]
and ecx, 0xffffffef
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc8], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x94], 0xcdcdcdcd
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xe0], 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xe4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc8]
or ecx, 0x20
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc8], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc8]
and ecx, 0xffffffbf
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc8], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x5c], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret