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

Disassembly:
mov eax, 0x4ba213
call fcn.00458b70
sub esp, 0x7c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x34], edi
je 0x448982
mov dword [ebp - 0x24], edi
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0045842e
cmp dword [esi + 0xcc], edi
mov byte [ebp - 4], 2
jbe 0x448640
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x448242
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24], edi
mov ebx, dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQDataArray_struct_IQQDataArray___]
lea eax, [ebp - 0x24]
push eax
call ebx
pop ecx
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov dword [ebp - 0x4c], edi
mov edi, 0x4c7fc0
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_5
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0045842e
push dword [esi + 0xcc]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push 0x50084c
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x4482ae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
call ebx
lea ecx, [ebp - 0x38]
mov dword [esp], str.one4.0
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
lea eax, [esi + 0xd0]
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MFC42.DLL_operator_1
push 0x4c7e58
push eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 8
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
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
xor ebx, ebx
lea ecx, [ebp - 0x74]
push ebx
push 0x8000
push dword [ebp - 0x20]
call sub.MFC42.DLL_CFile::Open
cmp eax, ebx
je 0x44839e
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CFile::GetLength
push eax
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CFile::Read
test eax, eax
je 0x448396
cmp dword [ebp - 0x38], ebx
je 0x448374
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xbc]
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_QQArrayToPtrArray_struct_IQQDataArray___class_CPtrArray__]
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x14]
call fcn.0043613f
mov dword [ebp - 0x4c], 1
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CFile::Close
mov dword [ebp - 0x60], ebx
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x18], ebx
and byte [ebp - 0xe], 0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x54], ebx
call fcn.0045842e
mov eax, dword [esi + 0x34]
lea edx, [ebp - 0xf]
mov ebx, 0x4cefec
push edx
mov ecx, dword [eax]
push ebx
push eax
mov byte [ebp - 4], 0x10
call dword [ecx + 0x70]
cmp byte [ebp - 0xf], 5
jne 0x4483e6
mov eax, dword [esi + 0x34]
lea edx, [ebp - 0x54]
push edx
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
mov eax, dword [ebp + 8]
or dword [ebp - 0x48], 0xffffffff
lea edx, [ebp - 0x48]
mov ecx, dword [eax]
push edx
push 0x4cefc8
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x48]
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x58], eax
call sub.MFC42.DLL_CString::CString_5
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esi + 0x34]
lea edx, [ebp - 0xd]
mov ebx, 0x4ceffc
push edx
mov ecx, dword [eax]
push ebx
push eax
mov byte [ebp - 4], 0x12
call dword [ecx + 0x70]
cmp byte [ebp - 0xd], 0
je 0x448458
mov eax, dword [esi + 0x34]
lea ecx, [ebp - 0x1c]
push ecx
push ebx
mov ebx, dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
push eax
call ebx
mov eax, dword [esi + 0x34]
lea ecx, [ebp - 0x28]
push ecx
push 0x4cf010
push eax
call ebx
add esp, 0x18
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], 0
je 0x4488d2
mov eax, dword [ebp - 0x28]
cmp dword [eax - 8], 0
je 0x4488d2
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x5c], 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 - 0x58]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.004471b9
mov ecx, esi
call fcn.00447a05
test eax, eax
je 0x4488e0
mov eax, dword [ebp - 0x80]
or dword [ebp - 0x34], 0xffffffff
push edi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x50], eax
call sub.MFC42.DLL_CString::CString_5
xor eax, eax
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x4c], eax
mov ebx, str.dwPlayCount
je 0x44868d
cmp dword [ebp - 0x50], eax
mov dword [ebp + 8], eax
jle 0x44868d
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 8]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x18]
call fcn.0043613f
cmp dword [ebp + 8], 0x12c
jge 0x44868d
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xd]
push edx
push 0x4cefac
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
cmp byte [ebp - 0xd], 0
je 0x448537
lea eax, [ebp - 0x38]
push eax
push 0x4cefac
push dword [ebp - 0x18]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
add esp, 0xc
push edi
push dword [ebp - 0x38]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x448569
push dword [ebp - 0x1c]
push dword [ebp - 0x38]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x448569
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x50]
jl 0x4484e9
jmp 0x44868d
lea eax, [ebp - 0x4c]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [ebp - 0x18]
xor edi, edi
lea edx, [ebp - 0x50]
mov dword [ebp - 0x50], edi
mov ecx, dword [eax]
push edx
push 0x4cefa0
push eax
call dword [ecx + 0x38]
push ecx
mov ecx, dword [ebp - 0x50]
mov eax, esp
mov dword [ebp - 0x64], esp
mov dword [eax], ecx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00447d2f
mov eax, dword [ebp - 0x5c]
mov ecx, 0xe10
cdq
idiv ecx
push eax
call sub.MSVCRT.dll_abs
cmp eax, 0xc
pop ecx
jge 0x448666
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xe
cmp eax, edi
je 0x4485fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.0045857e
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x448640
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004587c4
mov eax, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
jmp 0x44897a
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x54], edi
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
push edx
jne 0x448680
mov ebx, str.dwPlayCount
push ebx
push eax
call dword [ecx + 0x34]
jmp 0x4486e7
push ebx
push eax
call dword [ecx + 0x34]
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x4486e2
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQData_struct_IQQData___]
mov eax, dword [ebp - 0x40]
pop ecx
push 1
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x40]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push 0x4cefac
push eax
call dword [ecx + 0x20]
lea eax, [ebp + 8]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [ebp - 0x40]
push dword [ebp + 8]
mov ecx, dword [eax]
push 0x4cefa0
push eax
call dword [ecx + 0x1c]
push dword [ebp - 0x40]
lea ecx, [ebp - 0x88]
push dword [ebp - 0x80]
call sub.MFC42.DLL_CPtrArray::SetAtGrow
jmp 0x448727
cmp edi, 0xfffffffe
je 0x448739
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push 0x4cefac
push eax
call dword [ecx + 0x20]
lea eax, [ebp + 8]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [ebp - 0x18]
push dword [ebp + 8]
mov ecx, dword [eax]
push 0x4cefa0
push eax
call dword [ecx + 0x1c]
cmp edi, 0xfffffffe
je 0x448739
mov eax, dword [ebp + 0xc]
mov esi, dword [esi + 0x34]
push esi
mov dword [eax], esi
mov eax, dword [esi]
call dword [eax + 4]
mov byte [ebp - 0xe], 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
cmp byte [ebp - 0xe], 0
je 0x4488d2
mov eax, dword [ebp - 0x14]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp + 8], ebx
je 0x448764
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_PtrArrayToQQArray_class_CPtrArray_const___struct_IQQDataArray___]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_FreeQQPtrArray_class_CPtrArray__]
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea edx, [ebp - 0x50]
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 - 0x50]
call sub.MFC42.DLL_CString::CString_3
push dword [ebp - 0x50]
mov byte [ebp - 4], 0x16
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, 0x80
push edi
push dword [ebp - 0x20]
call esi
push ebx
push 0x9002
push dword [ebp - 0x20]
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x448816
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
push dword [ebp + 8]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x74]
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 - 0x14]
call fcn.0043613f
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CFile::Close
push edi
push dword [ebp - 0x20]
call esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x44885d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.0045857e
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4488a1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004587c4
mov eax, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4488ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop eax
jmp 0x448984
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_FreeQQPtrArray_class_CPtrArray__]
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x448915
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.0045857e
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test eax, eax
je 0x448959
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004587c4
mov eax, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x448982
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