Function at 0x678ee4b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6798c4c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x30]
lea ebp, [esi + 0x6c]
not ecx
dec ecx
lea eax, [esp + 0x30]
mov dword [esp + 0x14], ecx
push edi
push eax
mov ecx, ebp
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x70]
lea ebx, [esi + 0x70]
xor eax, eax
mov edx, dword [ecx - 8]
mov dword [esp + 0x30], eax
cmp edi, edx
jge 0x678ee59b
jmp 0x678ee52e
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x14]
jge 0x678ee59b
mov edx, dword [esp + 0x2c]
test edi, edi
mov dl, byte [eax + edx]
mov byte [esp + 0x10], dl
jl 0x678ee57e
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jge 0x678ee57e
mov al, byte [eax + edi]
mov cl, byte [esi + 0x58]
cmp al, cl
jne 0x678ee57e
cmp dl, cl
je 0x678ee56c
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push edi
push ecx
mov ecx, esi
call dword [eax + 0xc8]
test eax, eax
je 0x678ee57e
mov edx, dword [esp + 0x10]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CString::operator
inc dword [esp + 0x30]
jmp 0x678ee593
mov eax, dword [ebx]
mov cl, byte [eax + edi]
mov byte [esp + 0x18], cl
mov ecx, ebp
mov edx, dword [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebx]
inc edi
cmp edi, dword [eax - 8]
jl 0x678ee52a
mov eax, dword [esp + 0x34]
test eax, eax
je 0x678ee6c1
mov eax, dword [esi + 0x20]
test eax, eax
je 0x678ee72e
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x2c]
mov edi, 1
push ecx
mov ecx, esi
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [ebx]
mov ecx, dword [ebp]
mov eax, dword [edx - 8]
mov ecx, dword [ecx - 8]
cmp ecx, eax
jle 0x678ee604
lea edx, [esp + 0x30]
push eax
push edx
mov ecx, ebp
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, ebp
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::operator_3
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x30]
jmp 0x678ee62c
jge 0x678ee631
sub eax, ecx
push eax
lea eax, [esp + 0x34]
push ecx
push eax
mov ecx, ebx
call sub.MFC42.DLL_CString::Mid_1
push eax
mov ecx, ebp
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_HideCaret]
mov eax, dword [ebp]
mov edx, dword [esp + 0x2c]
push eax
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x678ee67a
mov ebp, dword [ebp]
mov ecx, esi
push ebp
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [esi + 0x74]
test eax, eax
je 0x678ee670
lea eax, [esp + 0x2c]
lea ecx, [esi + 0x64]
push eax
call sub.MFC42.DLL_CString::operator_3
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], edi
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push ecx
mov ecx, dword [esi + 0x20]
push 0xb1
push ecx
mov dword [esi + 0x74], 0
call ebx
mov edx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push edx
call ebx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_ShowCaret]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
jmp 0x678ee729
mov ecx, dword [ebx]
mov edx, dword [ebp]
mov eax, dword [ecx - 8]
mov ecx, dword [edx - 8]
cmp ecx, eax
jle 0x678ee6fb
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, ebp
mov dword [esp + 0x28], 4
call sub.MFC42.DLL_CString::operator_3
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
jmp 0x678ee729
jge 0x678ee72e
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CString::Mid_1
push eax
mov ecx, ebp
mov dword [esp + 0x28], 5
call sub.MFC42.DLL_CString::operator_1
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc