Function at 0x4403e0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5a1c30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x60]
lea ecx, [esp + 0x18]
push eax
xor ebp, ebp
push str.SELECT__FROM__q_config__WHERE_id_d
push ecx
mov dword [esp + 0x38], ebp
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x24]
mov ecx, dword [0x635490]
add esp, 0xc
push ebp
push ebp
push edx
push str.XGSP
call fcn.0058fa20
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x1c], ebx
je 0x440801
mov ecx, ebx
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
cmp eax, 1
jl 0x440801
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push str.office_code
mov byte [esp + 0x38], 1
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x124]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push ebp
push 0x146
push ecx
mov byte [esp + 0x40], 2
call edi
test eax, eax
jle 0x440500
lea ebx, [esi + 0x104]
lea edx, [esp + 0x24]
mov ecx, ebx
push edx
push ebp
call sub.MFC42.DLL_CComboBox::GetLBText
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4404eb
mov edx, dword [esi + 0x124]
push 0
push 0
push 0x146
push edx
inc ebp
call edi
cmp ebp, eax
jl 0x4404ae
jmp 0x4404fc
mov eax, dword [esi + 0x124]
push 0
push ebp
push 0x14e
push eax
call edi
mov ebx, dword [esp + 0x20]
lea ecx, [esi + 0x144]
push ecx
push str.q_si
mov ecx, ebx
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esi + 0x150]
mov ecx, ebx
push edx
push str.q_level
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push str.q_type
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x60bf28
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x44056b
push 0x57b
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push 0
push 1
push 0xf1
push edx
call edi
mov eax, dword [esp + 0x10]
push 0x60bf24
push eax
call ebp
add esp, 8
test eax, eax
jne 0x440599
push 0x57c
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push 0
push 1
push 0xf1
push ecx
call edi
mov edx, dword [esp + 0x10]
push 0x60bf20
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4405c7
push 0x57d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
call edi
mov ecx, dword [esp + 0x10]
push 0x60bf1c
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4405f5
push 0x57e
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push 0
push 1
push 0xf1
push edx
call edi
mov eax, dword [esp + 0x10]
push 0x60bf18
push eax
call ebp
add esp, 8
test eax, eax
jne 0x440623
push 0x57f
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push 0
push 1
push 0xf1
push ecx
call edi
mov edx, dword [esp + 0x10]
push 0x60bf14
push edx
call ebp
add esp, 8
test eax, eax
jne 0x440651
push 0x580
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
call edi
mov ecx, dword [esp + 0x10]
push 0x60bf10
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x44067f
push 0x581
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push 0
push 1
push 0xf1
push edx
call edi
mov eax, dword [esp + 0x10]
push 0x60bf0c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4406ad
push 0x582
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push 0
push 1
push 0xf1
push ecx
call edi
lea edx, [esp + 0x10]
mov ecx, ebx
push edx
push str.q_time
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], 3
xor ebx, ebx
mov ebp, 0x54c
push ebx
lea eax, [esp + 0x18]
push str._02d00
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x440714
lea edx, [ebp - 1]
mov ecx, esi
push edx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
call edi
push ebx
lea ecx, [esp + 0x18]
push str._02d30
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x10]
push 0
push edx
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x440752
push ebp
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
call edi
add ebp, 2
inc ebx
cmp ebp, 0x57c
jl 0x4406d3
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push str.q_disable
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov ebx, dword [esp + 0x18]
xor edx, edx
test ebx, ebx
lea eax, [esi + 0x14c]
mov ecx, edi
setne dl
push eax
push str.remark
mov dword [esi + 0x148], edx
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
push ecx
push str.q_freq
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [esp + 0x18]
pop edi
cmp eax, 5
mov ecx, esi
jne 0x4407d0
call fcn.00441120
jmp 0x4407d5
call fcn.004411a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
jmp 0x440817
mov edx, dword [esi + 0x20]
push 0x40
push 0x6010cc
push 0x60bec4
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret