Function at 0x408e00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x579690
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [0x5ee8b4]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x44], ebx
call fcn.00402a50
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0x1c], ebp
mov ecx, esi
mov byte [esp + 0x40], 1
call fcn.00407660
push str.Bar_State_Bar2
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00403710
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x44], ebx
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jne 0x408ec4
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x408eb6
push ecx
call edi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
cmp eax, ebx
mov eax, dword [esp + 0x24]
sete byte [esp + 0x1b]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ee9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], bl
je 0x408f97
push str.Bar0
lea ecx, [esp + 0x30]
push ebx
push ecx
call fcn.0042e4d0
push str.Bar1
lea edx, [esp + 0x3c]
push 0xe800
push edx
call fcn.0042e4d0
push str.Bar2
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.0042e4d0
push str.Bar3
lea ecx, [esp + 0x54]
push 0x6a
push ecx
call fcn.0042e4d0
push str.Bar4
lea edx, [esp + 0x60]
push 0x69
push edx
call fcn.0042e4d0
push str.Bar5
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.0042e4d0
add esp, 0x48
push str.BarID
lea ecx, [esp + 0x30]
push 0xe81b
push ecx
call fcn.0042e4d0
push str.Bars
lea edx, [esp + 0x3c]
push 6
push edx
call fcn.0042e4d0
mov eax, dword [esp + 0x44]
add esp, 0x18
cmp eax, ebx
je 0x408f93
push eax
call edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push str.Bar_State_Bar3
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x44], ebx
call esi
cmp eax, ebx
jne 0x408fee
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x408fe0
push ecx
call edi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
cmp eax, ebx
mov eax, dword [esp + 0x24]
sete byte [esp + 0x1b]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409013
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], bl
je 0x40910f
push str.BarID
lea ecx, [esp + 0x30]
push 0x6a
push ecx
call fcn.0042e4d0
push str.Docking
lea edx, [esp + 0x3c]
push 1
push edx
call fcn.0042e4d0
push str.MRUDockBottomPos
lea eax, [esp + 0x48]
push 0x1a5
push eax
call fcn.0042e4d0
push str.MRUDockID
lea ecx, [esp + 0x54]
push 0xe81b
push ecx
call fcn.0042e4d0
push str.MRUDockLeftPos
lea edx, [esp + 0x60]
push ebx
push edx
call fcn.0042e4d0
push str.MRUDockRightPos
lea eax, [esp + 0x6c]
push 0x1bf
push eax
call fcn.0042e4d0
add esp, 0x48
push str.MRUDockTopPos
lea ecx, [esp + 0x30]
push 0x17
push ecx
call fcn.0042e4d0
push str.MRUFloatStyle
lea edx, [esp + 0x3c]
push 4
push edx
call fcn.0042e4d0
push str.MRUFloatXPos
lea eax, [esp + 0x48]
push SysReAllocString
push eax
call fcn.0042e4d0
push str.MRUFloatYPos
lea ecx, [esp + 0x54]
push 0xcdcdcdcd
push ecx
call fcn.0042e4d0
push str.XPos
lea edx, [esp + 0x60]
push ebx
push edx
call fcn.0042e4d0
push str.YPos
lea eax, [esp + 0x6c]
push 0x17
push eax
call fcn.0042e4d0
mov eax, dword [esp + 0x74]
add esp, 0x48
cmp eax, ebx
je 0x40910b
push eax
call edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push str.Bar_State_Bar4
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x44], ebx
call esi
cmp eax, ebx
jne 0x409166
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x409158
push ecx
call edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
cmp eax, ebx
mov eax, dword [esp + 0x24]
sete byte [esp + 0x1b]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40918b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], bl
je 0x409292
push str.BarID
lea ecx, [esp + 0x30]
push 0x69
push ecx
call fcn.0042e4d0
push str.Docking
lea edx, [esp + 0x3c]
push 1
push edx
call fcn.0042e4d0
push str.MRUDockBottomPos
lea eax, [esp + 0x48]
push 0x1a5
push eax
call fcn.0042e4d0
push str.MRUDockID
lea ecx, [esp + 0x54]
push 0xe81b
push ecx
call fcn.0042e4d0
push str.MRUDockLeftPos
lea edx, [esp + 0x60]
push 0x1bf
push edx
call fcn.0042e4d0
push str.MRUDockRightPos
lea eax, [esp + 0x6c]
push 0x400
push eax
call fcn.0042e4d0
add esp, 0x48
push str.MRUDockTopPos
lea ecx, [esp + 0x30]
push 0x17
push ecx
call fcn.0042e4d0
push str.MRUFloatStyle
lea edx, [esp + 0x3c]
push 0x1000
push edx
call fcn.0042e4d0
push str.MRUFloatXPos
lea eax, [esp + 0x48]
push 0x3b8
push eax
call fcn.0042e4d0
push str.MRUFloatYPos
lea ecx, [esp + 0x54]
push 0xdc
push ecx
call fcn.0042e4d0
push str.XPos
lea edx, [esp + 0x60]
push 0x1bf
push edx
call fcn.0042e4d0
push str.YPos
lea eax, [esp + 0x6c]
push 0x17
push eax
call fcn.0042e4d0
mov eax, dword [esp + 0x74]
add esp, 0x48
cmp eax, ebx
je 0x40928e
push eax
call edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push str.Bar_State_SCBar_105
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x44], ebx
call esi
cmp eax, ebx
jne 0x4092e9
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x4092db
push ecx
call edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
cmp eax, ebx
mov eax, dword [esp + 0x24]
sete byte [esp + 0x1b]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40930e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], bl
je 0x4093b6
push str.Expanded
lea ecx, [esp + 0x30]
push ebx
push ecx
call fcn.0042e4d0
push str.sizeFloatCX
lea edx, [esp + 0x3c]
push 0xe1
push edx
call fcn.0042e4d0
push str.sizeFloatCY
lea eax, [esp + 0x48]
push 0x50
push eax
call fcn.0042e4d0
push str.sizeHorzCX
lea ecx, [esp + 0x54]
push 0x241
push ecx
call fcn.0042e4d0
push str.sizeHorzCY
lea edx, [esp + 0x60]
push 0x18e
push edx
call fcn.0042e4d0
push str.sizeVertCX
lea eax, [esp + 0x6c]
push 0x1d1
push eax
call fcn.0042e4d0
add esp, 0x48
push str.sizeVertCY
lea ecx, [esp + 0x30]
push 0x207
push ecx
call fcn.0042e4d0
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebx
je 0x4093b2
push eax
call edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push str.Bar_State_SCBar_106
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x44], ebx
call esi
cmp eax, ebx
jne 0x40940d
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x4093ff
push ecx
call edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
cmp eax, ebx
mov eax, dword [esp + 0x24]
sete byte [esp + 0x1b]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409432
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], bl
je 0x4094da
push str.Expanded
lea ecx, [esp + 0x30]
push ebx
push ecx
call fcn.0042e4d0
push str.sizeFloatCX
lea edx, [esp + 0x3c]
push 0xe1
push edx
call fcn.0042e4d0
push str.sizeFloatCY
lea eax, [esp + 0x48]
push 0x64
push eax
call fcn.0042e4d0
push str.sizeHorzCX
lea ecx, [esp + 0x54]
push 0x1bf
push ecx
call fcn.0042e4d0
push str.sizeHorzCY
lea edx, [esp + 0x60]
push 0x18e
push edx
call fcn.0042e4d0
push str.sizeVertCX
lea eax, [esp + 0x6c]
push 0x1d1
push eax
call fcn.0042e4d0
add esp, 0x48
push str.sizeVertCY
lea ecx, [esp + 0x30]
push 0x143
push ecx
call fcn.0042e4d0
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebx
je 0x4094d6
push eax
call edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push str.Bar_State_Summary
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00403710
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x44], ebx
call esi
cmp eax, ebx
jne 0x409531
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x409523
push ecx
call edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
cmp eax, ebx
mov eax, dword [esp + 0x24]
sete byte [esp + 0x1b]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409556
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], bl
je 0x4095ab
push str.Bars
lea ecx, [esp + 0x30]
push 5
push ecx
call fcn.0042e4d0
push str.ScreenCX
lea edx, [esp + 0x3c]
push 0x400
push edx
call fcn.0042e4d0
push str.ScreenCY
lea eax, [esp + 0x48]
push 0x300
push eax
call fcn.0042e4d0
mov eax, dword [esp + 0x50]
add esp, 0x24
cmp eax, ebx
je 0x4095a7
push eax
call edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea eax, [ebp - 0x10]
mov byte [esp + 0x40], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4095d6
push eax
call edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret