Function at 0x449670
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x449678
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449c9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
mov edx, 0x449cb4
call sub.rtl260.bpl__System__UStrEqual_qqrv
je 0x4496bb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
mov edx, 0x449cc4
call sub.rtl260.bpl__System__UStrEqual_qqrv
jne 0x449743
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
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, 0x449cd4
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
fild dword [eax]
fstp qword [ebp - 0x34]
wait
push dword [ebp - 0x30]
push dword [ebp - 0x34]
mov edx, 0x449d38
mov eax, dword [ebp - 0x14]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [eax]
call dword [edx + 0x78]
mov eax, dword [ebp - 0x14]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov edx, 0x449d50
mov eax, dword [ebp - 0x14]
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]
lea edx, [ebp - 0x10]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x14]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x449d68
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x449d84
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x449dbc
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x449ef8
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x449f34
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x449f64
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x449fb0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x449fcc
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x449ffc
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [0x730b48]
cmp dword [eax], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x44982c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44a04c
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44a1fc
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44a290
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x44984c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44a420
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44a5c0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44a6c8
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44a760
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44a7f8
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44a848
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44a924
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
add eax, 0xe
mov edx, 0x44a9ac
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call sub.rtl260.bpl__System__AStrCmp_qqrv
je 0x4498ca
mov eax, dword [ebp - 8]
add eax, 0xe
mov edx, 0x44a9b0
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call sub.rtl260.bpl__System__AStrCmp_qqrv
jne 0x4498dc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44a9c0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x4498ec
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44a9e0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44aa14
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44aaa0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44ab70
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44ab90
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44abc4
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44acc0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
cmp dword [ebp - 0x3c], 0
jne 0x449972
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44add0
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x449982
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44ae38
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44aebc
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44aef8
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44af20
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0x44af50
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
fild dword [eax]
fstp qword [ebp - 0x34]
wait
push dword [ebp - 0x30]
push dword [ebp - 0x34]
mov edx, 0x449d38
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [eax]
call dword [edx + 0x78]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov edx, 0x44af68
call sub.rtl260.bpl__System__UStrEqual_qqrv
jne 0x449a0b
mov edx, 0x44af8c
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x449a23
mov edx, 0x44af8c
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x449a42
mov edx, 0x44afa8
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x449a67
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
call sub.rtl260.bpl__System_Sysutils_IntToStr_qqri
mov eax, dword [ebp - 0x40]
push eax
mov edx, 0x44afa8
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x44afc4
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x44afe8
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x44b004
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 8]
fild dword [eax + 0x28]
fstp qword [ebp - 0x34]
wait
push dword [ebp - 0x30]
push dword [ebp - 0x34]
mov edx, 0x44b020
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [eax]
call dword [edx + 0x78]
mov edx, 0x44b038
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x44b05c
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
push eax
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 8]
add edx, 0xe
call sub.rtl260.bpl__System__UStrFromString_qqrr20System_UnicodeStringrx29System__SmallString_uc_i255__
mov edx, dword [ebp - 0x44]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
cmp dword [ebp - 0x48], 0
jne 0x449b3b
mov edx, 0x44b078
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, 0x44b09c
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x449b53
mov edx, 0x44b078
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x44b0ac
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x44b0cc
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
cmp dword [ebp - 0x4c], 0
jne 0x449be3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
mov edx, 0x449cb4
call sub.rtl260.bpl__System__UStrEqual_qqrv
je 0x449bbb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
mov edx, 0x449cc4
call sub.rtl260.bpl__System__UStrEqual_qqrv
jne 0x449bfb
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x10]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
cmp dword [ebp - 0x50], 0
je 0x449bfb
mov edx, 0x449d50
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x449bfb
mov edx, 0x449d50
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x44b0e8
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x44b104
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x44b12c
mov eax, dword [ebp - 0x18]
call sub.odac260.bpl__Ora_TOraSQL_ParamByName_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0xe0]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
mov eax, dword [ebp - 4]
call fcn.0044d324
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x449c6d
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449ca4
lea eax, [ebp - 0x50]
mov edx, 7
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x2c]
mov edx, 5
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x10]
call sub.rtl260.bpl__System__UStrClr_qqrpv
ret