Function at 0x6e9f94
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl260.bpl__System__UStrAddRef_qqrpv
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 0x6ea16b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x751e7c], 1
sbb eax, eax
inc eax
test al, al
jne 0x6ea074
mov byte [ebp - 0xd], 0
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
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, 0x6ea188
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x14]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6ea234
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x6ea2c4
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x6ea2d8
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 eax, dword [ebp - 0x14]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov eax, dword [ebp - 0x14]
call sub.dbrtl260.bpl__Data_Db_TDataSet_IsEmpty_qqrv
test al, al
jne 0x6ea067
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x14]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
jmp 0x6ea150
mov byte [ebp - 0xd], 0
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x18]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x18]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6ea188
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6ea2f0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0xc]
mov edx, 0x6ea3cc
call sub.rtl260.bpl__System__UStrEqual_qqrv
je 0x6ea0f4
mov eax, dword [ebp - 0x18]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6ea3e0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x6ea418
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x18]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6ea434
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x6ea2c4
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x6ea2d8
mov eax, dword [ebp - 0x18]
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 - 0x18]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov eax, dword [ebp - 0x18]
call sub.dbrtl260.bpl__Data_Db_TDataSet_IsEmpty_qqrv
test al, al
jne 0x6ea148
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x18]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ea172
lea eax, [ebp - 0xc]
mov edx, 3
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
ret