Function at 0x558ad4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x558add
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
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
mov eax, dword [ebp + 8]
call sub.rtl260.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x558e95
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x558e0d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0055862c
mov eax, dword [ebp - 0x24]
mov edx, 0x558eb4
call sub.rtl260.bpl__System__UStrEqual_qqrv
je 0x558b72
mov eax, dword [ebp - 8]
mov edx, 0x558ed0
call sub.rtl260.bpl__System__UStrEqual_qqrv
je 0x558b72
cmp dword [ebp - 8], 0
jne 0x558b9a
xor ecx, ecx
mov edx, 0x558ee0
mov eax, 0x558ef8
call fcn.006ecc58
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x1c]
mov eax, dword [0x730e20]
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x558ba5
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call sub.rtl260.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x558f10
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x559034
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x5590a4
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x55917c
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x5591f8
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x1c]
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 - 0x38]
mov eax, 0x559210
call sub.rtl260.bpl__System_Sysutils_FormatDateTime_qqrx20System_UnicodeString16System_TDateTime
mov eax, dword [ebp - 0x38]
push eax
mov edx, 0x559234
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x30]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
jmp 0x558cd4
cmp dword [ebp - 0x10], 0
jne 0x558c97
push 0x55924c
mov edx, 0x55925c
mov eax, dword [ebp - 0x30]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x88]
push dword [ebp - 0x3c]
push 0x55924c
lea eax, [ebp - 0x10]
mov edx, 3
call sub.rtl260.bpl__System__UStrCatN_qqrv
jmp 0x558ccc
push dword [ebp - 0x10]
push 0x559270
mov edx, 0x55925c
mov eax, dword [ebp - 0x30]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x88]
push dword [ebp - 0x40]
push 0x55924c
lea eax, [ebp - 0x10]
mov edx, 4
call sub.rtl260.bpl__System__UStrCatN_qqrv
mov eax, dword [ebp - 0x30]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Next_qqrv
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0xad], 0
je 0x558c5d
mov eax, dword [ebp - 0x30]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
cmp dword [ebp - 0x10], 0
jne 0x558d14
cmp dword [ebp - 0xc], 0
je 0x558d37
push 0x55924c
push dword [ebp - 0xc]
push 0x55924c
lea eax, [ebp - 0x10]
mov edx, 3
call sub.rtl260.bpl__System__UStrCatN_qqrv
jmp 0x558d37
cmp dword [ebp - 0xc], 0
je 0x558d37
push dword [ebp - 0x10]
push 0x559270
push dword [ebp - 0xc]
push 0x55924c
lea eax, [ebp - 0x10]
mov edx, 4
call sub.rtl260.bpl__System__UStrCatN_qqrv
cmp dword [ebp - 0x10], 0
jne 0x558d4a
lea eax, [ebp - 0x10]
mov edx, 0x559284
call sub.rtl260.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00559364
push 0x559298
push dword [ebp - 0x14]
push 0x5592d4
push dword [ebp - 0x24]
push 0x5592f8
push dword [ebp - 0x10]
push 0x559328
lea eax, [ebp - 0x18]
mov edx, 7
call sub.rtl260.bpl__System__UStrCatN_qqrv
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov ecx, 0xfde9
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x20]
call sub.rtl260.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
mov ecx, eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005549e8
mov dword [ebp - 0x28], 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 0x558e03
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x28]
call sub.rtl260.bpl__System_Sysutils_IntToStr_qqri
push dword [ebp - 0x48]
push 0x55933c
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x20]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
mov edx, 3
call sub.rtl260.bpl__System__UStrCatN_qqrv
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x400]
mov eax, dword [eax + 0x304]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x558e50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x558e9c
lea eax, [ebp - 0x50]
mov edx, 7
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x24]
call sub.rtl260.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x20]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x1c]
mov edx, 6
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp + 8]
mov edx, 4
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
ret