Function at 0x41a519c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2b
push 0
push 0
dec ecx
jne 0x41a51a4
push ecx
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41a56e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0419f928
mov eax, dword [ebp - 4]
call fcn.041a17ac
test al, al
je 0x41a567b
mov eax, dword [ebp - 4]
call fcn.041a0ae0
xor edx, edx
push ebp
push 0x41a5671
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x14]
mov eax, dword [0x41a23a4]
call fcn.041a23fc
lea edx, [ebp - 0xc]
mov eax, dword [0x419b618]
call fcn.0419b730
mov eax, dword [ebp - 4]
call fcn.0419fa04
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call sub.rtl60.bpl__System__CheckAutoResult_qqrl
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x4c0]
mov eax, dword [ebx + 0x2cc]
push eax
mov eax, dword [ebx + 0x2c8]
push eax
mov eax, dword [ebp - 4]
call fcn.0419fa04
push eax
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call sub.rtl60.bpl__System__CheckAutoResult_qqrl
lea eax, [ebp - 0x18]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
push eax
mov eax, dword [0x41c7e90]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax]
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call sub.rtl60.bpl__System_TObject_ClassName_qqrp17System_TMetaClass
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x1c]
call sub.rtl60.bpl__System__WStrFromString_qqrr17System_WideStringrx28System__SmallString_iuc_255_
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call sub.rtl60.bpl__System__CheckAutoResult_qqrl
jmp 0x41a55a9
lea edx, [ebp - 0x10]
mov eax, dword [0x419b5bc]
call fcn.0419b6cc
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4bc], 0
jne 0x41a55bc
xor edx, edx
push ebp
push 0x41a559f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
call sub.rtl60.bpl__System__CheckAutoResult_qqrl
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.041a24e8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0419f500
push 0x41bf06c
push 0x41a56f4
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
call sub.rtl60.bpl__System__CheckAutoResult_qqrl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c0]
mov ecx, dword [eax + 0x2cc]
mov edx, dword [eax + 0x2c8]
mov eax, dword [ebp - 0x10]
call fcn.041a2768
lea ecx, [ebp - 0x120]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
mov edx, 0x41a5774
call fcn.041a25bc
mov eax, dword [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call sub.rtl60.bpl__System__CheckAutoResult_qqrl
lea ecx, [ebp - 0x124]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c0]
mov edx, 0x41a578c
call fcn.041a25bc
mov eax, dword [ebp - 0x124]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call sub.rtl60.bpl__System__CheckAutoResult_qqrl
lea ecx, [ebp - 0x128]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60c]
mov edx, 0x41a57a0
call fcn.041a25bc
mov eax, dword [ebp - 0x128]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call sub.rtl60.bpl__System__CheckAutoResult_qqrl
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call sub.rtl60.bpl__System__CheckAutoResult_qqrl
cmp dword [ebp - 8], 0xffffffff
jne 0x41a53f3
call sub.rtl60.bpl__System__TryFinallyExit_qqrv
jmp 0x41a55bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a55a9
mov eax, dword [ebp - 8]
sub eax, 0xb2
je 0x41a5413
sub eax, 2
jne 0x41a5596
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c0]
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
jmp 0x41a5580
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x140], eax
mov byte [ebp - 0x13c], 0
lea eax, [ebp - 0x140]
push eax
push 0
lea eax, [ebp - 0x138]
push eax
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov ecx, 0x41a57b8
mov eax, dword [0x419a1b8]
call fcn.0419a8f8
lea eax, [ebp - 0x138]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
mov ebx, eax
mov eax, dword [ebp - 8]
sub eax, 0xb2
jne 0x41a54f1
test ebx, ebx
jne 0x41a54f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x558]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x150], eax
mov byte [ebp - 0x14c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
mov edx, dword [eax]
call dword [edx + 0x50]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x154]
mov eax, dword [0x419a1b8]
call fcn.0419a2b8
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x148], eax
mov byte [ebp - 0x144], 0xb
lea eax, [ebp - 0x150]
push eax
push 1
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov ecx, 0x41a5868
mov eax, dword [0x419a1b8]
call fcn.0419a694
mov eax, dword [ebp - 8]
sub eax, 0xb4
jne 0x41a5572
test ebx, ebx
jne 0x41a5572
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x558]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x150], eax
mov byte [ebp - 0x14c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
mov edx, dword [eax]
call dword [edx + 0x50]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x158]
mov eax, dword [0x419a1b8]
call fcn.0419a2b8
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x148], eax
mov byte [ebp - 0x144], 0xb
lea eax, [ebp - 0x150]
push eax
push 1
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov ecx, 0x41a58e8
mov eax, dword [0x419a1b8]
call fcn.0419a694
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c0]
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c0]
cmp byte [eax + 0xa1], 0
je 0x41a5426
lea eax, [ebp - 0x10]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
ret
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x104]
test al, al
jne 0x41a52b3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a567b
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call sub.rtl60.bpl__System__CheckAutoResult_qqrl
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
lea eax, [ebp - 0xc]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call sub.rtl60.bpl__System__CheckAutoResult_qqrl
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
lea eax, [ebp - 0x14]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
mov eax, dword [ebp - 4]
call fcn.041a0aac
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4bd], 0
je 0x41a5670
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
call sub.EQGridD6.bpl__Dxdbgrid_TCustomdxDBGrid_GetFilter_qqrv
lea edx, [ebp - 0x15c]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
mov ecx, dword [eax]
call dword [ecx + 0x198]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x190]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a56e9
lea eax, [ebp - 0x15c]
mov edx, 3
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x138]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x128]
mov edx, dword [0x419b52c]
mov ecx, 3
call sub.rtl60.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x1c]
call sub.rtl60.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x18]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x14]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x10]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0xc]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
ret