Function at 0x5533e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x5533e9
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 + 0xc]
call sub.rtl260.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x553650
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5535c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ec]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x28]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x28]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x55366c
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x55379c
mov eax, dword [ebp - 0x28]
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 - 0x40]
mov eax, 0x5537b4
call sub.rtl260.bpl__System_Sysutils_FormatDateTime_qqrx20System_UnicodeString16System_TDateTime
mov eax, dword [ebp - 0x40]
push eax
mov edx, 0x5537d8
mov eax, dword [ebp - 0x28]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x194]
test eax, eax
jle 0x5535b6
mov edx, 0x5537f0
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x88]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00559364
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 8]
mov edx, 0x553804
call sub.rtl260.bpl__System__UStrEqual_qqrv
jne 0x5535b6
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
call sub.rtl260.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0x553818
push dword [ebp - 0x14]
push 0x553854
push dword [ebp - 0x18]
push 0x553888
lea eax, [ebp - 0x10]
mov edx, 5
call sub.rtl260.bpl__System__UStrCatN_qqrv
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
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 - 0x24], 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 0x5535b6
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x24]
call sub.rtl260.bpl__System_Sysutils_IntToStr_qqri
push dword [ebp - 0x48]
push 0x55389c
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]
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55360b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x553657
lea eax, [ebp - 0x50]
mov edx, 5
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x38]
mov edx, 3
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
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 + 0xc]
call sub.rtl260.bpl__System__UStrClr_qqrpv
ret