Function at 0x49ee20
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54d90f
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x5c403c]
xor eax, esp
mov dword [esp + 0x328], eax
push ebx
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x340]
mov dword fs:[0], eax
mov esi, dword [0x5c6edc]
mov dword [esp + 0x84], ecx
call dword [sym.imp.libUI.module_public:_void___thiscall_CUIListCtrl::DeleteAll_void_]
lea eax, [esi + 4]
push str.SELECT__FROM_addon_index_ORDER_BY_name_ASC_
push eax
lea ecx, [esp + 0x13c]
mov dword [esp + 0x30], eax
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::db::CCommand::constructor_class_wtw::db::CConnection___wchar_t_const__]
mov dword [esp + 0x348], 0
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x138]
call dword [sym.imp.libWTW.module_public:_class_wtw::db::CReader___thiscall_wtw::db::CCommand::executeReader_void_]
mov byte [esp + 0x348], 1
lea ecx, [esp + 0x74]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::read_void_]
test eax, eax
jne 0x49f6e3
mov ebx, dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::CString::destructor_void_]
mov edi, dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_void_]
lea ecx, [esp + 0xd4]
call edi
mov byte [esp + 0x348], 2
push 0x55ae9c
lea ecx, [esp + 0xe8]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_wchar_t_const__]
mov byte [esp + 0x348], 3
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0xd8]
push edx
push str.guid
lea ecx, [esp + 0x80]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::getResult_wchar_t_const___class_wtw::CString___class_wtw::CString_const__]
mov byte [esp + 0x348], 2
lea ecx, [esp + 0xe4]
call ebx
lea ecx, [esp + 0x18]
call dword [0x55a6c4]
mov byte [esp + 0x348], 4
push 0x55ae9c
lea ecx, [esp + 0x6c]
call dword [0x55a504]
mov byte [esp + 0x348], 5
mov esi, dword [sym.imp.libWTW.module_public:_wchar_t_const____thiscall_wtw::CString::operator_wchar_t_const__void_const]
lea ecx, [esp + 0xd4]
call esi
push eax
lea ecx, [esp + 0x5c]
call dword [0x55a504]
mov byte [esp + 0x348], 6
push 0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x90]
call dword [sym.imp.libUI.module_public:_class_CUITreeNode____thiscall_CUIListCtrl::InsertItem_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___void__]
mov dword [esp + 0x44], eax
mov byte [esp + 0x348], 5
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x348], 4
lea ecx, [esp + 0x68]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x8c]
push eax
push 7
lea ecx, [esp + 0x80]
mov dword [esp + 0x48], 0
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::getResult_int__void____int__]
lea ecx, [esp + 0x94]
call edi
mov byte [esp + 0x348], 7
lea ecx, [esp + 0x10]
call dword [0x55a6c4]
mov byte [esp + 0x348], 8
push 0x55ae9c
lea ecx, [esp + 0x108]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_wchar_t_const__]
mov byte [esp + 0x348], 9
lea ecx, [esp + 0x104]
push ecx
lea edx, [esp + 0x98]
push edx
push str.guid
lea ecx, [esp + 0x80]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::getResult_wchar_t_const___class_wtw::CString___class_wtw::CString_const__]
mov byte [esp + 0x348], 8
lea ecx, [esp + 0x104]
call ebx
lea ecx, [esp + 0x94]
call esi
mov edi, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
push eax
lea eax, [esp + 0x14]
push str.SELECT_COUNT___FROM_addon_remove_WHERE_guid_s_
push eax
call edi
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CConnection::executeAndRead_wchar_t_const___long_long___int64___]
mov eax, dword [esp + 0x2c]
or eax, dword [esp + 0x30]
je 0x49f0d8
push str.wtwExtensions
lea ecx, [esp + 0x74]
call dword [0x55a504]
mov byte [esp + 0x348], 0xa
mov eax, dword [0x5c6f7c]
push str._marked_for_removal_
push 0x410
lea ecx, [esp + 0x78]
push ecx
call fcn.00504820
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov byte [esp + 0x348], 8
lea ecx, [esp + 0x70]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x94]
call esi
push eax
lea edx, [esp + 0x14]
push str.SELECT_COUNT___FROM_addon_upgrade2_WHERE_guid_s_
push edx
call edi
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x30]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CConnection::executeAndRead_wchar_t_const___long_long___int64___]
mov edx, dword [esp + 0x2c]
or edx, dword [esp + 0x30]
je 0x49f15c
push str.wtwExtensions
lea ecx, [esp + 0x58]
call dword [0x55a504]
mov byte [esp + 0x348], 0xb
push str._update_
push 0x411
lea eax, [esp + 0x5c]
push eax
mov eax, dword [0x5c6f7c]
call fcn.00504820
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov byte [esp + 0x348], 8
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x348], 7
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x348], 4
lea ecx, [esp + 0x94]
call ebx
mov eax, dword [esp + 0x88]
xor esi, esi
cmp eax, esi
je 0x49f1fa
mov ecx, dword [esp + 0x3c]
cmp ecx, esi
jle 0x49f1fa
push esi
push ecx
push eax
lea ecx, [esp + 0x178]
call sub.libImage.module_public:_void___thiscall_CxImage::constructor_unsigned_char___unsigned_long_int__unsigned_long_int_
mov byte [esp + 0x348], 0xc
lea ecx, [esp + 0x16c]
call sub.libImage.module_public:_bool___thiscall_CxImage::IsValid_void_const
test al, al
je 0x49f1cf
push 1
lea ecx, [esp + 0x170]
push ecx
mov ecx, dword [esp + 0x4c]
call dword [sym.imp.libUI.module_public:_void___thiscall_CUITreeNode::addIcon_class_CxImage___int_]
mov byte [esp + 0x348], 4
lea ecx, [esp + 0x16c]
mov dword [esp + method.CxImage.virtual_0], vtable.CxImage.0
call sub.libImage.module_public:_bool___thiscall_CxImage::DestroyFrames_void_
lea ecx, [esp + 0x16c]
call fcn.0053195c
lea ecx, [esp + 0x14]
call dword [0x55a6c4]
mov byte [esp + 0x348], 0xd
push esi
push esi
lea edx, [esp + 0x94]
push edx
push str.install_date
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::getResult_wchar_t_const___long_long___int64____long_long___int64__]
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.MSVCR90.dll__localtime64]
mov esi, eax
add esp, 4
mov ecx, 9
lea edi, [esp + 0x148]
rep movsd dword es:[edi], dword [esi]
push str.wtwExtensions
lea ecx, [esp + 0x68]
call dword [0x55a504]
mov byte [esp + 0x348], 0xe
mov eax, dword [0x5c6f7c]
lea ecx, [esp + 0x148]
push ecx
push str._Y__m__d__H:_M:_S
push 0x412
lea edx, [esp + 0x70]
push edx
call fcn.00504820
push eax
push 0x400
push 0x400
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call dword [sym.imp.MSVCR90.dll_wcsftime]
add esp, 0x10
mov byte [esp + 0x348], 0xd
lea ecx, [esp + 0x64]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov esi, dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_void_]
lea ecx, [esp + 0xb4]
call esi
mov byte [esp + 0x348], 0xf
lea ecx, [esp + 0xc4]
call esi
mov byte [esp + 0x348], 0x10
lea ecx, [esp + 0xa4]
call esi
mov byte [esp + 0x348], 0x11
mov edi, dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_wchar_t_const__]
push 0x55ae9c
lea ecx, [esp + 0x128]
call edi
mov byte [esp + 0x348], 0x12
mov esi, dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::getResult_wchar_t_const___class_wtw::CString___class_wtw::CString_const__]
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0xb8]
push ecx
push str.version
lea ecx, [esp + 0x80]
call esi
mov byte [esp + 0x348], 0x11
lea ecx, [esp + 0x124]
call ebx
push 0x55ae9c
lea ecx, [esp + 0x118]
call edi
mov byte [esp + 0x348], 0x13
lea edx, [esp + 0x114]
push edx
lea eax, [esp + 0xc8]
push eax
push str.author
lea ecx, [esp + 0x80]
call esi
mov byte [esp + 0x348], 0x11
lea ecx, [esp + 0x114]
call ebx
push 0x55ae9c
lea ecx, [esp + 0xf8]
call edi
mov byte [esp + 0x348], 0x14
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0xa8]
push edx
push str.name
lea ecx, [esp + 0x80]
call esi
mov byte [esp + 0x348], 0x11
lea ecx, [esp + 0xf4]
call ebx
mov edi, dword [sym.imp.libWTW.module_public:_wchar_t_const____thiscall_wtw::CString::operator_wchar_t_const__void_const]
lea ecx, [esp + 0xb4]
call edi
push eax
lea ecx, [esp + 0x28]
call dword [0x55a504]
mov byte [esp + 0x348], 0x15
push str.wtwExtensions
lea ecx, [esp + 0x70]
call dword [0x55a504]
mov byte [esp + 0x348], 0x16
push str.Version:
push 0x413
lea eax, [esp + 0x74]
push eax
mov eax, dword [0x5c6f7c]
call fcn.00504820
push eax
lea ecx, [esp + 0x50]
call dword [0x55a504]
mov byte [esp + 0x348], 0x17
push 0x57ed64
lea ecx, [esp + 0x60]
call dword [0x55a504]
mov byte [esp + 0x348], 0x18
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call dword [sym.imp.libUI.module_public:_int___thiscall_CUITreeNode::addDataField_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___unsigned_long_int__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
mov byte [esp + 0x348], 0x17
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x348], 0x16
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x348], 0x15
lea ecx, [esp + 0x6c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x348], 0x11
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0xc4]
call edi
push eax
lea ecx, [esp + 0x54]
call dword [0x55a504]
mov byte [esp + 0x348], 0x19
push str.wtwExtensions
lea ecx, [esp + 0x4c]
call dword [0x55a504]
mov byte [esp + 0x348], 0x1a
mov eax, dword [0x5c6f7c]
push str.Author:
push 0x414
lea ecx, [esp + 0x50]
push ecx
call fcn.00504820
push eax
lea ecx, [esp + 0x44]
call dword [0x55a504]
mov byte [esp + 0x348], 0x1b
push 0x57ed68
lea ecx, [esp + 0x3c]
call dword [0x55a504]
mov byte [esp + 0x348], 0x1c
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x44]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call dword [sym.imp.libUI.module_public:_int___thiscall_CUITreeNode::addDataField_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___unsigned_long_int__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
mov byte [esp + 0x348], 0x1b
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x348], 0x1a
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x348], 0x19
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x348], 0x11
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.wtwExtensions
lea ecx, [esp + 0x24]
call dword [0x55a504]
mov byte [esp + 0x348], 0x1d
mov eax, dword [0x5c6f7c]
push 0x57ed6c
push 0x415
lea edx, [esp + 0x28]
push edx
call fcn.00504820
push eax
lea ecx, [esp + 0x64]
call dword [0x55a504]
mov byte [esp + 0x348], 0x1e
push 0x57ed84
lea ecx, [esp + 0x20]
call dword [0x55a504]
mov byte [esp + 0x348], 0x1f
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x64]
push ecx
push 0
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call dword [sym.imp.libUI.module_public:_int___thiscall_CUITreeNode::addDataField_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___unsigned_long_int__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
mov byte [esp + 0x348], 0x1e
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x348], 0x1d
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x348], 0x11
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, esi
call dword [sym.imp.libUI.module_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______thiscall_CUITreeNode::getItemText_void_]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0xa8]
call edi
push eax
push 0x57ed88
push esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
mov byte [esp + 0x348], 0x10
lea ecx, [esp + 0xa4]
call ebx
mov byte [esp + 0x348], 0xf
lea ecx, [esp + 0xc4]
call ebx
mov byte [esp + 0x348], 0xd
lea ecx, [esp + 0xb4]
call ebx
mov byte [esp + 0x348], 4
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x348], 2
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x348], 1
lea ecx, [esp + 0xd4]
call ebx
lea ecx, [esp + 0x74]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::read_void_]
test eax, eax
je 0x49eeca
mov byte [esp + 0x348], 0
lea ecx, [esp + 0x74]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CReader::destructor_void_]
mov dword [esp + 0x348], 0xffffffff
lea ecx, [esp + 0x134]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
mov ecx, dword [esp + 0x340]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x328]
xor ecx, esp
call fcn.00532776
mov esp, ebp
pop ebp
ret