Function at 0x678c2c90
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x67989b80
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
je 0x678c2f0d
mov eax, dword [edi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebp
test eax, eax
je 0x678c2f0d
mov ebx, dword [esp + 0x48]
mov dword [esi + 0x40], edi
test ebx, ebx
je 0x678c2f0d
mov ecx, dword [ebx + 0x20]
push ecx
call ebp
test eax, eax
je 0x678c2f0d
mov eax, dword [esp + 0x40]
mov dword [esi + 0x44], ebx
mov edi, dword [edi + 0x20]
push 0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0
push edi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub edi, ecx
sub eax, edx
push edi
push eax
push ecx
push edx
push 0x90400000
push sym.MfcHlpr520.dll____C__00A___AA_
push str.MHPCaptionPopupWnd
push 0x80
mov ecx, esi
call sub.MFC42.DLL_CWnd::CreateEx
test eax, eax
je 0x678c2f0d
mov ecx, dword [esi + 0x44]
test esi, esi
jne 0x678c2d3b
xor eax, eax
jmp 0x678c2d3e
mov eax, dword [esi + 0x20]
mov ecx, dword [ecx + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x44]
mov dword [esi + 0x48], eax
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x38], 0
call sym.MfcHlpr520.dll_class_CMHPResourceManager____cdecl_MHPResourceManager_void_
mov edx, dword [eax]
lea ecx, [esp + 0x44]
push 0x2483
push ecx
mov ecx, eax
call dword [edx + 8]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esi + 0x4c]
lea edi, [esi + 0x4c]
push 0xffff
lea ecx, [esp + 0x24]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPEmptyRect::constructor_void_
push eax
push 0x10000201
push 2
push ebp
push esi
mov ecx, edi
call dword [ebx + 0xd8]
test eax, eax
je 0x678c2efc
xor ebx, ebx
push 0x64
push esi
lea ecx, [esp + 0x28]
mov byte [esi + 0xad], bl
lea ebp, [esi + 0x1a8]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPEmptyRect::constructor_void_
push eax
push 0x10000f4b
push ebx
mov ecx, ebp
call sub.MFC42.DLL_CButton::Create
test eax, eax
je 0x678c2efc
lea ecx, [esp + 0x18]
mov dword [esi + 0x240], edi
call fcn.6797d8b6
push 1
push ebx
push 9
push 0xf
push 0x10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CImageList::Create_1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x67995a04
mov byte [esp + 0x38], 2
call sym.MfcHlpr520.dll_class_CMHPResourceManager____cdecl_MHPResourceManager_void_
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push 0x2456
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push 0xff00ff
neg eax
sbb eax, eax
and eax, ecx
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
push ebx
push ebx
push eax
call edi
push eax
lea ecx, [esi + 0x24c]
call sym.MfcHlpr520.dll_public:_class_CMHPIconHandle____thiscall_CMHPIconHandle::operator_struct_HICON____
mov ecx, dword [esp + 0x1c]
push ebx
push 1
push ecx
call edi
push eax
lea ecx, [esi + 0x244]
call sym.MfcHlpr520.dll_public:_class_CMHPIconHandle____thiscall_CMHPIconHandle::operator_struct_HICON____
mov eax, dword [esi + 0x248]
mov ecx, dword [esi + 0x250]
mov ebx, dword [ebp]
push 1
mov edi, 0xf
push eax
mov edx, 0x10
push ecx
push edi
push edx
mov ecx, ebp
call dword [ebx + 0xd0]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CImageList::DeleteImageList
mov edx, dword [esi + 0x20]
push 0
push 0xa
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esp + 0x10], 0x67995a18
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0x67995a40
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CImageList::CImageList
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x678c2f0f
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc