Function at 0x40c210
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x410e14
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0x41646c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x20]
mov dword [esp + 0x568], 0
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x28]
mov byte [esp + 0x568], 1
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x568], 2
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x568], 3
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x24]
mov byte [esp + 0x568], 4
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x14c]
mov bl, 5
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x354]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x458]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x250]
rep stosd dword es:[edi], eax
push 0x3f1
mov ecx, ebp
mov byte [esp + 0x568], bl
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [esp + 0x2c], eax
lea esi, [ebp + 0x68]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0040a9a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x568], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x564], bl
call fcn.0040f2ca
lea ecx, [esp + 0x14]
push str.KMScanList.dat
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x568], 7
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x564], bl
lea ecx, [esp + 0x10]
call fcn.0040f2ca
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea ecx, [esp + 0x4c]
push 0x104
push ecx
push 0x41646c
push str.Number
push str.MachineList
call edi
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
cmp eax, 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], 1
jl 0x40c5c2
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x354]
push 0xa
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0xc
lea edx, [esp + 0x354]
lea ecx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x24]
lea ecx, [esp + 0x44]
push eax
push str.Machine
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x568], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x44]
mov byte [esp + 0x564], bl
call fcn.0040f2ca
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x150]
push 0x104
push eax
push 0x41646c
push str.MachineName
push ecx
call edi
push ecx
lea edx, [esp + 0x150]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.0040ac60
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x568], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x564], bl
call fcn.0040f2ca
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
push ecx
push 0
mov eax, dword [edx + 0x20]
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x10], 1
jne 0x40c5ad
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x254]
push 0x104
push edx
push 0x41646c
push str.Type
push eax
call edi
push ecx
lea edx, [esp + 0x254]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call fcn.0040ac60
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x568], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x40]
mov byte [esp + 0x564], bl
call fcn.0040f2ca
mov ecx, dword [esp + 0x20]
push ecx
push 0x436
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x45c]
push 0x104
push eax
push 0x41646c
push str.Type
push ecx
call edi
push ecx
lea edx, [esp + 0x45c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.0040ac60
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x568], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x564], bl
call fcn.0040f2ca
mov ecx, dword [esp + 0x28]
push ecx
push 0x437
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push edx
push 0xffffffffffffffff
mov ecx, dword [eax + 0x20]
push 0x14d
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x40c3be
lea ecx, [esp + 0x20]
mov byte [esp + 0x564], 4
call fcn.0040f2ca
lea ecx, [esp + 0x28]
mov byte [esp + 0x564], 3
call fcn.0040f2ca
lea ecx, [esp + 0x18]
mov byte [esp + 0x564], 2
call fcn.0040f2ca
lea ecx, [esp + 0x24]
mov byte [esp + 0x564], 1
call fcn.0040f2ca
lea ecx, [esp + 0x1c]
mov byte [esp + 0x564], 0
call fcn.0040f2ca
lea ecx, [esp + 0x14]
mov dword [esp + 0x564], 0xffffffff
call fcn.0040f2ca
mov ecx, dword [esp + 0x55c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x558
ret