Function at 0x4d1f10
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x54163d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x34]
push eax
call fcn.0050b3c0
xor ebx, ebx
mov dword [esp + 0xa4], ebx
push esi
lea ecx, [esp + 0x38]
call fcn.004d2260
test eax, eax
jne 0x4d1f7c
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [esp + 0x34]
push ecx
call fcn.004ec1a0
xor eax, eax
jmp 0x4d223f
mov edx, dword [0x5c6ed0]
push str.SELECT__FROM_metaComponents_WHERE_ucid__
push edx
lea ecx, [esp + 0x8c]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::db::CCommand::constructor_class_wtw::db::CConnection___wchar_t_const__]
mov byte [esp + 0xa4], 1
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
push 1
lea ecx, [esp + 0x90]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__wchar_t_const___int_]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x88]
call dword [sym.imp.libWTW.module_public:_class_wtw::db::CReader___thiscall_wtw::db::CCommand::executeReader_void_]
mov byte [esp + 0xa4], 2
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebx
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::getRowNum_int__]
mov eax, dword [esp + 0x1c]
cmp eax, 1
jge 0x4d2029
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x24]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CReader::destructor_void_]
mov byte [esp + 0xa4], bl
lea ecx, [esp + 0x84]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
mov dword [esp + 0xa4], 0xffffffff
lea edx, [esp + 0x34]
push edx
call fcn.004ec1a0
xor eax, eax
jmp 0x4d223f
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 0x40
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.mfc90u.dll_new__
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xa4], 3
cmp eax, ebx
je 0x4d207d
push fcn.00417f00
push fcn.004bb650
push esi
lea edi, [eax + 4]
push 0x40
push edi
mov dword [eax], esi
call fcn.00532989
jmp 0x4d207f
xor edi, edi
mov byte [esp + 0xa4], 2
mov ecx, dword [esp + 0xac]
mov dword [ecx], edi
lea ecx, [esp + 0x24]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::read_void_]
test eax, eax
jne 0x4d21fe
mov ebp, dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_void_]
mov esi, dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::CString::destructor_void_]
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x54]
call ebp
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x44]
call ebp
mov byte [esp + 0xa4], 5
mov ebx, dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_wchar_t_const__]
push 0x55ae9c
lea ecx, [esp + 0x68]
call ebx
mov byte [esp + 0xa4], 6
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 edx, [esp + 0x64]
push edx
lea eax, [esp + 0x58]
push eax
push 0x5870b4
lea ecx, [esp + 0x30]
call edi
mov byte [esp + 0xa4], 5
lea ecx, [esp + 0x64]
call esi
push 0x55ae9c
lea ecx, [esp + 0x78]
call ebx
mov byte [esp + 0xa4], 7
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x48]
push edx
push 0x55d634
lea ecx, [esp + 0x30]
call edi
mov byte [esp + 0xa4], 5
lea ecx, [esp + 0x74]
call esi
mov edi, dword [sym.imp.libWTW.module_public:_wchar_t_const____thiscall_wtw::CString::c_str_void_const]
lea ecx, [esp + 0x44]
call edi
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax]
lea ecx, [edx + ecx + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [esp + 0x54]
call edi
push eax
lea ecx, [esp + 0x24]
call dword [0x55a504]
mov byte [esp + 0xa4], 8
mov eax, dword [0x5c6f50]
push eax
lea ebx, [esp + 0x24]
call fcn.004e83e0
mov edi, eax
mov byte [esp + 0xa4], 5
mov ecx, ebx
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 edi, edi
je 0x4d21c9
mov eax, dword [esp + 0xac]
mov edx, dword [eax]
mov ebx, dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [ecx + edx + 0x34], ebx
mov eax, dword [eax]
push edi
lea ecx, [ecx + eax + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
add dword [esp + 0x18], 0x40
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x44]
call esi
mov byte [esp + 0xa4], 2
lea ecx, [esp + 0x54]
call esi
lea ecx, [esp + 0x24]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::read_void_]
test eax, eax
je 0x4d20b2
xor ebx, ebx
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x24]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CReader::destructor_void_]
mov byte [esp + 0xa4], bl
lea ecx, [esp + 0x84]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [esp + 0x34]
push ecx
call fcn.004ec1a0
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 4