Function at 0x440740
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5a5d20
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 [0x63ac10]
add esp, 0xc
push ebp
push ebp
push edx
push str.XGSP
call fcn.00593a10
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x1c], ebx
je 0x440b61
mov ecx, ebx
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
cmp eax, 1
jl 0x440b61
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 0x440860
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 0x44084b
mov edx, dword [esi + 0x124]
push 0
push 0
push 0x146
push edx
inc ebp
call edi
cmp ebp, eax
jl 0x44080e
jmp 0x44085c
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 0x610ff4
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4408cb
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 0x610ff0
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4408f9
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 0x610fec
push edx
call ebp
add esp, 8
test eax, eax
jne 0x440927
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 0x610fe8
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x440955
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 0x610fe4
push eax
call ebp
add esp, 8
test eax, eax
jne 0x440983
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 0x610fe0
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4409b1
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 0x610fdc
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4409df
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 0x610fd8
push eax
call ebp
add esp, 8
test eax, eax
jne 0x440a0d
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 0x440a74
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 0x440ab2
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 0x440a33
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 0x440b30
call fcn.00441480
jmp 0x440b35
call fcn.00441500
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 0x440b77
mov edx, dword [esi + 0x20]
push 0x40
push 0x6060cc
push 0x610f90
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