Function at 0x596740
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x5c9bda
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 0x596786
push str.PNRR
mov ecx, eax
call fcn.004ddd00
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.004ddd90
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
cmp eax, 1
jne 0x596861
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetFieldsCount_void_
mov ebp, eax
xor edi, edi
test ebp, ebp
jle 0x5967f4
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 0x596850
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x5967be
test esi, esi
je 0x596800
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 0x596829
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 0x596861
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x596861
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x596861
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 0x59688b
push str.XGSP
mov ecx, eax
call fcn.004ddd00
mov esi, eax
jmp 0x59688d
xor esi, esi
or ebp, 0xffffffff
test esi, esi
mov dword [esp + 0x38], ebp
jne 0x59697e
mov eax, dword [0x641030]
test eax, eax
je 0x596904
mov cl, byte [eax + 0x40]
test cl, cl
je 0x596904
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x6397fc
push 0x60c790
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x641030]
push str.runtime
push 0x60c77c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x6397fc
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x40], 3
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x60c790
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 0x60c778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov dword [esp + 0x48], ebp
call fcn.00459390
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.004ddd90
test eax, eax
jne 0x5969b1
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 0x596a39
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 0x596a2a
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 0x596a3d
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 0x596a67
push str.XGSP
mov ecx, eax
call fcn.004ddd00
mov esi, eax
jmp 0x596a69
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.004ddd90
test eax, eax
jne 0x596aa8
test esi, esi
je 0x597c55
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 0x596abd
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
test edi, edi
jne 0x596b86
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 0x596b13
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 0x596b46
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 0x596b79
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 0x596bb0
push str.XGSP
mov ecx, eax
call fcn.004ddd00
mov esi, eax
jmp 0x596bb2
xor esi, esi
test esi, esi
mov dword [esp + 0x38], ebp
jne 0x596c74
mov eax, dword [0x641030]
test eax, eax
je 0x596c23
mov cl, byte [eax + 0x40]
test cl, cl
je 0x596c23
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x6397fc
push 0x60c790
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x641030]
push str.runtime
push 0x60c77c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ed3c0
mov ecx, dword [0x641030]
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 0x6397fc
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x40], 0xa
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x60c790
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 0x596950
push 3
push 3
push 1
push str.select_top_1__from__client_config_
mov ecx, esi
call fcn.004ddd90
test eax, eax
jne 0x596ca7
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
xor bl, bl
mov ecx, esi
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetFieldsCount_void_
mov ebp, eax
xor edi, edi
test ebp, ebp
jle 0x596d97
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 0x596cfc
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 0x596d18
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 0x596d34
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 0x596d4d
mov bl, 1
mov eax, dword [esp + 0x20]
push str.bind_ip
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x596d69
mov byte [esp + 0x16], 1
mov ecx, dword [esp + 0x20]
push 0x61473c
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x596d85
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x596cd3
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
test bl, bl
jne 0x596dce
mov edi, 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 eax, [esp + 0x2c]
push str.XGSP
mov ecx, dword [edi + 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 0x596dd2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x596dd2
mov edi, dword [esp + 0x1c]
mov al, byte [esp + 0x13]
test al, al
jne 0x596e24
mov ecx, dword [edi + 8]
push str.alter_table__client_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 0x596dff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 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 0x596e24
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x14]
test al, al
jne 0x596e76
mov ecx, dword [edi + 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 0x596e51
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 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 0x596e76
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x15]
test al, al
jne 0x596ea3
mov ecx, dword [edi + 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 0x596ea3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x16]
test al, al
jne 0x596ed0
mov ecx, dword [edi + 8]
push str.alter_table__pid_config__add_bind_ip_TEXT_16_
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 0x596ed0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x17]
test al, al
jne 0x596efd
mov ecx, dword [edi + 8]
push str.alter_table__pid_config__add_ssl_char_1_
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 0x596efd
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 0x596f27
push str.XGSP
mov ecx, eax
call fcn.004ddd00
mov esi, eax
jmp 0x596f29
xor esi, esi
or ebx, 0xffffffff
test esi, esi
mov dword [esp + 0x38], ebx
jne 0x596fee
mov eax, dword [0x641030]
test eax, eax
je 0x596f9d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x596f9d
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x6397fc
push 0x60c790
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x641030]
push str.runtime
push 0x60c77c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ed3c0
mov ecx, dword [0x641030]
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 0x6397fc
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x40], 0xe
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x60c790
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 0x597c3c
push 3
push 3
push 1
push str.select_top_1__from__pid_config_
mov ecx, esi
call fcn.004ddd90
test eax, eax
jne 0x597021
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 + 0x17], 0
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x18], 0
mov byte [esp + 0x1b], 0
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetFieldDefineSize_char_const__
cmp eax, 0xc8
jl 0x597066
mov byte [esp + 0x17], 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 0x597164
mov ebp, 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 ebp
add esp, 8
test eax, eax
jne 0x5970a6
mov byte [esp + 0x16], 1
mov eax, dword [esp + 0x20]
push str.tss_control
push eax
call ebp
add esp, 8
test eax, eax
jne 0x5970be
mov byte [esp + 0x15], 1
mov ecx, dword [esp + 0x20]
push str.today_add_ins_count
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x5970d6
mov byte [esp + 0x14], 1
mov edx, dword [esp + 0x20]
push 0x639418
push edx
call ebp
add esp, 8
test eax, eax
jne 0x5970ee
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x20]
push str.verify_code
push eax
call ebp
add esp, 8
test eax, eax
jne 0x597106
mov byte [esp + 0x18], 1
mov ecx, dword [esp + 0x20]
push str.q_enable
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x59711e
mov byte [esp + 0x19], 1
mov edx, dword [esp + 0x20]
push str.q_config
push edx
call ebp
add esp, 8
test eax, eax
jne 0x597136
mov byte [esp + 0x1a], 1
mov eax, dword [esp + 0x20]
push str.q_si
push eax
call ebp
add esp, 8
test eax, eax
jne 0x59714e
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 0x597081
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov al, byte [esp + 0x17]
test al, al
jne 0x597199
mov ecx, dword [edi + 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 0x597199
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x16]
test al, al
jne 0x5971c6
mov ecx, dword [edi + 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 0x5971c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x15]
test al, al
jne 0x5971f3
mov ecx, dword [edi + 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 0x5971f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x14]
test al, al
jne 0x597220
mov ecx, dword [edi + 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 0x597220
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x13]
test al, al
jne 0x59724d
mov ecx, dword [edi + 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 0x59724d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x18]
test al, al
jne 0x59727a
mov ecx, dword [edi + 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 0x59727a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x19]
test al, al
jne 0x5972a7
mov ecx, dword [edi + 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 0x5972a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x1a]
test al, al
jne 0x5972d4
mov ecx, dword [edi + 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 0x5972d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x1b]
test al, al
jne 0x597301
mov ecx, dword [edi + 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 0x597301
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 0x59732b
push str.XGSP
mov ecx, eax
call fcn.004ddd00
mov esi, eax
jmp 0x59732d
xor esi, esi
or edi, 0xffffffff
test esi, esi
mov dword [esp + 0x38], edi
jne 0x5973f2
mov eax, dword [0x641030]
test eax, eax
je 0x5973a1
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5973a1
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x6397fc
push 0x60c790
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x641030]
push str.runtime
push 0x60c77c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ed3c0
mov ecx, dword [0x641030]
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 0x6397fc
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x40], 0x12
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x60c790
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 0x597629
push 3
push 3
push 1
push str.select_TOP_1__from__group_list_
mov ecx, esi
call fcn.004ddd90
test eax, eax
jne 0x597425
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 0x597446
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 0x5974a8
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 0x59747e
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 0x59749a
mov byte [esp + 0x1a], 1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x597455
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
test bl, bl
jne 0x5974df
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 0x5974e3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x5974e3
mov esi, dword [esp + 0x1c]
mov al, byte [esp + 0x1b]
test al, al
jne 0x597510
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 0x597510
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x1a]
test al, al
jne 0x59753d
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 0x59753d
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 0x597567
push str.XGSP
mov ecx, eax
call fcn.004ddd00
mov esi, eax
jmp 0x597569
xor esi, esi
or edi, 0xffffffff
test esi, esi
mov dword [esp + 0x38], edi
jne 0x597657
mov eax, dword [0x641030]
test eax, eax
je 0x5975dd
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5975dd
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x6397fc
push 0x60c790
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x641030]
push str.runtime
push 0x60c77c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ed3c0
mov ecx, dword [0x641030]
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 0x6397fc
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x40], 0x16
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x60c790
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 0x60c778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov dword [esp + 0x48], edi
call fcn.00459390
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.004ddd90
test eax, eax
jne 0x59768a
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 0x5976ea
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 0x5976d7
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x59769b
jmp 0x5976ea
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 0x59771f
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 0x59771f
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 0x597749
push str.XGSP
mov ecx, eax
call fcn.004ddd00
mov esi, eax
jmp 0x59774b
xor esi, esi
or edi, 0xffffffff
test esi, esi
mov dword [esp + 0x38], edi
je 0x5977a7
push 3
push 3
push 1
push str.select_top_1__from__tsl_task_
mov ecx, esi
call fcn.004ddd90
test eax, eax
jne 0x59779f
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 0x5977a7
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x5977a7
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 0x5977d1
push str.PNRR
mov ecx, eax
call fcn.004ddd00
mov esi, eax
jmp 0x5977d3
xor esi, esi
test esi, esi
mov dword [esp + 0x38], edi
je 0x5978be
push 3
push 3
push 1
push str.select_top_1__from__flow_rec_
mov ecx, esi
call fcn.004ddd90
test eax, eax
jne 0x597829
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 0x5978be
jmp 0x5978b8
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 0x597889
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 0x597876
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x59783a
jmp 0x597889
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 0x5978be
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 0x5978be
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 0x5978e8
push str.PNRR
mov ecx, eax
call fcn.004ddd00
mov esi, eax
jmp 0x5978ea
xor esi, esi
test esi, esi
mov dword [esp + 0x38], 0xffffffff
je 0x5979f3
push 3
push 3
push 1
push str.select_top_1__from__tsl_rec_
mov ecx, esi
call fcn.004ddd90
cmp eax, 1
jne 0x5979eb
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 0x59797f
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 0x597959
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 0x597971
mov byte [esp + 0x1a], 1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x597934
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov al, byte [esp + 0x1b]
test al, al
jne 0x5979b8
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 0x5979b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x1a]
test al, al
jne 0x5979f3
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 0x5979f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x5979f3
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 0x597a1d
push str.XGSP
mov ecx, eax
call fcn.004ddd00
mov esi, eax
jmp 0x597a1f
xor esi, esi
or edi, 0xffffffff
test esi, esi
mov dword [esp + 0x38], edi
je 0x597a7b
push 3
push 3
push 1
push str.select_top_1__from__booking_route_
mov ecx, esi
call fcn.004ddd90
test eax, eax
jne 0x597a73
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 0x597a7b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x597a7b
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 0x597aa5
push str.BASEDATA
mov ecx, eax
call fcn.004ddd00
mov esi, eax
jmp 0x597aa7
xor esi, esi
test esi, esi
mov dword [esp + 0x38], edi
je 0x597b50
push 3
push 3
push 1
push str.select__from__T_Airport_
mov ecx, esi
call fcn.004ddd90
test eax, eax
jne 0x597ad6
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x597e15
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 0x597b1b
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 0x597b0d
mov bl, 1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x597ae7
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
test bl, bl
jne 0x597b50
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 0x597b50
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 0x597b7a
push str.XGSP
mov ecx, eax
call fcn.004ddd00
mov esi, eax
jmp 0x597b7c
xor esi, esi
or ebx, 0xffffffff
test esi, esi
mov dword [esp + 0x38], ebx
jne 0x597c6a
mov eax, dword [0x641030]
test eax, eax
je 0x597bf0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x597bf0
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x60c794
push 0x60c790
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x641030]
push str.runtime
push 0x60c77c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ed3c0
mov ecx, dword [0x641030]
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 0x60c794
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x40], 0x21
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x60c790
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 0x60c778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov dword [esp + 0x48], ebx
call fcn.00459390
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.004ddd90
test eax, eax
jne 0x597c9d
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 0x597d25
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 0x597cdb
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 0x597d00
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 0x597d25
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 0x597d4f
push str.PNRR
mov ecx, eax
call fcn.004ddd00
mov edi, eax
jmp 0x597d51
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.004ddd90
cmp eax, 1
jne 0x597e15
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 0x597dd8
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 0x597dc2
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
inc esi
cmp esi, ebp
jl 0x597d8a
jmp 0x597dd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b], 1
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x597de4
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov al, byte [esp + 0x1b]
test al, al
jne 0x597e15
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 0x597e15
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