Function at 0x4403c0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5a3280
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 [0x637760]
add esp, 0xc
push ebp
push ebp
push edx
push str.XGSP
call fcn.0058fec0
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x1c], ebx
je 0x4407e1
mov ecx, ebx
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
cmp eax, 1
jl 0x4407e1
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 0x4404e0
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 0x4404cb
mov edx, dword [esi + 0x124]
push 0
push 0
push 0x146
push edx
inc ebp
call edi
cmp ebp, eax
jl 0x44048e
jmp 0x4404dc
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 0x60df28
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x44054b
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 0x60df24
push eax
call ebp
add esp, 8
test eax, eax
jne 0x440579
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 0x60df20
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4405a7
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 0x60df1c
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4405d5
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 0x60df18
push eax
call ebp
add esp, 8
test eax, eax
jne 0x440603
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 0x60df14
push edx
call ebp
add esp, 8
test eax, eax
jne 0x440631
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 0x60df10
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x44065f
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 0x60df0c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x44068d
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 0x4406f4
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 0x440732
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 0x4406b3
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 0x4407b0
call fcn.00441100
jmp 0x4407b5
call fcn.00441180
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 0x4407f7
mov edx, dword [esi + 0x20]
push 0x40
push 0x6030cc
push 0x60dec4
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