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

Disassembly:
mov eax, 0x4b9f4a
call fcn.00458b70
sub esp, 0x98
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.0045842e
cmp dword [ebx + 0xcc], edi
mov byte [ebp - 4], 2
ja 0x446a50
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.004587c4
mov eax, dword [ebp - 0x34]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
jmp 0x44719e
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x446a60
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x34], edi
mov esi, dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQDataArray_struct_IQQDataArray___]
lea eax, [ebp - 0x34]
push eax
call esi
pop ecx
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov dword [ebp - 0x74], edi
mov edi, 0x4c7fc0
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_5
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.0045842e
push dword [ebx + 0xcc]
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push 0x50084c
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x446acc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
call esi
lea ecx, [ebp - 0x18]
mov dword [esp], str.smf4.0
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 7
push eax
lea eax, [ebx + 0xd0]
push eax
lea eax, [ebp - 0x4c]
push eax
call sub.MFC42.DLL_operator_1
push 0x4c7e58
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
xor esi, esi
lea ecx, [ebp - 0x88]
push esi
push 0x8000
push dword [ebp - 0x2c]
call sub.MFC42.DLL_CFile::Open
cmp eax, esi
je 0x446bc8
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CFile::GetLength
push eax
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CFile::Read
test eax, eax
je 0x446bbd
cmp dword [ebp - 0x18], esi
je 0x446b9b
push dword [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xbc]
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_QQArrayToPtrArray_struct_IQQDataArray___class_CPtrArray__]
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.0043613f
mov dword [ebp - 0x74], 1
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CFile::Close
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 0xf
or dword [ebp - 0x48], 0xffffffff
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x58], esi
call fcn.0045842e
mov ebx, dword [ebx + 0x44]
mov byte [ebp - 4], 0x10
cmp ebx, esi
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x18], esi
jle 0x4470fa
mov ebx, dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
mov esi, 0x4cefac
mov eax, dword [ebp - 0x18]
cmp eax, 0x12c
jge 0x4470f8
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0x40]
push dword [ecx + eax*4]
lea ecx, [ebp - 0x14]
call fcn.0043613f
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x48]
push edx
push 0x4cef5c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x70]
push edx
push 0x4cef88
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
cmp dword [ebp - 0x48], 0x7530
jb 0x446eaa
cmp dword [ebp - 0x48], 0x9c3f
ja 0x446eaa
cmp dword [ebp - 0x70], 2
jne 0x446eaa
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x58]
push edx
push 0x4cef94
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
cmp dword [ebp - 0x58], 0
jle 0x446eaa
cmp dword [ebp - 0x58], 0x64
jge 0x446eaa
lea ecx, [ebp - 0x38]
call fcn.0045842e
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x11
push eax
push 0x4cef68
push dword [ebp - 0x14]
call ebx
pop ecx
lea eax, [ebp - 0x38]
pop ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 0x11
call fcn.0044801a
test eax, eax
je 0x446e9e
mov eax, dword [ebp + 8]
or dword [ebp - 0x78], 0xffffffff
lea edx, [ebp - 0x78]
mov ecx, dword [eax]
push edx
push 0x4cefc8
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x78]
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xa0], eax
call sub.MFC42.DLL_CString::CString_5
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x14
push eax
push esi
push dword [ebp - 0x14]
call ebx
lea eax, [ebp - 0x30]
push eax
push 0x4cefbc
push dword [ebp - 0x14]
call ebx
mov eax, dword [ebp - 0x20]
add esp, 0x18
cmp dword [eax - 8], 0
je 0x446d84
mov eax, dword [ebp - 0x30]
cmp dword [eax - 8], 0
je 0x446d84
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xa0]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004471b9
mov ecx, dword [ebp - 0x64]
call fcn.00447a05
test eax, eax
je 0x446e86
mov eax, dword [ebp - 0x94]
or dword [ebp - 0x1c], 0xffffffff
or dword [ebp - 0x68], 0xffffffff
or dword [ebp - 0x44], 0xffffffff
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x4c], eax
call sub.MFC42.DLL_CString::CString_5
xor eax, eax
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x74], eax
je 0x446ee4
cmp dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], eax
jle 0x446ee4
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x3c]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x24]
call fcn.0043613f
cmp dword [ebp - 0x3c], 0x12c
jge 0x446ee4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x68]
push edx
push 0x4cef5c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x68]
jne 0x446e3f
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x25]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
cmp byte [ebp - 0x25], 0
je 0x446e19
lea eax, [ebp - 0x40]
push eax
push esi
push dword [ebp - 0x24]
call ebx
add esp, 0xc
push edi
push dword [ebp - 0x40]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x446e53
push dword [ebp - 0x20]
push dword [ebp - 0x40]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x446e53
or dword [ebp - 0x1c], 0xffffffff
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x4c]
jl 0x446dbd
mov eax, dword [ebp - 0x1c]
jmp 0x446e70
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x44]
push edx
push str.dwPlayCount
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x58]
jae 0x446e7a
mov eax, dword [ebp - 0x3c]
cmp eax, 0xffffffff
je 0x446ee4
cmp eax, 0xfffffffe
jne 0x446ec1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xa4]
jge 0x4470f8
jmp 0x446c0b
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x44]
mov ecx, dword [eax]
push str.dwPlayCount
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
jmp 0x446f31
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 - 0x48]
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 esi
push eax
call dword [ecx + 0x20]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x9c]
push dword [ebp - 0x94]
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
push eax
mov dword [ecx], eax
mov ecx, dword [eax]
call dword [ecx + 4]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp + 8], ebx
je 0x446f84
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
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 - 0x10]
add esp, 0xc
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
push edx
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0xb8]
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
push dword [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_3
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x18
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push dword [ebp - 0x2c]
mov edi, eax
call esi
push ebx
push 0x9002
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x447040
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
push dword [ebp + 8]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CFile::Write
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
push ebx
lea ecx, [ebp - 0x10]
call fcn.0043613f
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CFile::Close
push edi
push dword [ebp - 0x2c]
call esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x44706f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x447080
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.0045857e
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4470c4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.004587c4
mov eax, dword [ebp - 0x34]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4470f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop eax
jmp 0x4471a8
xor esi, esi
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_FreeQQPtrArray_class_CPtrArray__]
pop ecx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0xe
cmp eax, esi
je 0x447125
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp eax, esi
je 0x447136
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.0045857e
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x44717a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.004587c4
mov eax, dword [ebp - 0x34]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x4471a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8