Function at 0x411a56
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4419ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x19c8
call fcn.004401c0
mov dword [ebp - 0x19ac], ecx
xor eax, eax
mov al, byte [0x45b510]
and eax, 1
test eax, eax
jne 0x411ab2
mov cl, byte [0x45b510]
or cl, 1
mov byte [0x45b510], cl
mov ecx, 0x45b0f0
call fcn.00410f90
push 0x411ff8
call fcn.00440234
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.00402550
push eax
mov ecx, 0x45b0f0
call fcn.004111bc
and eax, 0xff
cmp eax, 1
jne 0x411ad7
jmp 0x411fe8
push 0x45b52c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov byte [ebp - 0x10], 1
cmp dword [ebp + 0xc], 0
jne 0x411c07
xor edx, edx
mov dl, byte [0x45b510]
and edx, 2
test edx, edx
jne 0x411b38
mov al, byte [0x45b510]
or al, 2
mov byte [0x45b510], al
push 0x455b44
push 0
push str.OldMsgMode
push str.Fapi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov byte [0x45b0e9], al
mov ecx, dword [ebp + 8]
add ecx, 0x28
push ecx
call fcn.0041131e
add esp, 4
mov edx, dword [ebp + 8]
add edx, 0x28
push edx
push 0x455b64
lea eax, [ebp - 0x1994]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x19b0], eax
mov ecx, dword [ebp - 0x19b0]
mov dword [ebp - 0x19b4], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x19b4]
push edx
lea ecx, [ebp - 0x14]
call fcn.0043fa38
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1994]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.00402550
push eax
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadCncLanguageString_char_const__]
add esp, 4
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x28
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x14]
call fcn.00402550
push eax
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadCncLanguageString_char_const__]
add esp, 4
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
xor eax, eax
mov al, byte [0x45b0e9]
test eax, eax
jne 0x411c07
mov ecx, dword [ebp + 8]
add ecx, 0x28
push ecx
call fcn.0041165d
add esp, 4
mov byte [ebp - 0x10], al
mov edx, dword [ebp + 8]
add edx, 0x28
push edx
call fcn.00411473
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.00411473
add esp, 4
push 0x15
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.004120e0
movsx ecx, al
cmp ecx, 0x20
jne 0x411ce3
lea ecx, [ebp - 0x18]
call fcn.0043fa26
mov byte [ebp - 4], 2
push 0x455b68
push 0x12
lea edx, [ebp - 0x1998]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x28
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x19b8], eax
mov eax, dword [ebp - 0x19b8]
mov dword [ebp - 0x19bc], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x19bc]
push ecx
lea edx, [ebp - 0x199c]
push edx
call sub.MFC42.DLL_operator_3
mov dword [ebp - 0x19c0], eax
mov eax, dword [ebp - 0x19c0]
mov dword [ebp - 0x19c4], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x19c4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0043fa38
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x199c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1998]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.00402550
add eax, 0x12
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.0043fa38
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
call fcn.00412140
test eax, eax
jne 0x411dc3
push 0x15
lea ecx, [ebp - 0x14]
call fcn.004120e0
movsx eax, al
cmp eax, 0x20
jne 0x411dc3
lea ecx, [ebp - 0x1c]
call fcn.0043fa26
mov byte [ebp - 4], 5
push 0x455b6c
push 0x12
lea ecx, [ebp - 0x19a0]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x19c8], eax
mov edx, dword [ebp - 0x19c8]
mov dword [ebp - 0x19cc], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x19cc]
push eax
lea ecx, [ebp - 0x19a4]
push ecx
call sub.MFC42.DLL_operator_3
mov dword [ebp - 0x19d0], eax
mov edx, dword [ebp - 0x19d0]
mov dword [ebp - 0x19d4], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x19d4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043fa38
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19a4]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x19a0]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
call fcn.00402550
add eax, 0x12
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043fa38
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x10]
and edx, 0xff
test edx, edx
je 0x411f00
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
mov ecx, dword [ebp - 0x19ac]
add ecx, 0x4a4
call sub.MFC42.DLL_CStringList::AddTail
mov ecx, dword [ebp - 0x19ac]
add ecx, 0x4a4
call fcn.00412120
cmp eax, 0x1f4
jle 0x411e29
lea ecx, [ebp - 0x19a8]
push ecx
mov ecx, dword [ebp - 0x19ac]
add ecx, 0x4a4
call sub.MFC42.DLL_CStringList::RemoveHead
lea ecx, [ebp - 0x19a8]
call sub.MFC42.DLL_CString::CString
jmp 0x411dec
push 0x181e
lea ecx, [ebp - 0x1990]
call fcn.004024c0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x1990]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x19ac]
cmp dword [eax + 0x3c4], 0
je 0x411e85
push 0
push 0
push 0
lea ecx, [ebp - 0x1990]
push ecx
push 2
mov edx, dword [ebp - 0x19ac]
mov eax, dword [edx + 0x3c4]
push eax
mov ecx, dword [ebp - 0x19ac]
call fcn.0041b9ec
mov ecx, dword [ebp - 0x19ac]
cmp dword [ecx + 0x3c8], 0
je 0x411ebb
push 0
push 0
push 0
lea edx, [ebp - 0x1990]
push edx
push 2
mov eax, dword [ebp - 0x19ac]
mov ecx, dword [eax + 0x3c8]
push ecx
mov ecx, dword [ebp - 0x19ac]
call fcn.0041b9ec
mov edx, dword [ebp - 0x19ac]
cmp dword [edx + 0x3c0], 0
je 0x411ef1
push 0
push 0
push 0
lea eax, [ebp - 0x1990]
push eax
push 2
mov ecx, dword [ebp - 0x19ac]
mov edx, dword [ecx + 0x3c0]
push edx
mov ecx, dword [ebp - 0x19ac]
call fcn.0041b9ec
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1990]
call fcn.00402520
lea ecx, [ebp - 0x14]
call fcn.00412140
cmp eax, 1
jne 0x411f2c
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.00402550
push eax
mov eax, dword [ebp - 0x19ac]
mov ecx, dword [eax + 0x440]
call fcn.00407430
jmp 0x411f46
lea ecx, [ebp - 0x14]
call fcn.00402550
push eax
mov ecx, dword [ebp - 0x19ac]
mov ecx, dword [ecx + 0x440]
call fcn.00407430
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.00402550
push eax
mov edx, dword [ebp - 0x19ac]
mov ecx, dword [edx + 0x11c]
call fcn.00405779
push 0x455b70
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.00402550
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x411f9e
push 1
push str.924_____DPSAVE_command_received____
mov ecx, dword [ebp - 0x19ac]
call fcn.0040c713
mov ecx, dword [ebp - 0x19ac]
call fcn.0040ebe9
push str.____FILESAVE_REQUEST____
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.00402550
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x411fd9
push 1
push str.925_____FILESAVE_command_received____
mov ecx, dword [ebp - 0x19ac]
call fcn.0040c713
mov ecx, dword [ebp - 0x19ac]
call fcn.0040ec83
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8