Function at 0x4255f4
Capabilities:
Check if file exists
Create directory
Get file attributes
Read .ini file

Disassembly:
mov eax, 0x4b55bc
call fcn.00458b70
sub esp, 0x16c
and dword [ebp - 0x18], 0
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x24]
call fcn.0045842e
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
pop ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0045842e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0045842e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0045842e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0045842e
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0045842e
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.004584fa
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
push dword [esi + 0x108]
call dword [sym.imp.BasicCtrlDll.dll_int___cdecl_GetCurrentUin_struct_IQQCore___unsigned_long_int__]
pop ecx
pop ecx
push 0x8434
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::LoadStringA
push 0x8435
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::LoadStringA
push 0x8436
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::LoadStringA
push 0x84ad
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::LoadStringA
push dword [ebp - 0x20]
mov edi, str._s_d_s
lea eax, [esi + 0x718]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ebx, [esi + 0x714]
push dword [ebp - 0x28]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
push ebx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [esi + 0x71c]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esi + 0x720]
mov byte [ebp - 4], 8
call fcn.00458452
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea edi, [esi + 0x71c]
push 0x500c1c
lea eax, [ebp - 0x10]
push edi
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.00458452
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebx]
push 0
push eax
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x4257c5
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4257c5
push 0xc
lea eax, [ebp - 0x54]
push 0
push eax
call sub.MSVCRT.dll_memset
mov edi, dword [edi]
and dword [ebp - 0x50], 0
add esp, 0xc
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0xc
mov dword [ebp - 0x4c], 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4257c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CFileFind::Close
jmp 0x4259d2
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CFileFind::Close
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push ebx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.004237f7
push dword [esi + 0xfc]
mov ecx, esi
mov edi, eax
call fcn.0041932e
mov ecx, esi
call fcn.004249b2
mov eax, dword [esi + 0x108]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xb
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.00425e88
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x3c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x24]
push eax
push 0x4cab04
push dword [ebp - 0x3c]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
mov eax, dword [esi + 0x10c]
add esp, 0xc
test eax, eax
je 0x425850
push dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov ecx, esi
call fcn.004249b2
lea ecx, [esi + 0x198]
call fcn.00439c40
test eax, eax
jne 0x42586e
test edi, edi
jne 0x4259b0
lea ecx, [ebp - 0x10]
call fcn.0045842e
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
movzx edi, byte [eax + 0xce]
call sub.MFC42.DLL_AfxGetAppModuleState
imul edi, edi, 0x64
mov eax, dword [eax + 4]
push 0x40
pop ecx
movzx eax, byte [eax + 0xcf]
and byte [ebp - 0x178], 0
add edi, eax
mov dword [ebp - 0x38], edi
xor eax, eax
lea edi, [ebp - 0x177]
push dword [ebx]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x178]
push 0x104
push eax
push 0x4c7fc0
push str.SysPanelVer
push str.PanelInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x30]
call fcn.0045842e
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xe
call fcn.00458488
lea ecx, [ebp - 0x40]
call fcn.0045842e
push 0x8438
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::LoadStringA
push dword [ebp - 0x30]
movzx eax, word [ebp - 0x38]
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push dword [ebp - 0x40]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [esi + 0x718]
push 0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x58], esp
push eax
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString_2
lea edi, [esi + 0x198]
mov byte [ebp - 4], 0xf
mov ecx, edi
call fcn.0043855e
cmp dword [esi + 0x724], 0
jne 0x42598c
mov ebx, 0x423ce9
mov ecx, edi
push ebx
push esi
call fcn.00426971
push ebx
push esi
mov ecx, edi
call fcn.004269c4
mov dword [esi + 0x724], 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4259c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 7
test eax, eax
je 0x4259d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret