Function at 0x42c9f7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474d8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push 0x2000
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
push 0x200
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
push 0x200
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x18], edx
push 0x10
push 0
mov ecx, dword [ebp + 0xc]
call sub.MFC42.DLL_CStringArray::SetSize
push 0x10
push 0
mov ecx, dword [ebp + 0x10]
call sub.MFC42.DLL_CStringArray::SetSize
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.0042c7e5
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.00407160
push eax
push 0x2000
mov ecx, dword [ebp - 0x14]
push ecx
push 0x4974e4
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42cafd
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
jmp 0x42cbec
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, 1
test eax, eax
je 0x42cba7
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x28]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x28]
movsx edx, byte [ecx]
test edx, edx
jne 0x42cb90
lea ecx, [ebp - 0x1c]
call fcn.00407160
push eax
push 0x50
mov eax, dword [ebp - 0x18]
push eax
push 0x4974e8
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0042cf00
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0042cf00
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x28]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x42cb8e
jmp 0x42cba7
jmp 0x42cba2
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
jmp 0x42cb0b
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret