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

Disassembly:
mov eax, 0x4b7568
call fcn.00458b70
sub esp, 0x10
push esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.0045842e
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
xor edi, edi
push 0x5007fc
push eax
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.0045842e
cmp byte [ebp + 8], 0
mov byte [ebp - 4], 1
jne 0x4358c9
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 0x4c81e8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
jmp 0x43590a
cmp byte [ebp + 8], 1
je 0x4358df
cmp byte [ebp + 8], 2
je 0x4358df
mov esi, 0x80070057
jmp 0x435d4c
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 0x502744
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 0x435921
test al, 0x10
jne 0x435939
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x435939
mov esi, 0x80004005
jmp 0x435d4c
push ebx
mov dword [ebp - 0x10], edi
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
lea edx, [ebp - 0x10]
push edx
push 0x4c9860
mov eax, dword [eax + 0xd4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea ecx, [ebp - 0x14]
call fcn.0045842e
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.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.SBuddy_USER_DATA2
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]
push str.RC_USER_DATA
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push str.IM_INFO_DATA
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, str.MMS_NODOWNLOAD_DATA
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
mov edi, str.SESSION_USER_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.402BQQUserData.dat
mov ecx, dword [eax]
push dword [ebp - 0x14]
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.402SBuddy2UserData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push str.SBuddy_USER_DATA2
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 str.RC_USER_DATA
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]
mov eax, dword [ebp - 0x10]
push str.402MQQMMSNoDownloadData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
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 str.IM_INFO_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], 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]
push str.402SESSIONUserData.dat
push dword [ebp - 0x14]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [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