Function at 0x40686a
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x40bdc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
xor ebp, ebp
xor ebx, ebx
call fcn.0040ad96
mov dword [esp + 0x38], ebp
call dword [sym.imp.MSVCRT.dll_clock]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov al, byte [esi + 0x61d90]
test al, al
jne 0x406a81
mov eax, dword [0x42fd10]
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + eax + 0x20]
mov eax, dword [0x42fd0c]
cmp ebp, eax
jb 0x406907
push edi
lea edx, [ebx + 0x2000000]
push ebp
push edx
mov ecx, esi
call fcn.00406ab0
test al, al
je 0x406a69
mov edx, dword [esp + 0x14]
lea eax, [edi + ebx - 1]
push eax
push ebx
lea ecx, [esp + 0x18]
add edx, 0x64
push str.ERASE_Sector_:_0x_08X__0x_08X..__OK
push ecx
mov dword [esp + 0x24], edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004062a0
mov ecx, dword [0x42fd08]
mov eax, dword [esp + 0x14]
add ebx, edi
mov edi, dword [0x42fd0c]
sub ecx, edi
xor edx, edx
inc ecx
lea edi, [esi + 0x6233c]
div ecx
mov ecx, edi
push eax
mov dword [esi + 0x61d8c], eax
call fcn.0040a810
mov edx, dword [esi + 0x61d8c]
lea eax, [esp + 0x10]
push edx
push str.Erase_:__3d___Completed.
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea edx, [esp + 0x10]
push 0x42ecec
lea eax, [esp + 0x24]
push edx
push eax
call sub.MFC42.DLL_operator
push 0x42fd00
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, dword [0x42fd08]
inc ebp
add ecx, 0xc
cmp ebp, eax
mov dword [esp + 0x18], ecx
jbe 0x406891
push 0
lea ecx, [esi + 0x6233c]
call fcn.0040a810
call dword [sym.imp.MSVCRT.dll_clock]
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
sub eax, ebx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul qword [0x42c2c0]
fstp qword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
push str.Erasing_Flash._Done___5.1fs_
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004062a0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.004062a0
mov ecx, esi
call fcn.00405ec0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.EraseSector_Error
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.004062a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret