Function at 0x58e190
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x5c18ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x38], esi
je 0x58e1d6
push str.PNRR
mov ecx, eax
call fcn.004db9f0
mov esi, eax
push 3
push 3
push 1
push str.select_top_1__from__etdz_rec_
mov ecx, esi
mov dword [esp + 0x48], 0xffffffff
call fcn.004dba80
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
cmp eax, 1
jne 0x58e2b1
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetFieldsCount_void_
mov ebp, eax
xor edi, edi
test ebp, ebp
jle 0x58e244
lea eax, [esp + 0x20]
push edi
push eax
mov ecx, esi
call sym.ETermProxy.exe_public:_class_CString___thiscall_CAdoRecordSet::GetFieldName_long_int_
mov ecx, dword [esp + 0x20]
push str.etdz_dev
push ecx
call ebx
add esp, 8
mov dword [esp + 0x38], 0xffffffff
test eax, eax
lea ecx, [esp + 0x20]
je 0x58e2a0
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x58e20e
test esi, esi
je 0x58e250
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov esi, dword [esp + 0x1c]
push str.alter_table__etdz_rec__add_etdz_dev_INTEGER
lea eax, [esp + 0x24]
push str.PNRR
mov ecx, dword [esi + 8]
push eax
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x20]
test eax, eax
je 0x58e279
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 8]
push str.alter_table__ticket_rec__add_etdz_dev_INTEGER
lea edx, [esp + 0x24]
push str.PNRR
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x20]
test eax, eax
je 0x58e2b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x58e2b1
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x58e2b1
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x38], 2
je 0x58e2db
push str.XGSP
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x58e2dd
xor esi, esi
or ebp, 0xffffffff
test esi, esi
mov dword [esp + 0x38], ebp
jne 0x58e3ce
mov eax, dword [0x637760]
test eax, eax
je 0x58e354
mov cl, byte [eax + 0x40]
test cl, cl
je 0x58e354
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x62fa70
push 0x603774
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x637760]
push str.runtime
push 0x603760
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x62fa70
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x40], 3
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x603774
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x44], 4
mov ecx, esp
mov dword [esp + 0x2c], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x48], 5
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x60375c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63233c]
mov dword [esp + 0x48], ebp
call fcn.00458d90
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 3
push 3
push 1
push str.select__from__sys_param__WHERE_item_nameflow_task_day
mov ecx, esi
call fcn.004dba80
test eax, eax
jne 0x58e401
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
mov edi, eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
test edi, edi
jne 0x58e489
lea ecx, [esp + 0x24]
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 6
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x20]
push eax
push str.INSERT_INTO__sys_param__item_name__item_value__VALUES_flow_task_day___d_
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x28]
push eax
push str.XGSP
push ecx
mov ecx, dword [ebx + 8]
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58e47a
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
call sub.MFC42.DLL_CString::CString
jmp 0x58e48d
mov ebx, dword [esp + 0x1c]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x38], 7
je 0x58e4b7
push str.XGSP
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x58e4b9
xor esi, esi
push 3
push 3
push 1
push str.select__from__sys_param__WHERE_item_nametsl_task_device
mov ecx, esi
mov dword [esp + 0x48], ebp
call fcn.004dba80
test eax, eax
jne 0x58e4f8
test esi, esi
je 0x58eff8
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test esi, esi
mov edi, eax
je 0x58e50d
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
test edi, edi
jne 0x58e5d6
lea eax, [esp + 0x24]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
push str.INSERT_INTO__sys_param__item_name__item_value__VALUES_tsl_task_account___
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 8
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [ebx + 8]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58e563
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.INSERT_INTO__sys_param__item_name__item_value__VALUES_tsl_task_device___
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 8]
push edx
lea eax, [esp + 0x2c]
push str.XGSP
push eax
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58e596
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.INSERT_INTO__sys_param__item_name__item_value__VALUES_tsl_task_day___
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 8]
push edx
lea eax, [esp + 0x2c]
push str.XGSP
push eax
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58e5c9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
call sub.MFC42.DLL_CString::CString
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x38], 9
je 0x58e600
push str.XGSP
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x58e602
xor esi, esi
test esi, esi
mov dword [esp + 0x38], ebp
jne 0x58e6c4
mov eax, dword [0x637760]
test eax, eax
je 0x58e673
mov cl, byte [eax + 0x40]
test cl, cl
je 0x58e673
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x62fa70
push 0x603774
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x637760]
push str.runtime
push 0x603760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb100
mov ecx, dword [0x637760]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x62fa70
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x40], 0xa
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x603774
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x44], 0xb
mov ecx, esp
mov dword [esp + 0x2c], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x48], 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
jmp 0x58e3a0
push 3
push 3
push 1
push str.select_top_1__from__client_config_
mov ecx, esi
call fcn.004dba80
test eax, eax
jne 0x58e6f7
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ecx, esi
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
xor bl, bl
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetFieldsCount_void_
mov ebp, eax
xor edi, edi
test ebp, ebp
jle 0x58e7a7
lea ecx, [esp + 0x20]
push edi
push ecx
mov ecx, esi
call sym.ETermProxy.exe_public:_class_CString___thiscall_CAdoRecordSet::GetFieldName_long_int_
mov edx, dword [esp + 0x20]
push str.today_ins_count
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x58e744
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x20]
push str.today_switch_count
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x58e760
mov byte [esp + 0x14], 1
mov ecx, dword [esp + 0x20]
push str.si_update_time
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x58e77c
mov byte [esp + 0x15], 1
mov edx, dword [esp + 0x20]
push str.today_ins_control_enable
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x58e795
mov bl, 1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x58e71b
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
test bl, bl
jne 0x58e7de
mov ebp, dword [esp + 0x1c]
push str.alter_table__client_config__add_today_ins_control_enable_INTEGER__today_max_ins_count_INTEGER__today_add_ins_count_INTEGER
lea ecx, [esp + 0x2c]
push str.XGSP
push ecx
mov ecx, dword [ebp + 8]
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58e7e2
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x58e7e2
mov ebp, dword [esp + 0x1c]
mov al, byte [esp + 0x13]
test al, al
jne 0x58e834
mov ecx, dword [ebp + 8]
push str.alter_table__client_config__add_today_ins_count_INTEGER
lea eax, [esp + 0x2c]
push str.XGSP
push eax
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58e80f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 8]
push str.alter_table__pid_config__add_today_ins_count_INTEGER
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58e834
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x14]
test al, al
jne 0x58e886
mov ecx, dword [ebp + 8]
push str.alter_table__pid_config__add_today_switch_count_INTEGER
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58e861
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 8]
push str.alter_table__flow_rec__add_switch_count_INTEGER
lea edx, [esp + 0x2c]
push str.PNRR
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58e886
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x15]
test al, al
jne 0x58e8b3
mov ecx, dword [ebp + 8]
push str.alter_table__pid_config__add_si_update_time_DATE
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58e8b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x38], 0xd
je 0x58e8dd
push str.XGSP
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x58e8df
xor esi, esi
or edi, 0xffffffff
test esi, esi
mov dword [esp + 0x38], edi
jne 0x58e9a4
mov eax, dword [0x637760]
test eax, eax
je 0x58e953
mov cl, byte [eax + 0x40]
test cl, cl
je 0x58e953
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x62fa70
push 0x603774
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x637760]
push str.runtime
push 0x603760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb100
mov ecx, dword [0x637760]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x62fa70
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x40], 0xe
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x603774
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x44], 0xf
mov ecx, esp
mov dword [esp + 0x2c], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x48], 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
jmp 0x58efdf
push 3
push 3
push 1
push str.select_top_1__from__pid_config_
mov ecx, esi
call fcn.004dba80
test eax, eax
jne 0x58e9d7
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push str.si_code_1
mov ecx, esi
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0x18], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x19], 0
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetFieldDefineSize_char_const__
cmp eax, 0xc8
jl 0x58ea1c
mov byte [esp + 0x15], 1
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetFieldsCount_void_
xor ebx, ebx
mov dword [esp + 0x28], eax
test eax, eax
jle 0x58eb1a
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
lea ecx, [esp + 0x20]
push ebx
push ecx
mov ecx, esi
call sym.ETermProxy.exe_public:_class_CString___thiscall_CAdoRecordSet::GetFieldName_long_int_
mov edx, dword [esp + 0x20]
push str.today_max_ins_count
push edx
call edi
add esp, 8
test eax, eax
jne 0x58ea5c
mov byte [esp + 0x14], 1
mov eax, dword [esp + 0x20]
push str.tss_control
push eax
call edi
add esp, 8
test eax, eax
jne 0x58ea74
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x20]
push str.today_add_ins_count
push ecx
call edi
add esp, 8
test eax, eax
jne 0x58ea8c
mov byte [esp + 0x16], 1
mov edx, dword [esp + 0x20]
push 0x62f6e8
push edx
call edi
add esp, 8
test eax, eax
jne 0x58eaa4
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x20]
push str.verify_code
push eax
call edi
add esp, 8
test eax, eax
jne 0x58eabc
mov byte [esp + 0x18], 1
mov ecx, dword [esp + 0x20]
push str.q_enable
push ecx
call edi
add esp, 8
test eax, eax
jne 0x58ead4
mov byte [esp + 0x19], 1
mov edx, dword [esp + 0x20]
push str.q_config
push edx
call edi
add esp, 8
test eax, eax
jne 0x58eaec
mov byte [esp + 0x1a], 1
mov eax, dword [esp + 0x20]
push str.q_si
push eax
call edi
add esp, 8
test eax, eax
jne 0x58eb04
mov byte [esp + 0x1b], 1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
inc ebx
cmp ebx, eax
jl 0x58ea37
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov al, byte [esp + 0x15]
test al, al
jne 0x58eb4f
mov ecx, dword [ebp + 8]
push str.alter_table__pid_config__alter_column__si_code_1__TEXT_200__NULL
lea eax, [esp + 0x2c]
push str.XGSP
push eax
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58eb4f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x14]
test al, al
jne 0x58eb7c
mov ecx, dword [ebp + 8]
push str.alter_table__pid_config__add_today_max_ins_count_INTEGER__today_ins_control_enable_INTEGER
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58eb7c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x13]
test al, al
jne 0x58eba9
mov ecx, dword [ebp + 8]
push str.alter_table__pid_config__add_tss_control_INTEGER
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58eba9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x16]
test al, al
jne 0x58ebd6
mov ecx, dword [ebp + 8]
push str.alter_table__pid_config__add_today_add_ins_count_INTEGER
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58ebd6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x17]
test al, al
jne 0x58ec03
mov ecx, dword [ebp + 8]
push str.alter_table__pid_config__add_mid_INTEGER
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58ec03
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x18]
test al, al
jne 0x58ec30
mov ecx, dword [ebp + 8]
push str.alter_table__pid_config__add_verify_code_INTEGER
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58ec30
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x19]
test al, al
jne 0x58ec5d
mov ecx, dword [ebp + 8]
push str.alter_table__pid_config__add_q_enable_INTEGER
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58ec5d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x1a]
test al, al
jne 0x58ec8a
mov ecx, dword [ebp + 8]
push str.alter_table__pid_config__add_q_config_MEMO
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58ec8a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x1b]
test al, al
jne 0x58ecb7
mov ecx, dword [ebp + 8]
push str.alter_table__pid_config__add_q_si_TEXT_8_
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58ecb7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x38], 0x11
je 0x58ece1
push str.XGSP
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x58ece3
xor esi, esi
or edi, 0xffffffff
test esi, esi
mov dword [esp + 0x38], edi
jne 0x58eda8
mov eax, dword [0x637760]
test eax, eax
je 0x58ed57
mov cl, byte [eax + 0x40]
test cl, cl
je 0x58ed57
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x62fa70
push 0x603774
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x637760]
push str.runtime
push 0x603760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb100
mov ecx, dword [0x637760]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x62fa70
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x40], 0x12
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x603774
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x44], 0x13
mov ecx, esp
mov dword [esp + 0x2c], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x48], 0x14
mov ecx, esp
mov dword [esp + 0x2c], esp
jmp 0x58efdf
push 3
push 3
push 1
push str.select_TOP_1__from__group_list_
mov ecx, esi
call fcn.004dba80
test eax, eax
jne 0x58eddb
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push str.extern_info
mov ecx, esi
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1e], 0
xor bl, bl
call sym.ETermProxy.exe_public:_enum_ADODB::DataTypeEnum___thiscall_CAdoRecordSet::GetFieldType_char_const__
cmp eax, 0xcb
jne 0x58edfc
mov bl, 1
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetFieldsCount_void_
mov ebp, eax
xor edi, edi
test ebp, ebp
jle 0x58ee5e
lea ecx, [esp + 0x20]
push edi
push ecx
mov ecx, esi
call sym.ETermProxy.exe_public:_class_CString___thiscall_CAdoRecordSet::GetFieldName_long_int_
mov edx, dword [esp + 0x20]
push str.group_role_id
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x58ee34
mov byte [esp + 0x1b], 1
mov eax, dword [esp + 0x20]
push str.booking_route_enable
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x58ee50
mov byte [esp + 0x1a], 1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x58ee0b
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
test bl, bl
jne 0x58ee95
mov esi, dword [esp + 0x1c]
push str.alter_table__group_list__alter_column__extern_info__MEMO_NULL
lea eax, [esp + 0x2c]
push str.XGSP
mov ecx, dword [esi + 8]
push eax
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58ee99
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x58ee99
mov esi, dword [esp + 0x1c]
mov al, byte [esp + 0x1b]
test al, al
jne 0x58eec6
mov ecx, dword [esi + 8]
push str.alter_table__group_list__add_group_role_id_INTEGER__group_carrier_rule_id_INTEGER
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58eec6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x1a]
test al, al
jne 0x58eef3
mov ecx, dword [esi + 8]
push str.alter_table__group_list__add_booking_route_enable_INTEGER
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58eef3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x38], 0x15
je 0x58ef1d
push str.XGSP
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x58ef1f
xor esi, esi
or edi, 0xffffffff
test esi, esi
mov dword [esp + 0x38], edi
jne 0x58f00d
mov eax, dword [0x637760]
test eax, eax
je 0x58ef93
mov cl, byte [eax + 0x40]
test cl, cl
je 0x58ef93
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x62fa70
push 0x603774
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x637760]
push str.runtime
push 0x603760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb100
mov ecx, dword [0x637760]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x62fa70
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x40], 0x16
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x603774
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x44], 0x17
mov ecx, esp
mov dword [esp + 0x2c], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x48], 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x60375c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63233c]
mov dword [esp + 0x48], edi
call fcn.00458d90
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 3
push 3
push 1
push str.select_TOP_1__from__q_config_
mov ecx, esi
call fcn.004dba80
test eax, eax
jne 0x58f040
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ecx, esi
xor bl, bl
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetFieldsCount_void_
mov ebp, eax
xor edi, edi
test ebp, ebp
jle 0x58f0a0
lea ecx, [esp + 0x20]
push edi
push ecx
mov ecx, esi
call sym.ETermProxy.exe_public:_class_CString___thiscall_CAdoRecordSet::GetFieldName_long_int_
mov edx, dword [esp + 0x20]
push str.q_freq
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x58f08d
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x58f051
jmp 0x58f0a0
lea ecx, [esp + 0x20]
mov bl, 1
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
test bl, bl
jne 0x58f0d5
mov edx, dword [esp + 0x1c]
push str.alter_table__q_config__add_q_freq_INTEGER
lea ecx, [esp + 0x2c]
push str.XGSP
push ecx
mov ecx, dword [edx + 8]
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58f0d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x38], 0x1a
je 0x58f0ff
push str.XGSP
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x58f101
xor esi, esi
or edi, 0xffffffff
test esi, esi
mov dword [esp + 0x38], edi
je 0x58f15d
push 3
push 3
push 1
push str.select_top_1__from__tsl_task_
mov ecx, esi
call fcn.004dba80
test eax, eax
jne 0x58f155
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x1c]
push str.CREATE_TABLE_tsl_task_id_integer_IDENTITY__1_1__PRIMARY_key_NOT_NULL__dev_TEXT_64___uid_TEXT_32___office_code_TEXT_6___disable_INTEGER__auto_exec_INTEGER__rec_date_TEXT_10___rec_time_TEXT_5__
lea eax, [esp + 0x2c]
push str.XGSP
mov ecx, dword [ecx + 8]
push eax
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58f15d
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x58f15d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x38], 0x1b
je 0x58f187
push str.PNRR
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x58f189
xor esi, esi
test esi, esi
mov dword [esp + 0x38], edi
je 0x58f274
push 3
push 3
push 1
push str.select_top_1__from__flow_rec_
mov ecx, esi
call fcn.004dba80
test eax, eax
jne 0x58f1df
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x1c]
push str.CREATE_TABLE_flow_rec_id_integer_IDENTITY__1_1__PRIMARY_key_NOT_NULL__rec_time_DATE__flow_time_TEXT_10___flow_type_INTEGER__group_id_INTEGER__account_TEXT_32___flow_count_INTEGER__remain_count_INTEGER__sel_level_INTEGER_
lea eax, [esp + 0x2c]
push str.PNRR
mov ecx, dword [ecx + 8]
push eax
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58f274
jmp 0x58f26e
mov ecx, esi
xor bl, bl
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetFieldsCount_void_
mov ebp, eax
xor edi, edi
test ebp, ebp
jle 0x58f23f
lea eax, [esp + 0x20]
push edi
push eax
mov ecx, esi
call sym.ETermProxy.exe_public:_class_CString___thiscall_CAdoRecordSet::GetFieldName_long_int_
mov ecx, dword [esp + 0x20]
push str.sel_level
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x58f22c
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x58f1f0
jmp 0x58f23f
lea ecx, [esp + 0x20]
mov bl, 1
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
test bl, bl
jne 0x58f274
mov ecx, dword [esp + 0x1c]
push str.alter_table__flow_rec__add_sel_level_INTEGER
lea eax, [esp + 0x2c]
push str.PNRR
mov ecx, dword [ecx + 8]
push eax
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58f274
mov edx, dword [eax]
push eax
call dword [edx + 8]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x38], 0x1d
je 0x58f29e
push str.PNRR
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x58f2a0
xor esi, esi
test esi, esi
mov dword [esp + 0x38], 0xffffffff
je 0x58f3a9
push 3
push 3
push 1
push str.select_top_1__from__tsl_rec_
mov ecx, esi
call fcn.004dba80
cmp eax, 1
jne 0x58f3a1
mov ecx, esi
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1a], 0
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetFieldsCount_void_
mov ebp, eax
xor edi, edi
test ebp, ebp
jle 0x58f335
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
lea eax, [esp + 0x20]
push edi
push eax
mov ecx, esi
call sym.ETermProxy.exe_public:_class_CString___thiscall_CAdoRecordSet::GetFieldName_long_int_
mov ecx, dword [esp + 0x20]
push str.agent
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x58f30f
mov byte [esp + 0x1b], 1
mov edx, dword [esp + 0x20]
push str.office_code
push edx
call ebx
add esp, 8
test eax, eax
jne 0x58f327
mov byte [esp + 0x1a], 1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x58f2ea
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov al, byte [esp + 0x1b]
test al, al
jne 0x58f36e
mov edx, dword [esp + 0x1c]
push str.alter_table__tsl_rec__add_agent_TEXT_10_
lea ecx, [esp + 0x2c]
push str.PNRR
push ecx
mov ecx, dword [edx + 8]
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58f36e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x1a]
test al, al
jne 0x58f3a9
mov eax, dword [esp + 0x1c]
push str.alter_table__tsl_rec__add_office_code_TEXT_6_
lea edx, [esp + 0x2c]
push str.PNRR
mov ecx, dword [eax + 8]
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58f3a9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x58f3a9
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x38], 0x1e
je 0x58f3d3
push str.XGSP
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x58f3d5
xor esi, esi
or edi, 0xffffffff
test esi, esi
mov dword [esp + 0x38], edi
je 0x58f431
push 3
push 3
push 1
push str.select_top_1__from__booking_route_
mov ecx, esi
call fcn.004dba80
test eax, eax
jne 0x58f429
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov edx, dword [esp + 0x1c]
push str.CREATE_TABLE_booking_route_id_integer_IDENTITY__1_1__PRIMARY_key_NOT_NULL__source_group_id_INTEGER__dest_group_id_INTEGER__carrier_MEMO__dep_airport_MEMO__arr_airport_MEMO__disable_INTEGER__remark_MEMO_
lea ecx, [esp + 0x2c]
push str.XGSP
push ecx
mov ecx, dword [edx + 8]
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58f431
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x58f431
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x38], 0x1f
je 0x58f45b
push str.BASEDATA
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x58f45d
xor esi, esi
test esi, esi
mov dword [esp + 0x38], edi
je 0x58f506
push 3
push 3
push 1
push str.select__from__T_Airport_
mov ecx, esi
call fcn.004dba80
test eax, eax
jne 0x58f48c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x58f7cb
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetFieldsCount_void_
mov ebp, eax
xor bl, bl
xor edi, edi
test ebp, ebp
jle 0x58f4d1
lea ecx, [esp + 0x20]
push edi
push ecx
mov ecx, esi
call sym.ETermProxy.exe_public:_class_CString___thiscall_CAdoRecordSet::GetFieldName_long_int_
mov edx, dword [esp + 0x20]
push str.brief_name
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x58f4c3
mov bl, 1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x58f49d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
test bl, bl
jne 0x58f506
mov edx, dword [esp + 0x1c]
push str.alter_table__T_Airport__add_brief_name_TEXT_32_
lea ecx, [esp + 0x2c]
push str.BASEDATA
push ecx
mov ecx, dword [edx + 8]
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58f506
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x38], 0x20
je 0x58f530
push str.XGSP
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x58f532
xor esi, esi
or ebx, 0xffffffff
test esi, esi
mov dword [esp + 0x38], ebx
jne 0x58f620
mov eax, dword [0x637760]
test eax, eax
je 0x58f5a6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x58f5a6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x603778
push 0x603774
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x637760]
push str.runtime
push 0x603760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb100
mov ecx, dword [0x637760]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x603778
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x40], 0x21
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x603774
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x44], 0x22
mov ecx, esp
mov dword [esp + 0x2c], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x48], 0x23
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x60375c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63233c]
mov dword [esp + 0x48], ebx
call fcn.00458d90
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 3
push 3
push 1
push str.select__from__sys_param__WHERE_item_namenotify_smtp_server
mov ecx, esi
call fcn.004dba80
test eax, eax
jne 0x58f653
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
mov edx, dword [esi]
push 1
mov ecx, esi
mov edi, eax
call dword [edx]
test edi, edi
jne 0x58f6db
mov esi, dword [esp + 0x1c]
push str.INSERT_INTO_sys_param_item_name__item_value__VALUES_notify_smtp_addr___
lea eax, [esp + 0x2c]
push str.XGSP
mov ecx, dword [esi + 8]
push eax
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58f691
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 8]
push str.INSERT_INTO_sys_param_item_name__item_value__VALUES_notify_smtp_password___
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58f6b6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 8]
push str.INSERT_INTO_sys_param_item_name__item_value__VALUES_notify_smtp_server___
lea edx, [esp + 0x2c]
push str.XGSP
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58f6db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x38], 0x24
je 0x58f705
push str.PNRR
mov ecx, eax
call fcn.004db9f0
mov edi, eax
jmp 0x58f707
xor edi, edi
push 3
push 3
push 1
push str.select_top_1__from__booking_rec_
mov ecx, edi
mov dword [esp + 0x48], ebx
call fcn.004dba80
cmp eax, 1
jne 0x58f7cb
mov ecx, edi
mov byte [esp + 0x1b], 0
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetFieldsCount_void_
mov ebp, eax
xor esi, esi
test ebp, ebp
jle 0x58f78e
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
lea edx, [esp + 0x20]
push esi
push edx
mov ecx, edi
call sym.ETermProxy.exe_public:_class_CString___thiscall_CAdoRecordSet::GetFieldName_long_int_
mov eax, dword [esp + 0x20]
push str.is_gj
push eax
call ebx
add esp, 8
test eax, eax
je 0x58f778
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
inc esi
cmp esi, ebp
jl 0x58f740
jmp 0x58f78e
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b], 1
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x58f79a
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov al, byte [esp + 0x1b]
test al, al
jne 0x58f7cb
mov ecx, dword [esp + 0x1c]
push str.alter_table__booking_rec__add_is_gj_INTEGER
lea eax, [esp + 0x30]
push str.PNRR
mov ecx, dword [ecx + 8]
push eax
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x58f7cb
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret