Function at 0x465fa6
Capabilities:
Delete file
Move file
Read file on windows

Disassembly:
mov eax, 0x4c93d9
call sub.MSVCRT.dll__EH_prolog
sub esp, 0xe0
lea eax, [ecx + 4]
push str.userpanel.config
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
and dword [ebp - 4], 0
lea eax, [ebp - 0x64]
push str..new
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
lea eax, [ebp - 0x64]
push str..old
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 1
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0x24
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CMarkup::constructor_void_]
mov eax, dword [ebp - 0x60]
and byte [ebp - 0x12], 0
and byte [ebp - 0x11], 0
mov byte [ebp - 4], 3
test eax, eax
jne 0x466025
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fopen]
push edi
mov edi, 0x5130ac
push edi
push eax
call esi
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
jne 0x466080
mov eax, dword [ebp - 0xd8]
test eax, eax
jne 0x46604e
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push edi
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x4660e4
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [ebp - 0x70]
pop ecx
test eax, eax
jne 0x466070
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push edi
push eax
call esi
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
mov byte [ebp - 0x11], 1
je 0x4660e4
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call esi
lea eax, [edi + 1]
push eax
call sub.MFC42.DLL_operatornew
push ebx
mov esi, eax
push 1
push edi
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x30
cmp eax, 1
jne 0x4660cf
and byte [esi + edi], 0
push esi
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::SetDoc_char_const__]
mov byte [ebp - 0x12], al
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
push esi
call sub.MFC42.DLL_operatordelete
cmp byte [ebp - 0x12], 0
pop ecx
pop ecx
jne 0x4660eb
xor bl, bl
jmp 0x466562
cmp byte [ebp - 0x11], 0
je 0x466128
mov ecx, dword [ebp - 0x60]
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test ecx, ecx
jne 0x4660ff
mov ecx, eax
cmp dword [ebp - 0x70], 0
je 0x466108
mov eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_rename]
mov eax, dword [ebp - 0xd8]
pop ecx
test eax, eax
pop ecx
jne 0x466121
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.userpanels
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::FindElem_char_const__]
test al, al
je 0x4660e4
push 0
lea ecx, [ebp - 0xcc]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
call dword [sym.imp.QQBaseClassInDll.dll_protected:_void___thiscall_CMarkup::x_SetPos_int__int__int_]
push 0x4de770
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::FindChildElem_char_const__]
mov bl, al
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
test bl, bl
mov byte [ebp - 4], 4
je 0x466551
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
mov ebx, 0x4de7a8
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::IntoElem_void_]
push 0x68
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov byte [ebp - 4], 5
je 0x4661ba
mov ecx, eax
call fcn.0044b02b
jmp 0x4661bc
xor eax, eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x48]
push 0x4de77c
push eax
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
mov edi, dword [eax]
mov byte [ebp - 4], 6
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x466208
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call esi
mov ecx, dword [ebp - 0x10]
mov dword [esp], 0x4de778
mov word [ecx], ax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
mov edi, dword [eax]
mov byte [ebp - 4], 7
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x466258
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call esi
mov ecx, dword [ebp - 0x10]
mov dword [esp], 0x4de790
mov word [ecx + 4], ax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
mov edi, dword [eax]
mov byte [ebp - 4], 8
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4662a9
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0x4de71c
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
mov eax, dword [ebp - 0x10]
pop ecx
jne 0x4662c4
and byte [eax + 0x14], 0
jmp 0x4662c8
mov byte [eax + 0x14], 1
lea eax, [ebp - 0x34]
push 0x4de798
push eax
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
mov edi, dword [eax]
mov byte [ebp - 4], 9
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x46630d
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call esi
mov ecx, dword [ebp - 0x10]
mov dword [esp], 0x4de7a4
mov word [ecx + 6], ax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
add eax, 0x18
push edi
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x18]
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x4c]
push 0x4de7b0
push eax
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
add eax, 0x38
push edi
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x18], eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x18]
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x2c]
push ebx
push eax
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
add eax, 0x28
push edi
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x18], eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x18]
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
push 0x4de75c
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::FindChildElem_char_const__]
test al, al
je 0x466516
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::IntoElem_void_]
lea eax, [ebp - 0x54]
push 0x4de778
push eax
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
mov edi, dword [eax]
mov byte [ebp - 4], 0xd
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x466445
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call esi
pop ecx
mov ecx, dword [ebp - 0x10]
push ebx
mov word [ecx + 8], ax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
mov edi, dword [eax]
mov byte [ebp - 4], 0xe
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xec]
push dword [ebp - 0x30]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
mov byte [ebp - 4], 0xf
push dword [edx]
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x38]
push 0x4de7a4
push eax
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
add eax, 0x48
push edi
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x18], eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x18]
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::OutOfElem_void_]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], 2
lea eax, [ebp - 0x10]
push eax
call fcn.0045f130
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::OutOfElem_void_]
push 0x4de770
lea ecx, [ebp - 0xcc]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::FindChildElem_char_const__]
test al, al
jne 0x466192
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov bl, 1
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call dword [sym.imp.QQBaseClassInDll.dll_public_virtual:_void___thiscall_CMarkup::destructor_void_]
push 1
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4