Function at 0x5538c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x5538c9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
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
xor eax, eax
push ebp
push 0x553e9c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00559364
xor eax, eax
push ebp
push 0x553e1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x553eb8
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x553fcc
mov eax, dword [ebp - 0x48]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x48]
call sub.rtl260.bpl__System_Sysutils_Now_qqrv
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x50]
mov eax, 0x553fe4
call sub.rtl260.bpl__System_Sysutils_FormatDateTime_qqrx20System_UnicodeString16System_TDateTime
mov eax, dword [ebp - 0x50]
push eax
mov edx, 0x554008
mov eax, dword [ebp - 0x48]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
call dword [edx + 0x194]
test eax, eax
jle 0x5539bb
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x553e5f
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x554020
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x5540a4
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x5540f8
mov eax, dword [ebp - 0x48]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
call sub.rtl260.bpl__System_Sysutils_Now_qqrv
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x54]
mov eax, 0x553fe4
call sub.rtl260.bpl__System_Sysutils_FormatDateTime_qqrx20System_UnicodeString16System_TDateTime
mov eax, dword [ebp - 0x54]
push eax
mov edx, 0x55410c
mov eax, dword [ebp - 0x48]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
call dword [edx + 0x194]
test eax, eax
jle 0x553a65
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x553e5f
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x554124
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov edx, 0x554188
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x5541a0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x554338
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x5540f8
mov eax, dword [ebp - 0x48]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov edx, 0x5540f8
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, 0x554364
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x88]
lea eax, [ebp - 0x2c]
mov edx, 0x55437c
call sub.rtl260.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov edx, 0x5543a0
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, 0x553fcc
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x28]
call fcn.006ef7f8
lea eax, [ebp - 0x28]
mov edx, 0x5543b4
call sub.rtl260.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov edx, 0x553fcc
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x88]
lea ecx, [ebp - 0x3c]
mov eax, dword [0x730e20]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0055862c
cmp dword [ebp - 0x34], 0
je 0x553bd4
mov eax, dword [ebp - 0x34]
mov edx, 0x5543dc
call sub.rtl260.bpl__System__UStrEqual_qqrv
jne 0x553bfa
xor ecx, ecx
mov edx, 0x5543f8
mov eax, 0x554410
call fcn.006ecc58
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x3c]
mov eax, dword [0x730e20]
mov eax, dword [eax]
mov edx, dword [ebp - 0x44]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x554428
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x554460
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x5544cc
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x5544e8
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x554594
mov eax, dword [ebp - 0x48]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x5540f8
mov eax, dword [ebp - 0x48]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x5545a8
mov eax, dword [ebp - 0x48]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, 0x5545c0
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x5545d0
mov eax, dword [ebp - 0x48]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, 0x5545ec
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x1e
mov edx, 1
mov eax, dword [ebp - 0x24]
call sub.rtl260.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov eax, dword [ebp - 0x5c]
push eax
mov edx, 0x554364
mov eax, dword [ebp - 0x48]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x20
mov edx, 1
mov eax, dword [ebp - 0x38]
call sub.rtl260.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov eax, dword [ebp - 0x60]
push eax
mov edx, 0x553fcc
mov eax, dword [ebp - 0x48]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x48]
call sub.odac260.bpl__Ora_TOraDataSet_ExecSQL_qqrv
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
push 0x5545fc
push dword [ebp - 0x14]
push 0x554638
push dword [ebp - 0x18]
push 0x554664
push dword [ebp - 0x1c]
push 0x554698
push dword [ebp - 0x24]
push 0x5546bc
push dword [ebp - 0x2c]
push 0x5546e8
push dword [ebp - 0x34]
push 0x55470c
push dword [ebp - 0x20]
push 0x554728
push dword [ebp - 0x28]
push 0x554768
lea eax, [ebp - 0x30]
mov edx, 0x11
call sub.rtl260.bpl__System__UStrCatN_qqrv
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov ecx, 0xfde9
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x10]
call sub.rtl260.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.005549e8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x424]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3f4]
cmp eax, dword [edx + 0x5c]
jge 0x553def
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x40]
call sub.rtl260.bpl__System_Sysutils_IntToStr_qqri
push dword [ebp - 0x68]
push 0x55477c
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x10]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
push dword [ebp - 0x6c]
lea eax, [ebp - 0x64]
mov edx, 3
call sub.rtl260.bpl__System__UStrCatN_qqrv
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x400]
mov eax, dword [eax + 0x304]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp dword [ebp - 0x40], 0
jne 0x553e12
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0x55478c
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00558ad4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x553e5f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x553ea3
lea eax, [ebp - 0x70]
mov edx, 9
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x3c]
mov edx, 0xb
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x10]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xc]
mov edx, 2
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
ret