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

Disassembly:
mov eax, 0x4aace6
call fcn.0044c320
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 sub.MFC42.DLL_CString::CString_5
cmp dword [ebx + 0xcc], edi
mov byte [ebp - 4], 2
ja 0x43ba06
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.0044c0dc
mov eax, dword [ebp - 0x34]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
jmp 0x43c154
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x43ba16
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 fcn.0044bdac
mov dword [ebp - 0x74], edi
mov edi, 0x4b8dfc
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_5
push dword [ebx + 0xcc]
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push 0x4eb10c
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x43ba82
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_1
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_2
push 0x4b8d80
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.MFC42.DLL_operator_2
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 0x43bb7e
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 0x43bb73
cmp dword [ebp - 0x18], esi
je 0x43bb51
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.00461316
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 sub.MFC42.DLL_CString::CString_5
mov ebx, dword [ebx + 0x44]
mov byte [ebp - 4], 0x10
cmp ebx, esi
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x18], esi
jle 0x43c0b0
mov ebx, dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
mov esi, 0x4bf3c4
mov eax, dword [ebp - 0x18]
cmp eax, 0x12c
jge 0x43c0ae
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0x40]
push dword [ecx + eax*4]
lea ecx, [ebp - 0x14]
call fcn.00461316
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x48]
push edx
push 0x4bf374
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x70]
push edx
push 0x4bf3a0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
cmp dword [ebp - 0x48], 0x7530
jb 0x43be60
cmp dword [ebp - 0x48], 0x9c3f
ja 0x43be60
cmp dword [ebp - 0x70], 2
jne 0x43be60
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x58]
push edx
push 0x4bf3ac
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
cmp dword [ebp - 0x58], 0
jle 0x43be60
cmp dword [ebp - 0x58], 0x64
jge 0x43be60
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x11
push eax
push 0x4bf380
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_3
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 0x11
call fcn.0043cfd0
test eax, eax
je 0x43be54
mov eax, dword [ebp + 8]
or dword [ebp - 0x78], 0xffffffff
lea edx, [ebp - 0x78]
mov ecx, dword [eax]
push edx
push 0x4bf3e0
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_2
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString_2
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 0x4bf3d4
push dword [ebp - 0x14]
call ebx
mov eax, dword [ebp - 0x20]
add esp, 0x18
cmp dword [eax - 8], 0
je 0x43bd3a
mov eax, dword [ebp - 0x30]
cmp dword [eax - 8], 0
je 0x43bd3a
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
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_3
push ecx
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xa0]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0043c16f
mov ecx, dword [ebp - 0x64]
call fcn.0043c9bb
test eax, eax
je 0x43be3c
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_2
xor eax, eax
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x74], eax
je 0x43be9a
cmp dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], eax
jle 0x43be9a
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x3c]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x24]
call fcn.00461316
cmp dword [ebp - 0x3c], 0x12c
jge 0x43be9a
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x68]
push edx
push 0x4bf374
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x68]
jne 0x43bdf5
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 0x43bdcf
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 0x43be09
push dword [ebp - 0x20]
push dword [ebp - 0x40]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x43be09
or dword [ebp - 0x1c], 0xffffffff
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x4c]
jl 0x43bd73
mov eax, dword [ebp - 0x1c]
jmp 0x43be26
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x44]
push edx
push 0x4bf438
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x58]
jae 0x43be30
mov eax, dword [ebp - 0x3c]
cmp eax, 0xffffffff
je 0x43be9a
cmp eax, 0xfffffffe
jne 0x43be77
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 0x43c0ae
jmp 0x43bbc1
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x44]
mov ecx, dword [eax]
push 0x4bf438
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 0x43bee7
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 0x4bf374
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x50]
push 1
push 0x4bf438
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 0x43bf3a
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 fcn.0044bdd0
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 0x43bff6
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.00461316
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 0x43c025
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x43c036
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 sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x43c07a
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.0044c0dc
mov eax, dword [ebp - 0x34]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x43c0a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop eax
jmp 0x43c15e
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 0x43c0db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp eax, esi
je 0x43c0ec
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 sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x43c130
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.0044c0dc
mov eax, dword [ebp - 0x34]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x43c15c
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