Function at 0x41d81a4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1d
push 0
push 0
dec ecx
jne 0x41d81ac
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41d8dba
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x41d8288
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [0x41d8dd0]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x54]
mov edx, 0x41d8ddc
mov eax, dword [0x41993a8]
call fcn.04199ccc
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
call sub.rtl60.bpl__System__WStrFromLStr_qqrr17System_WideStringx17System_AnsiString
mov edx, dword [ebp - 0x50]
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov eax, dword [eax]
mov cl, 1
call sub.adortl60.bpl__Adodb_TADOConnection_Execute_qqrx17System_WideStringx18Adodb_TCommandTypex48System__Set_t20Adodb_TExecuteOpt
mov al, byte [0x41d8dd0]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x60]
mov edx, 0x41d8e1c
mov eax, dword [0x41993a8]
call fcn.04199ccc
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
call sub.rtl60.bpl__System__WStrFromLStr_qqrr17System_WideStringx17System_AnsiString
mov edx, dword [ebp - 0x5c]
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov eax, dword [eax]
mov cl, 1
call sub.adortl60.bpl__Adodb_TADOConnection_Execute_qqrx17System_WideStringx18Adodb_TCommandTypex48System__Set_t20Adodb_TExecuteOpt
mov al, byte [0x41d8dd0]
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x6c]
mov edx, 0x41d8e5c
mov eax, dword [0x41993a8]
call fcn.04199ccc
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
call sub.rtl60.bpl__System__WStrFromLStr_qqrr17System_WideStringx17System_AnsiString
mov edx, dword [ebp - 0x68]
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov eax, dword [eax]
mov cl, 1
call sub.adortl60.bpl__Adodb_TADOConnection_Execute_qqrx17System_WideStringx18Adodb_TCommandTypex48System__Set_t20Adodb_TExecuteOpt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41d8292
mov al, byte [0x41d8dd0]
push eax
lea eax, [ebp - 0x70]
push eax
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x41d8e98
call sub.adortl60.bpl__Adodb_TADOConnection_Execute_qqrx17System_WideStringx18Adodb_TCommandTypex48System__Set_t20Adodb_TExecuteOpt
mov ecx, dword [sym.imp.vcl60.bpl__Forms_Application]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [sym.imp.adortl60.bpl__Adodb_TADOQuery_]
call sub.adortl60.bpl__Adodb_TADOQuery__bctr_qqrp18Classes_TComponent
mov ebx, eax
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x268]
mov ecx, dword [sym.imp.vcl60.bpl__Forms_Application]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [sym.imp.adortl60.bpl__Adodb_TADOQuery_]
call sub.adortl60.bpl__Adodb_TADOQuery__bctr_qqrp18Classes_TComponent
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x268]
mov eax, dword [ebp - 0xc]
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
mov edx, 0x41d914c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
mov edx, 0x41d919c
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x58]
test eax, eax
jle 0x41d8360
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0xc]
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
mov edx, 0x41d91ac
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call sub.adortl60.bpl__Adodb_TADOQuery_ExecSQL_qqrv
mov eax, dword [ebp - 0xc]
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
mov edx, 0x41d91e0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
mov edx, 0x41d919c
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x58]
test eax, eax
jne 0x41d83b2
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0xc]
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
mov edx, 0x41d9230
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call sub.adortl60.bpl__Adodb_TADOQuery_ExecSQL_qqrv
mov eax, dword [ebp - 0xc]
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
mov edx, 0x41d9340
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
mov edx, 0x41d919c
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [eax]
call dword [edx + 0x58]
test eax, eax
jne 0x41d8404
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0xc]
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
mov edx, 0x41d9390
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call sub.adortl60.bpl__Adodb_TADOQuery_ExecSQL_qqrv
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0xc]
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
mov edx, 0x41d94c8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x14]
xor ecx, ecx
call fcn.041d327c
mov eax, dword [ebp - 0x18]
mov edx, 0x41d9520
call sub.rtl60.bpl__System__LStrCmp_qqrv
jne 0x41d8498
lea eax, [ebp - 0x1c]
call fcn.041d5444
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
mov edx, 0x41d952c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
mov edx, 0x41d9554
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x1c]
call sub.rtl60.bpl__System__LStrCmp_qqrv
jne 0x41d8498
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x14]
xor ecx, ecx
call fcn.041d5574
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x41d84ca
mov eax, dword [ebp - 0x18]
mov edx, 0x41d9520
call sub.rtl60.bpl__System__LStrCmp_qqrv
jne 0x41d84c0
mov esi, 1
jmp 0x41d866a
mov esi, 3
jmp 0x41d866a
mov edx, 0x41d9564
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x20]
call sub.rtl60.bpl__System__LStrLen_qqrx17System_AnsiString
cmp eax, 0xa
jle 0x41d864f
lea eax, [ebp - 0x78]
push eax
mov edx, 0x41d9574
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x7c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.041d7c48
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x20]
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, 0x41f71ec
call sub.rtl60.bpl__System__LStrClr_qqrpv
push eax
mov eax, 0x41f71f0
call sub.rtl60.bpl__System__LStrClr_qqrpv
push eax
push 0x41f71f8
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.041d7ccc
mov eax, dword [ebp - 0x18]
mov edx, 0x41d9520
call sub.rtl60.bpl__System__LStrCmp_qqrv
je 0x41d85d9
mov eax, dword [ebp - 0x10]
mov edx, dword [0x41f71f4]
call sub.rtl60.bpl__System__LStrCmp_qqrv
jne 0x41d8581
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
mov eax, dword [ebp - 0x18]
mov edx, dword [0x41f71f4]
call sub.rtl60.bpl__System__LStrCmp_qqrv
je 0x41d859b
mov esi, 5
jmp 0x41d866a
fld qword [0x41f71f8]
call sub.rtl60.bpl__System__TRUNC_qqrv
push edx
push eax
call sub.rtl60.bpl__Sysutils_Date_qqrv
call sub.rtl60.bpl__System__TRUNC_qqrv
cmp edx, dword [esp + 4]
jne 0x41d85c1
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x41d85cf
jmp 0x41d85c5
pop edx
pop eax
jle 0x41d85cf
mov esi, 6
jmp 0x41d866a
mov esi, 9
jmp 0x41d866a
fld qword [0x41f71f8]
call sub.rtl60.bpl__System__TRUNC_qqrv
push edx
push eax
call sub.rtl60.bpl__Sysutils_Date_qqrv
call sub.rtl60.bpl__System__TRUNC_qqrv
cmp edx, dword [esp + 4]
jne 0x41d85ff
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x41d860a
jmp 0x41d8603
pop edx
pop eax
jle 0x41d860a
mov esi, 7
jmp 0x41d860f
mov esi, 0xa
fld qword [0x41f71f8]
call sub.rtl60.bpl__System__TRUNC_qqrv
push edx
push eax
call sub.rtl60.bpl__Sysutils_Date_qqrv
call sub.rtl60.bpl__System__TRUNC_qqrv
push edx
push eax
mov eax, dword [ebp - 0x48]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, dword [esp + 4]
jne 0x41d8644
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x41d866a
jmp 0x41d8648
pop edx
pop eax
jle 0x41d866a
mov esi, 8
jmp 0x41d866a
mov eax, dword [ebp - 0x18]
mov edx, 0x41d9520
call sub.rtl60.bpl__System__LStrCmp_qqrv
jne 0x41d8665
mov esi, 2
jmp 0x41d866a
mov esi, 4
lea eax, [ebp - 0x1c]
call fcn.041d5444
lea edx, [ebp - 0x80]
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TApplication_GetExeName_qqrv
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x30]
call sub.rtl60.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
lea eax, [ebp - 0x30]
mov edx, 0x41d9588
call sub.rtl60.bpl__System__LStrCat_qqrv
mov eax, dword [ebp - 0x30]
call sub.rtl60.bpl__Sysutils_FileExists_qqrx17System_AnsiString
test al, al
je 0x41d86b3
mov eax, dword [ebp - 0x30]
call fcn.041d5478
fstp qword [ebp - 0x38]
wait
jmp 0x41d86c2
push 0
push 0
push 0
call sub.rtl60.bpl__Sysutils_FloatToDateTime_qqrxg
fstp qword [ebp - 0x38]
wait
mov eax, esi
cmp eax, 0xa
ja case.0x41d86cd.0
jmp dword [eax*4 + 0x41d86d4]
lea eax, [ebp - 0x2c]
mov edx, 0x41d95a8
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
jmp case.0x41d86cd.0
lea eax, [ebp - 0x2c]
mov edx, 0x41d95dc
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
jmp case.0x41d86cd.0
lea eax, [ebp - 0x2c]
mov edx, 0x41d9610
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
jmp case.0x41d86cd.0
lea eax, [ebp - 0x2c]
mov edx, 0x41d9644
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
jmp case.0x41d86cd.0
lea eax, [ebp - 0x2c]
mov edx, 0x41d9678
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
jmp case.0x41d86cd.0
lea eax, [ebp - 0x2c]
mov edx, 0x41d9698
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
jmp case.0x41d86cd.0
lea eax, [ebp - 0x2c]
mov edx, 0x41d96b4
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
jmp case.0x41d86cd.0
lea eax, [ebp - 0x2c]
mov edx, 0x41d96e0
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
jmp case.0x41d86cd.0
lea eax, [ebp - 0x2c]
mov edx, 0x41d970c
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
jmp case.0x41d86cd.0
lea eax, [ebp - 0x2c]
mov edx, 0x41d9734
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
mov edx, 0x41d9770
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
lea edx, [ebp - 0x88]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push dword [ebp - 0x88]
push 0x41d97d4
call sub.rtl60.bpl__Sysutils_Date_qqrv
fstp qword [ebp - 0x98]
wait
call sub.rtl60.bpl__Sysutils_Time_qqrv
fadd qword [ebp - 0x98]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x90]
call sub.rtl60.bpl__Sysutils_DateTimeToStr_qqrx16System_TDateTime
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call sub.rtl60.bpl__Sysutils_QuotedStr_qqrx17System_AnsiString
push dword [ebp - 0x8c]
push 0x41d97f0
lea eax, [ebp - 0x84]
mov edx, 4
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0x84]
push eax
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
lea edx, [ebp - 0xa0]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push dword [ebp - 0xa0]
push 0x41d9800
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x1c]
call sub.rtl60.bpl__Sysutils_QuotedStr_qqrx17System_AnsiString
push dword [ebp - 0xa4]
lea eax, [ebp - 0x9c]
mov edx, 3
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0x9c]
push eax
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
lea edx, [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push dword [ebp - 0xac]
push 0x41d980c
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea eax, [ebp - 0xb4]
call sub.rtl60.bpl__Sysutils_DateTimeToStr_qqrx16System_TDateTime
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xb0]
call sub.rtl60.bpl__Sysutils_QuotedStr_qqrx17System_AnsiString
push dword [ebp - 0xb0]
push 0x41d97f0
lea eax, [ebp - 0xa8]
mov edx, 4
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0xa8]
push eax
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
lea edx, [ebp - 0xbc]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push dword [ebp - 0xbc]
push 0x41d9800
lea eax, [ebp - 0xc4]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x41d9828
call sub.rtl60.bpl__System__LStrCat3_qqrv
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc0]
call sub.rtl60.bpl__Sysutils_QuotedStr_qqrx17System_AnsiString
push dword [ebp - 0xc0]
lea eax, [ebp - 0xb8]
mov edx, 3
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0xb8]
push eax
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
lea edx, [ebp - 0xcc]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push dword [ebp - 0xcc]
push 0x41d9800
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 0x14]
call sub.rtl60.bpl__Sysutils_QuotedStr_qqrx17System_AnsiString
push dword [ebp - 0xd0]
push 0x41d9844
lea eax, [ebp - 0xc8]
mov edx, 4
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0xc8]
push eax
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_ExecSQL_qqrv
mov eax, esi
dec eax
sub eax, 4
jb 0x41d89da
sub eax, 3
je 0x41d8ab8
jmp 0x41d8ae2
mov eax, esi
dec eax
sub eax, 2
jae 0x41d89fd
mov eax, 0x41d9850
call sub.vcl60.bpl__Dialogs_ShowMessage_qqrx17System_AnsiString
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TApplication_Terminate_qqrv
jmp 0x41d8d2f
mov eax, 0x41d98a4
call sub.vcl60.bpl__Dialogs_ShowMessage_qqrx17System_AnsiString
cmp esi, 3
je 0x41d8a14
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Delete_qqrv
mov ecx, dword [sym.imp.vcl60.bpl__Forms_Application]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x41d5c84]
call sub.vcl60.bpl__Forms_TCustomForm__bctr_qqrp18Classes_TComponent
mov ebx, eax
lea eax, [ebx + 0x32c]
mov edx, dword [ebp - 0x18]
call sub.rtl60.bpl__System__WStrFromLStr_qqrr17System_WideStringx17System_AnsiString
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xe8]
dec eax
jne 0x41d8aa7
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Insert_qqrv
mov edx, 0x41d9574
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [ebx + 0x338]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x41d98c0
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [ebx + 0x334]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x248]
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
mov eax, ebx
call sub.vcl60.bpl__Forms_TCustomForm_Release_qqrv
jmp 0x41d8ae2
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TApplication_Terminate_qqrv
jmp 0x41d8d2f
mov eax, 0x41d9850
call sub.vcl60.bpl__Dialogs_ShowMessage_qqrx17System_AnsiString
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, 0x41f71f0
call sub.rtl60.bpl__System__LStrClr_qqrpv
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl60.bpl__Forms_TApplication_Terminate_qqrv
jmp 0x41d8d2f
add esi, 0xfffffffd
sub esi, 4
jae 0x41d8d2b
xor edx, edx
push ebp
push 0x41d8cf5
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x41d98d0
mov edx, 0x41d9574
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0xd8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0xd8]
push 0x41d9920
push dword [ebp - 0x18]
push 0x41d9938
mov edx, 0x41d98c0
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0xdc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0xdc]
lea eax, [ebp - 0xd4]
mov edx, 6
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0x24]
call fcn.041d2dcc
xor edx, edx
push ebp
push 0x41d8ccd
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0x24]
mov eax, 0x41d9970
call sub.rtl60.bpl__System__LStrPos_qqrv
mov ebx, eax
cmp ebx, 1
jge 0x41d8bb6
mov eax, dword [ebp - 0x24]
call sub.rtl60.bpl__System__LStrLen_qqrx17System_AnsiString
cmp eax, 0xa
jle 0x41d8bb6
mov eax, 0x41d9988
call sub.vcl60.bpl__Dialogs_ShowMessage_qqrx17System_AnsiString
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41d8d2f
mov eax, dword [ebp - 0x24]
call sub.rtl60.bpl__System__LStrLen_qqrx17System_AnsiString
mov esi, eax
lea eax, [ebx + 0x12]
sub esi, eax
lea eax, [ebp - 0x24]
push eax
lea edx, [ebx + 0xf]
mov ecx, esi
mov eax, dword [ebp - 0x24]
call sub.rtl60.bpl__System__LStrCopy_qqrv
xor eax, eax
push ebp
push 0x41d8c1b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
mov edx, 0x41d9574
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0xe0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.041d7c48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41d8c25
mov eax, dword [ebp - 0x24]
call sub.rtl60.bpl__System__LStrLen_qqrx17System_AnsiString
cmp eax, 5
jle 0x41d8c70
mov edx, dword [ebp - 0x28]
mov eax, 0x41d99a8
call sub.rtl60.bpl__System__LStrPos_qqrv
test eax, eax
jle 0x41d8c70
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Edit_qqrv
mov edx, 0x41d9564
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x248]
jmp 0x41d8c85
mov edx, 0x41d9564
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x60]
lea eax, [ebp - 0xe4]
push eax
mov edx, 0x41d9574
mov eax, dword [ebp - 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0xe8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.041d7c48
mov edx, dword [ebp - 0xe4]
lea eax, [ebp - 0x24]
call sub.rtl60.bpl__System__LStrLAsg_qqrpvpxv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41d8ceb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41d8d2b
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d8dc4
lea eax, [ebp - 0xec]
mov edx, 0x15
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x90]
mov edx, 8
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x70]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x6c]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x68]
call sub.rtl60.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x64]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x60]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x5c]
call sub.rtl60.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x58]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x54]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x50]
call sub.rtl60.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x4c]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x30]
mov edx, 9
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret