Function at 0x41da230
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x41da238
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x41da790
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41abb34]
call sub.vegalib60.bpl__Untvform_TVForm__bctr_qqrp18Classes_TComponent
mov edx, dword [0x4203a20]
mov dword [edx], eax
xor eax, eax
push ebp
push 0x41da744
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4203a20]
mov eax, dword [eax]
or edx, 0xffffffff
call fcn.041ac8c0
mov eax, dword [0x4203a20]
mov eax, dword [eax]
xor edx, edx
call fcn.041ac768
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xe8]
dec eax
jne 0x41da72a
mov eax, dword [ebx + 0x400]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov eax, dword [ebx + 0x400]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
mov eax, dword [ebx + 0x508]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov eax, dword [ebx + 0x508]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
mov eax, dword [ebx + 0x3c4]
call sub.dbrtl60.bpl__Db_TDataSet_Edit_qqrv
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x414]
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, dword [ebx + 0x3ec]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x428]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebx + 0x3e0]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x42c]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebx + 0x3e4]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x430]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebx + 0x3e8]
mov edx, dword [eax]
call dword [edx + 0xa4]
lea edx, [ebp - 4]
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x438]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x3f0]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 8]
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x43c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x3f4]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x414]
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, dword [ebx + 0x3ec]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x468]
mov edx, dword [eax]
call dword [edx + 0x58]
dec eax
setne dl
mov eax, dword [ebx + 0x3f8]
mov ecx, dword [eax]
call dword [ecx + 0x94]
push 0x3ff00000
push 0
mov eax, dword [ebx + 0x3d0]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [ebx + 0x3c4]
mov edx, dword [eax]
call dword [edx + 0x248]
mov eax, ebx
call fcn.041deea8
mov byte [ebx + 0x848], 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 0x3ec]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x41da7a8
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov edx, dword [ebp - 0xc]
mov eax, dword [0x41acdb8]
call fcn.041ad3b4
mov esi, eax
mov eax, esi
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
mov eax, dword [ebx + 0x4c0]
mov cl, byte [0x41da7e0]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x294]
mov eax, esi
call sub.rtl60.bpl__System_TObject_Free_qqrv
mov byte [ebx + 0x320], 1
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x468]
mov edx, dword [eax]
call dword [edx + 0x58]
dec eax
jne 0x41da522
lea edx, [ebp - 0x18]
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x43c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x18]
push eax
push 0x3ff00000
push 0
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x414]
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
push 0x41da7ec
push 1
lea edx, [ebp - 0x1c]
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x438]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x434]
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, ebx
pop ecx
call fcn.041d9ff4
jmp 0x41da723
mov ecx, ebx
mov dl, 1
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_TVEDataset_]
call sub.VEDatasets.bpl__Vedataset_TVEDataset__bctr_qqrp18Classes_TComponent
mov esi, eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x268]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x414]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x41da80c
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, esi
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
jmp 0x41da61a
mov edx, 0x41da84c
mov eax, esi
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x24]
push eax
mov edx, 0x41da860
mov eax, esi
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x34]
mov edx, 0x41da870
mov eax, esi
call sub.dbrtl60.bpl__Db_TDataSet_GetFieldValue_qqrx17System_AnsiString
lea eax, [ebp - 0x34]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
push eax
push 0x41da884
push 0
mov edx, 0x41da8ac
mov eax, esi
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x38]
push eax
mov edx, 0x41da8c0
mov eax, esi
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, ebx
pop ecx
call fcn.041d9ff4
mov eax, esi
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
cmp byte [esi + 0xa1], 0
je 0x41da591
xor ecx, ecx
mov dl, 1
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_TVEDataset_]
call sub.VEDatasets.bpl__Vedataset_TVEDataset__bctr_qqrp18Classes_TComponent
mov esi, eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [0x4203a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x414]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x41da8d0
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x268]
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, esi
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
jmp 0x41da70f
mov eax, dword [ebx + 0x508]
call sub.dbrtl60.bpl__Db_TDataSet_Append_qqrv
push 1
push 1
mov ecx, dword [ebx + 0x508]
mov edx, esi
mov eax, dword [0x4199340]
call fcn.0419a7dc
mov eax, dword [ebx + 0x514]
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, dword [ebx + 0x730]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
lea ecx, [ebp - 0x50]
mov edx, 0x41da8ac
mov eax, esi
call sub.dbrtl60.bpl__Db_TDataSet_GetFieldValue_qqrx17System_AnsiString
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x40]
call sub.rtl60.bpl__System__VarToLStr_qqrr17System_AnsiStringrx14System_Variant
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x728]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [ebx + 0x508]
mov edx, dword [eax]
call dword [edx + 0x248]
mov eax, esi
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
cmp byte [esi + 0xa1], 0
je 0x41da693
mov eax, esi
call sub.rtl60.bpl__System_TObject_Free_qqrv
mov eax, ebx
call fcn.041daeec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41da74b
mov eax, dword [0x4203a20]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TCustomForm_Release_qqrv
ret