Function at 0x44b919
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x4b72db
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x48
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x148], ebx
mov dword [ebp - 4], ebx
jne 0x44b971
push 0x58
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
mov dword [ebp - 0x50], edi
cmp edi, ebx
mov byte [ebp - 4], 1
je 0x44b95d
mov ecx, edi
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CMarkup::constructor_void_]
mov dword [edi], 0x4ce130
jmp 0x44b95f
xor edi, edi
and byte [ebp - 4], 0
cmp edi, ebx
mov dword [esi + 0x148], edi
je 0x44bf64
push 0x4fc29c
mov dword [ebp - 0x2c], ebx
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
mov dword [ebp - 0x1c], edi
je 0x44b9fb
push 2
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push edi
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push dword [ebp - 0x1c]
mov edi, eax
call ebx
lea eax, [edi + 1]
push eax
call sub.MFC42.DLL_operatornew
push dword [ebp - 0x1c]
mov ebx, eax
push 1
push edi
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x30
cmp eax, 1
jne 0x44b9e1
and byte [ebx + edi], 0
mov ecx, dword [esi + 0x148]
push ebx
call dword [sym.imp.QQBaseClassInDll.dll_public:_bool___thiscall_CMarkup::SetDoc_char_const__]
movzx edi, al
jmp 0x44b9e4
mov edi, dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCRT.dll_fclose]
push ebx
call sub.MFC42.DLL_operatordelete
pop ecx
test edi, edi
pop ecx
jne 0x44ba08
xor ebx, ebx
mov ecx, dword [esi + 0x148]
push ebx
call dword [sym.imp.QQBaseClassInDll.dll_public:_bool___thiscall_CMarkup::SetDoc_char_const__]
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esi + 0x148]
push str.portal
mov byte [ebp - 4], 3
call dword [sym.imp.QQBaseClassInDll.dll_public:_bool___thiscall_CMarkup::FindElem_char_const__]
lea ecx, [ebp - 0x24]
movzx ebx, al
call sub.MFC42.DLL_CString::CString_4
test ebx, ebx
mov byte [ebp - 4], 4
je 0x44bf3e
cmp dword [ebp + 0xc], 1
jne 0x44ba9d
mov ecx, dword [esi + 0x148]
lea eax, [ebp - 0x2c]
push 0x4fc290
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
lea ebx, [esi + 0x150]
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x15c]
mov ebx, dword [ebx]
push eax
push ebx
push str.SysPanelVer
push str.PanelInfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x44bad1
cmp dword [ebp + 0xc], 2
jne 0x44bad1
mov ecx, dword [esi + 0x148]
lea eax, [ebp - 0x2c]
push 0x4fc290
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x148]
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CMarkup::ResetChildPos_void_]
mov ecx, dword [esi + 0x148]
push 0
call dword [sym.imp.QQBaseClassInDll.dll_public:_bool___thiscall_CMarkup::FindChildElem_char_const__]
movzx eax, al
test eax, eax
je 0x44bf39
mov ecx, dword [esi + 0x148]
call dword [sym.imp.QQBaseClassInDll.dll_public:_bool___thiscall_CMarkup::IntoElem_void_]
mov ebx, str.iconver
mov ecx, dword [esi + 0x148]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetTagName_void_]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
push str.panel
push dword [ebp - 0x28]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x44beb5
push 0x1c
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x48], eax
test eax, eax
mov byte [ebp - 4], 8
je 0x44bb68
push 0xa
mov ecx, eax
call sub.MFC42.DLL_CMapStringToString::CMapStringToString
mov edi, eax
jmp 0x44bb6a
xor edi, edi
mov ecx, dword [esi + 0x148]
lea eax, [ebp - 0x34]
push str.type
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 9
push str.type
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x148]
lea eax, [ebp - 0x38]
push str.name
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 0xa
push str.name
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x148]
lea eax, [ebp - 0x3c]
push 0x4fa9b4
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 0xb
push 0x4fa9b4
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x148]
lea eax, [ebp - 0x40]
push str.domainid
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 0xc
push str.domainid
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x148]
lea eax, [ebp - 0x44]
push str.tipsinfo
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 0xd
push str.tipsinfo
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x148]
lea eax, [ebp - 0x1c]
push str.panelid
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push dword [ebp - 0x1c]
mov ecx, edi
mov byte [ebp - 4], 0xe
push str.panelid
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCRT.dll_atol]
pop ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x2c], 1
mov dword [ecx], eax
mov ecx, dword [esi + 0x148]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push dword [ebp - 0x18]
mov ecx, edi
mov byte [ebp - 4], 0xf
push ebx
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 0x2a0]
push dword [ebp - 0x48]
call fcn.0044d360
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x44bd31
push dword [eax + 0x30]
push dword [ebp - 0x18]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x44bd31
and dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esi + 0x148]
lea eax, [ebp - 0x4c]
push str.icon
push eax
mov byte [ebp - 4], 0x10
call dword [sym.imp.QQBaseClassInDll.dll_public:_class_CString___thiscall_CMarkup::GetAttrib_char_const__]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x10]
mov ecx, edi
push str.iconUrl
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
cmp dword [ebp - 0x2c], 0
je 0x44bda5
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x28c]
mov byte [ebp - 4], 0x10
call fcn.0044d1e0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_4
push 0x2f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 8]
sub ecx, eax
lea eax, [ebp - 0x50]
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x14]
mov ecx, edi
push str.iconName
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
cmp dword [ebp + 0xc], 1
jne 0x44be12
push str.TRUE
push str.syspanel
jmp 0x44be38
cmp dword [ebp + 0xc], 2
jne 0x44be46
push str.TRUE
push str.userpanel
mov ecx, edi
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
push dword [ebp - 0x24]
push str.userpanelver
mov ecx, edi
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x44be5a
cmp dword [ebp + 0xc], 2
jne 0x44be5a
push 1
push edi
push dword [eax]
jmp 0x44be5f
push 1
push edi
push 0
mov ecx, esi
call fcn.0044c120
mov ecx, dword [esi + 0x148]
mov edi, dword [sym.imp.QQBaseClassInDll.dll_public:_bool___thiscall_CMarkup::FindElem_char_const__]
push 0
call edi
movzx eax, al
test eax, eax
mov dword [ebp - 0x48], eax
je 0x44bef3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x48]
jmp 0x44bee9
mov ecx, dword [esi + 0x148]
mov edi, dword [sym.imp.QQBaseClassInDll.dll_public:_bool___thiscall_CMarkup::FindElem_char_const__]
push 0
call edi
movzx eax, al
test eax, eax
jne 0x44bb07
mov ecx, dword [esi + 0x148]
call dword [sym.imp.QQBaseClassInDll.dll_public:_bool___thiscall_CMarkup::OutOfElem_void_]
mov ecx, dword [esi + 0x148]
push 0
call edi
movzx eax, al
test eax, eax
jne 0x44bb07
jmp 0x44bf39
mov ecx, dword [esi + 0x148]
call dword [sym.imp.QQBaseClassInDll.dll_public:_bool___thiscall_CMarkup::OutOfElem_void_]
mov ecx, dword [esi + 0x148]
push 0
call edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
push 1
pop ebx
jmp 0x44bf40
xor ebx, ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc