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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2e1f7d7
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x2e43cec]
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, 0x6c
call fcn.00419e30
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
call fcn.0040c730
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.004102f0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.004102f0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0040b160
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.0040b180
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00423e20
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.004102f0
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.004218b0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.00442d80
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.004218b0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
call fcn.0040c0c0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0040c0c0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0xc0
call fcn.0040c0c0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0xdc
call fcn.0040c0c0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
call fcn.0040c0c0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x11c
call fcn.0040c0c0
mov byte [ebp - 4], 0xb
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14c
call fcn.00419690
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x150
call fcn.0040c480
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0x170
call fcn.0040c850
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0x190
call fcn.0040d870
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 0x3b4
call fcn.0040c0c0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0x400
call fcn.0040c0c0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x7c], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x83], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x138], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x84], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x194], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x195], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x1a0], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x80], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x196], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x114], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x115], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x116], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x164], 3
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x168], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x16c], 0
mov eax, dword [ebp - 0x10]
mov dword [0x2e45280], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1a8], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x188], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x180], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x184], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1a4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x160], 0
push 0x2e285a4
mov ecx, dword [ebp - 0x10]
add ecx, 0x11c
call fcn.0040c210
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3d0], 0x2e285a8
push 0x2e285c4
call fcn.00446b50
add esp, 4
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x82], al
push 0xd5
mov edx, dword [0x2e453d0]
push edx
call dword [0x2e282c0]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3d4], eax
push 0x2e285c8
mov ecx, dword [ebp - 0x10]
add ecx, 0x3b4
call fcn.0040c210
mov edx, dword [ebp - 0x10]
mov eax, dword [0x2e453d4]
mov dword [edx + 0x160], eax
push 0x2e285d4
call fcn.00446b50
add esp, 4
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x81], al
push 0x2e285d8
call fcn.00445470
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3e4], eax
push 0x2e285e8
call fcn.00445470
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3ec], eax
push 0x2e285f8
call fcn.00445470
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3f4], eax
push 0x2e28604
call fcn.00445470
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3f8], eax
push 0x2e28614
call fcn.00445470
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3d8], eax
push 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3d8]
call ecx
mov esi, eax
push 4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x3d8]
call eax
lea ecx, [eax + esi*2]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x198], ecx
push 7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3d8]
call ecx
shl eax, 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x19c], eax
push 0x2e28628
call fcn.00445470
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3f0], eax
push 0x2e2863c
call fcn.00445470
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3dc], eax
push 0x2e2864c
call fcn.00445470
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3e8], eax
push 0x2e28660
call fcn.00445470
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3e0], eax
push 0x2e28674
call fcn.00445470
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3fc], eax
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x117], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x118], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x85], 0
push 0x2e28684
mov ecx, dword [ebp - 0x10]
add ecx, 0x400
call fcn.0040c210
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x41c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x420], 0x7d0
mov ecx, dword [ebp - 0x10]
fldz
fstp qword [ecx + 0x428]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret