Function at 0x4d25b0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x54c8a7
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x5c6ed0]
push str.SELECT__FROM_metaComponents_WHERE_ucid_
push eax
lea ecx, [esp + 0x84]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::db::CCommand::constructor_class_wtw::db::CConnection___wchar_t_const__]
mov dword [esp + 0x9c], ebx
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx]
push 0xffffffffffffffff
push eax
push 1
lea ecx, [esp + 0x88]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__wchar_t_const___int_]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x80]
call dword [sym.imp.libWTW.module_public:_class_wtw::db::CReader___thiscall_wtw::db::CCommand::executeReader_void_]
mov byte [esp + 0x9c], 1
lea ecx, [esp + 0x2c]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::read_void_]
test eax, eax
jne 0x4d28b5
mov ebp, dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::CString::destructor_void_]
jmp 0x4d2652
xor ebx, ebx
mov edi, dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_void_]
lea ecx, [esp + 0x4c]
call edi
mov byte [esp + 0x9c], 2
lea ecx, [esp + 0x3c]
call edi
mov byte [esp + 0x9c], 3
mov dword [esp + 0x24], ebx
mov ebx, dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_wchar_t_const__]
push 0x55ae9c
lea ecx, [esp + 0x60]
call ebx
mov byte [esp + 0x9c], 4
mov edi, 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 + 0x5c]
push eax
lea ecx, [esp + 0x50]
push ecx
push 0x55d634
lea ecx, [esp + 0x38]
call edi
mov byte [esp + 0x9c], 3
lea ecx, [esp + 0x5c]
call ebp
push 0x55ae9c
lea ecx, [esp + 0x70]
call ebx
mov byte [esp + 0x9c], 5
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x40]
push eax
push 0x5870b4
lea ecx, [esp + 0x38]
call edi
mov byte [esp + 0x9c], 3
lea ecx, [esp + 0x6c]
call ebp
push 0
lea ecx, [esp + 0x28]
push ecx
push str.default
lea ecx, [esp + 0x38]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::getResult_wchar_t_const___int___int_]
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.libWTW.module_public:_wchar_t_const____thiscall_wtw::CString::c_str_void_const]
lea ecx, [esp + 0x4c]
mov edi, eax
call ebx
push 0
push 0
push 0
push 0
push eax
push edi
push 1
mov ecx, esi
call sub.mfc90u.dll_CListCtrl::InsertItem
lea ecx, [esp + 0x3c]
mov edi, eax
call dword [sym.imp.libWTW.module_public:_unsigned_long_int___thiscall_wtw::CString::getLength_void_const]
test eax, eax
je 0x4d27e5
lea ecx, [esp + 0x3c]
call ebx
push eax
lea ecx, [esp + 0x24]
call dword [0x55a504]
mov byte [esp + 0x9c], 6
mov eax, dword [0x5c6f50]
push eax
lea ebx, [esp + 0x24]
call fcn.004e83e0
mov ebx, eax
mov byte [esp + 0x9c], 3
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]
test ebx, ebx
je 0x4d27e5
mov eax, dword [ebx]
push eax
push 1
push edi
mov ecx, esi
call sub.mfc90u.dll_CListCtrl::SetItemText
lea ecx, [esp + 0x18]
call dword [0x55a6c4]
mov byte [esp + 0x9c], 7
mov ecx, dword [ebx + 0x14]
push ecx
lea edx, [esp + 0x1c]
push 0x55d840
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov eax, dword [esp + 0x24]
add esp, 0xc
push eax
push 2
push edi
mov ecx, esi
call sub.mfc90u.dll_CListCtrl::SetItemText
mov byte [esp + 0x9c], 3
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]
lea ecx, [esp + 0x1c]
call dword [0x55a6c4]
mov ebx, 8
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x24], 1
jne 0x4d2839
push str.wtwOther
lea ecx, [esp + 0x2c]
call dword [0x55a504]
mov byte [esp + 0x9c], 9
mov eax, dword [0x5c6f7c]
or dword [esp + 0x14], 1
push str.Default
push 0x3ee
lea ecx, [esp + 0x30]
push ecx
call fcn.00504820
jmp 0x4d283e
mov eax, 0x55ae9c
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov dword [esp + 0x9c], ebx
test byte [esp + 0x14], 1
je 0x4d2866
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x28]
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 edx, dword [esp + 0x1c]
push edx
push 3
push edi
mov ecx, esi
call sub.mfc90u.dll_CListCtrl::SetItemText
mov byte [esp + 0x9c], 3
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 + 0x9c], 2
lea ecx, [esp + 0x3c]
call ebp
mov byte [esp + 0x9c], 1
lea ecx, [esp + 0x4c]
call ebp
lea ecx, [esp + 0x2c]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::read_void_]
test eax, eax
je 0x4d2650
mov byte [esp + 0x9c], 0
lea ecx, [esp + 0x2c]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CReader::destructor_void_]
mov dword [esp + 0x9c], 0xffffffff
lea ecx, [esp + 0x7c]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x90
ret 4