Function at 0x41dba9c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x41dbaa4
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x41dbd91
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x3ac]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
mov eax, dword [ebp - 0x20]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x41dbda8
mov edx, dword [ebx + 0x3dc]
mov eax, dword [0x41993a8]
call fcn.04199918
lea eax, [ebp - 0x10]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
push eax
mov eax, ebx
call fcn.041dce44
pop edx
call fcn.0419f238
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x3b0]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
mov eax, dword [ebp - 0x48]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
mov eax, ebx
call fcn.041dce44
call fcn.0419f1cc
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x41dbddc
mov edx, dword [ebx + 0x3dc]
mov eax, dword [0x41993a8]
call fcn.04199918
lea eax, [ebp - 0x30]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
push eax
mov eax, ebx
call fcn.041dce44
pop edx
call fcn.0419f218
lea edx, [ebp - 0x4c]
mov eax, dword [ebx + 0x3ac]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
mov eax, dword [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.041dce44
pop edx
call fcn.0419f314
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x3b0]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
mov eax, dword [ebp - 0x50]
push eax
mov eax, ebx
call fcn.041dce44
pop edx
call fcn.0419f2f4
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 0x3a4]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
mov eax, dword [ebp - 0x54]
push eax
mov eax, ebx
call fcn.041dce44
pop edx
call fcn.0419f258
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebx + 0x3a4]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
mov eax, dword [ebp - 0x6c]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x41dbe1c
mov edx, dword [ebx + 0x3dc]
mov eax, dword [0x41993a8]
call fcn.04199918
lea eax, [ebp - 0x64]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
push eax
mov eax, ebx
call fcn.041dce44
pop edx
call fcn.0419f338
lea edx, [ebp - 0x70]
mov eax, dword [ebx + 0x3b4]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_GetText_qqrv
cmp dword [ebp - 0x70], 0
je 0x41dbc7b
mov eax, ebx
call fcn.041dce44
push eax
mov eax, dword [ebx + 0x3b4]
add eax, 0x320
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
mov edx, eax
pop eax
call fcn.0419f3bc
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x3b8]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_GetText_qqrv
cmp dword [ebp - 0x74], 0
je 0x41dbcaf
mov eax, ebx
call fcn.041dce44
push eax
mov eax, dword [ebx + 0x3b8]
add eax, 0x320
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
mov edx, eax
pop eax
call fcn.0419f39c
lea edx, [ebp - 0x78]
mov eax, dword [ebx + 0x3b8]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_GetText_qqrv
mov eax, dword [ebp - 0x78]
push eax
mov eax, ebx
call fcn.041dce44
pop edx
call fcn.0419f42c
lea edx, [ebp - 0x7c]
mov eax, dword [ebx + 0x3b4]
call sub.dxEdtrD6.bpl__Dxeditor_TdxInplaceMaskEdit_GetText_qqrv
mov eax, dword [ebp - 0x7c]
push eax
mov eax, ebx
call fcn.041dce44
pop edx
call fcn.0419f44c
mov eax, ebx
call fcn.041dce44
call fcn.0419f1cc
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov dword [edx], eax
mov eax, ebx
call fcn.041dce44
call fcn.0419f1ac
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov dword [edx], eax
mov eax, ebx
call fcn.041dce44
call fcn.0419f2d0
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defUserNo]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dbd98
lea eax, [ebp - 0x7c]
mov edx, 4
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x6c]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x68]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x64]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x54]
mov edx, 4
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x44]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x30]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x20]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x1c]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x10]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
ret