Function at 0x440830
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5aa8d0
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 [0x641030]
add esp, 0xc
push ebp
push ebp
push edx
push str.XGSP
call fcn.00598520
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x1c], ebx
je 0x440c51
mov ecx, ebx
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
cmp eax, 1
jl 0x440c51
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 0x440950
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 0x44093b
mov edx, dword [esi + 0x124]
push 0
push 0
push 0x146
push edx
inc ebp
call edi
cmp ebp, eax
jl 0x4408fe
jmp 0x44094c
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 0x617008
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4409bb
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 0x617004
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4409e9
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 0x617000
push edx
call ebp
add esp, 8
test eax, eax
jne 0x440a17
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 0x616ffc
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x440a45
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 0x616ff8
push eax
call ebp
add esp, 8
test eax, eax
jne 0x440a73
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 0x616ff4
push edx
call ebp
add esp, 8
test eax, eax
jne 0x440aa1
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 0x616ff0
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x440acf
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 0x616fec
push eax
call ebp
add esp, 8
test eax, eax
jne 0x440afd
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 0x440b64
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 0x440ba2
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 0x440b23
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 0x440c20
call fcn.00441570
jmp 0x440c25
call fcn.004415f0
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 0x440c67
mov edx, dword [esi + 0x20]
push 0x40
push 0x60c0cc
push 0x616fa4
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