Function at 0x41bfeb6
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x41bfc95
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41c036e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
add eax, 0xfffffff5
cmp eax, 0x89
ja case.0x41bfcd6.11
mov al, byte [eax + 0x41bfcdd]
jmp dword [eax*4 + 0x41bfd67]
mov ebx, dword [0x41a78bc]
jmp 0x41c003f
mov ebx, dword [0x41a7c98]
jmp 0x41c003f
mov ebx, dword [0x41a76a4]
jmp 0x41c003f
mov ebx, dword [0x41a7aa0]
jmp 0x41c003f
mov ebx, dword [0x41a78bc]
jmp 0x41c003f
mov ebx, dword [0x41a7c98]
jmp 0x41c003f
mov ebx, dword [0x41a76a4]
jmp 0x41c003f
mov ebx, dword [0x41a78bc]
jmp 0x41c003f
mov ebx, dword [0x41a7c98]
jmp 0x41c003f
mov ebx, dword [0x41a76a4]
jmp 0x41c003f
mov ebx, dword [0x41a7aa0]
jmp 0x41c003f
mov ebx, dword [0x41b0d34]
jmp 0x41c003f
mov ebx, dword [0x41a78bc]
jmp 0x41c003f
mov ebx, dword [0x41a76a4]
jmp 0x41c003f
mov ebx, dword [0x41b771c]
jmp 0x41c003f
mov ebx, dword [0x41b7908]
jmp 0x41c003f
mov ebx, dword [0x41a76a4]
jmp 0x41c003f
mov ebx, dword [0x41a78bc]
jmp 0x41c003f
mov ebx, dword [0x41aac64]
jmp 0x41c003f
mov ebx, dword [0x41ab12c]
jmp 0x41c003f
mov ebx, dword [0x41aa9ac]
jmp 0x41c003f
mov ebx, dword [0x41ab580]
jmp 0x41c003f
mov ebx, dword [0x41abbc4]
jmp 0x41c003f
mov ebx, dword [0x41ab9ac]
jmp 0x41c003f
mov ebx, dword [0x41ab7b0]
jmp 0x41c003f
mov ebx, dword [0x41ac890]
jmp 0x41c003f
mov ebx, dword [0x41ac688]
jmp 0x41c003f
mov ebx, dword [0x41ac000]
jmp 0x41c003f
mov ebx, dword [0x41abdf8]
jmp 0x41c003f
mov ebx, dword [0x41ad7f0]
jmp 0x41c003f
mov ebx, dword [0x41ad4c0]
jmp 0x41c003f
mov ebx, dword [0x41ad214]
jmp 0x41c003f
mov ebx, dword [0x41acf68]
jmp 0x41c003f
mov ebx, dword [0x41ac42c]
jmp 0x41c003f
mov ebx, dword [0x41ac208]
jmp 0x41c003f
mov ebx, dword [0x41aca98]
jmp 0x41c003f
mov ebx, dword [0x41acd00]
jmp 0x41c003f
mov ebx, dword [0x41ac42c]
jmp 0x41c003f
mov ebx, dword [0x41b7b20]
jmp 0x41c003f
mov ebx, dword [0x41b6ac4]
jmp 0x41c003f
mov ebx, dword [0x41b684c]
jmp 0x41c003f
mov ebx, dword [0x41b8128]
jmp 0x41c003f
mov ebx, dword [0x41b8350]
jmp 0x41c003f
mov ebx, dword [0x41b8580]
jmp 0x41c003f
mov ebx, dword [0x41b8778]
jmp 0x41c003f
mov ebx, dword [0x41b8970]
jmp 0x41c003f
mov ebx, dword [0x41b8b88]
jmp 0x41c003f
lea edx, [ebp - 8]
mov eax, dword [0x41c7e94]
call sub.rtl60.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 8]
push eax
lea edx, [ebp - 0xc]
mov eax, dword [0x41c7e98]
call sub.rtl60.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0xc]
mov ecx, 0x30
pop edx
call sub.vegalib60.bpl__Strtools_Mess_qqr17System_AnsiStringt1i
jmp 0x41c032e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
test eax, eax
je 0x41c0051
call sub.vcl60.bpl__Forms_TCustomForm_Release_qqrv
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, ebx
call dword [eax + 0x2c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x50c], eax
mov eax, dword [ebp - 4]
call fcn.041c1464
test al, al
je 0x41c00a0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50c], 0
je 0x41c00a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov edx, dword [0x419e980]
call sub.rtl60.bpl__System__IsClass_qqrp14System_TObjectp17System_TMetaClass
test al, al
je 0x41c00a0
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.041c03f0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x50c]
mov eax, ebx
mov edx, dword [0x419e980]
call sub.rtl60.bpl__System__IsClass_qqrp14System_TObjectp17System_TMetaClass
test al, al
je 0x41c01ac
mov eax, ebx
mov edx, dword [0x419e980]
call sub.rtl60.bpl__System__AsClass_qqrp14System_TObjectp17System_TMetaClass
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
call fcn.0419f98c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov edx, dword [0x419e980]
call sub.rtl60.bpl__System__AsClass_qqrp14System_TObjectp17System_TMetaClass
xor edx, edx
mov dl, byte [ebp + 0xc]
call fcn.0419f6f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov edx, dword [0x419e980]
call sub.rtl60.bpl__System__AsClass_qqrp14System_TObjectp17System_TMetaClass
mov edx, edi
call fcn.041a0170
cmp dword [ebp + 8], 0
je 0x41c013d
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.041c1510
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov edx, dword [0x419e980]
call sub.rtl60.bpl__System__AsClass_qqrp14System_TObjectp17System_TMetaClass
pop edx
call fcn.041a1dd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov edx, dword [0x419e980]
call sub.rtl60.bpl__System__AsClass_qqrp14System_TObjectp17System_TMetaClass
mov ebx, eax
mov eax, dword [ebx + 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov edx, dword [0x419e980]
call sub.rtl60.bpl__System__AsClass_qqrp14System_TObjectp17System_TMetaClass
mov eax, ebx
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xf4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov edx, dword [0x419e980]
call sub.rtl60.bpl__System__AsClass_qqrp14System_TObjectp17System_TMetaClass
mov ebx, eax
mov eax, dword [ebx + 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov edx, dword [0x419e980]
call sub.rtl60.bpl__System__AsClass_qqrp14System_TObjectp17System_TMetaClass
mov eax, ebx
pop edx
call fcn.041a1db8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov edx, dword [0x41a3cd4]
call sub.rtl60.bpl__System__IsClass_qqrp14System_TObjectp17System_TMetaClass
test al, al
je 0x41c022b
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.0419bfd0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov ecx, 0x41c0388
mov eax, dword [0x419a1b8]
call fcn.0419a8f8
lea eax, [ebp - 0x1c]
call sub.rtl60.bpl__System__VarToBool_qqrrx14System_Variant
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov edx, dword [0x41a3cd4]
call sub.rtl60.bpl__System__AsClass_qqrp14System_TObjectp17System_TMetaClass
mov eax, dword [eax + 0x848]
mov edx, ebx
call sub.cxEditorsVCLD6.bpl__Cxcheckbox_TcxCustomCheckBox_SetChecked_qqro
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
xor edx, edx
call sub.vcl60.bpl__Forms_TCustomForm_SetBorderStyle_qqr22Forms_TFormBorderStyle
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x340]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov dl, 2
call sub.vcl60.bpl__Forms_TCustomForm_SetWindowState_qqr18Forms_TWindowState
push 0x41c03cc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
push dword [ebp - 0x38]
push 0x41c03ec
lea eax, [ebp - 0x34]
mov edx, 3
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov edx, dword [ebp - 0x34]
mov eax, dword [0x41c8200]
call sub.vcl60.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, dword [ebp - 4]
call fcn.041bfc00
mov eax, dword [ebp - 4]
call fcn.041bf41c
xor edx, edx
push ebp
push 0x41c0327
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x39c]
call fcn.041b0c10
mov ebx, eax
test ebx, ebx
je 0x41c02fc
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.041c1694
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
mov edx, dword [0x419e980]
call sub.rtl60.bpl__System__AsClass_qqrp14System_TObjectp17System_TMetaClass
mov edx, dword [eax]
call dword [edx + 0xf8]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.041bf628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c032e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50c]
test eax, eax
je 0x41c0326
call sub.vcl60.bpl__Forms_TCustomForm_Release_qqrv
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x50c], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c0375
lea eax, [ebp - 0x38]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x34]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x1c]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0xc]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp + 8]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret