Function at 0x4f2000
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x552454
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push 0x1009
push eax
call ebx
mov ecx, dword [0x5c6ed0]
push str.SELECT_src__dst_FROM_statusMaps_WHERE_network__
push ecx
lea ecx, [esp + 0x38]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::db::CCommand::constructor_class_wtw::db::CConnection___wchar_t_const__]
mov dword [esp + 0x50], edi
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push 0xffffffffffffffff
push eax
push 1
lea ecx, [esp + 0x3c]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__wchar_t_const___int_]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.libWTW.module_public:_class_wtw::db::CReader___thiscall_wtw::db::CCommand::executeReader_void_]
mov byte [esp + 0x50], 1
lea ecx, [esp + 0x20]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::read_void_]
test eax, eax
jne 0x4f2198
jmp 0x4f2098
xor edi, edi
push edi
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
push edi
mov edi, dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::getResult_int__int___int_]
lea ecx, [esp + 0x2c]
call edi
push 0
lea edx, [esp + 0x14]
push edx
push 1
lea ecx, [esp + 0x2c]
call edi
cmp dword [esp + 0x10], 0
je 0x4f2186
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f2186
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004425e0
add esp, 8
mov byte [esp + 0x50], 2
mov ecx, dword [esi + 0x20]
mov edi, dword [eax]
push 0
push 0
push 0x1004
push ecx
call ebx
push 0
push 0
push 0
push 0
push edi
push eax
push 1
mov ecx, esi
call sub.mfc90u.dll_CListCtrl::InsertItem
mov edi, eax
mov byte [esp + 0x50], 1
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]
push 0x56602c
push 1
push edi
mov ecx, esi
call sub.mfc90u.dll_CListCtrl::SetItemText
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004425e0
add esp, 8
mov byte [esp + 0x50], 3
mov eax, dword [eax]
push eax
push 2
push edi
mov ecx, esi
call sub.mfc90u.dll_CListCtrl::SetItemText
mov byte [esp + 0x50], 1
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]
movzx ecx, word [esp + 0x10]
mov eax, dword [esp + 0x14]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push edi
mov ecx, esi
call sub.mfc90u.dll_CListCtrl::SetItem
lea ecx, [esp + 0x20]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::read_void_]
test eax, eax
je 0x4f2096
mov byte [esp + 0x50], 0
lea ecx, [esp + 0x20]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CReader::destructor_void_]
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x30]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4