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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48dd77
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xd8]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4a9c14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x6c
call fcn.00412310
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
call fcn.00411c20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.0042eae0
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
call fcn.0042eae0
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.00405f30
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c
call fcn.0042ea90
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x64
call fcn.00431c70
mov ecx, dword [ebp - 0x14]
add ecx, 0x68
call fcn.0042eae0
mov ecx, dword [ebp - 0x14]
add ecx, 0x70
call fcn.00412310
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0x74
call fcn.00412310
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
add ecx, 0x78
call fcn.00412310
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add ecx, 0x88
call fcn.004034d0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
add ecx, 0xa4
call fcn.004034d0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
add ecx, 0xc0
call fcn.004034d0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
add ecx, 0xdc
call fcn.004034d0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x14]
add ecx, 0xf8
call fcn.004034d0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x14]
add ecx, 0x11c
call fcn.004034d0
mov byte [ebp - 4], 0xb
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x14c
call fcn.0046dd20
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0x150
call fcn.00411870
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14]
add ecx, 0x170
call fcn.00443280
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x14]
add ecx, 0x190
call fcn.0042fa90
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x14]
add ecx, 0x3b4
call fcn.004034d0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x14]
add ecx, 0x400
call fcn.004034d0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x83], 0
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x138], 0
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x84], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x194], 0
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x195], 0
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x1a0], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x80], 0
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x196], 0
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x114], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x115], 0
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x116], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x164], 3
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x168], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x16c], 0
mov eax, dword [ebp - 0x14]
mov dword [0x4ab29c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1a8], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x188], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x180], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x18c], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x184], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1a4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x160], 0
push 0x493bdc
mov ecx, dword [ebp - 0x14]
add ecx, 0x11c
call fcn.00403570
push 0x493bc4
push 0x2fcd
call fcn.00455810
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3d0], eax
push 0x493bc0
call fcn.0043f810
add esp, 4
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x82], al
mov esi, esp
push 0xd5
mov eax, dword [0x4ab2f0]
push eax
call dword [0x493294]
cmp esi, esp
call fcn.00472792
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3d4], eax
push 0x493bb4
push 0x2a3
call fcn.00455810
add esp, 8
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x3b4
call fcn.00403570
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x4ab2f4]
mov dword [eax + 0x160], ecx
push 0x493bb0
call fcn.0043f810
add esp, 4
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x81], al
push 0x6764
push 0x6f94
push 0x493b98
push 0xdd2
call fcn.00455750
add esp, 0x10
push eax
call fcn.004651e0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3e4], eax
push 0x7a41
push 0x5f23
push 0x493b84
push 0x2340
call fcn.00455750
add esp, 0x10
push eax
call fcn.004651e0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3ec], eax
push 0x356e
push 0x493b74
push 0x4cd0
call fcn.00455750
add esp, 0xc
push eax
call fcn.004651e0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3f4], eax
push 0x49d2
push 0x493b5c
push 0x76d6
call fcn.00455750
add esp, 0xc
push eax
call fcn.004651e0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3f8], eax
push str.le32.dll
push 0x781a
call fcn.00455750
add esp, 8
push eax
call fcn.004651e0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3d8], eax
mov esi, esp
push 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3d8]
call ecx
cmp esi, esp
call fcn.00472792
mov esi, eax
mov edi, esp
push 4
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x3d8]
call eax
cmp edi, esp
call fcn.00472792
lea ecx, [eax + esi*2]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x198], ecx
mov esi, esp
push 7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3d8]
call ecx
cmp esi, esp
call fcn.00472792
shl eax, 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x19c], eax
push 0x7daa
push 0x493b24
push 0x1edf
call fcn.00455750
add esp, 0xc
push eax
call fcn.004651e0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3f0], eax
push 0xc21
push 0x493b0c
push 0x5d22
call fcn.00455750
add esp, 0xc
push eax
call fcn.004651e0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3dc], eax
push 0x58db
push 0x493af0
push 0x3be2
call fcn.00455750
add esp, 0xc
push eax
call fcn.004651e0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3e8], eax
push 0x3877
push 0x2339
push 0x493ad4
push 0x519f
call fcn.00455750
add esp, 0x10
push eax
call fcn.004651e0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3e0], eax
push 0x3358
push 0x493ac0
push 0x761
call fcn.00455750
add esp, 0xc
push eax
call fcn.004651e0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3fc], eax
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x117], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x118], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x85], 0
push 0x493bdc
mov ecx, dword [ebp - 0x14]
add ecx, 0x400
call fcn.00403570
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x41c], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x420], 0x7d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.00472792
mov esp, ebp
pop ebp
ret