Function at 0x41bbdd8
Capabilities:
Contain obfuscated stackstrings
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2b
push 0
push 0
dec ecx
jne 0x41bbde1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
mov esi, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
xor eax, eax
push ebp
push 0x41bc5ea
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x41bc56c
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [esi]
mov ecx, 0x41bc600
mov eax, dword [0x41997b8]
call fcn.0419a254
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0xc]
call sub.rtl60.bpl__System__VarToLStr_qqrr17System_AnsiStringrx14System_Variant
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x77c]
call sub.adortl60.bpl__Adodb_TCustomADODataSet_GetParameters_qqrv
xor edx, edx
call sub.adortl60.bpl__Adodb_TParameters_GetItem_qqri
push eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0xc]
call sub.rtl60.bpl__System__VarFromLStr_qqrr14System_Variantx17System_AnsiString
lea edx, [ebp - 0x34]
pop eax
call sub.adortl60.bpl__Adodb_TParameter_SetValue_qqrrx14System_Variant
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x77c]
xor ecx, ecx
mov dl, 1
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
call sub.cxEditorsVCLD6.bpl__Cxcheckbox_TcxCustomCheckBox_GetChecked_qqrv
test al, al
je 0x41bc1e1
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x41bc640
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x38]
mov edx, dword [esi]
mov eax, dword [0x41997b8]
call fcn.0419a178
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x77c]
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
jmp 0x41bc1c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x780]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0
lea eax, [ebp - 0xbc]
push eax
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x784]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xc0]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0xb
lea eax, [ebp - 0xc4]
push eax
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xc8]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xa4], 0xb
lea eax, [ebp - 0xcc]
push eax
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xd0]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x9c], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x790]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x94], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x794]
mov edx, dword [eax]
call dword [edx + 0x50]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0xd4]
mov eax, dword [0x41997b8]
call fcn.04199e18
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x798]
mov edx, dword [eax]
call dword [edx + 0x50]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0xd8]
mov eax, dword [0x41997b8]
call fcn.04199e18
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0xb
lea eax, [ebp - 0xdc]
push eax
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x79c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xe0]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a0]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xe4]
mov eax, dword [0x41997b8]
call fcn.04199cc0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0xb
lea eax, [ebp - 0xe8]
push eax
lea edx, [ebp - 0xec]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7b0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xec]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0xb
lea eax, [ebp - 0xf0]
push eax
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7ac]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xf4]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a4]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xf8]
mov eax, dword [0x41997b8]
call fcn.04199cc0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a8]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0xfc]
push eax
or ecx, 0xffffffff
mov dl, 0x27
mov eax, dword [ebp - 8]
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7b4]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0xb8]
push eax
push 0xf
mov edx, dword [esi]
mov ecx, 0x41bc678
mov eax, dword [0x41997b8]
call fcn.04199ff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x77c]
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x77c]
cmp byte [eax + 0xa1], 0
je 0x41bbee0
jmp 0x41bc54c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x77c]
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
jmp 0x41bc536
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x780]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 0
mov dword [ebp - 0x114], ebx
mov byte [ebp - 0x110], 0
lea eax, [ebp - 0x11c]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
mov edx, dword [esi]
mov ecx, 0x41bc790
mov eax, dword [0x41997b8]
call fcn.0419a254
lea eax, [ebp - 0x10c]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
test eax, eax
jg 0x41bc528
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x780]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0
lea eax, [ebp - 0x120]
push eax
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x784]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x124]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0xb
lea eax, [ebp - 0x128]
push eax
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x12c]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xa4], 0xb
lea eax, [ebp - 0x130]
push eax
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x134]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x9c], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x790]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x94], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x794]
mov edx, dword [eax]
call dword [edx + 0x50]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x138]
mov eax, dword [0x41997b8]
call fcn.04199e18
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x798]
mov edx, dword [eax]
call dword [edx + 0x50]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x13c]
mov eax, dword [0x41997b8]
call fcn.04199e18
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0xb
lea eax, [ebp - 0x140]
push eax
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x79c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x144]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a0]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x148]
mov eax, dword [0x41997b8]
call fcn.04199cc0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0xb
lea eax, [ebp - 0x14c]
push eax
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7b0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x150]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0xb
lea eax, [ebp - 0x154]
push eax
lea edx, [ebp - 0x158]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7ac]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x158]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a4]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x15c]
mov eax, dword [0x41997b8]
call fcn.04199cc0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a8]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x160]
push eax
or ecx, 0xffffffff
mov dl, 0x27
mov eax, dword [ebp - 8]
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7b4]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0xb8]
push eax
push 0xf
mov edx, dword [esi]
mov ecx, 0x41bc678
mov eax, dword [0x41997b8]
call fcn.04199ff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x77c]
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x77c]
cmp byte [eax + 0xa1], 0
je 0x41bc1f4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x398]
mov edx, 0x41bc7dc
mov eax, dword [ebp - 4]
call fcn.041baec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41bc58c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41bc5f1
lea eax, [ebp - 0x160]
mov edx, 0x11
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x10c]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0xfc]
mov edx, 0x11
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x38]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x34]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x1c]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0xc]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret