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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x57202f
add esp, 0xfffffff0
call fcn.004041f8
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x572593
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.004261b4
xor eax, eax
mov dword [esi + 0x30], eax
xor eax, eax
mov dword [esi + 0x34], eax
xor eax, eax
mov dword [esi + 0x38], eax
xor eax, eax
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 0x40], eax
xor eax, eax
mov dword [esi + 0x44], eax
lea eax, [esi + 0x50]
call fcn.004053a4
lea eax, [esi + 0x5c]
call fcn.004053a4
lea eax, [esi + 0x60]
call fcn.004053a4
mov byte [esi + 0x4c], 0
mov byte [esi + 0x4d], 0
lea eax, [ebp - 4]
call fcn.005700a4
mov edx, dword [ebp - 4]
lea eax, [esi + 0x64]
call fcn.004053e0
mov byte [esi + 0x68], 0
mov byte [esi + 0x69], 0
mov byte [esi + 0x6b], 6
mov byte [esi + 0x6c], 0
mov byte [esi + 0x6d], 0
lea eax, [esi + 0x70]
call fcn.004053a4
mov byte [esi + 0x74], 0
lea eax, [esi + 0x78]
call fcn.00406d08
lea eax, [esi + 0x7c]
call fcn.00406d08
xor eax, eax
mov dword [esi + 0x80], eax
xor eax, eax
mov dword [esi + 0x84], eax
xor eax, eax
mov dword [esi + 0x88], eax
xor eax, eax
mov dword [esi + 0x8c], eax
xor eax, eax
mov dword [esi + 0x90], eax
xor eax, eax
mov dword [esi + 0x94], eax
xor eax, eax
mov dword [esi + 0x98], eax
xor eax, eax
mov dword [esi + 0x9c], eax
xor eax, eax
mov dword [esi + 0xa0], eax
xor eax, eax
mov dword [esi + 0xa4], eax
xor eax, eax
mov dword [esi + 0xa8], eax
xor eax, eax
mov dword [esi + 0xac], eax
xor eax, eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
xor eax, eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
xor eax, eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
xor eax, eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
xor eax, eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
xor eax, eax
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], eax
xor eax, eax
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
xor eax, eax
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], eax
xor eax, eax
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], eax
xor eax, eax
mov dword [esi + 0x100], eax
mov dword [esi + 0x104], eax
xor eax, eax
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], eax
xor eax, eax
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], eax
xor eax, eax
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], eax
xor eax, eax
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], eax
xor eax, eax
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], eax
xor eax, eax
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], eax
xor eax, eax
mov dword [esi + 0x138], eax
mov dword [esi + 0x13c], eax
xor eax, eax
mov dword [esi + 0x140], eax
mov dword [esi + 0x144], eax
xor eax, eax
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], eax
xor eax, eax
mov dword [esi + 0x150], eax
mov dword [esi + 0x154], eax
xor eax, eax
mov dword [esi + 0x158], eax
mov dword [esi + 0x15c], eax
xor eax, eax
mov dword [esi + 0x160], eax
mov dword [esi + 0x164], eax
xor eax, eax
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], eax
xor eax, eax
mov dword [esi + 0x170], eax
mov dword [esi + 0x174], eax
xor eax, eax
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], eax
xor eax, eax
mov dword [esi + 0x180], eax
mov dword [esi + 0x184], eax
xor eax, eax
mov dword [esi + 0x188], eax
mov dword [esi + 0x18c], eax
xor eax, eax
mov dword [esi + 0x190], eax
mov dword [esi + 0x194], eax
xor eax, eax
mov dword [esi + 0x198], eax
mov dword [esi + 0x19c], eax
xor eax, eax
mov dword [esi + 0x2b8], eax
mov dword [esi + 0x2bc], eax
xor eax, eax
mov dword [esi + 0x2c0], eax
mov dword [esi + 0x2c4], eax
xor eax, eax
mov dword [esi + 0x2c8], eax
mov dword [esi + 0x2cc], eax
xor eax, eax
mov dword [esi + 0x2d0], eax
mov dword [esi + 0x2d4], eax
xor eax, eax
mov dword [esi + 0x2d8], eax
mov dword [esi + 0x2dc], eax
xor eax, eax
mov dword [esi + 0x2e0], eax
mov dword [esi + 0x2e4], eax
xor eax, eax
mov dword [esi + 0x1a0], eax
mov dword [esi + 0x1a4], eax
xor eax, eax
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x1ac], eax
xor eax, eax
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1b4], eax
xor eax, eax
mov dword [esi + 0x1b8], eax
mov dword [esi + 0x1bc], eax
xor eax, eax
mov dword [esi + 0x1c0], eax
mov dword [esi + 0x1c4], eax
xor eax, eax
mov dword [esi + 0x1c8], eax
mov dword [esi + 0x1cc], eax
xor eax, eax
mov dword [esi + 0x1d0], eax
mov dword [esi + 0x1d4], eax
xor eax, eax
mov dword [esi + 0x1d8], eax
mov dword [esi + 0x1dc], eax
xor eax, eax
mov dword [esi + 0x1e0], eax
mov dword [esi + 0x1e4], eax
xor eax, eax
mov dword [esi + 0x1e8], eax
mov dword [esi + 0x1ec], eax
xor eax, eax
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x1f4], eax
xor eax, eax
mov dword [esi + 0x1f8], eax
mov dword [esi + 0x1fc], eax
xor eax, eax
mov dword [esi + 0x200], eax
mov dword [esi + 0x204], eax
xor eax, eax
mov dword [esi + 0x208], eax
mov dword [esi + 0x20c], eax
xor eax, eax
mov dword [esi + 0x210], eax
mov dword [esi + 0x214], eax
xor eax, eax
mov dword [esi + 0x218], eax
mov dword [esi + 0x21c], eax
xor eax, eax
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], eax
xor eax, eax
mov dword [esi + 0x228], eax
mov dword [esi + 0x22c], eax
xor eax, eax
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], eax
xor eax, eax
mov dword [esi + 0x238], eax
mov dword [esi + 0x23c], eax
xor eax, eax
mov dword [esi + 0x240], eax
mov dword [esi + 0x244], eax
xor eax, eax
mov dword [esi + 0x248], eax
mov dword [esi + 0x24c], eax
xor eax, eax
mov dword [esi + 0x250], eax
mov dword [esi + 0x254], eax
xor eax, eax
mov dword [esi + 0x258], eax
mov dword [esi + 0x25c], eax
xor eax, eax
mov dword [esi + 0x260], eax
mov dword [esi + 0x264], eax
xor eax, eax
mov dword [esi + 0x268], eax
mov dword [esi + 0x26c], eax
xor eax, eax
mov dword [esi + 0x270], eax
mov dword [esi + 0x274], eax
xor eax, eax
mov dword [esi + 0x278], eax
mov dword [esi + 0x27c], eax
xor eax, eax
mov dword [esi + 0x280], eax
mov dword [esi + 0x284], eax
xor eax, eax
mov dword [esi + 0x288], eax
mov dword [esi + 0x28c], eax
xor eax, eax
mov dword [esi + 0x290], eax
mov dword [esi + 0x294], eax
xor eax, eax
mov dword [esi + 0x298], eax
mov dword [esi + 0x29c], eax
xor eax, eax
mov dword [esi + 0x2a0], eax
mov dword [esi + 0x2a4], eax
xor eax, eax
mov dword [esi + 0x2a8], eax
mov dword [esi + 0x2ac], eax
xor eax, eax
mov dword [esi + 0x2b0], eax
mov dword [esi + 0x2b4], eax
xor eax, eax
mov dword [esi + 0x2e8], eax
mov dword [esi + 0x2ec], eax
xor eax, eax
mov dword [esi + 0x2f0], eax
mov dword [esi + 0x2f4], eax
xor eax, eax
mov dword [esi + 0x2f8], eax
mov dword [esi + 0x2fc], eax
xor eax, eax
mov dword [esi + 0x300], eax
mov dword [esi + 0x304], eax
xor eax, eax
mov dword [esi + 0x308], eax
mov dword [esi + 0x30c], eax
xor eax, eax
mov dword [esi + 0x310], eax
mov dword [esi + 0x314], eax
xor eax, eax
mov dword [esi + 0x318], eax
mov dword [esi + 0x31c], eax
xor eax, eax
mov dword [esi + 0x320], eax
mov dword [esi + 0x324], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57259a
lea eax, [ebp - 4]
call fcn.004053a4
ret