Function at 0x41db060
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push esi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x41db2bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
mov eax, dword [eax + 0x678]
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
lea eax, [ebp - 8]
mov edx, 0x41db2d4
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
jmp 0x41db0ec
push dword [ebp - 8]
push 0x41db2e0
lea edx, [ebp - 0x14]
mov eax, dword [esi]
mov eax, dword [eax + 0x694]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 3
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov eax, dword [esi]
mov eax, dword [eax + 0x678]
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
mov eax, dword [esi]
mov eax, dword [eax + 0x678]
cmp byte [eax + 0xa1], 0
je 0x41db0b7
mov eax, dword [esi]
mov eax, dword [eax + 0x508]
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
jmp 0x41db27c
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [esi]
mov eax, dword [eax + 0x514]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x780]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x3c]
push eax
push 2
lea eax, [ebp - 0x24]
push eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov ecx, 0x41db2ec
mov eax, dword [0x4199340]
call fcn.04199fd0
lea eax, [ebp - 0x24]
push eax
push ebp
mov eax, dword [esi]
mov eax, dword [eax + 0x780]
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x514]
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x508]
mov edx, dword [eax]
call dword [edx + 0x150]
pop edx
pop ecx
call fcn.041daf64
pop ecx
lea eax, [ebp - 0x4c]
call sub.rtl60.bpl__System__VarFromReal_qqrv
lea edx, [ebp - 0x4c]
pop eax
call sub.rtl60.bpl__System__VarSub_qqrr14System_Variantrx14System_Variant
lea eax, [ebp - 0x24]
call sub.rtl60.bpl__System__VarToReal_qqrrx14System_Variant
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
fcomp dword [0x41db360]
fnstsw ax
sahf
jbe 0x41db26f
mov eax, dword [esi]
mov eax, dword [eax + 0x508]
call sub.dbrtl60.bpl__Db_TDataSet_Edit_qqrv
mov eax, dword [esi]
mov eax, dword [eax + 0x524]
mov edx, dword [eax]
call dword [edx + 0x54]
fcomp qword [ebp - 0x10]
fnstsw ax
sahf
jae 0x41db211
mov eax, dword [esi]
mov eax, dword [eax + 0x524]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esi]
mov eax, dword [eax + 0x610]
mov edx, dword [eax]
call dword [edx + 0xa4]
jmp 0x41db227
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0x610]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi]
mov eax, dword [eax + 0x524]
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x54]
wait
mov eax, dword [esi]
mov eax, dword [eax + 0x610]
mov edx, dword [eax]
call dword [edx + 0x54]
fsubr qword [ebp - 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esi]
mov eax, dword [eax + 0x614]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi]
mov eax, dword [eax + 0x508]
mov edx, dword [eax]
call dword [edx + 0x248]
mov eax, dword [esi]
mov eax, dword [eax + 0x508]
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
mov eax, dword [esi]
mov eax, dword [eax + 0x508]
cmp byte [eax + 0xa1], 0
je 0x41db10f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41db2c6
lea eax, [ebp - 0x4c]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x24]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x14]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 8]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret