Function at 0x6b9c1c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6b9e86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x650]
mov edx, dword [eax]
call dword [edx + 0x13c]
mov eax, dword [0x730d30]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x668]
mov edx, dword [eax]
call dword [edx + 0x13c]
mov eax, dword [0x730c78]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0xc]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0xc]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6b9ea0
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xc]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x194]
dec eax
test eax, eax
jl 0x6b9d39
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov edx, 0x6b9f20
mov eax, dword [ebp - 0xc]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x650]
mov eax, dword [eax + 0x2dc]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x6b9f40
mov eax, dword [ebp - 0xc]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x730d30]
mov eax, dword [eax]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
mov eax, dword [ebp - 0xc]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Next_qqrv
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x6b9cd3
mov eax, dword [0x730d30]
mov eax, dword [eax]
mov ecx, 0x6b9f5c
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x650]
mov eax, dword [eax + 0x2dc]
mov ecx, 0x6b9f6c
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x650]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov eax, dword [ebp - 0xc]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0xc]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0xc]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6b9f8c
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xc]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x194]
dec eax
test eax, eax
jl 0x6b9e2a
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov edx, 0x6b9f20
mov eax, dword [ebp - 0xc]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x668]
mov eax, dword [eax + 0x2dc]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x6b9f40
mov eax, dword [ebp - 0xc]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, dword [ebp - 0x20]
mov eax, dword [0x730c78]
mov eax, dword [eax]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
mov eax, dword [ebp - 0xc]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Next_qqrv
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x6b9dc4
mov eax, dword [0x730c78]
mov eax, dword [eax]
mov ecx, 0x6b9f5c
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x668]
mov eax, dword [eax + 0x2dc]
mov ecx, 0x6b9f6c
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x668]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x134]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b9e8d
lea eax, [ebp - 0x20]
mov edx, 4
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
ret