Function at 0x42cd90
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, 0x4a89dc
call fcn.0044c320
sub esp, 0x10
push esi
push edi
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_5
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
xor edi, edi
push 0x4eb814
push eax
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_5
cmp byte [ebp + 8], 0
mov byte [ebp - 4], 1
jne 0x42ce02
mov esi, dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetInstallFolder_void_]
lea eax, [ebp + 8]
push eax
call esi
pop ecx
push dword [ebp - 0x1c]
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x18]
push 0x4ed214
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
jmp 0x42ce43
cmp byte [ebp + 8], 1
je 0x42ce18
cmp byte [ebp + 8], 2
je 0x42ce18
mov esi, 0x80070057
jmp 0x42d23d
mov esi, dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetInstallFolder_void_]
lea eax, [ebp + 8]
push eax
call esi
pop ecx
push dword [eax]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push 0x4ed210
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42ce5a
test al, 0x10
jne 0x42ce72
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x42ce72
mov esi, 0x80004005
jmp 0x42d23d
push ebx
mov dword [ebp - 0x10], edi
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
lea edx, [ebp - 0x10]
push edx
push 0x4ba558
mov eax, dword [eax + 0xd4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [ebp - 0x10]
push str.CQQ_USER_DATA
push eax
mov byte [ebp - 4], 4
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.GQQ_USER_DATA
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.HQQ_USER_DATA
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.SESSION_USER_DATA
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.BQQ_USER_DATA
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.SBuddy_USER_DATA
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.BUSER_DATA
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.MQQ_USER_DATA
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.MQQ_SMSCENTER_SENTDATA
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.M_LIST_SETTING
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.MsgFileName
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.SYS_CONFIG_DATA
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.CURRENT_USER_DATA
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push str.CURRENT_USER_BIND_DATA
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.SHARE_INFO_FILE
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.SHARE_CONFIG_FILE
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.SHARE_PASSWORD_HISTORY
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.SHARE_BROWSE_HISTORY
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.SHARE_DOWNLOAD_HISTORY
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, str.RC_USER_DATA
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
mov edi, str.IM_INFO_DATA
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push str._sUser.db
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [eax]
push str.402CQQUserData.dat
push dword [ebp - 0x14]
push str.CQQ_USER_DATA
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.402GQQUserData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.GQQ_USER_DATA
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.402HQQUserData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.HQQ_USER_DATA
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.402SESSIONUserData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.SESSION_USER_DATA
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.402BQQUserData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.BQQ_USER_DATA
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.402SBuddyUserData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.SBuddy_USER_DATA
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.402BUserUserData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.BUSER_DATA
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.402MQQUserData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.MQQ_USER_DATA
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.402RCUserUserData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.402MQQConfig.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.MQQ_SMSCENTER_SENTDATA
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.402MQQMListSetting.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.M_LIST_SETTING
push eax
call dword [ecx + 0x10]
lea eax, [ebp + 8]
push eax
call esi
pop ecx
push dword [ebp - 0x1c]
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x14]
push str._s_sMsgEx.db
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
push 0
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.MsgFileName
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
push str.IMInfoinfo.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x10]
lea eax, [ebp + 8]
push eax
call esi
pop ecx
push dword [ebp - 0x1c]
mov byte [ebp - 4], 6
push dword [eax]
lea eax, [ebp - 0x14]
push str._s_sConfig.db
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
push str.ComQQSysData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.SYS_CONFIG_DATA
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.ComQQUserData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.CURRENT_USER_DATA
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.ComQQUserBindData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.CURRENT_USER_BIND_DATA
push eax
call dword [ecx + 0x10]
lea eax, [ebp + 8]
push eax
call esi
pop ecx
push dword [ebp - 0x1c]
mov byte [ebp - 4], 7
push dword [eax]
lea eax, [ebp - 0x14]
push str._s_sShareInfo.db
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
push str.ComQQShareFilesInfo.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.SHARE_INFO_FILE
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.ComQQShareFilesConfig.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.SHARE_CONFIG_FILE
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.ComQQShareFilesPassword.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.SHARE_PASSWORD_HISTORY
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.ComQQShareFilesBrowse.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.SHARE_BROWSE_HISTORY
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push str.ComQQShareFilesDownload.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.SHARE_DOWNLOAD_HISTORY
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
xor esi, esi
pop ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret