Function at 0x46677a
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x4c948d
call sub.MSVCRT.dll__EH_prolog
sub esp, 0xac
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], edi
mov ecx, dword [edi + 0x1c]
cmp ecx, ebx
je 0x4667a9
mov eax, dword [edi + 0x20]
sub eax, ecx
sar eax, 2
cmp eax, ebx
mov dword [ebp - 0x18], eax
jg 0x4667b0
xor al, al
jmp 0x466bc2
push esi
lea eax, [edi + 8]
push str.syspanel.config
push eax
lea eax, [ebp - 0x88]
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 - 0x88]
push str..new
push eax
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 4], ebx
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 - 0x88]
push str..old
push eax
lea eax, [ebp - 0x98]
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 - 0x74]
mov byte [ebp - 4], 2
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CMarkup::constructor_void_]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call dword [sym.imp.QQBaseClassInDll.dll_protected:_void___thiscall_CMarkup::x_SetPos_int__int__int_]
push ebx
push ebx
push ebx
push 0x4de724
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_AddElem_char_const___char_const___bool__bool_]
push dword [edi + 4]
mov esi, dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_SetAttrib_int__char_const___int_]
lea ecx, [ebp - 0x74]
push 0x4de778
push dword [ebp - 0x50]
call esi
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::IntoElem_void_]
push ebx
push ebx
push ebx
push str.inhered
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_AddElem_char_const___char_const___bool__bool_]
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::IntoElem_void_]
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
jle 0x4668eb
mov edi, dword [edi + 0x1c]
mov eax, dword [ebp - 0x14]
push ebx
push ebx
mov edi, dword [edi + eax*4]
push ebx
push str.inheredpanel
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_AddElem_char_const___char_const___bool__bool_]
movzx eax, word [edi]
push eax
push 0x4de77c
push dword [ebp - 0x50]
lea ecx, [ebp - 0x74]
call esi
movzx eax, word [edi + 2]
push eax
push str.index
push dword [ebp - 0x50]
lea ecx, [ebp - 0x74]
call esi
push dword [edi + 0xc]
lea ecx, [ebp - 0x74]
push 0x4de788
push dword [ebp - 0x50]
call esi
cmp byte [edi + 0x14], bl
mov eax, 0x4de714
jne 0x4668cb
mov eax, 0x4de71c
push eax
push 0x4de790
push dword [ebp - 0x50]
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_SetAttrib_int__char_const___char_const__]
inc dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jl 0x46686f
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::OutOfElem_void_]
mov ecx, dword [edi + 0x2c]
cmp ecx, ebx
je 0x466aea
mov eax, dword [edi + 0x30]
sub eax, ecx
sar eax, 2
cmp eax, ebx
mov dword [ebp - 0x18], eax
jle 0x466aea
push ebx
push ebx
push ebx
push str.pushed
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_AddElem_char_const___char_const___bool__bool_]
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::IntoElem_void_]
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
jle 0x466aea
jmp 0x46693d
mov edi, dword [ebp - 0x1c]
mov edi, dword [edi + 0x2c]
mov eax, dword [ebp - 0x14]
push ebx
push ebx
mov edi, dword [edi + eax*4]
push ebx
push str.pushedpanel
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_AddElem_char_const___char_const___bool__bool_]
movzx eax, word [edi]
push eax
push 0x4de77c
push dword [ebp - 0x50]
lea ecx, [ebp - 0x74]
call esi
movzx eax, word [edi + 2]
push eax
push str.index
push dword [ebp - 0x50]
lea ecx, [ebp - 0x74]
call esi
push dword [edi + 0xc]
lea ecx, [ebp - 0x74]
push 0x4de788
push dword [ebp - 0x50]
call esi
cmp byte [edi + 0x14], bl
mov eax, 0x4de714
jne 0x466999
mov eax, 0x4de71c
push eax
push 0x4de790
push dword [ebp - 0x50]
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_SetAttrib_int__char_const___char_const__]
movzx eax, word [edi + 6]
push eax
push 0x4de798
push dword [ebp - 0x50]
lea ecx, [ebp - 0x74]
call esi
mov eax, dword [edi + 0x1c]
cmp eax, ebx
jne 0x4669c9
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 - 0x50]
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_SetAttrib_int__char_const___char_const__]
mov eax, dword [edi + 0x2c]
cmp eax, ebx
jne 0x4669e7
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 - 0x50]
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_SetAttrib_int__char_const___char_const__]
mov eax, dword [edi + 0x3c]
cmp eax, ebx
jne 0x466a05
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 - 0x50]
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_SetAttrib_int__char_const___char_const__]
push 1
push ebx
push ebx
push 0x4de75c
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_AddElem_char_const___char_const___bool__bool_]
movzx eax, word [edi + 8]
push eax
push 0x4de778
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x74]
call esi
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0xb8], 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 eax, dword [edi + 0x60]
push 1
mov dword [ebp - 0x78], eax
dec eax
push eax
lea eax, [ebp - 0xd]
lea ecx, [edi + 0x58]
push eax
mov byte [ebp - 4], 4
mov byte [ebp - 0xd], 0x5c
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]
mov ecx, dword [ebp - 0x78]
sub ecx, eax
dec ecx
inc eax
push ecx
push eax
lea eax, [edi + 0x58]
lea ecx, [ebp - 0xb8]
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 - 0xb4]
cmp eax, ebx
jne 0x466a98
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 - 0x4c]
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_SetAttrib_int__char_const___char_const__]
mov edi, dword [edi + 0x4c]
cmp edi, ebx
jne 0x466ab7
mov edi, 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 0x4de7a4
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x74]
call dword [sym.imp.QQHelperDll.dll_protected:_bool___thiscall_CMarkup::x_SetAttrib_int__char_const___char_const__]
push 1
lea ecx, [ebp - 0xb8]
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 0x46693a
mov eax, dword [ebp - 0xa4]
cmp eax, ebx
jne 0x466af9
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 - 0x74]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::Save_char_const__]
mov eax, dword [ebp - 0x94]
cmp eax, ebx
jne 0x466b12
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 edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
mov ecx, dword [ebp - 0x94]
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, ebx
jne 0x466b2c
mov ecx, eax
cmp dword [ebp - 0x84], ebx
je 0x466b3a
mov eax, dword [ebp - 0x84]
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 - 0x84]
cmp ecx, ebx
jne 0x466b57
mov ecx, eax
cmp dword [ebp - 0xa4], ebx
je 0x466b65
mov eax, dword [ebp - 0xa4]
push ecx
push eax
call esi
mov eax, dword [ebp - 0x94]
pop ecx
pop ecx
cmp eax, ebx
pop esi
jne 0x466b7b
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 edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call dword [sym.imp.QQBaseClassInDll.dll_public_virtual:_void___thiscall_CMarkup::destructor_void_]
push 1
lea ecx, [ebp - 0x98]
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_]
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], bl
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 - 0x88]
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 al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret