Function at 0x466bd0
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x4c94d1
call sub.MSVCRT.dll__EH_prolog
sub esp, 0xa8
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x1c], esi
mov ecx, dword [esi + 0x3c]
cmp ecx, edi
jne 0x466bf6
mov dword [ebp - 0x18], edi
jmp 0x466c01
mov eax, dword [esi + 0x40]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x18], eax
lea eax, [esi + 8]
push str.userpanel.config
push eax
lea eax, [ebp - 0x2c]
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 - 0x2c]
push str..new
push eax
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 4], edi
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 - 0x2c]
push str..old
push eax
lea eax, [ebp - 0x94]
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 - 0x84]
mov byte [ebp - 4], 2
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CMarkup::constructor_void_]
push edi
push edi
push edi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call dword [sym.imp.QQBaseClassInDll.dll_protected:_void___thiscall_CMarkup::x_SetPos_int__int__int_]
push edi
push edi
push edi
push str.userpanels
lea ecx, [ebp - 0x84]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_AddElem_char_const___char_const___bool__bool_]
lea ecx, [ebp - 0x84]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::IntoElem_void_]
cmp dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
jle 0x466e54
mov ebx, dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_SetAttrib_int__char_const___char_const__]
jmp 0x466ca3
mov esi, dword [ebp - 0x1c]
xor edi, edi
mov esi, dword [esi + 0x3c]
mov eax, dword [ebp - 0x14]
push edi
push edi
mov esi, dword [esi + eax*4]
push edi
push 0x4de770
lea ecx, [ebp - 0x84]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_AddElem_char_const___char_const___bool__bool_]
movzx eax, word [esi]
mov edi, dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_SetAttrib_int__char_const___int_]
push eax
push 0x4de77c
lea ecx, [ebp - 0x84]
push dword [ebp - 0x60]
call edi
movzx eax, word [esi + 4]
push eax
push 0x4de778
push dword [ebp - 0x60]
lea ecx, [ebp - 0x84]
call edi
cmp byte [esi + 0x14], 0
mov eax, 0x4de714
jne 0x466cff
mov eax, 0x4de71c
push eax
push 0x4de790
push dword [ebp - 0x60]
lea ecx, [ebp - 0x84]
call ebx
movzx eax, word [esi + 6]
push eax
push 0x4de798
push dword [ebp - 0x60]
lea ecx, [ebp - 0x84]
call edi
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x466d31
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
push 0x4de7a4
push dword [ebp - 0x60]
lea ecx, [ebp - 0x84]
call ebx
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x466d4e
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
push 0x4de7a8
push dword [ebp - 0x60]
lea ecx, [ebp - 0x84]
call ebx
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x466d6b
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
push 0x4de7b0
push dword [ebp - 0x60]
lea ecx, [ebp - 0x84]
call ebx
push 1
push 0
push 0
push 0x4de75c
lea ecx, [ebp - 0x84]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_AddElem_char_const___char_const___bool__bool_]
movzx eax, word [esi + 8]
push eax
push 0x4de778
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x84]
call edi
mov al, byte [ebp - 0xd]
push 0
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0xb4], 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_]
mov edi, dword [esi + 0x60]
push 1
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 4
lea eax, [edi - 1]
mov byte [ebp - 0xd], 0x5c
push eax
lea eax, [ebp - 0xd]
push eax
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char_const___unsigned_int__unsigned_int_const]
sub edi, eax
lea ecx, [ebp - 0xb4]
dec edi
inc eax
push edi
push eax
lea eax, [esi + 0x58]
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_]
mov eax, dword [ebp - 0xb0]
test eax, eax
jne 0x466e02
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
push 0x4de7a8
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x84]
call ebx
mov esi, dword [esi + 0x4c]
test esi, esi
jne 0x466e20
mov esi, 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 esi
push 0x4de7a4
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x84]
call ebx
push 1
lea ecx, [ebp - 0xb4]
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_]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jl 0x466c9e
xor edi, edi
mov eax, dword [ebp - 0xa0]
cmp eax, edi
jne 0x466e63
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
lea ecx, [ebp - 0x84]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::Save_char_const__]
mov eax, dword [ebp - 0x90]
cmp eax, edi
jne 0x466e7f
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]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebx
mov ecx, dword [ebp - 0x90]
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]
cmp ecx, edi
jne 0x466e99
mov ecx, eax
cmp dword [ebp - 0x28], edi
je 0x466ea1
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.MSVCRT.dll_rename]
push ecx
push eax
call esi
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]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
cmp ecx, edi
jne 0x466ebb
mov ecx, eax
cmp dword [ebp - 0xa0], edi
je 0x466ec9
mov eax, dword [ebp - 0xa0]
push ecx
push eax
call esi
mov eax, dword [ebp - 0x90]
pop ecx
cmp eax, edi
pop ecx
jne 0x466ede
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 ebx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call dword [sym.imp.QQBaseClassInDll.dll_public_virtual:_void___thiscall_CMarkup::destructor_void_]
push 1
lea ecx, [ebp - 0x94]
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 - 0xa4]
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 - 0x2c]
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
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret