Function at 0x4d1d30
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x554236
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esi + 0x7c]
push eax
lea ecx, [esi + 0x78]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004e8280
xor ebx, ebx
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x4d1edd
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], ebx
call dword [0x55a6c4]
mov byte [esp + 0x68], 1
mov ecx, dword [0x5c6ed0]
push str.SELECT__ucid____default__FROM_metaComponents_WHERE_net__AND_id__
push ecx
lea ecx, [esp + 0x54]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::db::CCommand::constructor_class_wtw::db::CConnection___wchar_t_const__]
mov byte [esp + 0x68], 2
mov eax, dword [esi + 0x74]
mov edi, dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__wchar_t_const___int_]
push 0xffffffffffffffff
push eax
push 2
lea ecx, [esp + 0x58]
call edi
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
push 1
lea ecx, [esp + 0x58]
call edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.libWTW.module_public:_class_wtw::db::CReader___thiscall_wtw::db::CCommand::executeReader_void_]
mov byte [esp + 0x68], 3
lea ecx, [esp + 0x1c]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::read_void_]
test eax, eax
jne 0x4d1eb1
lea ecx, [esp + 0x2c]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_void_]
mov byte [esp + 0x68], 4
push 0x55ae9c
lea ecx, [esp + 0x40]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_wchar_t_const__]
mov byte [esp + 0x68], 5
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
push str.ucid
lea ecx, [esp + 0x28]
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 + 0x68], 4
mov edi, dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::CString::destructor_void_]
lea ecx, [esp + 0x3c]
call edi
push ebx
lea eax, [esp + 0x1c]
push eax
push str.default
lea ecx, [esp + 0x28]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::getResult_wchar_t_const___int___int_]
lea ecx, [esp + 0x2c]
call dword [sym.imp.libWTW.module_public:_wchar_t_const____thiscall_wtw::CString::c_str_void_const]
push eax
lea ecx, [esp + 0x14]
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 + 0x68], 3
lea ecx, [esp + 0x2c]
call edi
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], ebx
je 0x4d1eb1
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0xb4]
mov dword [esi + 0x9c], edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea edx, [esi + 0x48]
mov ecx, esi
call fcn.004ce080
mov ecx, dword [0x5c7044]
mov dword [ecx + 0x888], 1
mov byte [esp + 0x68], 2
lea ecx, [esp + 0x1c]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CReader::destructor_void_]
mov byte [esp + 0x68], 1
lea ecx, [esp + 0x4c]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
mov byte [esp + 0x68], bl
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 dword [esp + 0x68], 0xffffffff
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]
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x60
ret