Function at 0x4095f0
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 0x4096b4
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x4096a6
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 0x4096d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], bl
je 0x409787
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 0x69
push ecx
call fcn.0042e4d0
push str.Bar4
lea edx, [esp + 0x60]
push 0x6a
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 0x409783
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 0x4097de
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x4097d0
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 0x409803
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], bl
je 0x409907
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 0x22d
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 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 0x241
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 0x409903
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 0x40995e
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x409950
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 0x409983
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], bl
je 0x409a82
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 ebx
push edx
call fcn.0042e4d0
push str.MRUDockRightPos
lea eax, [esp + 0x6c]
push 0x241
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 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 0x409a7e
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 0x409ad9
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x409acb
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 0x409afe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], bl
je 0x409ba6
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 0x409ba2
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 0x409bfd
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x409bef
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 0x409c22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], bl
je 0x409cca
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 0x409cc6
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 0x409d21
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x409d13
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 0x409d46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], bl
je 0x409d9b
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 0x409d97
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 0x409dbb
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 0x409dc6
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