Function at 0x6d0e74
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x6d0e7d
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp - 0xc]
call sub.rtl260.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp + 0x20]
call sub.rtl260.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp + 0x1c]
call sub.rtl260.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp + 0x18]
call sub.rtl260.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp + 0x14]
call sub.rtl260.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp + 0x10]
call sub.rtl260.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp + 0xc]
call sub.rtl260.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x6d123d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x14]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x14]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6d1258
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x6d12e4
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [0x730e30]
mov edx, dword [edx]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x6d12f8
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x14]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x194]
test eax, eax
jle 0x6d1025
mov edx, 0x6d1318
mov eax, dword [ebp - 0x14]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x14]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x14]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x14]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6d1330
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x6d1318
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4a0]
mov eax, dword [ebp - 0x14]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x14]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x14]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6d13a0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x6d12e4
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [0x730e30]
mov edx, dword [edx]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x6d12f8
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4a0]
jmp 0x6d11f3
mov eax, dword [ebp - 0x14]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x14]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x14]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6d1428
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x14]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6d1528
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x14]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6d15e8
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x6d12e4
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [0x730e30]
mov edx, dword [edx]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x6d168c
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [0x730b40]
mov edx, dword [edx]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x6d16a4
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x6d12f8
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x6d16c8
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 6
mov edx, 1
mov eax, dword [ebp + 0x1c]
call sub.rtl260.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov eax, dword [ebp - 0x1c]
push eax
mov edx, 0x6d16e4
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x6d1700
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x6d171c
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x6d173c
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, 0x6d1754
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x6d1764
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov edx, dword [ebp + 0x10]
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x2c]
mov ecx, 0x14
mov edx, 1
call sub.rtl260.bpl__System__LStrCopy_qqrx27System__AnsiStringT_us_i0__ii
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x20]
push eax
mov edx, 0x6d1784
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4a0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x718]
xor edx, edx
call sub.vcl260.bpl__Vcl_Extctrls_TTimer_SetEnabled_qqro
mov eax, dword [0x7309e0]
cmp dword [eax], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x6d11f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x718]
mov dl, 1
call sub.vcl260.bpl__Vcl_Extctrls_TTimer_SetEnabled_qqro
mov eax, dword [ebp - 0x14]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d1244
lea eax, [ebp - 0x2c]
mov edx, 2
call sub.rtl260.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x24]
mov edx, 4
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x10]
mov edx, 3
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp + 0xc]
mov edx, 6
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
ret