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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x62210c
xor eax, eax
push ebp
push 0x622684
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00621818
mov edx, dword [ebp - 4]
mov eax, dword [0x669a38]
add eax, 0x28
call fcn.00404b38
mov eax, dword [0x669a38]
mov eax, dword [eax + 0x28]
mov edx, 0x622698
call fcn.00404f00
jne 0x622178
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea eax, [ebp - 8]
call fcn.00621818
mov edx, dword [ebp - 8]
mov eax, dword [0x669a38]
add eax, 0x28
call fcn.00404b38
lea eax, [ebp - 0xc]
call fcn.006217b8
mov edx, dword [ebp - 0xc]
mov eax, dword [0x669a38]
call fcn.00404b38
mov eax, dword [0x669a38]
mov eax, dword [eax]
mov edx, 0x622698
call fcn.00404f00
jne 0x6221c8
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea eax, [ebp - 0x10]
call fcn.006217b8
mov edx, dword [ebp - 0x10]
mov eax, dword [0x669a38]
call fcn.00404b38
lea eax, [ebp - 0x14]
call fcn.00621758
mov edx, dword [ebp - 0x14]
mov eax, dword [0x669a38]
add eax, 0xc
call fcn.00404b38
mov eax, dword [0x669a38]
mov eax, dword [eax + 0xc]
mov edx, 0x622698
call fcn.00404f00
jne 0x62221f
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea eax, [ebp - 0x18]
call fcn.00621758
mov edx, dword [ebp - 0x18]
mov eax, dword [0x669a38]
add eax, 0xc
call fcn.00404b38
lea eax, [ebp - 0x1c]
call fcn.006216f8
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x669a38]
add eax, 0x5c
call fcn.00404b38
mov eax, dword [0x669a38]
mov eax, dword [eax + 0x5c]
mov edx, 0x622698
call fcn.00404f00
jne 0x622276
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea eax, [ebp - 0x20]
call fcn.006216f8
mov edx, dword [ebp - 0x20]
mov eax, dword [0x669a38]
add eax, 0x5c
call fcn.00404b38
lea eax, [ebp - 0x24]
call fcn.00621ab8
mov edx, dword [ebp - 0x24]
mov eax, dword [0x669a38]
add eax, 0x50
call fcn.00404b38
mov eax, dword [0x669a38]
mov eax, dword [eax + 0x50]
mov edx, 0x622698
call fcn.00404f00
jne 0x6222cd
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea eax, [ebp - 0x28]
call fcn.00621ab8
mov edx, dword [ebp - 0x28]
mov eax, dword [0x669a38]
add eax, 0x50
call fcn.00404b38
lea eax, [ebp - 0x2c]
call fcn.00621878
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x669a38]
add eax, 0x2c
call fcn.00404b38
mov eax, dword [0x669a38]
mov eax, dword [eax + 0x2c]
mov edx, 0x622698
call fcn.00404f00
jne 0x622324
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea eax, [ebp - 0x30]
call fcn.00621878
mov edx, dword [ebp - 0x30]
mov eax, dword [0x669a38]
add eax, 0x2c
call fcn.00404b38
lea eax, [ebp - 0x34]
call fcn.00621698
mov edx, dword [ebp - 0x34]
mov eax, dword [0x669a38]
add eax, 0x40
call fcn.00404b38
mov eax, dword [0x669a38]
mov eax, dword [eax + 0x40]
mov edx, 0x622698
call fcn.00404f00
jne 0x62237b
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea eax, [ebp - 0x38]
call fcn.00621698
mov edx, dword [ebp - 0x38]
mov eax, dword [0x669a38]
add eax, 0x40
call fcn.00404b38
lea eax, [ebp - 0x3c]
call fcn.006218d8
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x669a38]
add eax, 0x24
call fcn.00404b38
mov eax, dword [0x669a38]
mov eax, dword [eax + 0x24]
mov edx, 0x622698
call fcn.00404f00
jne 0x6223d2
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea eax, [ebp - 0x40]
call fcn.006218d8
mov edx, dword [ebp - 0x40]
mov eax, dword [0x669a38]
add eax, 0x24
call fcn.00404b38
lea eax, [ebp - 0x44]
call fcn.00621938
mov edx, dword [ebp - 0x44]
mov eax, dword [0x669a38]
add eax, 0x1c
call fcn.00404b38
mov eax, dword [0x669a38]
mov eax, dword [eax + 0x1c]
mov edx, 0x622698
call fcn.00404f00
jne 0x622429
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea eax, [ebp - 0x48]
call fcn.00621938
mov edx, dword [ebp - 0x48]
mov eax, dword [0x669a38]
add eax, 0x1c
call fcn.00404b38
lea eax, [ebp - 0x4c]
call fcn.00621998
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x669a38]
add eax, 0x10
call fcn.00404b38
mov eax, dword [0x669a38]
mov eax, dword [eax + 0x10]
mov edx, 0x622698
call fcn.00404f00
jne 0x622480
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea eax, [ebp - 0x50]
call fcn.00621998
mov edx, dword [ebp - 0x50]
mov eax, dword [0x669a38]
add eax, 0x10
call fcn.00404b38
lea eax, [ebp - 0x54]
call fcn.006219f8
mov edx, dword [ebp - 0x54]
mov eax, dword [0x669a38]
add eax, 0x38
call fcn.00404b38
mov eax, dword [0x669a38]
mov eax, dword [eax + 0x38]
mov edx, 0x622698
call fcn.00404f00
jne 0x6224d7
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea eax, [ebp - 0x58]
call fcn.006219f8
mov edx, dword [ebp - 0x58]
mov eax, dword [0x669a38]
add eax, 0x38
call fcn.00404b38
lea eax, [ebp - 0x5c]
call fcn.00621a58
mov edx, dword [ebp - 0x5c]
mov eax, dword [0x669a38]
add eax, 0x4c
call fcn.00404b38
mov eax, dword [0x669a38]
mov eax, dword [eax + 0x4c]
mov edx, 0x622698
call fcn.00404f00
jne 0x62252e
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea eax, [ebp - 0x60]
call fcn.00621a58
mov edx, dword [ebp - 0x60]
mov eax, dword [0x669a38]
add eax, 0x4c
call fcn.00404b38
lea eax, [ebp - 0x64]
call fcn.00621b48
mov edx, dword [ebp - 0x64]
mov eax, dword [0x669a38]
add eax, 0x58
call fcn.00404b38
lea eax, [ebp - 0x68]
call fcn.00621ba8
mov edx, dword [ebp - 0x68]
mov eax, dword [0x669a38]
add eax, 0x54
call fcn.00404b38
lea eax, [ebp - 0x6c]
call fcn.00621c08
mov edx, dword [ebp - 0x6c]
mov eax, dword [0x669a38]
add eax, 0x44
call fcn.00404b38
lea eax, [ebp - 0x70]
call fcn.00621c68
mov edx, dword [ebp - 0x70]
mov eax, dword [0x669a38]
add eax, 0x14
call fcn.00404b38
lea eax, [ebp - 0x74]
call fcn.00621cc8
mov edx, dword [ebp - 0x74]
mov eax, dword [0x669a38]
add eax, 0x30
call fcn.00404b38
lea eax, [ebp - 0x78]
call fcn.00621d28
mov edx, dword [ebp - 0x78]
mov eax, dword [0x669a38]
add eax, 0x34
call fcn.00404b38
lea eax, [ebp - 0x7c]
call fcn.00621d88
mov edx, dword [ebp - 0x7c]
mov eax, dword [0x669a38]
add eax, 0x68
call fcn.00404b38
lea eax, [ebp - 0x80]
call fcn.00621de4
mov edx, dword [ebp - 0x80]
mov eax, dword [0x669a38]
add eax, 0x70
call fcn.00404b38
lea eax, [ebp - 0x84]
call fcn.00621e44
mov edx, dword [ebp - 0x84]
mov eax, dword [0x669a38]
add eax, 0x48
call fcn.00404b38
lea eax, [ebp - 0x88]
call fcn.00621ea4
mov edx, dword [ebp - 0x88]
mov eax, dword [0x669a38]
add eax, 0x3c
call fcn.00404b38
lea eax, [ebp - 0x8c]
call fcn.00621f04
mov edx, dword [ebp - 0x8c]
mov eax, dword [0x669a38]
add eax, 0x74
call fcn.00404b38
lea eax, [ebp - 0x90]
call fcn.00621f64
mov edx, dword [ebp - 0x90]
mov eax, dword [0x669a38]
add eax, 0x20
call fcn.00404b38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62268b
lea eax, [ebp - 0x90]
mov edx, 0x24
call fcn.00404b08
ret