Function at 0x41aca44
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x41aca4c
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x41ad216
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [edi + 0x8f8]
mov si, 0xffef
call sub.rtl60.bpl__System__CallDynaInst_qqrv
mov esi, 1
lea edx, [ebp - 8]
mov eax, esi
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x41ad22c
call sub.rtl60.bpl__System__LStrCat3_qqrv
mov edx, dword [ebp - 4]
mov eax, edi
call sub.rtl60.bpl__Classes_TComponent_FindComponent_qqrx17System_AnsiString
mov edx, dword [sym.imp.dxELibD6.bpl__Dxedlib_TdxPickEdit_]
call sub.rtl60.bpl__System__AsClass_qqrp14System_TObjectp17System_TMetaClass
xor edx, edx
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_SetText_qqrx17System_AnsiString
inc esi
cmp esi, 0xb
jne 0x41aca7a
mov ecx, edi
mov dl, 1
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_TVEDataset_]
call sub.VEDatasets.bpl__Vedataset_TVEDataset__bctr_qqrp18Classes_TComponent
mov ebx, eax
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x268]
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [edi + 0x4a0]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [edi + 0x9e8]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_GetText_qqrv
mov eax, dword [ebp - 0x24]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea ecx, [ebp - 0x1c]
mov edx, 0x41ad23c
mov eax, dword [0x4198e74]
call fcn.04199368
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, ebx
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
mov esi, 1
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
jmp 0x41ace56
mov eax, esi
cmp eax, 5
ja case.0x41acb64.0
jmp dword [eax*4 + 0x41acb6b]
mov edx, 0x41ad2f0
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x28]
mov eax, dword [edi + 0x9fc]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_SetText_qqrx17System_AnsiString
mov edx, 0x41ad304
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa7c]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad31c
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa84]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad334
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa80]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
jmp case.0x41acb64.0
mov edx, 0x41ad2f0
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x9f8]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_SetText_qqrx17System_AnsiString
mov edx, 0x41ad304
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa88]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad31c
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa8c]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad334
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa90]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
jmp case.0x41acb64.0
mov edx, 0x41ad2f0
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x30]
mov eax, dword [edi + 0xa00]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_SetText_qqrx17System_AnsiString
mov edx, 0x41ad304
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa94]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad31c
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa98]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad334
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa9c]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
jmp case.0x41acb64.0
mov edx, 0x41ad2f0
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x34]
mov eax, dword [edi + 0xa04]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_SetText_qqrx17System_AnsiString
mov edx, 0x41ad304
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xaa0]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad31c
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xaa4]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad334
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xaa8]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
jmp case.0x41acb64.0
mov edx, 0x41ad2f0
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x38]
mov eax, dword [edi + 0xa08]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_SetText_qqrx17System_AnsiString
mov edx, 0x41ad304
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xaac]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad31c
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xab0]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad334
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xab4]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
inc esi
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
cmp byte [ebx + 0xa1], 0
je 0x41acb59
push 1
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [edi + 0x4a0]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [edi + 0x9ec]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_GetText_qqrv
mov eax, dword [ebp - 0x44]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea ecx, [ebp - 0x1c]
mov edx, 0x41ad23c
mov eax, dword [0x4198e74]
call fcn.04199368
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, ebx
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
mov esi, 1
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
jmp 0x41ad1e1
mov eax, esi
cmp eax, 5
ja case.0x41aceef.0
jmp dword [eax*4 + 0x41acef6]
mov edx, 0x41ad2f0
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x48]
mov eax, dword [edi + 0xa14]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_SetText_qqrx17System_AnsiString
mov edx, 0x41ad304
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa54]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad31c
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa2c]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad334
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa4c]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
jmp case.0x41aceef.0
mov edx, 0x41ad2f0
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edi + 0xa10]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_SetText_qqrx17System_AnsiString
mov edx, 0x41ad304
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa50]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad31c
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa28]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad334
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa48]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
jmp case.0x41aceef.0
mov edx, 0x41ad2f0
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x50]
mov eax, dword [edi + 0xa18]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_SetText_qqrx17System_AnsiString
mov edx, 0x41ad304
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa38]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad31c
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa24]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad334
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa44]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
jmp case.0x41aceef.0
mov edx, 0x41ad2f0
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x54]
mov eax, dword [edi + 0xa1c]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_SetText_qqrx17System_AnsiString
mov edx, 0x41ad304
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa34]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad31c
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa5c]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad334
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa40]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
jmp case.0x41aceef.0
mov edx, 0x41ad2f0
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x58]
mov eax, dword [edi + 0xa20]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_SetText_qqrx17System_AnsiString
mov edx, 0x41ad304
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa30]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad31c
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa58]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
mov edx, 0x41ad334
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [edi + 0xa3c]
call sub.vegalib60.bpl__Veedit_TVEEdit_SetValue_qqrxd
inc esi
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
cmp byte [ebx + 0xa1], 0
je 0x41acee4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ad21d
lea eax, [ebp - 0x58]
mov edx, 0xf
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xc]
mov edx, 3
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret