Function at 0x703480
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x703655
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x10]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x10]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x70366c
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x7036d0
mov eax, dword [ebp - 0x10]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3d8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x10]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x70360d
inc dword [ebp - 8]
mov edx, 0x7036e8
mov eax, dword [ebp - 0x10]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d0]
mov ecx, dword [ebp - 8]
xor edx, edx
call sub.vcl260.bpl__Vcl_Grids_TStringGrid_SetCells_qqriix20System_UnicodeString
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x80]
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, 0x703700
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x70377c
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3d4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0x18]
push eax
mov ecx, 0xa
mov edx, 1
mov eax, dword [ebp - 0xc]
call sub.rtl260.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov eax, dword [ebp - 0x18]
push eax
mov edx, 0x703790
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
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]
mov edx, dword [eax]
call dword [edx + 0x194]
test eax, eax
jle 0x7035e5
push 0x7037a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d0]
mov ecx, dword [ebp - 8]
mov edx, 1
call sub.vcl260.bpl__Vcl_Grids_TStringGrid_SetCells_qqriix20System_UnicodeString
jmp 0x7035fd
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d0]
mov ecx, dword [ebp - 8]
mov edx, 1
call sub.vcl260.bpl__Vcl_Grids_TStringGrid_SetCells_qqriix20System_UnicodeString
mov eax, dword [ebp - 0x14]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x10]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Next_qqrv
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xad], 0
je 0x703500
mov eax, dword [ebp - 0x10]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov edx, dword [ebp - 8]
inc edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d0]
call sub.vcl260.bpl__Vcl_Grids_TCustomGrid_SetRowCount_qqri
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x70365c
lea eax, [ebp - 0x18]
call sub.rtl260.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0xc]
call sub.rtl260.bpl__System__UStrClr_qqrpv
ret