Function at 0x41ba24c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x41ba254
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x41ba716
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [0x4204168]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x4204168]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov al, byte [eax + 0xf0]
mov byte [ebp - 0x15], al
lea edx, [ebp - 0x34]
mov eax, dword [0x4204168]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [eax + 0xf4]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x3c]
mov eax, dword [0x4204168]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 4]
mov edx, dword [ebx + 0x34]
dec edx
mov esi, dword [eax]
call dword [esi + 0x24]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov esi, dword [eax + 0x20]
mov edx, dword [ebx + 0x38]
mov eax, esi
call fcn.041ba9cc
mov edi, eax
mov edx, dword [ebx + 0x38]
mov eax, esi
call fcn.041bac28
mov dword [ebp - 0x14], eax
test edi, edi
jle 0x41ba34c
cmp dword [ebp - 0x14], 0
jle 0x41ba409
cmp byte [ebp - 0x15], 0
je 0x41ba409
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp dword [eax + 0x24], 0x22
jne 0x41ba409
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
push 0x41ba730
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0xc]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x48]
push 0x41ba7b8
lea edx, [ebp - 0x4c]
mov eax, esi
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x4c]
push 0x41ba7c4
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x10]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x50]
push 0x41ba7b8
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 8]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x54]
push 0x41ba7b8
push 0x41ba7d4
lea eax, [ebp - 0x44]
mov edx, 0xa
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov edx, dword [ebp - 0x44]
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov eax, dword [0x419a734]
call fcn.0419b348
mov ecx, dword [ebp - 0x40]
mov edx, dword [0x4204158]
mov eax, dword [0x419a734]
call fcn.0419aec4
jmp 0x41ba4ed
test edi, edi
jle 0x41ba417
cmp dword [ebp - 0x14], 0
jle 0x41ba4ed
cmp byte [ebp - 0x15], 0
je 0x41ba4ed
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp dword [eax + 0x24], 0x64
jne 0x41ba4ed
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x58]
push eax
push 0x41ba7e0
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0xc]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x60]
push 0x41ba874
push dword [ebx + 0x38]
push 0x41ba880
lea edx, [ebp - 0x64]
mov eax, esi
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x64]
push 0x41ba7c4
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x10]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x68]
push 0x41ba7b8
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x6c]
push 0x41ba7b8
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 8]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x70]
push 0x41ba874
push dword [ebx + 0x38]
push 0x41ba88c
lea eax, [ebp - 0x5c]
mov edx, 0xf
call sub.rtl60.bpl__System__LStrCatN_qqrv
mov edx, dword [ebp - 0x5c]
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov eax, dword [0x419a734]
call fcn.0419b348
mov ecx, dword [ebp - 0x58]
mov edx, dword [0x4204158]
mov eax, dword [0x419a734]
call fcn.0419aec4
test edi, edi
jle 0x41ba66f
cmp byte [ebp - 0x15], 0
jne 0x41ba66f
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [0x4204168]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [eax + 0x60]
mov ecx, dword [ebx + 0x38]
mov eax, esi
call fcn.041baea0
lea eax, [ebp - 0x88]
push eax
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x9c], esi
mov byte [ebp - 0x98], 0
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0xb
lea eax, [ebp - 0x9c]
push eax
push 1
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov edx, 0x41ba898
mov eax, dword [0x419a734]
call fcn.0419b348
mov ecx, dword [ebp - 0x8c]
mov edx, dword [0x4204158]
mov eax, dword [0x419a734]
call fcn.0419b038
lea eax, [ebp - 0x88]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov edx, 0x41ba918
call sub.rtl60.bpl__System__LStrCmp_qqrv
jne 0x41ba66f
mov eax, dword [sym.imp.VEDatasets.bpl__Vedataset_defDonemNo]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 0xcc], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 0xc4], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 0xbc], 0
mov dword [ebp - 0xb8], edi
mov byte [ebp - 0xb4], 0
lea eax, [ebp - 0xd4]
push eax
or ecx, 0xffffffff
mov dl, 0x27
mov eax, dword [ebx + 0x38]
call sub.vegalib60.bpl__Strtools_QS_qqr17System_AnsiStringci
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0xb
mov dword [ebp - 0xa8], esi
mov byte [ebp - 0xa4], 0
lea eax, [ebp - 0xd0]
push eax
push 5
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [sym.imp.VEDatasets.bpl__Vedataset_defFirmaNo]
mov ecx, dword [ecx]
mov edx, 0x41ba924
mov eax, dword [0x419a734]
call fcn.0419b348
mov ecx, dword [ebp - 0xa0]
mov edx, dword [0x4204158]
mov eax, dword [0x419a734]
call fcn.0419aec4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ba720
lea eax, [ebp - 0xd4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xa0]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x8c]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x88]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x78]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x74]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x70]
mov edx, 0xd
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x3c]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x38]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x34]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x30]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x2c]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x28]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x24]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x20]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x1c]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
ret