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

Disassembly:
mov eax, 0x4aafaf
call fcn.0044c320
sub esp, 0x7c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x34], edi
je 0x43d90a
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 sub.MFC42.DLL_CString::CString_5
cmp dword [esi + 0xcc], edi
mov byte [ebp - 4], 2
jbe 0x43d5c8
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x43d1ca
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 fcn.0044bdac
mov dword [ebp - 0x4c], edi
mov edi, 0x4b8dfc
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_5
push dword [esi + 0xcc]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push 0x4eb10c
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x43d236
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_1
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_2
push 0x4b8d80
push eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 8
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_operator_2
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 0x43d326
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 0x43d31e
cmp dword [ebp - 0x38], ebx
je 0x43d2fc
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.00461316
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 sub.MFC42.DLL_CString::CString_5
mov eax, dword [esi + 0x34]
lea edx, [ebp - 0xf]
mov ebx, 0x4bf404
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 0x43d36e
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 0x4bf3e0
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_2
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x34]
lea edx, [ebp - 0xd]
mov ebx, 0x4bf414
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 0x43d3e0
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 0x4bf428
push eax
call ebx
add esp, 0x18
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], 0
je 0x43d85a
mov eax, dword [ebp - 0x28]
cmp dword [eax - 8], 0
je 0x43d85a
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call sub.MFC42.DLL_CString::CString_3
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_3
push ecx
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x58]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0043c16f
mov ecx, esi
call fcn.0043c9bb
test eax, eax
je 0x43d868
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_2
xor eax, eax
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x4c], eax
mov ebx, 0x4bf438
je 0x43d615
cmp dword [ebp - 0x50], eax
mov dword [ebp + 8], eax
jle 0x43d615
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 8]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x18]
call fcn.00461316
cmp dword [ebp + 8], 0x12c
jge 0x43d615
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xd]
push edx
push 0x4bf3c4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
cmp byte [ebp - 0xd], 0
je 0x43d4bf
lea eax, [ebp - 0x38]
push eax
push 0x4bf3c4
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 0x43d4f1
push dword [ebp - 0x1c]
push dword [ebp - 0x38]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x43d4f1
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x50]
jl 0x43d471
jmp 0x43d615
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 0x4bf3b8
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.0043cce5
mov eax, dword [ebp - 0x5c]
mov ecx, 0xe10
cdq
idiv ecx
push eax
call sub.MSVCRT.dll_abs
cmp eax, 0xc
pop ecx
jge 0x43d5ee
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 0x43d584
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 sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x43d5c8
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.0044c0dc
mov eax, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
jmp 0x43d902
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x54], edi
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
push edx
jne 0x43d608
mov ebx, 0x4bf438
push ebx
push eax
call dword [ecx + 0x34]
jmp 0x43d66f
push ebx
push eax
call dword [ecx + 0x34]
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x43d66a
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 0x4bf3c4
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 0x4bf3b8
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 0x43d6af
cmp edi, 0xfffffffe
je 0x43d6c1
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 0x4bf3c4
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 0x4bf3b8
push eax
call dword [ecx + 0x1c]
cmp edi, 0xfffffffe
je 0x43d6c1
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 0x43d85a
mov eax, dword [ebp - 0x14]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp + 8], ebx
je 0x43d6ec
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 fcn.0044bdd0
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 0x43d79e
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.00461316
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 0x43d7e5
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 sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x43d829
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.0044c0dc
mov eax, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x43d852
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop eax
jmp 0x43d90c
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 0x43d89d
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 sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test eax, eax
je 0x43d8e1
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.0044c0dc
mov eax, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x43d90a
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