Function at 0x41aa74
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x42c908
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x28
push edi
mov edi, ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 0xd], 1
call sub.MFC42.DLL_CString::CString_3
mov ax, word [0x43eb50]
and dword [ebp - 4], 0
mov word [ebp - 0x10], ax
push 0x43eb54
lea eax, [ebp - 0x34]
push 0x14
push eax
lea eax, [ebp - 0x10]
push eax
push str.DRSVersion
push 0x43eb68
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test ax, ax
jne 0x41aade
mov ecx, dword [0x43b000]
and byte [ebp - 0xd], al
push 2
push 0
push str.DRScomm_was_not_able_to_retrieve_DRSs_ncurrent_software_version.
call fcn.0041ae3d
jmp 0x41ac6e
push esi
push ebx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x14]
push 0x43ebb8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x2e
call sub.MFC42.DLL_CString::Find_1
mov ebx, eax
lea eax, [ebp - 0x1c]
push ebx
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x18]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
call esi
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x14]
pop ecx
inc ebx
push dword [eax - 8]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ebx
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::operator_2
push 0x2e
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Find_1
mov ebx, eax
lea eax, [ebp - 0x1c]
push ebx
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x18]
call esi
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x14]
pop ecx
inc ebx
push dword [eax - 8]
lea eax, [ebp - 0x1c]
push ebx
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::operator_2
push 0x2e
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Find_1
mov ebx, eax
lea eax, [ebp - 0x1c]
push ebx
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x18]
call esi
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x14]
pop ecx
inc ebx
push dword [eax - 8]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ebx
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x18]
call esi
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp - 0x18]
mov dword [edi + 0x28], eax
call sub.MFC42.DLL_CString::CString
pop ebx
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
pop edi
leave
ret