Function at 0x403680
Capabilities:
Get number of processors
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x40fbc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x32c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x41646c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x20]
mov dword [esp + 0x348], 0
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x348], 1
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x24]
mov byte [esp + 0x348], 2
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x238]
mov bl, 3
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x134]
rep stosd dword es:[edi], eax
push 0x3f1
mov ecx, esi
mov byte [esp + 0x348], bl
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [esp + 0x28], eax
lea edi, [esi + 0x64]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.0040a9a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x348], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], bl
call fcn.0040f2ca
lea ecx, [esp + 0x10]
push str.KMScanList.dat
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x348], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], bl
call fcn.0040f2ca
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
push 0x104
push ecx
push 0x41646c
push str.Number
push str.MachineList
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ebp, eax
mov esi, 1
cmp ebp, esi
jl 0x4038c5
lea eax, [esp + 0x134]
push 0xa
push eax
push esi
call dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0xc
lea ecx, [esp + 0x134]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push str.Machine
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x348], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], bl
call fcn.0040f2ca
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x23c]
push 0x104
push edx
push 0x41646c
push str.MachineName
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x23c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.0040ac60
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x348], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x344], bl
call fcn.0040f2ca
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push ecx
push 0
mov eax, dword [edx + 0x20]
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
inc esi
cmp esi, ebp
jle 0x4037de
lea ecx, [esp + 0x20]
mov byte [esp + 0x344], 2
call fcn.0040f2ca
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 1
call fcn.0040f2ca
lea ecx, [esp + 0x1c]
mov byte [esp + 0x344], 0
call fcn.0040f2ca
lea ecx, [esp + 0x10]
mov dword [esp + 0x344], 0xffffffff
call fcn.0040f2ca
mov ecx, dword [esp + 0x33c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x338
ret