Function at 0x449ee5
Capabilities:
Delete file
Read file on windows

Disassembly:
mov eax, 0x4c5e7a
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x1c4
push ebx
mov dword [ebp - 0x1c], ecx
push esi
push edi
lea ecx, [ebp - 0x90]
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CMarkup::constructor_void_]
push 0x5130ac
xor ebx, ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
mov dword [ebp - 0x18], edi
je 0x44a3d5
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebx
push edi
call esi
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
push ebx
push ebx
push dword [ebp - 0x18]
mov edi, eax
call esi
lea eax, [edi + 1]
push eax
call sub.MFC42.DLL_operatornew
push dword [ebp - 0x18]
mov esi, eax
push 1
push edi
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x30
cmp eax, 1
jne 0x449f7d
and byte [esi + edi], bl
push esi
lea ecx, [ebp - 0x90]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::SetDoc_char_const__]
movzx edi, al
jmp 0x449f80
mov edi, dword [ebp - 0x24]
push dword [ebp - 0x18]
call dword [sym.imp.MSVCRT.dll_fclose]
push esi
call sub.MFC42.DLL_operatordelete
pop ecx
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp edi, ebx
je 0x44a3d5
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_3
mov al, byte [ebp + 0xf]
mov byte [ebp - 4], 1
mov byte [ebp - 0x38], al
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
push str.portal
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::FindElem_char_const__]
movzx eax, al
cmp eax, ebx
je 0x44a3bd
lea eax, [ebp + 8]
push 0x5130a0
push eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x14]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
call esi
pop ecx
mov edi, eax
push ebx
lea ecx, [ebp - 0x90]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call dword [sym.imp.QQBaseClassInDll.dll_protected:_void___thiscall_CMarkup::x_SetPos_int__int__int_]
push str.panel
lea ecx, [ebp - 0x90]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::FindChildElem_char_const__]
movzx eax, al
cmp eax, ebx
je 0x44a3bd
lea ecx, [ebp - 0x90]
call dword [sym.imp.QQHelperDll.dll_public:_bool___thiscall_CMarkup::IntoElem_void_]
lea eax, [ebp + 8]
push str.panelid
push eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x14]
call esi
pop ecx
movzx ecx, word [ebp + 0xc]
cmp ecx, eax
jne 0x44a3bd
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp + 8], ebx
lea ecx, [eax + 0x64]
mov dword [ebp - 0x28], ecx
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x44a0e1
mov edx, dword [ecx + 8]
sub edx, eax
sar edx, 2
mov eax, edx
mov edx, dword [ebp + 8]
cmp edx, eax
jae 0x44a0e1
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + edx*4]
mov dx, word [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp word [eax], dx
je 0x44a0d8
inc dword [ebp + 8]
jmp 0x44a0a6
mov dword [ebp - 0x18], 1
jmp 0x44a11c
push 0x68
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x44a0fd
mov ecx, eax
call fcn.0044b02b
jmp 0x44a0ff
xor eax, eax
mov cx, word [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], eax
mov word [eax], cx
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
call fcn.0045f130
mov eax, dword [ebp - 0x10]
cmp dword [ebp + 0x10], ebx
push str.name
sete cl
mov byte [eax + 0x14], cl
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x90]
mov word [eax + 4], di
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 2
lea eax, [ebp + 8]
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
push edi
mov byte [ebp - 4], 6
lea ebx, [eax + 0x28]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
mov ecx, ebx
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 + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea eax, [ebp + 8]
push str.tipsinfo
push eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
push edi
mov byte [ebp - 4], 7
lea ebx, [eax + 0x38]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
mov ecx, ebx
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 + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea eax, [ebp + 8]
push 0x513054
push eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
push edi
mov byte [ebp - 4], 8
lea ebx, [eax + 0x18]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
mov ecx, ebx
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 + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea eax, [ebp + 8]
push str.domainid
push eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x14]
call esi
mov ecx, dword [ebp - 0x10]
mov dword [esp], str.icon
mov word [ecx + 6], ax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push ebx
lea edi, [eax + 0x48]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
mov ecx, 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 - 0x20]
call sub.MFC42.DLL_CString::CString_3
push 0x2f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx - 8]
sub ecx, eax
lea eax, [ebp + 8]
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x3c
push eax
lea eax, [ebp + 8]
push eax
call sub.MFC42.DLL_operator
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
push edi
mov byte [ebp - 4], 0xd
lea ebx, [eax + 0x58]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
mov ecx, ebx
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 + 8]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5c]
test eax, eax
jne 0x44a305
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]
lea ecx, [ebp - 0x1d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
lea eax, [ebp + 8]
push str.iconver
push eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x14]
call esi
mov esi, eax
mov eax, dword [ebp - 0x10]
cmp edi, 0xffffffff
pop ecx
je 0x44a361
cmp dword [ebp - 0x18], 0
je 0x44a361
movzx ecx, word [eax + 8]
cmp ecx, esi
je 0x44a391
mov ecx, dword [eax + 0x5c]
mov edx, 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 0x44a370
mov ecx, edx
mov eax, dword [eax + 0x4c]
test eax, eax
jne 0x44a379
mov eax, edx
push dword [ebp + 0xc]
push 4
push ecx
push eax
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 0x88]
call fcn.004646ce
mov eax, dword [ebp - 0x10]
cmp edi, 0xffffffff
je 0x44a3a0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
push 0x10
mov word [eax + 8], si
call fcn.0044a4f8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push 1
pop ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0043af11
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call dword [sym.imp.QQBaseClassInDll.dll_public_virtual:_void___thiscall_CMarkup::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc