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

Disassembly:
mov eax, 0x50d907
call fcn.00484660
sub esp, 0x88
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x58], esi
call sub.MFC42.DLL_CFile::CFile
xor ebx, ebx
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_5
cmp dword [esi + 0xa4], ebx
mov byte [ebp - 4], 1
jbe 0x4a1068
mov dword [ebp - 0x1c], ebx
push 0x51a314
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
mov dword [ebp - 0x7c], ebx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_5
push dword [esi + 0xa4]
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 4
push 0x57089c
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp eax, ebx
je 0x4a08c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQDataArray_struct_IQQDataArray___]
lea ecx, [ebp - 0x20]
mov dword [esp], str.lof4.0
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 5
push eax
lea eax, [esi + 0xa8]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MFC42.DLL_operator_2
push 0x570c4c
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 6
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
push ebx
push 0x8000
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CFile::Open
cmp eax, ebx
je 0x4a09a7
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CFile::GetLength
mov edi, eax
lea ecx, [ebp - 0x60]
push edi
push edi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CFile::Read
test eax, eax
je 0x4a099c
cmp edi, ebx
je 0x4a0995
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x60]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xbc]
mov dword [ebp - 0x7c], 1
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CFile::Close
push 0x570038
push str.adlog
push ebx
call fcn.004a7211
push eax
call fcn.004a75cb
add esp, 0x10
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 0xe
or dword [ebp - 0x34], 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0xd], bl
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esi + 0x38]
mov byte [ebp - 4], 0xf
cmp eax, ebx
je 0x4a0a02
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
push edx
push eax
call dword [ecx + 0x7c]
cmp dword [ebp - 0x6c], ebx
mov dword [ebp - 0x4c], ebx
jle 0x4a0fda
mov edi, dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
mov esi, 0x52b9f0
cmp dword [ebp - 0x4c], 0x12c
jge 0x4a0e86
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4a0a36
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x14]
push edx
mov eax, dword [eax + 0x38]
push dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xac]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4a0e77
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push 0x52b9b4
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x78]
push edx
push 0x52b9cc
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
cmp dword [ebp - 0x34], 0x7530
jb 0x4a0e77
cmp dword [ebp - 0x34], 0x9c3f
ja 0x4a0e77
cmp dword [ebp - 0x78], 1
jne 0x4a0e77
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x54]
push edx
push 0x52b9d8
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
cmp dword [ebp - 0x54], ebx
jle 0x4a0e4b
cmp dword [ebp - 0x54], 0x64
jge 0x4a0e4b
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x10
push eax
push 0x52b9c0
push dword [ebp - 0x14]
call edi
pop ecx
lea eax, [ebp - 0x50]
pop ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0x10
call fcn.004a16ab
cmp eax, ebx
je 0x4a0e3d
mov eax, dword [ebp + 8]
or dword [ebp - 0x80], 0xffffffff
lea edx, [ebp - 0x80]
mov ecx, dword [eax]
push edx
push 0x52ba0c
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x80]
push 0x51a314
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x94], eax
call sub.MFC42.DLL_CString::CString_3
push 0x51a314
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x13
push eax
push esi
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0x44]
push eax
push 0x52ba00
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0x28]
add esp, 0x18
cmp dword [eax - 8], ebx
je 0x4a0bb3
mov eax, dword [ebp - 0x44]
cmp dword [eax - 8], ebx
je 0x4a0bb3
push ecx
lea eax, [ebp - 0x44]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x94]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.004a1095
mov ecx, dword [ebp - 0x58]
call fcn.004a10a5
cmp eax, ebx
je 0x4a0e25
or dword [ebp - 0x38], 0xffffffff
or dword [ebp - 0x64], 0xffffffff
or dword [ebp - 0x48], 0xffffffff
push 0x51a314
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x70]
mov dword [ebp - 0x70], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x7c]
cmp dword [ebp - 0x7c], ebx
je 0x4a0cf5
cmp dword [ebp - 0x70], ebx
mov dword [ebp - 0x30], ebx
jle 0x4a0cf5
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4a0c05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xac]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4a0c8d
cmp dword [ebp - 0x30], 0x12c
jge 0x4a0cf5
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push edx
push 0x52b9b4
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x64]
jne 0x4a0c8d
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x3d]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
cmp byte [ebp - 0x3d], bl
je 0x4a0c63
lea eax, [ebp - 0x5c]
push eax
push esi
push dword [ebp - 0x18]
call edi
add esp, 0xc
push 0x51a314
push dword [ebp - 0x5c]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x4a0ca1
push dword [ebp - 0x28]
push dword [ebp - 0x5c]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x4a0ca1
or dword [ebp - 0x38], 0xffffffff
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x70]
jl 0x4a0bf5
mov eax, dword [ebp - 0x38]
jmp 0x4a0cf0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x48]
push edx
push 0x52ba88
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x48], eax
jb 0x4a0ced
push eax
lea eax, [ebp - 0x2c]
push dword [ebp - 0x34]
push str.FlashID:_d_______
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push dword [ebp - 0x2c]
push str.adlog
push 1
call fcn.004a7211
push eax
call fcn.004a75cb
add esp, 0x10
jmp 0x4a0e19
mov eax, dword [ebp - 0x30]
cmp eax, 0xffffffff
jne 0x4a0d4c
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4a0d05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQData_struct_IQQData___]
mov eax, dword [ebp - 0x24]
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push 0x52b9b4
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x24]
push 1
push 0x52ba88
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
jmp 0x4a0d76
cmp eax, 0xfffffffe
je 0x4a0e19
inc dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x48]
mov ecx, dword [eax]
push 0x52ba88
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
cmp byte [ebp - 0xd], bl
je 0x4a0de1
push 0x51a314
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x17
push eax
mov eax, dword [ebp + 0xc]
push esi
push dword [eax]
call edi
pop ecx
lea eax, [ebp - 0x20]
pop ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0x17
call fcn.004a13cf
cmp eax, ebx
je 0x4a0dd3
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x16
call sub.MFC42.DLL_CString::CString
jmp 0x4a0de9
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push 0x575f8c
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push dword [ebp - 0x2c]
push str.adlog
push 1
call fcn.004a7211
push eax
call fcn.004a75cb
add esp, 0x10
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
jmp 0x4a0e77
push dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
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 - 0x2c]
push str.adlog
push 1
call fcn.004a7211
push eax
call fcn.004a75cb
add esp, 0x10
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x6c]
jl 0x4a0a19
cmp byte [ebp - 0xd], bl
je 0x4a0fda
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp + 8]
push edx
lea edx, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb8]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
push dword [ebp + 8]
mov byte [ebp - 4], 0x1a
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push dword [ebp - 0x3c]
mov edi, eax
call esi
push ebx
push 0x9002
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x4a0f32
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push dword [ebp + 0xc]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CFile::Write
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [ebp - 0x90]
mov dword [ebp + 8], ebx
call sub.MFC42.DLL_CFile::Close
push edi
push dword [ebp - 0x3c]
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x4a0f61
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x4a0f72
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x4a0f83
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4a0fb8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.0048433a
push 1
pop eax
jmp 0x4a1084
push str.No_Scheduled_LogOnFlash...
push str.adlog
push 1
call fcn.004a7211
push eax
call fcn.004a75cb
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x4a1011
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x4a1022
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x4a1033
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4a1068
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.0048433a
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8