Function at 0x41ac038
Capabilities:
Reference sql statements

Disassembly:
push esi
mov esi, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x41ac041
xchg dword [esi - 4], ecx
push ebx
push ebp
mov ebx, ecx
mov ebp, edx
mov dword [esi - 4], eax
xor eax, eax
push esi
push 0x41ac52b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push esi
push 0x41ac4e0
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.041a62d8
mov edx, ebp
mov eax, dword [esi - 4]
call fcn.041ab048
mov edx, ebx
mov eax, dword [esi - 4]
call fcn.041ab050
mov edx, dword [esi + 8]
mov eax, dword [esi - 4]
call fcn.041ac030
push 0
lea ebx, [esi - 8]
push ebx
mov ebx, dword [esi - 4]
mov ecx, dword [ebx + 0xf44]
mov edx, 0x41ac544
mov eax, dword [0x419960c]
call fcn.0419a700
mov ebx, dword [esi - 4]
mov edx, dword [ebx + 0xf48]
mov ecx, dword [esi - 8]
mov eax, dword [0x419960c]
call fcn.04199b0c
test al, al
jne 0x41ac0e8
mov ebx, dword [esi - 4]
mov ebx, dword [ebx + 0xf48]
push ebx
mov ecx, dword [esi - 8]
mov edx, 0x41ac55c
mov eax, dword [0x419960c]
call fcn.0419967c
mov ecx, dword [esi - 4]
mov dl, 1
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_TVEDataset_]
call sub.VEDatasets.bpl__Vedataset_TVEDataset__bctr_qqrp18Classes_TComponent
mov ebp, eax
mov ebx, dword [esi - 4]
mov edx, dword [ebx + 0xf48]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx + 0x268]
push 0
lea edx, [esi - 0x10]
push edx
mov eax, dword [esi - 4]
mov ecx, dword [eax + 0xf44]
mov edx, 0x41ac570
mov eax, dword [0x419960c]
call fcn.0419a700
mov edx, dword [esi - 0x10]
mov eax, dword [ebp + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, ebp
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
mov eax, ebp
call sub.dbrtl60.bpl__Db_TDataSet_Append_qqrv
mov ecx, dword [esi - 4]
mov dl, 1
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_TVEDataset_]
call sub.VEDatasets.bpl__Vedataset_TVEDataset__bctr_qqrp18Classes_TComponent
mov ebx, eax
mov eax, dword [esi - 4]
mov edx, dword [eax + 0xf48]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x268]
lea edx, [esi - 0x18]
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xf44]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
mov ecx, dword [esi - 0x18]
lea eax, [esi - 0x14]
mov edx, 0x41ac598
call sub.rtl60.bpl__System__LStrCat3_qqrv
mov edx, dword [esi - 0x14]
mov eax, dword [ebx + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, ebx
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
push 0
mov ecx, 0x41ac5c4
mov edx, ebp
mov eax, ebx
call fcn.041a6138
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov eax, ebx
call sub.rtl60.bpl__System_TObject_Free_qqrv
push 0
lea edx, [esi - 0x1c]
push edx
lea edx, [esi - 0x24]
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xf40]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
mov ecx, dword [esi - 0x24]
lea eax, [esi - 0x20]
mov edx, 0x41ac5d0
call sub.rtl60.bpl__System__LStrCat3_qqrv
mov edx, dword [esi - 0x20]
mov eax, dword [esi - 4]
mov ecx, dword [eax + 0xf44]
mov eax, dword [0x419960c]
call fcn.0419a700
mov edx, dword [esi - 0x1c]
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xb30]
mov eax, dword [eax + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xb30]
xor ecx, ecx
mov dl, 1
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
push 0x41ac600
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xb30]
mov ecx, 0x41ac5c4
mov edx, ebp
call fcn.041a6138
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xb30]
mov edx, 0x41ac60c
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [esi - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [esi - 0x28]
push eax
mov edx, 0x41ac60c
mov eax, ebp
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
push 0
lea eax, [esi - 0x2c]
push eax
lea edx, [esi - 0x34]
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xf50]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
mov ecx, dword [esi - 0x34]
lea eax, [esi - 0x30]
mov edx, 0x41ac620
call sub.rtl60.bpl__System__LStrCat3_qqrv
mov edx, dword [esi - 0x30]
mov eax, dword [esi - 4]
mov ecx, dword [eax + 0xf44]
mov eax, dword [0x419960c]
call fcn.0419a700
mov edx, dword [esi - 0x2c]
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xb3c]
mov eax, dword [eax + 0x2b4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xb3c]
xor ecx, ecx
mov dl, 1
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
push 0
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xb3c]
mov ecx, 0x41ac5c4
mov edx, ebp
call fcn.041a6138
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xb3c]
mov edx, 0x41ac650
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [esi - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [esi - 0x3c]
push 0x41ac65c
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xb3c]
mov edx, 0x41ac668
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [esi - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [esi - 0x40]
push 0x41ac678
lea eax, [esi - 0x38]
mov edx, 4
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov edx, dword [esi - 0x38]
push edx
mov edx, 0x41ac6a0
mov eax, ebp
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xb3c]
mov edx, 0x41ac6b4
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [esi - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [esi - 0x44]
push edx
mov edx, 0x41ac6b4
mov eax, ebp
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
call sub.rtl60.bpl__Sysutils_Now_qqrv
sub esp, 8
fstp qword [esp]
wait
mov edx, 0x41ac6c4
mov eax, ebp
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0xa0]
mov edx, 0x41ac6d4
mov eax, ebp
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [esi - 4]
mov edx, dword [edx + 0xf40]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov edx, 0x41ac6e4
mov eax, ebp
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [esi + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov edx, 0x41ac6f0
mov eax, ebp
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [esi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xb3c]
mov edx, 0x41ac6fc
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [esi - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [esi - 0x48]
push eax
mov edx, 0x41ac710
mov eax, ebp
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xb3c]
mov edx, 0x41ac720
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [esi - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [esi - 0x4c]
push edx
mov edx, 0x41ac734
mov eax, ebp
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xb3c]
mov edx, 0x41ac5c4
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
mov edx, 0x41ac748
mov eax, ebp
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, ebp
mov edx, dword [eax]
call dword [edx + 0x248]
mov edx, 0x41ac5c4
mov eax, ebp
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [esi - 0xc], eax
mov eax, ebp
call sub.rtl60.bpl__System_TObject_Free_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ac4e7
call fcn.041a62ec
ret