Function at 0x450390
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5509e1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x45060a
cmp dword [edi + 0x68c], 0
jne 0x45080f
push 0
mov ecx, edi
call sub.mfc90u.dll_CWnd::ShowWindow
mov eax, dword [edi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_SetParent]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
push 0
push 0x80cf0000
push 0x40000000
mov ecx, edi
call sub.mfc90u.dll_CWnd::ModifyStyle
push 0
push 0x40100
push 0x2000020
mov ecx, edi
call sub.mfc90u.dll_CWnd::ModifyStyleEx
push 5
mov ecx, edi
call sub.mfc90u.dll_CWnd::ShowWindow
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.004530e0
add esp, 8
mov dword [esp + 0x38], 0
mov eax, dword [eax]
push eax
mov ecx, edi
call sub.mfc90u.dll_CWnd::SetWindowTextW
or esi, 0xffffffff
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [edi + 0x780]
push edi
push edx
mov ecx, edi
call fcn.00454690
mov eax, dword [edi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call sub.mfc90u.dll_CMenu::FromHandle
mov ebx, eax
test ebx, ebx
je 0x45050f
lea ecx, [esp + 0x10]
call dword [0x55a6c4]
mov dword [esp + 0x38], 1
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x4800
mov ecx, ebx
call sub.mfc90u.dll_CMenu::GetMenuStringW
test eax, eax
jne 0x450501
mov edx, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
push eax
push eax
push 0x800
push edx
call esi
push str.wtwMessage
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov byte [esp + 0x38], 2
push 0x568290
push 0x3ff
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x5c6f7c]
call fcn.00504820
mov ecx, dword [ebx + 4]
push eax
push 0x4800
push 0
push ecx
call esi
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
or esi, 0xffffffff
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x63
push 0
push 0
push 0
push 0
push 0
mov ecx, edi
call sub.mfc90u.dll_CWnd::SetWindowPos
mov ecx, edi
call dword [sym.imp.libUI.module_public:_int___thiscall_CUIDialog::InitSuperBar_void_]
mov ebx, dword [0x5c7008]
lea edx, [esp + 0x1c]
push edx
push 0xc8
push str.CC_Pos_X
call fcn.00514350
mov ebx, dword [0x5c7008]
lea eax, [esp + 0x20]
push eax
push 0x64
push str.CC_Pos_Y
call fcn.00514350
mov ebx, dword [0x5c7008]
lea ecx, [esp + 0x14]
push ecx
push 0x190
push str.CC_Pos_W
call fcn.00514350
mov ebx, dword [0x5c7008]
lea edx, [esp + 0x18]
push edx
push 0x12c
push str.CC_Pos_H
call fcn.00514350
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push 1
add eax, edx
add ecx, ebx
sub eax, edx
push eax
sub ecx, ebx
push ecx
push edx
push ebx
mov ecx, edi
call sub.mfc90u.dll_CWnd::MoveWindow
mov ebx, dword [0x5c7008]
lea edx, [esp + 0x18]
push edx
push 0
push str.CC_Pos_Z
call fcn.00514350
cmp dword [esp + 0x18], 0
je 0x4505db
push 3
mov ecx, edi
call sub.mfc90u.dll_CWnd::ShowWindow
push str.Chat_OnDetached
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov dword [esp + 0x38], 3
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00449660
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x14]
jmp 0x450800
cmp dword [edi + 0x68c], 0
je 0x45080f
mov ecx, edi
call dword [sym.imp.libUI.module_public:_int___thiscall_CUIDialog::KillSuperBar_void_]
mov eax, dword [edi + 0x780]
test eax, eax
je 0x45062c
mov eax, dword [eax + 0x20]
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetParent]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
push 0
push 0x40000000
push 0x80cf0000
mov ecx, edi
call sub.mfc90u.dll_CWnd::ModifyStyle
push 0
push 0x2000020
push 0x40100
mov ecx, edi
call sub.mfc90u.dll_CWnd::ModifyStyleEx
push 0x33
push 0
push 0
push 0
push 0
push 0
mov ecx, edi
call sub.mfc90u.dll_CWnd::SetWindowPos
mov esi, edi
call fcn.0044a4a0
lea ecx, [esp + 0x10]
mov esi, eax
call dword [0x55a6c4]
mov dword [esp + 0x38], 4
push str.Image_IconMain16
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov byte [esp + 0x38], 5
test esi, esi
je 0x45073f
lea edx, [esp + 0x14]
push edx
call fcn.0051c8b0
mov eax, dword [esi + 0xb4]
lea ebx, [esi + 0xb4]
add esp, 4
cmp dword [eax - 0xc], 0
je 0x45072c
push str.META
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x38], 6
mov eax, dword [0x5c7044]
add eax, 0x810
lea ecx, [esp + 0x18]
mov edx, ebx
call fcn.00414f10
mov ebx, eax
mov byte [esp + 0x38], 5
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x10]
test ebx, ebx
je 0x45071d
add ebx, 0xa0
push ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
jmp 0x450786
add esi, 0xa0
push esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
jmp 0x450786
add esi, 0xa0
push esi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
jmp 0x450786
push str.wtwMessage
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x38], 7
mov eax, dword [0x5c6f7c]
push str.Nieznany_kontakt
push 0x400
lea ecx, [esp + 0x20]
push ecx
call fcn.00504820
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov byte [esp + 0x38], 5
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [edi + 0x780]
lea edx, [esp + 0x14]
push edx
push edi
lea eax, [esp + 0x18]
push eax
call fcn.004040e0
push 0
push eax
mov eax, dword [edi + 0x780]
call fcn.00403750
mov ecx, dword [edi + 0x780]
push 5
call sub.mfc90u.dll_CWnd::ShowWindow
push str.Chat_OnAttached
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x38], 8
lea ecx, [esp + 0x18]
push ecx
push edi
call fcn.00449660
mov byte [esp + 0x38], 5
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x38], 4
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [ebp + 8]
mov dword [edi + 0x68c], edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4