Function at 0x41caf8c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x24
push 0
push 0
dec ecx
jne 0x41caf94
push ecx
push ebx
push esi
push edi
mov ebx, eax
mov edi, dword [sym.imp.vcl60.bpl__Forms_Application]
xor eax, eax
push ebp
push 0x41cb740
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x41cb75c
mov eax, ebx
call fcn.041d1394
mov esi, dword [ebx + 0x34c]
mov eax, dword [ebx + 0xb20]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x80]
mov edx, dword [ebx + 0xb3c]
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
mov eax, dword [ebx + 0x360]
mov eax, dword [eax + 0x2c8]
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov dword [edx], eax
mov eax, dword [ebx + 0x360]
mov eax, dword [eax + 0x2cc]
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov dword [edx], eax
mov eax, dword [ebx + 0x360]
mov eax, dword [eax + 0x2d0]
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defUserNo]
mov dword [edx], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
lea edx, [ebp - 0x74]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea eax, [ebp - 0x6c]
push eax
push 3
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov edx, 0x41cb778
mov eax, dword [0x4199838]
call fcn.04199d90
mov eax, dword [ebp - 0x4c]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, dword [0x4199838]
pop ecx
call fcn.04199940
lea eax, [ebp - 0x48]
call sub.rtl60.bpl__System__VarToReal_qqrrx14System_Variant
fstp qword [ebp - 8]
wait
fld qword [ebp - 8]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x78]
mov eax, 0x41cb8d0
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x78]
mov eax, dword [ebx + 0x538]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, dword [edi]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
lea eax, [ebp - 0x88]
push eax
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0
lea edx, [ebp - 0x90]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
lea edx, [ebp - 0x94]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea eax, [ebp - 0x6c]
push eax
push 3
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov edx, 0x41cb8dc
mov eax, dword [0x4199838]
call fcn.04199d90
mov eax, dword [ebp - 0x8c]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, dword [0x4199838]
pop ecx
call fcn.04199940
lea eax, [ebp - 0x88]
call sub.rtl60.bpl__System__VarToReal_qqrrx14System_Variant
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x98]
mov eax, 0x41cb8d0
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x98]
mov eax, dword [ebx + 0x53c]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, dword [edi]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x9c], 0
lea eax, [ebp - 0xa0]
push eax
push 0
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov ecx, 0x41cba38
mov eax, dword [0x4199838]
call fcn.04199b70
mov esi, eax
mov edx, 0x41cc7a4
mov eax, esi
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x18]
wait
mov edx, 0x41cc7b8
mov eax, esi
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x20]
wait
mov edx, 0x41cc7c8
mov eax, esi
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x28]
wait
mov eax, esi
call sub.rtl60.bpl__System_TObject_Free_qqrv
fld qword [ebp - 0x18]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xa4]
mov eax, 0x41cb8d0
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebx + 0x540]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, dword [edi]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
fld qword [ebp - 0x20]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xa8]
mov eax, 0x41cb8d0
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebx + 0x544]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, dword [edi]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.04192620
fmul dword [0x41cc7d4]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xac]
mov eax, 0x41cb8d0
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0xac]
mov eax, dword [ebx + 0x548]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, dword [edi]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
fld qword [ebp - 0x28]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xb0]
mov eax, 0x41cb8d0
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebx + 0x54c]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, dword [edi]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
fld qword [ebp - 0x28]
fsub qword [ebp - 0x20]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xb4]
mov eax, 0x41cb8d0
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebx + 0x550]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
fld qword [ebp - 0x28]
fsub qword [ebp - 0x20]
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.04192620
fmul dword [0x41cc7d4]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xb8]
mov eax, 0x41cc7e0
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebx + 0x554]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
fld qword [ebp - 8]
fsub qword [ebp - 0x18]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xbc]
mov eax, 0x41cb8d0
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebx + 0x560]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
fld qword [ebp - 0x10]
fsub qword [ebp - 0x20]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xc0]
mov eax, 0x41cb8d0
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebx + 0x564]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.04192620
fmul dword [0x41cc7d4]
fsubr dword [0x41cc7d4]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xc4]
mov eax, 0x41cb8d0
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebx + 0x568]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 0xe4], 0
lea edx, [ebp - 0xec]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 0xdc], 0xb
lea eax, [ebp - 0xe8]
push eax
push 1
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov edx, 0x41cc7f0
mov eax, dword [0x4199838]
call fcn.04199d90
mov eax, dword [ebp - 0xd8]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, dword [0x4199838]
pop ecx
call fcn.04199940
lea eax, [ebp - 0xd4]
call sub.rtl60.bpl__System__VarToReal_qqrrx14System_Variant
fstp qword [ebp - 0x30]
wait
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 0xe4], 0
lea edx, [ebp - 0x104]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 0xdc], 0xb
lea eax, [ebp - 0xe8]
push eax
push 1
lea eax, [ebp - 0x100]
push eax
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov edx, 0x41cc8e0
mov eax, dword [0x4199838]
call fcn.04199d90
mov eax, dword [ebp - 0x100]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, dword [0x4199838]
pop ecx
call fcn.04199940
lea eax, [ebp - 0xfc]
call sub.rtl60.bpl__System__VarToReal_qqrrx14System_Variant
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x30]
fsub qword [ebp - 0x38]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x108]
mov eax, 0x41cc9e0
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x108]
mov eax, dword [ebx + 0x558]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
lea eax, [ebp - 0x11c]
push eax
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 0xe4], 0
lea edx, [ebp - 0x124]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 0xdc], 0xb
lea eax, [ebp - 0xe8]
push eax
push 1
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov edx, 0x41cc9f0
mov eax, dword [0x4199838]
call fcn.04199d90
mov eax, dword [ebp - 0x120]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, dword [0x4199838]
pop ecx
call fcn.04199940
lea eax, [ebp - 0x11c]
call sub.rtl60.bpl__System__VarToReal_qqrrx14System_Variant
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x10c]
mov eax, 0x41cb8d0
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebx + 0x55c]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, dword [edi]
call sub.vcl60.bpl__Forms_TApplication_ProcessMessages_qqrv
xor edx, edx
mov eax, dword [ebx + 0x5e0]
call sub.tee60.bpl__Teengine_TCustomAxisPanel_GetSeries_qqri
mov edx, dword [eax]
call dword [edx + 0x98]
push dword [ebp - 4]
push dword [ebp - 8]
xor edx, edx
mov eax, dword [ebx + 0x5e0]
call sub.tee60.bpl__Teengine_TCustomAxisPanel_GetSeries_qqri
mov ecx, 0xff0000
mov edx, 0x41ccb88
mov esi, dword [eax]
call dword [esi + 0x84]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebx + 0x5e0]
call sub.tee60.bpl__Teengine_TCustomAxisPanel_GetSeries_qqri
mov ecx, 0x8000
mov edx, 0x41ccb98
mov esi, dword [eax]
call dword [esi + 0x84]
mov eax, ebx
call fcn.041d1384
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cb74a
lea eax, [ebp - 0x124]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x11c]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x10c]
mov edx, 4
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xfc]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0xec]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xd8]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xd4]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0xc4]
mov edx, 9
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x98]
mov edx, 4
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x88]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x78]
mov edx, 3
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x4c]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x48]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
ret