Function at 0x41cf1c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x41cf1c8
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x41cf3af
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 1
push 1
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0xb20]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea ecx, [ebp - 0x18]
mov edx, 0x41cf3c8
mov eax, dword [0x4199838]
call fcn.04199c08
mov ecx, dword [ebp - 8]
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov eax, dword [0x4199838]
call fcn.04199ac8
mov edi, eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jle 0x41cf377
mov al, byte [0x41cf650]
push eax
mov edx, 0x41cf65c
mov eax, edi
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call sub.rtl60.bpl__System__VarFromLStr_qqrr14System_Variantx17System_AnsiString
lea ecx, [ebp - 0x28]
mov edx, 0x41cf65c
mov eax, dword [esi + 0x964]
mov ebx, dword [eax]
call dword [ebx + 0x240]
test al, al
jne 0x41cf28e
mov eax, dword [esi + 0x964]
call sub.dbrtl60.bpl__Db_TDataSet_Append_qqrv
jmp 0x41cf299
mov eax, dword [esi + 0x964]
call sub.dbrtl60.bpl__Db_TDataSet_Edit_qqrv
mov edx, 0x41cf65c
mov eax, edi
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x30]
mov eax, dword [esi + 0x968]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x41cf670
mov eax, edi
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esi + 0x99c]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov edx, 0x41cf684
mov eax, edi
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
mov edx, dword [ebp - 0x34]
mov eax, dword [esi + 0x964]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0xa4]
mov edx, 0x41cf694
mov eax, dword [esi + 0x964]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x3c]
wait
mov edx, 0x41cf684
mov eax, edi
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 0x3c]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov edx, 0x41cf694
mov eax, dword [esi + 0x964]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi + 0x964]
mov edx, dword [eax]
call dword [edx + 0x248]
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xd
jne 0x41cf1ea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cf3b6
lea eax, [ebp - 0x34]
mov edx, 3
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x28]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 8]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret