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

Disassembly:
mov eax, 0x4ba012
call fcn.00458b70
sub esp, 0x98
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x60], esi
call sub.MFC42.DLL_CFile::CFile
xor edi, edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], edi
call fcn.0045842e
cmp dword [esi + 0xcc], edi
mov byte [ebp - 4], 1
jbe 0x4479d7
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov ebx, 0x4c7fc0
lea ecx, [ebp - 0x5c]
push ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x6c], edi
call sub.MFC42.DLL_CString::CString_5
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0045842e
push dword [esi + 0xcc]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push 0x50084c
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp eax, edi
je 0x447264
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQDataArray_struct_IQQDataArray___]
lea ecx, [ebp - 0x14]
mov dword [esp], str.lof4.0
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea eax, [esi + 0xd0]
push eax
lea eax, [ebp - 0x38]
push eax
call sub.MFC42.DLL_operator_1
push 0x4c7e58
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
push edi
push 0x8000
push dword [ebp - 0x30]
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CFile::Open
cmp eax, edi
je 0x447362
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CFile::GetLength
push eax
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x14], eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CFile::Read
test eax, eax
je 0x447357
cmp dword [ebp - 0x14], edi
je 0x447335
push dword [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xbc]
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_QQArrayToPtrArray_struct_IQQDataArray___class_CPtrArray__]
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0x18]
call fcn.0043613f
mov dword [ebp - 0x6c], 1
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CFile::Close
push 0x50066c
push str.adlog
push edi
call fcn.0044e2a9
push eax
call fcn.0044e660
add esp, 0x10
mov dword [ebp - 0x1c], edi
and byte [ebp - 0xd], 0
mov byte [ebp - 4], 0xd
or dword [ebp - 0x2c], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x54], edi
call fcn.0045842e
mov eax, dword [esi + 0x44]
mov byte [ebp - 4], 0xe
cmp eax, edi
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x64], edi
jle 0x44794d
mov edi, 0x4cefac
mov eax, dword [ebp - 0x64]
cmp eax, 0x12c
jge 0x4477d5
mov ecx, dword [esi + 0x40]
push dword [ecx + eax*4]
lea ecx, [ebp - 0x1c]
call fcn.0043613f
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
push edx
push 0x4cef5c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x70]
push edx
push 0x4cef88
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
cmp dword [ebp - 0x2c], 0x7530
jb 0x4477c3
cmp dword [ebp - 0x2c], 0x9c3f
ja 0x4477c3
cmp dword [ebp - 0x70], 1
jne 0x4477c3
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x54]
push edx
push 0x4cef94
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
cmp dword [ebp - 0x54], 0
jle 0x447797
cmp dword [ebp - 0x54], 0x64
jge 0x447797
lea ecx, [ebp - 0x3c]
call fcn.0045842e
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
push eax
push 0x4cef68
push dword [ebp - 0x1c]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
pop ecx
lea eax, [ebp - 0x3c]
pop ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [ebp - 4], 0xf
call fcn.0044801a
test eax, eax
je 0x44765d
mov eax, dword [ebp + 8]
or dword [ebp - 0x74], 0xffffffff
lea edx, [ebp - 0x74]
mov ecx, dword [eax]
push edx
push 0x4cefc8
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x74]
push ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xa0], eax
call sub.MFC42.DLL_CString::CString_5
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x12
push eax
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
lea eax, [ebp - 0x44]
push eax
push 0x4cefbc
push dword [ebp - 0x1c]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
mov eax, dword [ebp - 0x20]
add esp, 0x18
cmp dword [eax - 8], 0
je 0x447535
mov eax, dword [ebp - 0x44]
cmp dword [eax - 8], 0
je 0x447535
push ecx
lea eax, [ebp - 0x44]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xa0]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.004471b9
mov ecx, esi
call fcn.00447a05
test eax, eax
je 0x447645
mov eax, dword [ebp - 0x94]
or dword [ebp - 0x24], 0xffffffff
or dword [ebp - 0x78], 0xffffffff
or dword [ebp - 0x48], 0xffffffff
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], eax
call sub.MFC42.DLL_CString::CString_5
xor eax, eax
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x6c], eax
je 0x447679
cmp dword [ebp - 0x38], eax
mov dword [ebp - 0x40], eax
jle 0x447679
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x40]
cmp eax, 0x12c
mov esi, dword [ecx + eax*4]
jge 0x447676
mov eax, dword [esi]
lea ecx, [ebp - 0x78]
push ecx
push 0x4cef5c
push esi
call dword [eax + 0x34]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x78]
jne 0x4475e2
mov eax, dword [esi]
lea ecx, [ebp - 0x31]
push ecx
push edi
push esi
call dword [eax + 0x70]
cmp byte [ebp - 0x31], 0
je 0x4475bc
lea eax, [ebp - 0x4c]
push eax
push edi
push esi
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
add esp, 0xc
push ebx
push dword [ebp - 0x4c]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x4475f2
push dword [ebp - 0x20]
push dword [ebp - 0x4c]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x4475f2
or dword [ebp - 0x24], 0xffffffff
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x38]
jl 0x44756e
mov eax, dword [ebp - 0x24]
jmp 0x447671
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
push str.dwPlayCount
push esi
call dword [eax + 0x34]
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x48], eax
jb 0x44766e
push eax
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
push str.FlashID:_d_______
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push dword [ebp - 0x28]
push str.adlog
push 1
call fcn.0044e2a9
push eax
call fcn.0044e660
add esp, 0x10
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
jmp 0x4477c3
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
jne 0x4476c8
mov esi, dword [ebp - 0x60]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQData_struct_IQQData___]
mov eax, dword [ebp - 0x50]
pop ecx
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push 0x4cef5c
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x50]
push 1
push str.dwPlayCount
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x50]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x20]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x9c]
push dword [ebp - 0x94]
call sub.MFC42.DLL_CPtrArray::SetAtGrow
jmp 0x4476ef
cmp eax, 0xfffffffe
je 0x447636
inc dword [ebp - 0x48]
push dword [ebp - 0x48]
mov eax, dword [esi]
push str.dwPlayCount
push esi
call dword [eax + 0x18]
push dword [ebp - 0x20]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x20]
mov esi, dword [ebp - 0x60]
cmp byte [ebp - 0xd], 0
je 0x44775a
push ebx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x16
push eax
mov eax, dword [ebp + 0xc]
push edi
push dword [eax]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
mov byte [ebp - 4], 0x17
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.00447d3e
test eax, eax
je 0x44774c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
jmp 0x447762
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push 0x502d94
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push dword [ebp - 0x28]
push str.adlog
push 1
call fcn.0044e2a9
push eax
call fcn.0044e660
add esp, 0x10
mov byte [ebp - 0xd], 1
jmp 0x447639
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push str.FlashID:_d________play_count___0_or_play_count___100
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push dword [ebp - 0x28]
push str.adlog
push 1
call fcn.0044e2a9
push eax
call fcn.0044e660
add esp, 0x10
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0xa4]
jl 0x4473b5
cmp byte [ebp - 0xd], 0
je 0x44794b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0x18]
xor esi, esi
cmp eax, esi
mov dword [ebp + 0xc], esi
je 0x4477ff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_PtrArrayToQQArray_class_CPtrArray_const___struct_IQQDataArray___]
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_FreeQQPtrArray_class_CPtrArray__]
mov eax, dword [ebp - 0x18]
add esp, 0xc
lea edx, [ebp + 8]
mov ecx, dword [eax]
push edx
lea edx, [ebp + 0xc]
push edx
push eax
call dword [ecx + 0xb8]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_3
push dword [ebp + 8]
mov byte [ebp - 4], 0x19
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push dword [ebp - 0x30]
mov ebx, eax
call edi
push esi
push 0x9002
push dword [ebp - 0x30]
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x4478b5
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push dword [ebp + 0xc]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CFile::Write
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [ebp - 0x88]
mov dword [ebp + 8], esi
call sub.MFC42.DLL_CFile::Close
push ebx
push dword [ebp - 0x30]
call edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
cmp eax, esi
je 0x4478e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.0045857e
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x447928
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004587c4
push 1
pop eax
jmp 0x4479f4
xor edi, edi
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_FreeQQPtrArray_class_CPtrArray__]
mov dword [esp], str.No_Scheduled_LogOnFlash...
push str.adlog
push 1
call fcn.0044e2a9
push eax
call fcn.0044e660
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
cmp eax, edi
je 0x447993
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.0045857e
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x4479d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004587c4
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8