Function at 0x41a6ee
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439244
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1c8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18c], ecx
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 0xa8], 1
jne 0x41a737
mov ecx, dword [ebp - 0x18c]
cmp dword [ecx + 0x8c], 0
jne 0x41a73c
jmp 0x41accb
mov ecx, dword [ebp - 0x18c]
add ecx, 0xc4
call fcn.004014c0
push eax
push 1
push str.AutoShrink
push 0x44a618
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x18c]
mov dword [edx + 0x6c], eax
mov ecx, dword [ebp - 0x18c]
add ecx, 0xc4
call fcn.004014c0
push eax
push 0x1f4
push str.AutoShrinkSize
push 0x44a634
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x18c]
mov dword [ecx + 0x70], eax
mov edx, dword [ebp - 0x18c]
cmp dword [edx + 0x70], 0x64
jl 0x41a7b4
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 0x70], 0x2710
jle 0x41a7c1
mov ecx, dword [ebp - 0x18c]
mov dword [ecx + 0x70], 0x1f4
mov ecx, dword [ebp - 0x18c]
add ecx, 0xc4
call fcn.004014c0
push eax
push 0xa
push str.AutoShrinkInterval
push 0x44a654
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x18c]
mov dword [edx + 0xa4], eax
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 0xa4], 0xa
jl 0x41a80f
mov ecx, dword [ebp - 0x18c]
cmp dword [ecx + 0xa4], 0x3c
jle 0x41a81f
mov edx, dword [ebp - 0x18c]
mov dword [edx + 0xa4], 0xa
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 0x6c], 0
je 0x41acbe
push 0xff
lea ecx, [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [ebp - 0x12c]
push edx
mov ecx, dword [ebp - 0x18c]
add ecx, 0xcc
call sub.MFC42.DLL_CString::operator_2
push str.AutoShrink.sql
mov ecx, dword [ebp - 0x18c]
add ecx, 0xcc
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CFileFind::CFileFind
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x18c]
add ecx, 0xcc
call fcn.004014c0
push eax
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x41ac88
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.00408ce0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 3
push str.select_filename_from_sysfiles
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 4], 4
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0x44e9fc
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x15c], esp
lea edx, [ebp - 0x130]
push edx
call fcn.004355ce
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x18c]
add ecx, 0x138
call fcn.004058f0
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp - 0x1a0]
push edx
lea ecx, [ebp - 0x138]
call fcn.00408d60
lea ecx, [ebp - 0x160]
call fcn.00408d80
lea ecx, [ebp - 0x138]
call fcn.00408da0
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
call fcn.00409cd0
mov word [ebp - 0x1a6], ax
movsx eax, word [ebp - 0x1a6]
test eax, eax
jne 0x41ab9d
lea ecx, [ebp - 0x14c]
call fcn.00409770
mov byte [ebp - 4], 6
push str.filename
lea ecx, [ebp - 0x170]
call fcn.00409790
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x138]
call fcn.00408da0
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b0]
push edx
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.00409e90
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x1bc]
push edx
lea ecx, [ebp - 0x14c]
call fcn.004097d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x180]
call fcn.00409880
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x170]
call fcn.00409880
mov eax, dword [ebp - 0x14c]
and eax, 0xffff
cmp eax, 1
je 0x41aa7e
push 0
push 8
lea ecx, [ebp - 0x14c]
call fcn.00409820
mov ecx, dword [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x134]
call fcn.004356ca
jmp 0x41aa8e
push 0x44ea00
lea ecx, [ebp - 0x134]
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14c]
call fcn.00409880
lea ecx, [ebp - 0x134]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [ebp - 0x134]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 9
push 3
lea edx, [ebp - 0x184]
push edx
lea ecx, [ebp - 0x134]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1c8]
push ecx
lea ecx, [ebp - 0x13c]
call fcn.004355a4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x184]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::MakeLower
push 0x44a69c
lea edx, [ebp - 0x13c]
push edx
call fcn.00408f60
mov byte [ebp - 0x1cc], al
mov eax, dword [ebp - 0x1cc]
and eax, 0xff
test eax, eax
je 0x41ab6d
lea ecx, [ebp - 0x134]
push ecx
mov ecx, dword [ebp - 0x18c]
add ecx, 0xc8
call fcn.004355a4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::CString
jmp 0x41ab9d
lea ecx, [ebp - 0x138]
call fcn.00408da0
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1d0]
call fcn.00409d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::CString
jmp 0x41a974
jmp 0x41ac58
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x134]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.00408d80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CString::CString
push 0
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0xa4]
imul edx, edx, 0x3c
imul edx, edx, 0x3e8
push edx
push 0x73
mov ecx, dword [ebp - 0x18c]
call fcn.00401540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004355da
jmp 0x41accb
push 0x73
mov ecx, dword [ebp - 0x18c]
call fcn.00401570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret