Function at 0x410010
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41f156
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x18]
xor ebx, ebx
push 0x104
push eax
push ebx
mov dword [esp + 0x230], ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
je 0x410070
mov al, 0x5c
cmp byte [esp + ecx + 0x18], al
je 0x410070
dec ecx
jne 0x410067
mov byte [esp + ecx + 0x18], bl
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push 0x4270a0
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push str.qqcfg.dll
push eax
push ecx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x228], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x224], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41043a
push ebx
lea eax, [esp + 0x120]
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, 0x427274
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, ebx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
lea ecx, [esp + 0x120]
push ecx
push str.SavePath
push str.Setting
call esi
mov edx, dword [esp + 0x10]
push edx
push 0x4284f8
push str.AddDateFloder
push str.Setting
call esi
mov eax, dword [esp + 0x10]
push eax
push 0x427edc
push str.CreatSubFloder
push str.Setting
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0x427edc
push str.MiniWindow
push str.Setting
call esi
mov edx, dword [esp + 0x10]
push edx
push 0x4284f8
push str.CloseWindow
push str.Setting
call esi
mov eax, dword [esp + 0x10]
push eax
push 0x4284bc
push str.CloseWindowTime
push str.Setting
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0x427edc
push str.SaveRvFRecord
push str.Setting
call esi
mov edx, dword [esp + 0x10]
push edx
push 0x4284f8
push str.SaveMsg
push str.Setting
call esi
mov eax, dword [esp + 0x10]
push eax
push 0x4284f8
push str.SerchDiskPlace
push str.Setting
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0x428480
push str.DiskPlace
push str.Setting
call esi
mov edx, dword [esp + 0x10]
push edx
push 0x4284f8
push str.AutoRequit
push str.Setting
call esi
mov eax, dword [esp + 0x10]
push eax
push 0x427edc
push str.AutoStopRequit
push str.Setting
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0x427edc
push str.AutoEndRequit
push str.Setting
call esi
mov edx, dword [esp + 0x10]
push edx
push 0x427edc
push 0x428444
push str.Setting
call esi
mov eax, dword [esp + 0x10]
push eax
push 0x427edc
push str.Fileaccit
push str.Setting
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0x428434
push str.SerchPerTime
push str.Setting
call esi
mov edx, dword [esp + 0x10]
push edx
push 0x427edc
push str.AotuRun
push str.Setting
call esi
mov eax, dword [esp + 0x10]
push eax
push 0x427edc
push str.MiniAfterRun
push str.Setting
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0x4284f8
push str.CheckIco
push str.Setting
call esi
mov edx, dword [esp + 0x10]
push edx
push 0x427edc
push str.RunStasic
push str.Setting
call esi
mov eax, dword [esp + 0x10]
push eax
push 0x4283ac
push str.AnswerMsg
push str.Setting
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0x428388
push str.StopAnswerMsg
push str.Setting
call esi
mov edx, dword [esp + 0x10]
push edx
push 0x42836c
push str.EndAnswerMsg
push str.Setting
call esi
mov eax, dword [esp + 0x10]
push eax
push 0x427edc
push str.SmallWindow
push str.Setting
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0x427edc
push str.AddTimeCode
push str.Setting
call esi
mov edx, dword [esp + 0x10]
push edx
push 0x4284f8
push str.Redico
push str.Setting
call esi
mov eax, dword [esp + 0x10]
push eax
push 0x427edc
push str.AutoShutDown
push str.Setting
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0x427edc
push str.LimitQQ
push str.Setting
call esi
mov edx, dword [esp + 0x10]
push edx
push 0x4284f8
push str.QQNikeAfterDateFloder
push str.Setting
call esi
mov eax, dword [esp + 0x10]
push eax
push 0x428dd4
push str.SMSEail
push str.Setting
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0x4284f8
push str.SMSRule
push str.Setting
call esi
mov edx, dword [esp + 0x10]
push edx
push 0x4284f8
push str.SMSType
push str.Setting
call esi
mov eax, dword [esp + 0x10]
push eax
push 0x428dd4
push str.SUser
push str.Setting
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0x428dd4
push str.SPsd
push str.Setting
call esi
mov edx, dword [esp + 0x10]
push edx
push 0x428dd4
push str.Smtp
push str.Setting
call esi
mov eax, dword [esp + 0x10]
push eax
push 0x427ef8
push str.SPort
push str.Setting
call esi
jmp 0x410470
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
push ecx
push ebx
push str.AotuRun
push str.Setting
call esi
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x244], eax
push edx
push ebx
push str.MiniAfterRun
push str.Setting
call esi
mov dword [ebp + 0x440], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x224], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x218
ret