Function at 0x41e25d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x41e25d8
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x41e2890
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x324]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
je 0x41e286d
mov eax, ebx
call fcn.041e2b60
call fcn.0419f8ec
and eax, 0x7f
cmp eax, 7
ja case.default.0x41e261f
jmp dword [eax*4 + 0x41e2626]
lea eax, [ebp - 8]
push eax
or ecx, 0xffffffff
mov dl, 0x27
mov eax, dword [ebx + 0x510]
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x41e28a8
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e261f
lea eax, [ebp - 0xc]
push eax
or ecx, 0xffffffff
mov dl, 0x27
mov eax, dword [ebx + 0x510]
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 0x41e28b8
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e261f
lea eax, [ebp - 0x10]
push eax
or ecx, 0xffffffff
mov dl, 0x27
mov eax, dword [ebx + 0x510]
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 0x41e28c8
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e261f
lea eax, [ebp - 0x14]
push eax
or ecx, 0xffffffff
mov dl, 0x27
mov eax, dword [ebx + 0x510]
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 0x41e28d8
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e261f
lea eax, [ebp - 0x18]
push eax
or ecx, 0xffffffff
mov dl, 0x27
mov eax, dword [ebx + 0x510]
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 0x41e28e8
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e261f
lea eax, [ebp - 0x1c]
push eax
or ecx, 0xffffffff
mov dl, 0x27
mov eax, dword [ebx + 0x510]
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov edx, 0x41e28f8
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e261f
lea eax, [ebp - 0x20]
push eax
or ecx, 0xffffffff
mov dl, 0x27
mov eax, dword [ebx + 0x510]
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 0x41e2908
call sub.rtl60.bpl__System__LStrCat3_qqrv
jmp case.default.0x41e261f
lea eax, [ebp - 0x24]
push eax
or ecx, 0xffffffff
mov dl, 0x27
mov eax, dword [ebx + 0x510]
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edx, 0x41e2918
call sub.rtl60.bpl__System__LStrCat3_qqrv
push 0x41e2928
push dword [ebp - 4]
push 0x41e29bc
mov eax, ebx
call fcn.041e2b60
lea edx, [ebp - 0x2c]
call fcn.0419fe28
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 4
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x324]
call fcn.0419f9b8
mov eax, dword [ebx + 0x324]
mov edx, dword [eax]
call dword [edx + 0x14c]
push eax
lea eax, [ebx + 0x508]
mov ecx, 1
mov edx, dword [0x41dffc0]
call sub.rtl60.bpl__System__DynArraySetLength_qqrv
add esp, 4
xor esi, esi
mov eax, dword [ebx + 0x324]
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
jmp 0x41e285e
mov ecx, ebx
mov dl, 1
mov eax, dword [0x419fec8]
call fcn.041a04b0
mov edx, dword [ebx + 0x508]
mov dword [edx + esi*4], eax
mov edx, 0x41e29d0
mov eax, dword [ebx + 0x324]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
mov edx, 0x41e29e4
mov eax, dword [ebx + 0x324]
call sub.dbrtl60.bpl__Db_TDataSet_GetFieldValue_qqrx17System_AnsiString
lea eax, [ebp - 0x40]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
push eax
mov eax, dword [ebx + 0x508]
lea edx, [eax + esi*4]
mov ecx, esi
mov eax, ebx
call fcn.041e149c
inc esi
mov eax, dword [ebx + 0x324]
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
mov eax, dword [ebx + 0x324]
cmp byte [eax + 0xa1], 0
je 0x41e27f1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e2897
lea eax, [ebp - 0x40]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x30]
mov edx, 0xc
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret