Function at 0x659d20
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x659d28
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x65a940
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
xor edx, edx
call sub.vcl260.bpl__Vcl_Extctrls_TTimer_SetEnabled_qqro
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x550]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x28]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x28]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65a960
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x194]
dec eax
jge 0x659dcc
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [0x730cbc]
cmp dword [eax], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x65a88c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov dl, 1
call sub.vcl260.bpl__Vcl_Extctrls_TTimer_SetEnabled_qqro
jmp 0x65a88c
mov dl, 1
mov eax, dword [sym.imp.rtl260.bpl__System_Classes_TList_]
call sub.rtl260.bpl__System_TObject__bctr_qqrv
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [sym.imp.rtl260.bpl__System_Classes_TStringList_]
call sub.rtl260.bpl__System_Classes_TStringList__bctr_qqrv
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
call sub.rtl260.bpl__System__UStrClr_qqrpv
jmp 0x65a14b
mov edx, dword [0x642df4]
mov eax, 0x40
call sub.rtl260.bpl__System__New_qqripv
mov dword [ebp - 0xc], eax
mov edx, 0x65aa4c
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
call sub.rtl260.bpl__System_Classes_TStrings_Append_qqrx20System_UnicodeString
mov edx, 0x65aa4c
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
mov edx, dword [eax]
call dword [edx + 0x6c]
mov eax, dword [ebp - 0xc]
fstp qword [eax]
wait
mov edx, 0x65aa64
mov eax, dword [ebp - 0x28]
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]
lea edx, [ebp - 0x3c]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov edx, 0x65aa80
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
cmp dword [ebp - 0x44], 0
jne 0x659eb6
mov eax, dword [ebp - 0xc]
add eax, 0x18
mov edx, 0x65aa98
call sub.rtl260.bpl__System__LStrAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
jmp 0x659eec
mov edx, 0x65aa80
mov eax, dword [ebp - 0x28]
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]
lea edx, [ebp - 0x4c]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
add eax, 0x18
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov edx, 0x65aab4
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0xc]
add eax, 0x14
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov edx, 0x65aacc
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
cmp dword [ebp - 0x5c], 0
jne 0x659f81
mov eax, dword [0x730ad4]
cmp dword [eax], 0
jne 0x659f67
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov edx, 0x65aa98
call sub.rtl260.bpl__System__LStrAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
jmp 0x659fb7
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov edx, dword [0x730ad4]
mov edx, dword [edx]
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
jmp 0x659fb7
mov edx, 0x65aacc
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov edx, 0x65aaec
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
mov edx, dword [eax]
call dword [edx + 0x64]
mov eax, dword [ebp - 0xc]
fstp qword [eax + 0x20]
wait
mov edx, 0x65ab04
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x70]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xc]
add eax, 0x28
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov edx, 0x65ab18
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x78]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0xc]
add eax, 0x2c
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov edx, 0x65ab30
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x80]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
add eax, 0x30
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov edx, 0x65ab48
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x88]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0xc]
add eax, 0x34
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov edx, 0x65ab60
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xc]
add eax, 0x38
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov edx, 0x65ab78
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xc]
add eax, 0x3c
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TList_Add_qqrpv
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Next_qqrv
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0xad], 0
je 0x659df7
mov eax, dword [ebp - 0x28]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov dl, 1
mov eax, dword [0x5ec188]
call fcn.005ec290
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call sub.rtl260.bpl__System_Classes_TThread_Resume_qqrv
mov dword [ebp - 0x20], 0xffffffff
xor eax, eax
push ebp
push 0x65a6ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x90]
mov edx, dword [eax]
call dword [edx + 0x16c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x65a6b9
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Classes_TList_Get_qqri
mov dword [ebp - 0x10], eax
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0xc8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov edx, 0x65ab90
call sub.rtl260.bpl__System__LStrEqual_qqrv
jne 0x65a356
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, 0x65aba8
call sub.rtl260.bpl__System__LStrEqual_qqrv
jne 0x65a2af
mov eax, dword [ebp - 0x30]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65abb8
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65abec
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x65ac48
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [0x730d84]
mov edx, dword [edx]
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
mov ecx, 0x10
mov edx, 1
call sub.rtl260.bpl__System__LStrCopy_qqrx27System__AnsiStringT_us_i0__ii
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov eax, dword [ebp - 0x9c]
push eax
mov edx, 0x65ac64
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ExecSQL_qqrv
jmp 0x65a6ad
mov eax, dword [ebp - 0x30]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65ac84
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65acb8
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x65ac48
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [0x730d84]
mov edx, dword [edx]
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
mov ecx, 0x10
mov edx, 1
call sub.rtl260.bpl__System__LStrCopy_qqrx27System__AnsiStringT_us_i0__ii
mov edx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa4]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov eax, dword [ebp - 0xa4]
push eax
mov edx, 0x65ac64
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ExecSQL_qqrv
jmp 0x65a6ad
mov eax, dword [ebp - 0x30]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, 0x65aba8
call sub.rtl260.bpl__System__LStrEqual_qqrv
jne 0x65a3c7
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65ad28
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65ad5c
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65ae28
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65ae44
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x65a433
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65afb0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65afe4
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65b080
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65ae28
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65b110
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x30]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65b1cc
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, 0x65b268
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
push eax
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov edx, dword [ebp - 0xac]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x65ac48
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [0x730d84]
mov edx, dword [edx]
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov ecx, 0xf
mov edx, 1
call sub.rtl260.bpl__System__LStrCopy_qqrx27System__AnsiStringT_us_i0__ii
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 0xb0]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov eax, dword [ebp - 0xb0]
push eax
mov edx, 0x65b28c
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov ecx, 0xf
mov edx, 1
call sub.rtl260.bpl__System__LStrCopy_qqrx27System__AnsiStringT_us_i0__ii
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov eax, dword [ebp - 0xb8]
push eax
mov edx, 0x65b2b0
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov edx, 0x65b2d8
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
call sub.dbrtl260.bpl__Data_Db_TParam_SetAsDateTime_qqrx16System_TDateTime
mov edx, 0x65b2f8
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
push eax
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x28]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov edx, dword [ebp - 0xc0]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x65b318
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
push eax
lea eax, [ebp - 0xc4]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x2c]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov edx, dword [ebp - 0xc4]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
mov ecx, 0x10
mov edx, 1
call sub.rtl260.bpl__System__LStrCopy_qqrx27System__AnsiStringT_us_i0__ii
mov edx, dword [ebp - 0xcc]
lea eax, [ebp - 0xc8]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov eax, dword [ebp - 0xc8]
push eax
mov edx, 0x65ac64
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov ecx, 0x10
mov edx, 1
call sub.rtl260.bpl__System__LStrCopy_qqrx27System__AnsiStringT_us_i0__ii
mov edx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov eax, dword [ebp - 0xd0]
push eax
mov edx, 0x65b338
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
push 0
push 0
mov edx, 0x65b358
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [eax]
call dword [edx + 0x78]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, 0x65aba8
call sub.rtl260.bpl__System__LStrEqual_qqrv
jne 0x65a68e
mov edx, 0x65b378
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, 0x65b39c
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x65b3ac
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [0x730b7c]
mov edx, dword [edx]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x65b3c8
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, 0x65b39c
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x65b3e0
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, 0x65b404
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x65a6a5
mov edx, 0x65b378
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, 0x65b41c
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x30]
call sub.odac260.bpl__Ora_TOraDataSet_ExecSQL_qqrv
inc dword [ebp - 0x18]
dec dword [ebp - 0x2c]
jne 0x65a1be
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x90]
mov edx, dword [eax]
call dword [edx + 0x170]
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x90]
call sub.dac260.bpl__Dbaccess_TCustomDAConnection_Disconnect_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x65a761
cmp dword [ebp - 0x20], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x65a820
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x65a820
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
xor eax, eax
push ebp
push 0x65a80a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x550]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x34]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x34]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x65b42c
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea ecx, [ebp - 0xd8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xd8]
push eax
mov edx, 0x65b4c8
mov eax, dword [ebp - 0x34]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x34]
call sub.odac260.bpl__Ora_TOraDataSet_ExecSQL_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x65a814
inc dword [ebp - 0x18]
dec dword [ebp - 0x2c]
jne 0x65a78c
xor eax, eax
push ebp
push 0x65a848
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_TObject_Free_qqrv
mov eax, dword [ebp - 0x14]
call sub.rtl260.bpl__System_TObject_Free_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x65a852
cmp dword [ebp - 0x20], 1
sbb eax, eax
inc eax
test al, al
jne 0x65a86d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov dl, 1
call sub.vcl260.bpl__Vcl_Extctrls_TTimer_SetEnabled_qqro
mov eax, dword [0x730cbc]
cmp dword [eax], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x65a88c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov dl, 1
call sub.vcl260.bpl__Vcl_Extctrls_TTimer_SetEnabled_qqro
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65a94a
lea eax, [ebp - 0xd8]
call sub.rtl260.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0xd4]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xd0]
call sub.rtl260.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0xcc]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xc8]
mov edx, 3
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0xbc]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xb8]
call sub.rtl260.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0xb4]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xb0]
mov edx, 2
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
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 - 0xa0]
call sub.rtl260.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x9c]
mov edx, 0x1a
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x1c]
call sub.rtl260.bpl__System__UStrClr_qqrpv
ret