Function at 0x41c9f08
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x41c9f10
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x41ca538
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x344]
mov edx, dword [esi + 0xb20]
mov dword [eax + 0xc], edx
xor edx, edx
mov eax, dword [esi + 0x380]
call sub.dbrtl60.bpl__Db_TDataSource_SetDataSet_qqrp11Db_TDataSet
xor edx, edx
mov eax, dword [esi + 0x400]
call sub.dbrtl60.bpl__Db_TDataSource_SetDataSet_qqrp11Db_TDataSet
mov eax, dword [esi + 0x3b4]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov eax, dword [esi + 0x3b4]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
mov eax, dword [esi + 0x3b4]
call sub.dbrtl60.bpl__Db_TDataSet_Edit_qqrv
mov eax, dword [esi + 0x360]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov eax, dword [esi + 0x360]
call sub.adortl60.bpl__Adodb_TCustomADODataSet_GetParameters_qqrv
xor edx, edx
call sub.adortl60.bpl__Adodb_TParameters_GetItem_qqri
push eax
lea eax, [ebp - 0x20]
mov edx, dword [esi + 0xb20]
mov cl, 0xfc
call sub.rtl60.bpl__System__VarFromInt_qqrr14System_Variantxixi
lea edx, [ebp - 0x20]
pop eax
call sub.adortl60.bpl__Adodb_TParameter_SetValue_qqrrx14System_Variant
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [esi + 0x360]
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
mov cl, byte [0x41ca548]
mov edx, dword [esi + 0x360]
mov eax, dword [esi + 0x37c]
mov ebx, dword [eax]
call dword [ebx + 0x294]
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x37c]
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
jmp 0x41ca22e
mov eax, dword [esi + 0x394]
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 8]
fstp xword [ebp - 0x2c]
wait
mov eax, dword [esi + 0x398]
mov edx, dword [eax]
call dword [edx + 0x54]
fld xword [ebp - 0x2c]
fsubrp st(1)
fstp qword [ebp - 8]
wait
mov eax, dword [esi + 0x410]
mov edx, dword [eax]
call dword [edx + 0x58]
cmp eax, 0xb
jne 0x41ca063
mov edi, dword [esi + 0x3d0]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x34]
wait
mov eax, dword [esi + 0x394]
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 0x34]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi + 0x410]
mov edx, dword [eax]
call dword [edx + 0x58]
cmp eax, 0xe
jne 0x41ca0a3
mov edi, dword [esi + 0x3d4]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x34]
wait
mov eax, dword [esi + 0x398]
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 0x34]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi + 0x410]
mov edx, dword [eax]
call dword [edx + 0x58]
cmp eax, 0xd
jne 0x41ca0e3
mov edi, dword [esi + 0x3f4]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x34]
wait
mov eax, dword [esi + 0x398]
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 0x34]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi + 0x410]
mov edx, dword [eax]
call dword [edx + 0x58]
cmp eax, 0xc
jne 0x41ca123
mov edi, dword [esi + 0x3f8]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x34]
wait
mov eax, dword [esi + 0x394]
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 0x34]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi + 0x410]
mov edx, dword [eax]
call dword [edx + 0x58]
cmp eax, 0x14
jne 0x41ca163
mov edi, dword [esi + 0x3e8]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x34]
wait
mov eax, dword [esi + 0x398]
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 0x34]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi + 0x410]
mov edx, dword [eax]
call dword [edx + 0x58]
cmp eax, 0x15
jne 0x41ca1a3
mov edi, dword [esi + 0x3dc]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x34]
wait
mov eax, dword [esi + 0x394]
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 0x34]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi + 0x410]
mov edx, dword [eax]
call dword [edx + 0x58]
cmp eax, 0x16
jne 0x41ca1e3
mov edi, dword [esi + 0x3e0]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x34]
wait
mov eax, dword [esi + 0x398]
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 0x34]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi + 0x410]
mov edx, dword [eax]
call dword [edx + 0x58]
cmp eax, 0x17
jne 0x41ca223
mov edi, dword [esi + 0x3ec]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x34]
wait
mov eax, dword [esi + 0x394]
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 0x34]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi + 0x37c]
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
mov eax, dword [esi + 0x37c]
cmp byte [eax + 0xa1], 0
je 0x41c9ffd
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
mov eax, dword [esi + 0xb20]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x34]
push eax
push 0
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov ecx, 0x41ca554
mov eax, dword [0x4199838]
call fcn.04199b70
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
dec eax
jle 0x41ca2d4
mov eax, dword [esi + 0xae4]
call sub.adortl60.bpl__Adodb_TCustomADODataSet_GetParameters_qqrv
xor edx, edx
call sub.adortl60.bpl__Adodb_TParameters_GetItem_qqri
push eax
lea eax, [ebp - 0x44]
mov edx, dword [esi + 0xb20]
mov cl, 0xfc
call sub.rtl60.bpl__System__VarFromInt_qqrr14System_Variantxixi
lea edx, [ebp - 0x44]
pop eax
call sub.adortl60.bpl__Adodb_TParameter_SetValue_qqrrx14System_Variant
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [esi + 0xae4]
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
mov dl, 1
mov eax, dword [esi + 0xad4]
call sub.dxLayoutControlD6.bpl__Dxlayoutcontrol_TdxCustomLayoutItem_SetVisible_qqro
jmp 0x41ca2e1
xor edx, edx
mov eax, dword [esi + 0xad4]
call sub.dxLayoutControlD6.bpl__Dxlayoutcontrol_TdxCustomLayoutItem_SetVisible_qqro
mov eax, dword [esi + 0x41c]
call sub.adortl60.bpl__Adodb_TCustomADODataSet_GetParameters_qqrv
xor edx, edx
call sub.adortl60.bpl__Adodb_TParameters_GetItem_qqri
push eax
lea eax, [ebp - 0x54]
mov edx, dword [esi + 0xb20]
mov cl, 0xfc
call sub.rtl60.bpl__System__VarFromInt_qqrr14System_Variantxixi
lea edx, [ebp - 0x54]
pop eax
call sub.adortl60.bpl__Adodb_TParameter_SetValue_qqrrx14System_Variant
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [esi + 0x41c]
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
mov eax, dword [esi + 0x470]
call sub.adortl60.bpl__Adodb_TCustomADODataSet_GetParameters_qqrv
xor edx, edx
call sub.adortl60.bpl__Adodb_TParameters_GetItem_qqri
push eax
lea eax, [ebp - 0x64]
mov edx, dword [esi + 0xb20]
mov cl, 0xfc
call sub.rtl60.bpl__System__VarFromInt_qqrr14System_Variantxixi
lea edx, [ebp - 0x64]
pop eax
call sub.adortl60.bpl__Adodb_TParameter_SetValue_qqrrx14System_Variant
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [esi + 0x470]
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
mov eax, dword [esi + 0x47c]
call sub.adortl60.bpl__Adodb_TCustomADODataSet_GetParameters_qqrv
xor edx, edx
call sub.adortl60.bpl__Adodb_TParameters_GetItem_qqri
push eax
lea eax, [ebp - 0x74]
mov edx, dword [esi + 0xb20]
mov cl, 0xfc
call sub.rtl60.bpl__System__VarFromInt_qqrr14System_Variantxixi
lea edx, [ebp - 0x74]
pop eax
call sub.adortl60.bpl__Adodb_TParameter_SetValue_qqrrx14System_Variant
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [esi + 0x47c]
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, dword [esi + 0x3bc]
mov edx, dword [eax]
call dword [edx + 0xa4]
push dword [esi + 0xb2c]
push dword [esi + 0xb28]
mov eax, dword [esi + 0x3b8]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi + 0x458]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esi + 0x3c4]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi + 0x464]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esi + 0x3cc]
mov edx, dword [eax]
call dword [edx + 0xa4]
fld qword [ebp - 8]
fsub qword [esi + 0xb28]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esi + 0x3c8]
mov edx, dword [eax]
call dword [edx + 0xa4]
cmp byte [esi + 0xb44], 0
je 0x41ca4dc
mov eax, dword [esi + 0xb20]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x84]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov ecx, 0x41ca5b0
mov eax, dword [0x4199838]
call fcn.041998a8
lea eax, [ebp - 0x84]
call sub.rtl60.bpl__System__VarToReal_qqrrx14System_Variant
fstp qword [ebp - 0x10]
wait
mov edi, dword [esi + 0x3c4]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0xa4]
mov edi, dword [esi + 0x3cc]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi + 0x3b4]
mov edx, dword [eax]
call dword [edx + 0x248]
mov edx, dword [esi + 0x3b4]
mov eax, dword [esi + 0x400]
call sub.dbrtl60.bpl__Db_TDataSource_SetDataSet_qqrp11Db_TDataSet
mov edx, dword [esi + 0x37c]
mov eax, dword [esi + 0x380]
call sub.dbrtl60.bpl__Db_TDataSource_SetDataSet_qqrp11Db_TDataSet
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ca53f
lea eax, [ebp - 0x84]
mov edx, dword [sym.imp.rtl60.bpl___xp_14System_Variant]
mov ecx, 5
call sub.rtl60.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x20]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
ret