Function at 0x41e014c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 8]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
mov eax, dword [ebp + 0x28]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
mov eax, dword [ebp + 0x24]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
mov eax, dword [ebp + 0x1c]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
mov eax, dword [ebp + 0x18]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
mov eax, dword [ebp + 8]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41e034e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call sub.rtl60.bpl__Sysutils_QuotedStr_qqrx17System_AnsiString
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x18]
push eax
push 0
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov ecx, 0x41e0368
mov eax, dword [0x4199340]
call fcn.0419a298
mov ebx, eax
jmp 0x41e0221
mov eax, dword [ebp - 0xc]
call sub.rtl60.bpl__System__DynArrayLength_qqrv
inc eax
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x41e0128]
call sub.rtl60.bpl__System__DynArraySetLength_qqrv
add esp, 4
mov edx, 0x41e03b4
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x58]
mov edi, eax
mov eax, dword [ebp - 0xc]
call sub.rtl60.bpl__System__DynArrayLength_qqrv
mov edx, dword [ebp - 0xc]
mov dword [edx + eax*4 - 4], edi
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
cmp byte [ebx + 0xa1], 0
je 0x41e01d8
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.041e044c
mov edi, eax
test edi, edi
jle 0x41e02e5
mov eax, dword [ebp - 0xc]
call sub.rtl60.bpl__System__DynArrayHigh_qqrv
push eax
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, esi
call fcn.041e0510
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41e026e
mov eax, dword [ebp + 0x18]
push eax
mov ecx, ebx
mov edx, edi
mov eax, esi
call fcn.041e07e8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov ecx, edi
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.041e0c5c
mov eax, dword [ebp - 0x10]
call sub.rtl60.bpl__System_TObject_Free_qqrv
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
push 0
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov ecx, 0x41e03c4
mov eax, dword [0x4199340]
call fcn.04199d6c
mov ecx, 0x40
mov edx, 0x41e040c
mov eax, 0x41e0428
call sub.vegalib60.bpl__Strtools_Mess_qqr17System_AnsiStringt1i
jmp 0x41e02f9
mov ecx, 0x40
mov edx, 0x41e0438
mov eax, 0x41e0428
call sub.vegalib60.bpl__Strtools_Mess_qqr17System_AnsiStringt1i
mov eax, ebx
call sub.rtl60.bpl__System_TObject_Free_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e0355
lea eax, [ebp - 0x1c]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xc]
mov edx, dword [0x41e0128]
call sub.rtl60.bpl__System__DynArrayClear_qqrrpvpv
lea eax, [ebp - 8]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp + 8]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp + 0x18]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp + 0x24]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret