Function at 0x724ff8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x725000
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x72578d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3fc]
mov edx, 0x7257ac
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 - 4]
mov eax, dword [eax + 0x3fc]
mov edx, 0x7257cc
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 [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x40]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x7257e4
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor eax, eax
push ebp
push 0x72511b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3fc]
mov edx, 0x725964
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x50]
push eax
mov edx, 0x725978
mov eax, dword [ebp - 0x40]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x72598c
mov eax, dword [ebp - 0x40]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x40]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov edx, 0x7259ac
mov eax, dword [ebp - 0x40]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, 0x7259c4
mov eax, dword [ebp - 0x40]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x88]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x72514b
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x7259e0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x725aa4
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x725aec
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x48]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x725b20
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3fc]
mov edx, 0x725964
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x54]
push eax
mov edx, 0x725964
mov eax, dword [ebp - 0x48]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov edx, 0x725b58
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x88]
lea eax, [ebp - 0x58]
push eax
mov edx, 0x725b6c
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x5c]
mov ecx, 8
mov edx, 1
call sub.rtl260.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x1c]
mov ecx, 0x725b84
call sub.rtl260.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov edx, 0x7257cc
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, 0x725ba0
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, 0x725bb4
mov eax, dword [ebp - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, 0x725bc8
mov eax, dword [ebp - 0x48]
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 - 0x48]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x24]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x60]
mov edx, 0x725be8
call sub.rtl260.bpl__System__UStrEqual_qqrv
jne 0x7252d9
lea eax, [ebp - 0x24]
mov edx, 0x725bf8
call sub.rtl260.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x7252e6
lea eax, [ebp - 0x24]
mov edx, 0x725c08
call sub.rtl260.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x4c]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x4c]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x725c18
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x4c]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x725c68
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x4c]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x725cb0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x4c]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x725cf4
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x4c]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x725d4c
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3fc]
mov edx, 0x725964
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x64]
push eax
mov edx, 0x725964
mov eax, dword [ebp - 0x4c]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x4c]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov edx, 0x725d8c
mov eax, dword [ebp - 0x4c]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, 0x725da8
mov eax, dword [ebp - 0x4c]
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 - 0x4c]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6dc]
mov edx, 0x725dcc
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 [0x730a1c]
cmp dword [eax], 1
sbb eax, eax
inc eax
test al, al
jne 0x725463
mov edx, 0x725dec
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
mov edx, 0x725e08
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov edx, 0x725e68
call sub.rtl260.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0x11
lea edx, [ebp - 0x74]
xor ecx, ecx
mov eax, 0x725e78
call sub.rtl260.bpl__System_Ansistrings_Format_qqrx27System__AnsiStringT_us_i0__px14System_TVarRecxi
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
jmp 0x7254b0
mov edx, 0x725e94
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
mov edx, 0x725eac
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0x11
lea edx, [ebp - 0x74]
xor ecx, ecx
mov eax, 0x725e78
call sub.rtl260.bpl__System_Ansistrings_Format_qqrx27System__AnsiStringT_us_i0__px14System_TVarRecxi
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x9c], 0x11
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x94], 0x11
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0x11
lea edx, [ebp - 0xa0]
mov ecx, 2
mov eax, 0x725f0c
call sub.rtl260.bpl__System_Ansistrings_Format_qqrx27System__AnsiStringT_us_i0__px14System_TVarRecxi
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0x11
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0x11
lea edx, [ebp - 0xb8]
mov ecx, 1
mov eax, 0x725f24
call sub.rtl260.bpl__System_Ansistrings_Format_qqrx27System__AnsiStringT_us_i0__px14System_TVarRecxi
mov edx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa4]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0x11
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0x11
lea edx, [ebp - 0xb8]
mov ecx, 1
mov eax, 0x725f4c
call sub.rtl260.bpl__System_Ansistrings_Format_qqrx27System__AnsiStringT_us_i0__px14System_TVarRecxi
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0x11
xor eax, eax
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0x11
lea edx, [ebp - 0xb8]
mov ecx, 1
mov eax, 0x725f70
call sub.rtl260.bpl__System_Ansistrings_Format_qqrx27System__AnsiStringT_us_i0__px14System_TVarRecxi
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0xc4]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0x11
xor eax, eax
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0x11
lea edx, [ebp - 0xb8]
mov ecx, 1
mov eax, 0x725f8c
call sub.rtl260.bpl__System_Ansistrings_Format_qqrx27System__AnsiStringT_us_i0__px14System_TVarRecxi
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 0xcc]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0x11
lea edx, [ebp - 0x74]
xor ecx, ecx
mov eax, 0x725fa4
call sub.rtl260.bpl__System_Ansistrings_Format_qqrx27System__AnsiStringT_us_i0__px14System_TVarRecxi
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0xd4]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x725797
lea eax, [ebp - 0xd8]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xd4]
call sub.rtl260.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0xd0]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xcc]
call sub.rtl260.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0xc8]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xc4]
call sub.rtl260.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0xc0]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xbc]
call sub.rtl260.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0xa8]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xa4]
call sub.rtl260.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x88]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x84]
call sub.rtl260.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x80]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x7c]
mov edx, 2
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x6c]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x68]
mov edx, 7
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x3c]
mov edx, 0xd
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
ret