Function at 0x4c1a60
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54caf3
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x5c403c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x250], esi
mov edi, edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x5c6f24]
cmp dword [0x5c6f20], 0
jne 0x4c20c4
push 0x561530
push 0x56152c
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x583ec4
push 0x583ecc
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x583eb8
push 0x583ec0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0
lea ecx, [ebx + 0x10]
push ecx
lea ecx, [ebp - 0x23c]
call sub.mfc90u.dll_CSingleLock::CSingleLock
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.004604d0
lea ecx, [ebp - 0x228]
call dword [0x55a6c4]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call dword [0x55a6c4]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x224]
call dword [0x55a6c4]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
call dword [0x55a6c4]
mov byte [ebp - 4], 5
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov edx, eax
or edx, edi
je 0x4c1b90
push edi
push eax
push 0x584814
lea eax, [ebp - 0x220]
push eax
mov edi, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
call edi
add esp, 0x10
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x224]
call dword [0x55a4e8]
jmp 0x4c1b96
mov edi, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov ecx, dword [ebp - 0x22c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, eax
or edx, ecx
je 0x4c1bd5
add eax, 0x15180
adc ecx, 0
push ecx
push eax
push str.AND_i.start_time____lld
lea eax, [ebp - 0x220]
push eax
call edi
add esp, 0x10
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x224]
call dword [0x55a4e8]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x4c1bf8
mov edx, dword [ebp - 0x224]
push edx
push str.SELECT_i.conf_id__i.start_time__COUNT_d.conference_id___i.conf_name_FROM_wtw_conference_index_i__wtw_conference_data_d_WHERE_i.conf_id__d.conference_id__s_GROUP_BY_i.conf_id_ORDER_BY_i.start_time_DESC_
lea eax, [ebp - 0x228]
push eax
call edi
add esp, 0xc
jmp 0x4c1c29
push eax
push str.d.entry_text_LIKE____s___ESCAPE_
lea ecx, [ebp - 0x230]
push ecx
call edi
add esp, 0xc
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x230]
push eax
push str.SELECT_i.conf_id__i.start_time__COUNT_d.conference_id___i.conf_name_FROM_wtw_conference_index_i__wtw_conference_data_d_WHERE__d.entry_flags__64___0_AND_i.conf_id__d.conference_id_AND__s__s_GROUP_BY_i.conf_id_ORDER_BY_i.start_time_DESC_
lea ecx, [ebp - 0x228]
push ecx
call edi
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [ebp - 0x23c]
call sub.mfc90u.dll_CSingleLock::Lock
mov edx, dword [ebp - 0x228]
push edx
push ebx
lea ecx, [ebp - 0x2cc]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::db::CCommand::constructor_class_wtw::db::CConnection___wchar_t_const__]
mov byte [ebp - 4], 6
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x2cc]
call dword [sym.imp.libWTW.module_public:_class_wtw::db::CReader___thiscall_wtw::db::CCommand::executeReader_void_]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x23c]
call sub.mfc90u.dll_CSingleLock::Unlock
push 0xffffffffffffffff
lea ecx, [ebp - 0x23c]
call sub.mfc90u.dll_CSingleLock::Lock
lea ecx, [ebp - 0x260]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::read_void_]
mov esi, eax
neg esi
sbb esi, esi
inc esi
lea ecx, [ebp - 0x23c]
call sub.mfc90u.dll_CSingleLock::Unlock
jmp 0x4c1ca0
test esi, esi
je 0x4c2055
lea ecx, [ebp - 0x21c]
call dword [0x55a6c4]
mov byte [ebp - 4], 8
push 0
push 0
lea ecx, [ebp - 0x268]
push ecx
push 0
lea ecx, [ebp - 0x260]
mov ebx, dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::getResult_int__long_long___int64____long_long___int64__]
call ebx
mov edx, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push edx
mov eax, dword [0x55a6c4]
push eax
push 7
push 4
lea ecx, [ebp - 0x298]
push ecx
call fcn.00532989
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x268]
push eax
push str._lld
lea ecx, [ebp - 0x21c]
push ecx
call edi
add esp, 0x10
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x298]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x2a8]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_void_]
mov byte [ebp - 4], 0xb
push 0x55ae9c
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_wchar_t_const__]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
push 3
lea ecx, [ebp - 0x260]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::getResult_int__class_wtw::CString___class_wtw::CString_const__]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2b8]
mov esi, dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::CString::destructor_void_]
call esi
lea ecx, [ebp - 0x2a8]
call dword [sym.imp.libWTW.module_public:_wchar_t_const____thiscall_wtw::CString::operator_wchar_t_const__void_const]
push eax
lea ecx, [ebp - 0x294]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2a8]
call esi
xor edx, edx
mov word [ebp - 0x218], dx
push 0x1fc
push edx
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x23c]
call sub.mfc90u.dll_CSingleLock::Lock
push 0
push 0
lea ecx, [ebp - 0x248]
push ecx
push 1
lea ecx, [ebp - 0x260]
call ebx
lea ecx, [ebp - 0x23c]
call sub.mfc90u.dll_CSingleLock::Unlock
cmp dword [ebp - 0x244], 0
jl 0x4c1ffb
jg 0x4c1e05
cmp dword [ebp - 0x248], 1
jbe 0x4c1ffb
lea edx, [ebp - 0x248]
push edx
call dword [sym.imp.MSVCR90.dll__localtime64]
add esp, 4
mov ecx, 9
mov esi, eax
lea edi, [ebp - 0x2f0]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2f0]
push eax
push str._a___c
push 0xff
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.MSVCR90.dll_wcsftime]
add esp, 0x10
mov dword [ebp - 4], 0xa
jmp 0x4c1e7a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x290]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x278], ecx
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x274], edx
push 0xffffffffffffffff
lea ecx, [ebp - 0x23c]
call sub.mfc90u.dll_CSingleLock::Lock
push 0
push 0
lea eax, [ebp - 0x270]
push eax
push 2
lea ecx, [ebp - 0x260]
call ebx
mov ecx, dword [ebp + 8]
push str.wtwArchive
cmp dword [ecx - 0xc], 0
jne 0x4c1f2b
lea ecx, [ebp - 0x24c]
call dword [0x55a504]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x270]
push eax
push str.Messages:__lld
push 0x3f0
lea ecx, [ebp - 0x24c]
push ecx
mov eax, dword [0x5c6f7c]
call fcn.00504820
push eax
lea edx, [ebp - 0x21c]
push edx
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 [ebp - 4], 0xa
lea ecx, [ebp - 0x24c]
jmp 0x4c1f7f
lea ecx, [ebp - 0x22c]
call dword [0x55a504]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
push str.Found:__lld
push 0x3f1
lea edx, [ebp - 0x22c]
push edx
mov eax, dword [0x5c6f7c]
call fcn.00504820
push eax
lea eax, [ebp - 0x21c]
push eax
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 [ebp - 4], 0xa
lea ecx, [ebp - 0x22c]
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, [ebp - 0x23c]
call sub.mfc90u.dll_CSingleLock::Unlock
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x28c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov ebx, dword [ebp - 0x250]
mov edx, dword [ebx + 0x1c]
inc edx
cmp dword [ebx + 0x14], edx
ja 0x4c1fb7
call fcn.004c3fa0
mov esi, dword [ebx + 0x18]
add esi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x14]
cmp eax, esi
ja 0x4c1fc6
sub esi, eax
mov eax, dword [ebx + 0x10]
cmp dword [eax + esi*4], 0
jne 0x4c1fdf
push 0x30
call sub.mfc90u.dll_new
add esp, 4
mov ecx, dword [ebx + 0x10]
mov dword [ecx + esi*4], eax
mov edx, dword [ebx + 0x10]
mov esi, dword [edx + esi*4]
lea edi, [ebp - 0x298]
call fcn.004c4390
mov eax, ebx
inc dword [eax + 0x1c]
mov edi, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
push 0xffffffffffffffff
lea ecx, [ebp - 0x23c]
call sub.mfc90u.dll_CSingleLock::Lock
lea ecx, [ebp - 0x260]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CReader::read_void_]
mov esi, eax
neg esi
sbb esi, esi
inc esi
lea ecx, [ebp - 0x23c]
call sub.mfc90u.dll_CSingleLock::Unlock
mov byte [ebp - 4], 8
mov eax, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push eax
push 7
push 4
lea ecx, [ebp - 0x298]
push ecx
call fcn.005327e3
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x4c1ca0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x260]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CReader::destructor_void_]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2cc]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
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 [ebp - 4], 3
lea ecx, [ebp - 0x224]
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 [ebp - 4], 2
lea ecx, [ebp - 0x230]
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 [ebp - 4], 1
lea ecx, [ebp - 0x228]
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 [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call sub.mfc90u.dll_CSingleLock::Unlock
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
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 [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00532776
mov esp, ebp
pop ebp
ret 8