Function at 0x41e0f1c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x41e0f24
push ecx
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41e12ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call sub.vcl60.bpl__Controls_TWinControl_GetHandle_qqrv
push eax
call sub.user32.dll_LockWindowUpdate
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
call sub.vcl60.bpl__Forms_TScrollingWinControl_DisableAutoRange_qqrv
xor eax, eax
push ebp
push 0x41e1284
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.041e2b60
call fcn.0419f8ec
and eax, 0x7f
cmp eax, 7
ja case.default.0x41e0f81
jmp dword [eax*4 + 0x41e0f88]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x510]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x41e12c4
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e0f81
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x510]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 0x41e12d4
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e0f81
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x510]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 0x41e12e4
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e0f81
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x510]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 0x41e12f4
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e0f81
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x510]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov edx, 0x41e1304
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e0f81
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x510]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, 0x41e1314
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e0f81
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x510]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 8]
mov edx, 0x41e1324
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e0f81
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x510]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 8]
mov edx, 0x41e1334
call sub.rtl60.bpl__System__LStrCat3_qqrv
cmp dword [ebp - 8], 0
jne 0x41e1132
mov eax, dword [ebp - 4]
call fcn.041e2b60
lea edx, [ebp - 0x30]
call fcn.0419fe28
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x41e1344
call sub.rtl60.bpl__System__LStrCat3_qqrv
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x324
call fcn.0419f9b8
jmp 0x41e116f
push 0x41e13dc
push dword [ebp - 8]
push 0x41e1470
mov eax, dword [ebp - 4]
call fcn.041e2b60
lea edx, [ebp - 0x38]
call fcn.0419fe28
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 4
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
add eax, 0x324
call fcn.0419f9b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x41e118e
call sub.rtl60.bpl__System__TryFinallyExit_qqrv
jmp 0x41e128b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, dword [eax]
call dword [edx + 0x14c]
push eax
mov eax, dword [ebp - 4]
add eax, 0x508
mov ecx, 1
mov edx, dword [0x41dffc0]
call sub.rtl60.bpl__System__DynArraySetLength_qqrv
add esp, 4
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
jmp 0x41e124b
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x419fec8]
call fcn.041a04b0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x508]
mov dword [edx + ebx*4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x41e1484
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x41e1498
call sub.dbrtl60.bpl__Db_TDataSet_GetFieldValue_qqrx17System_AnsiString
lea eax, [ebp - 0x4c]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x508]
lea edx, [eax + ebx*4]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.041e149c
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
cmp byte [eax + 0xa1], 0
je 0x41e11cd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e128b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
call sub.vcl60.bpl__Forms_TScrollingWinControl_EnableAutoRange_qqrv
push 0
call sub.user32.dll_LockWindowUpdate
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e12b5
lea eax, [ebp - 0x4c]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x3c]
mov edx, 0xe
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret