Function at 0x41ccbd0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x41ccbd8
push ebx
push esi
push edi
mov ebx, eax
mov esi, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov edi, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
xor eax, eax
push ebp
push 0x41cd281
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x41cd29c
mov eax, ebx
call fcn.041d1394
mov eax, dword [ebx + 0x57c]
add eax, 0x80
mov edx, dword [ebx + 0xb3c]
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
mov eax, dword [ebx + 0x57c]
mov edx, dword [ebx + 0xb20]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x360]
mov eax, dword [eax + 0x2c8]
mov dword [esi], eax
mov eax, dword [ebx + 0x360]
mov eax, dword [eax + 0x2cc]
mov dword [edi], 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 - 0x60]
push eax
mov eax, dword [edi]
push eax
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
lea edx, [ebp - 0x78]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea eax, [ebp - 0x74]
push eax
push 1
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [esi]
mov edx, 0x41cd2b8
mov eax, dword [0x4199838]
call fcn.04199d90
mov eax, dword [ebp - 0x64]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, dword [0x4199838]
pop ecx
call fcn.04199940
lea eax, [ebp - 0x60]
call sub.rtl60.bpl__System__VarToReal_qqrrx14System_Variant
fstp qword [ebp - 8]
wait
lea eax, [ebp - 0x88]
push eax
mov eax, dword [edi]
push eax
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
lea edx, [ebp - 0x90]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea eax, [ebp - 0x74]
push eax
push 1
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [esi]
mov edx, 0x41cd334
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
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [edi]
push eax
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
lea edx, [ebp - 0xa8]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea eax, [ebp - 0x74]
push eax
push 1
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [esi]
mov edx, 0x41cd3a8
mov eax, dword [0x4199838]
call fcn.04199d90
mov eax, dword [ebp - 0xa4]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, dword [0x4199838]
pop ecx
call fcn.04199940
lea eax, [ebp - 0xa0]
call sub.rtl60.bpl__System__VarToReal_qqrrx14System_Variant
fstp qword [ebp - 0x18]
wait
fld qword [ebp - 0x18]
fsub qword [ebp - 0x10]
fstp qword [ebp - 0x20]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.04192620
fmul dword [0x41cd410]
fstp qword [ebp - 0x28]
wait
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [edi]
push eax
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
lea edx, [ebp - 0xc0]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea eax, [ebp - 0x74]
push eax
push 1
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [esi]
mov edx, 0x41cd41c
mov eax, dword [0x4199838]
call fcn.04199d90
mov eax, dword [ebp - 0xbc]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, dword [0x4199838]
pop ecx
call fcn.04199940
lea eax, [ebp - 0xb8]
call sub.rtl60.bpl__System__VarToReal_qqrrx14System_Variant
fstp qword [ebp - 0x30]
wait
fld qword [ebp - 0x30]
lea eax, [ebp - 0xd0]
call sub.rtl60.bpl__System__VarFromReal_qqrv
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xe0]
push eax
mov eax, dword [edi]
push eax
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
lea edx, [ebp - 0xe8]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea eax, [ebp - 0x74]
push eax
push 1
lea eax, [ebp - 0xe4]
push eax
mov ecx, dword [esi]
mov edx, 0x41cd494
mov eax, dword [0x4199838]
call fcn.04199d90
mov eax, dword [ebp - 0xe4]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, dword [0x4199838]
pop ecx
call fcn.04199940
lea edx, [ebp - 0xe0]
pop eax
call sub.rtl60.bpl__System__VarSub_qqrr14System_Variantrx14System_Variant
lea eax, [ebp - 0xd0]
call sub.rtl60.bpl__System__VarToReal_qqrrx14System_Variant
fstp qword [ebp - 0x30]
wait
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [edi]
push eax
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea eax, [ebp - 0x74]
push eax
push 1
lea eax, [ebp - 0xfc]
push eax
mov ecx, dword [esi]
mov edx, 0x41cd590
mov eax, dword [0x4199838]
call fcn.04199d90
mov eax, dword [ebp - 0xfc]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, dword [0x4199838]
pop ecx
call fcn.04199940
lea eax, [ebp - 0xf8]
call sub.rtl60.bpl__System__VarToReal_qqrrx14System_Variant
fstp qword [ebp - 0x40]
wait
lea eax, [ebp - 0x110]
push eax
mov eax, dword [edi]
push eax
mov eax, dword [ebx + 0xb20]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
lea edx, [ebp - 0x118]
mov eax, ebx
call fcn.041caeb4
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea eax, [ebp - 0x74]
push eax
push 1
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [esi]
mov edx, 0x41cd744
mov eax, dword [0x4199838]
call fcn.04199d90
mov eax, dword [ebp - 0x114]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, dword [0x4199838]
pop ecx
call fcn.04199940
lea eax, [ebp - 0x110]
call sub.rtl60.bpl__System__VarToReal_qqrrx14System_Variant
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x40]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x48]
wait
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.04192620
fmul dword [0x41cd410]
fstp qword [ebp - 0x50]
wait
fld qword [ebp - 8]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x11c]
mov eax, 0x41cd8f8
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebx + 0x59c]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
fld qword [ebp - 0x10]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x120]
mov eax, 0x41cd8f8
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x120]
mov eax, dword [ebx + 0x5a0]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
fld qword [ebp - 0x18]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x124]
mov eax, 0x41cd8f8
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x124]
mov eax, dword [ebx + 0x5a4]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
fld qword [ebp - 0x20]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x128]
mov eax, 0x41cd8f8
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x128]
mov eax, dword [ebx + 0x5a8]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
fld qword [ebp - 0x28]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x12c]
mov eax, 0x41cd8f8
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebx + 0x5ac]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
fld qword [ebp - 0x30]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x130]
mov eax, 0x41cd8f8
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x130]
mov eax, dword [ebx + 0x5b0]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
fld qword [ebp - 0x38]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x134]
mov eax, 0x41cd8f8
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x134]
mov eax, dword [ebx + 0x5c4]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
fld qword [ebp - 0x40]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x138]
mov eax, 0x41cd8f8
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x138]
mov eax, dword [ebx + 0x5d4]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
fld qword [ebp - 0x48]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x13c]
mov eax, 0x41cd8f8
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebx + 0x5d8]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
fld qword [ebp - 0x50]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x140]
mov eax, 0x41cd8f8
call sub.rtl60.bpl__Sysutils_FormatFloat_qqrx17System_AnsiStringg
mov edx, dword [ebp - 0x140]
mov eax, dword [ebx + 0x5dc]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, ebx
call fcn.041d1384
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cd28b
lea eax, [ebp - 0x140]
mov edx, 0xc
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x110]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x100]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xf8]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0xe8]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xe0]
mov edx, dword [sym.imp.rtl60.bpl___xp_14System_Variant]
mov ecx, 2
call sub.rtl60.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0xc0]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xb8]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0xa8]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xa0]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x90]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x88]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x78]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x64]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x60]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
ret