Function at 0x41ccd9c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x41ccda4
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x41cd2ad
push dword fs:[eax]
mov dword fs:[eax], esp
or esi, 0xffffffff
mov eax, dword [ebx + 0x324]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
push 0
mov eax, dword [ebx + 0x578]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebx + 0x570]
mov edx, 0x41cd2c4
mov eax, dword [0x419960c]
call fcn.0419a3e0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x324]
mov eax, dword [eax + 0x2a8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x324]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
mov eax, dword [ebx + 0x370]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
push 0
mov eax, dword [ebx + 0x578]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebx + 0x570]
mov edx, 0x41cd3c4
mov eax, dword [0x419960c]
call fcn.0419a3e0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x370]
mov eax, dword [eax + 0x2a8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x370]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
mov eax, dword [ebx + 0x44c]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
push 0
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebx + 0x570]
mov edx, 0x41cd400
mov eax, dword [0x419960c]
call fcn.0419a3e0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x44c]
mov eax, dword [eax + 0x2a8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x44c]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
mov eax, dword [ebx + 0x44c]
call sub.dbrtl60.bpl__Db_TDataSet_Append_qqrv
mov edx, dword [ebx + 0x578]
mov eax, dword [ebx + 0x4fc]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov edx, dword [ebx + 0x580]
mov eax, dword [ebx + 0x500]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov edx, dword [ebx + 0x584]
mov eax, dword [ebx + 0x568]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov edx, dword [ebx + 0x574]
mov eax, dword [ebx + 0x4f8]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
call sub.rtl60.bpl__Sysutils_Now_qqrv
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebx + 0x508]
mov edx, dword [eax]
call dword [edx + 0xa0]
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x32c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x468]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x330]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x46c]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x344]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x470]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x364]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x460]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x32c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x2c]
push 0x41cd42c
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x330]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x30]
push 0x41cd42c
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x580]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x34]
push 0x41cd438
lea eax, [ebp - 0x28]
mov edx, 6
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x504]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
push 0
mov ecx, 0x41cd45c
mov edx, dword [ebx + 0x44c]
mov eax, dword [ebx + 0x324]
call fcn.041a6138
mov edx, dword [ebx + 0x44c]
mov eax, dword [0x419960c]
call fcn.04199940
mov eax, dword [ebx + 0x454]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
push 0
mov eax, dword [ebx + 0x45c]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebx + 0x570]
mov edx, 0x41cd468
mov eax, dword [0x419960c]
call fcn.0419a3e0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x454]
mov eax, dword [eax + 0x2a8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x454]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
jmp 0x41cd263
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x3a8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x3c]
mov edx, 0x41cd4a4
call sub.rtl60.bpl__System__LStrCmp_qqrv
jne 0x41cd116
mov edx, dword [ebx + 0x44c]
mov eax, dword [0x419960c]
call fcn.041998d0
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x38c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x478]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0x390]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x47c]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, dword [ebx + 0x44c]
mov eax, dword [0x419960c]
call fcn.04199940
jmp 0x41cd258
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x3a8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x48]
mov edx, 0x41cd4b0
call sub.rtl60.bpl__System__LStrCmp_qqrv
je 0x41cd154
lea edx, [ebp - 0x4c]
mov eax, dword [ebx + 0x3a8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x4c]
mov edx, 0x41cd4c0
call sub.rtl60.bpl__System__LStrCmp_qqrv
jne 0x41cd258
mov eax, dword [ebx + 0x454]
call sub.dbrtl60.bpl__Db_TDataSet_Append_qqrv
mov eax, dword [ebx + 0x45c]
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, dword [ebx + 0x494]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
push 0
mov ecx, 0x41cd45c
mov edx, dword [ebx + 0x454]
mov eax, dword [ebx + 0x370]
call fcn.041a6138
mov eax, dword [ebx + 0x374]
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, dword [ebx + 0x56c]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x38c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x498]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 0x390]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x49c]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 0x58]
mov eax, dword [ebx + 0x528]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x4a0]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 0x5c]
mov eax, dword [ebx + 0x388]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebx + 0x4a8]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 0x60]
mov eax, dword [ebx + 0x39c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebx + 0x4b0]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, dword [ebx + 0x454]
mov eax, dword [0x419960c]
call fcn.04199940
mov eax, dword [ebx + 0x370]
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
mov eax, dword [ebx + 0x370]
cmp byte [eax + 0xa1], 0
je 0x41cd096
mov eax, dword [ebx + 0x45c]
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, ebx
call fcn.041cc854
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cd2b4
lea eax, [ebp - 0x60]
mov edx, 0x15
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret