Function at 0x405a39
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41d018
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
call sub.MFC42.DLL_CDialog::OnInitDialog
mov eax, dword [esi + 0x17c]
xor ebx, ebx
cmp eax, ebx
je 0x405d19
push ebp
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov dword [esp + 0x44], ebx
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push str.SOFTWARE_softownSkin_
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea edi, [esi + 0x64]
push 0xf003f
push eax
push 0x80000002
mov ecx, edi
mov byte [esp + 0x4c], 1
call fcn.0041bc10
lea ecx, [esp + 0x1c]
mov ebp, eax
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
cmp ebp, ebx
je 0x405cf0
lea eax, [esp + 0x24]
mov ecx, edi
push eax
push str.left
call fcn.0041bce0
lea ecx, [esp + 0x2c]
push ecx
push 0x426188
mov ecx, edi
call fcn.0041bce0
lea edx, [esp + 0x20]
mov ecx, edi
push edx
push str.right
call fcn.0041bce0
lea eax, [esp + 0x28]
mov ecx, edi
push eax
push str.bottom
call fcn.0041bce0
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jle 0x405b20
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp eax, edx
jle 0x405b20
sub eax, edx
push 1
sub ecx, ebp
push eax
push ecx
push edx
push ebp
mov ecx, esi
call sub.MFC42.DLL_CWnd::MoveWindow
lea ecx, [esi + 0x160]
push ecx
push str.state
mov ecx, edi
call fcn.0041bce0
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
push 0x426168
mov dword [esp + 0x24], ebx
call fcn.0041bce0
lea ebp, [esi + 0x168]
mov ecx, edi
push ebp
push str.hidden
call fcn.0041bce0
mov edx, dword [ebp]
lea ecx, [esi + 0x164]
cmp edx, ebx
push ecx
setne al
and eax, 0xff
push str.trayicon
mov ecx, edi
mov dword [ebp], eax
call fcn.0041bce0
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x405b92
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
cmp eax, ebx
jne 0x405b96
xor eax, eax
jmp 0x405b99
mov eax, dword [eax + 0x20]
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
cmp ebp, ebx
push 3
push ebx
push ebx
setne cl
push ebx
add ecx, 0xfffffffe
push ebx
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x10]
mov ebx, 2
push edx
push str.skin
mov ecx, edi
mov byte [esp + 0x48], bl
call fcn.0041bd20
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x405c9b
push eax
mov ecx, esi
call fcn.00419520
test eax, eax
jne 0x405c8f
lea eax, [esp + 0x34]
mov ecx, esi
push eax
call fcn.004069b0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x44], 4
call fcn.00419520
lea ecx, [esp + 0x30]
mov ebp, eax
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
test ebp, ebp
jne 0x405c8f
call sub.MFC42.DLL_AfxGetModuleState
mov ebp, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
push eax
call ebx
add esp, 4
and eax, 0xffff
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x405c84
mov ecx, dword [esp + 0x10]
push ecx
call ebx
add esp, 4
and eax, 0xffff
push eax
jmp 0x405c94
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
jmp 0x405c9b
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.004075a0
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push str.color
call fcn.0041bce0
mov eax, dword [esp + 0x14]
cmp eax, 3
jb 0x405cbb
xor eax, eax
mov dword [esp + 0x14], eax
xor edi, edi
test eax, eax
jbe 0x405ce2
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x20]
push 0
push 0xf220
push 0x112
push ecx
call ebp
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jb 0x405cc7
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
mov ecx, dword [esp + 0x30]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret