Function at 0x41c1c90
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 8], esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41c2192
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x41c2138
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.041a62d8
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.041c150c
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.041c15c4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.041c25d0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.041c25c8
mov eax, dword [ebp - 4]
call fcn.041c25d8
push 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x904]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x914]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x910]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0xc], 0
lea ecx, [ebp - 0x20]
push ecx
push 2
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x908]
mov edx, 0x41c21ac
mov eax, dword [0x419960c]
call fcn.0419a3e0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov eax, dword [eax + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
xor ecx, ecx
mov dl, 1
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call sub.dbrtl60.bpl__Db_TDataSet_Append_qqrv
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x908]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x41c21f8
call sub.rtl60.bpl__System__LStrCat3_qqrv
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x56c]
mov eax, dword [eax + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x56c]
xor ecx, ecx
mov dl, 1
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x320]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x56c]
mov ecx, 0x41c2224
call fcn.041a6138
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x904]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x34]
push ecx
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x908]
mov edx, 0x41c2230
mov eax, dword [0x419960c]
call fcn.0419a3e0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x568]
mov eax, dword [eax + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x568]
xor ecx, ecx
mov dl, 1
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x320]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x568]
mov ecx, 0x41c2224
call fcn.041a6138
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x904]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov edx, 0x41c2264
mov ecx, dword [eax]
call dword [ecx + 0xb0]
call sub.rtl60.bpl__Sysutils_Now_qqrv
sub esp, 8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
mov edx, dword [eax]
call dword [edx + 0xa0]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x914]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x910]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov edx, dword [eax]
call dword [edx + 0x248]
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x904]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x34]
push ecx
push 0
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x908]
mov edx, 0x41c2284
mov eax, dword [0x419960c]
call fcn.0419a3e0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov eax, dword [eax + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
xor ecx, ecx
mov dl, 1
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
push 0
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x908]
mov edx, 0x41c22bc
mov eax, dword [0x419960c]
call fcn.0419a700
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
xor ecx, ecx
mov dl, 1
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
jmp 0x41c209b
mov eax, ebx
mov edx, 0x41c22e0
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x44]
or al, al
je 0x41c208d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
call sub.dbrtl60.bpl__Db_TDataSet_Append_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x380]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov ecx, 0x41c2224
call fcn.041a6138
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x700]
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8f4]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
mov edx, dword [eax]
call dword [edx + 0x248]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x588]
cmp byte [ebx + 0xa1], 0
je 0x41c1fd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x34]
push edx
push 0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x908]
mov edx, 0x41c22f0
mov eax, dword [0x419960c]
call fcn.0419a3e0
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
xor ecx, ecx
mov dl, 1
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
xor eax, eax
pop edx
pop edi
pop ecx
mov dword fs:[eax], edx
push 0x41c213f
call fcn.041a62ec
ret