Function at 0x6a06e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x6a06e8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6a0ab4
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 - 8], eax
mov eax, dword [ebp - 8]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 8]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 8]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6a0acc
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [0x730da8]
mov eax, dword [eax]
fild dword [eax + 0xa0c]
fstp qword [ebp - 0x10]
wait
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, 0x6a0b54
mov eax, dword [ebp - 8]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [eax]
call dword [edx + 0x78]
mov eax, dword [ebp - 8]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x194]
test eax, eax
jle 0x6a0a77
mov edx, 0x6a0b68
mov eax, dword [ebp - 8]
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 + 0x400]
call sub.vcl260.bpl__Vcl_Controls_TControl_SetText_qqrx20System_UnicodeString
mov edx, 0x6a0b80
mov eax, dword [ebp - 8]
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 [ebp - 4]
mov eax, dword [eax + 0x408]
call sub.vcl260.bpl__Vcl_Controls_TControl_SetText_qqrx20System_UnicodeString
mov edx, 0x6a0ba0
mov eax, dword [ebp - 8]
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 + 0x410]
call sub.vcl260.bpl__Vcl_Controls_TControl_SetText_qqrx20System_UnicodeString
mov edx, 0x6a0bb4
mov eax, dword [ebp - 8]
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 [ebp - 4]
mov eax, dword [eax + 0x420]
call sub.vcl260.bpl__Vcl_Controls_TControl_SetText_qqrx20System_UnicodeString
mov edx, 0x6a0bd0
mov eax, dword [ebp - 8]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x424]
call sub.vcl260.bpl__Vcl_Controls_TControl_SetText_qqrx20System_UnicodeString
mov edx, 0x6a0bec
mov eax, dword [ebp - 8]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x28]
mov edx, 0x6a0c08
call sub.rtl260.bpl__System__UStrEqual_qqrv
jne 0x6a0886
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x418]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov edx, 0x6a0c18
mov eax, dword [ebp - 8]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x2c]
mov edx, 0x6a0c08
call sub.rtl260.bpl__System__UStrEqual_qqrv
jne 0x6a08c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov edx, 0x6a0c34
mov eax, dword [ebp - 8]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
mov edx, dword [eax]
call dword [edx + 0x64]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x460]
call sub.vcl260.bpl__Vcl_Comctrls_TCommonCalendar_SetDate_qqr16System_TDateTime
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x43c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x440]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x444]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x448]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov edx, 0x6a0c4c
mov eax, dword [ebp - 8]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x30]
mov edx, 0x6a0c08
call sub.rtl260.bpl__System__UStrEqual_qqrv
jne 0x6a0980
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x43c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov edx, 0x6a0c60
mov eax, dword [ebp - 8]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x34]
mov edx, 0x6a0c08
call sub.rtl260.bpl__System__UStrEqual_qqrv
jne 0x6a09ba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x440]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov edx, 0x6a0c74
mov eax, dword [ebp - 8]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x38]
mov edx, 0x6a0c08
call sub.rtl260.bpl__System__UStrEqual_qqrv
jne 0x6a09f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x444]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov edx, 0x6a0c88
mov eax, dword [ebp - 8]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x3c]
mov edx, 0x6a0c08
call sub.rtl260.bpl__System__UStrEqual_qqrv
jne 0x6a0a2e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x448]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov edx, 0x6a0c9c
mov eax, dword [ebp - 8]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x40]
mov edx, 0x6a0c08
call sub.rtl260.bpl__System__UStrEqual_qqrv
jne 0x6a0a68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov eax, dword [ebp - 4]
mov dword [eax + 0x48c], 1
jmp 0x6a0a91
call sub.rtl260.bpl__System_Sysutils_Now_qqrv
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x460]
call sub.vcl260.bpl__Vcl_Comctrls_TCommonCalendar_SetDate_qqr16System_TDateTime
mov eax, dword [ebp - 8]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a0abb
lea eax, [ebp - 0x40]
mov edx, 0xc
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
ret