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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x33
push 0
push 0
dec ecx
jne 0x41bd195
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
xor eax, eax
push ebp
push 0x41bdae3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x41bda7d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
xor ecx, ecx
mov dl, 1
call sub.VEDatasets.bpl__Vedataset_TVEDataset_ParseSqlString_qqroiii
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call sub.dbrtl60.bpl__Db_TDataSet_GetActive_qqrv
test al, al
je 0x41bda73
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jle 0x41bda73
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
call sub.cxEditorsVCLD6.bpl__Cxcheckbox_TcxCustomCheckBox_GetChecked_qqrv
test al, al
je 0x41bd633
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x41bdafc
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0xc]
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov eax, dword [0x41997b8]
call fcn.0419a178
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
jmp 0x41bd618
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x408]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0
lea eax, [ebp - 0xa8]
push eax
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xac]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0xb
lea eax, [ebp - 0xb0]
push eax
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x410]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xb4]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0xb
lea eax, [ebp - 0xb8]
push eax
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x414]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xbc]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0xb
lea eax, [ebp - 0xc0]
push eax
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x418]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xc4]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea eax, [ebp - 0xc8]
push eax
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xcc]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0xb
lea eax, [ebp - 0xd0]
push eax
lea edx, [ebp - 0xd4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x420]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xd4]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xb
lea eax, [ebp - 0xd8]
push eax
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x424]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xdc]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xe0]
mov eax, dword [0x41997b8]
call fcn.04199cc0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
lea eax, [ebp - 0xe4]
push eax
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x42c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xe8]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea eax, [ebp - 0xec]
push eax
lea edx, [ebp - 0xf0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x430]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xf0]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea eax, [ebp - 0xf4]
push eax
lea edx, [ebp - 0xf8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x434]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xf8]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea eax, [ebp - 0xfc]
push eax
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x438]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x100]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
lea eax, [ebp - 0x104]
push eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x43c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x108]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x440]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x10c]
mov eax, dword [0x41997b8]
call fcn.04199cc0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x444]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x110]
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 - 0x110]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0xa4]
push eax
push 0x11
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov ecx, 0x41bdb34
mov eax, dword [0x41997b8]
call fcn.04199ff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
cmp byte [eax + 0xa1], 0
je 0x41bd279
jmp 0x41bda5d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call sub.dbrtl60.bpl__Db_TDataSet_First_qqrv
jmp 0x41bda47
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x408]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0
mov dword [ebp - 0x128], ebx
mov byte [ebp - 0x124], 0
lea eax, [ebp - 0x130]
push eax
push 1
lea eax, [ebp - 0x120]
push eax
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov ecx, 0x41bdc24
mov eax, dword [0x41997b8]
call fcn.0419a254
lea eax, [ebp - 0x120]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
test eax, eax
jg 0x41bda39
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x408]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0
lea eax, [ebp - 0x134]
push eax
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x138]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0xb
lea eax, [ebp - 0x13c]
push eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x410]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x140]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0xb
lea eax, [ebp - 0x144]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x414]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x148]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0xb
lea eax, [ebp - 0x14c]
push eax
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x418]
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 - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea eax, [ebp - 0x154]
push eax
lea edx, [ebp - 0x158]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
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 - 0x7c], eax
mov byte [ebp - 0x78], 0xb
lea eax, [ebp - 0x15c]
push eax
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x420]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x160]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xb
lea eax, [ebp - 0x164]
push eax
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x424]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x168]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x16c]
mov eax, dword [0x41997b8]
call fcn.04199cc0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x42c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x174]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea eax, [ebp - 0x178]
push eax
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x430]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x17c]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea eax, [ebp - 0x180]
push eax
lea edx, [ebp - 0x184]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x434]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x184]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea eax, [ebp - 0x188]
push eax
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x438]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x18c]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
lea eax, [ebp - 0x190]
push eax
lea edx, [ebp - 0x194]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x43c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x194]
or ecx, 0xffffffff
mov dl, 0x27
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x440]
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x198]
mov eax, dword [0x41997b8]
call fcn.04199cc0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x444]
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x19c]
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 - 0x19c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0xa4]
push eax
push 0x11
mov edx, dword [sym.imp.VEDatasets.bpl__Vedataset_defConnection]
mov edx, dword [edx]
mov ecx, 0x41bdb34
mov eax, dword [0x41997b8]
call fcn.04199ff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call sub.dbrtl60.bpl__Db_TDataSet_Next_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
cmp byte [eax + 0xa1], 0
je 0x41bd646
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x398]
mov edx, 0x41bdc74
mov eax, dword [ebp - 4]
call fcn.041baec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41bda9d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41bdaea
lea eax, [ebp - 0x19c]
mov edx, 0x1b
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x120]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x110]
mov edx, 0x1b
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xc]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret