Function at 0x41b3b88
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x41b3b90
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x41b4052
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [0x41d013c]
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 [0x41d013c]
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 + 0xe0]
mov byte [ebp - 0x15], al
lea edx, [ebp - 0x34]
mov eax, dword [0x41d013c]
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 + 0xe4]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x3c]
mov eax, dword [0x41d013c]
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.041b4308
mov edi, eax
mov edx, dword [ebx + 0x38]
mov eax, esi
call fcn.041b4564
mov dword [ebp - 0x14], eax
test edi, edi
jle 0x41b3c88
cmp dword [ebp - 0x14], 0
jle 0x41b3d45
cmp byte [ebp - 0x15], 0
je 0x41b3d45
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp dword [eax + 0x24], 0x22
jne 0x41b3d45
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 0x41b406c
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0xc]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x48]
push 0x41b40f4
lea edx, [ebp - 0x4c]
mov eax, esi
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x4c]
push 0x41b4100
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x10]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x50]
push 0x41b40f4
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 8]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x54]
push 0x41b40f4
push 0x41b4110
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 [0x41997b8]
call fcn.0419a73c
mov ecx, dword [ebp - 0x40]
mov edx, dword [0x41d012c]
mov eax, dword [0x41997b8]
call fcn.0419a178
jmp 0x41b3e29
test edi, edi
jle 0x41b3d53
cmp dword [ebp - 0x14], 0
jle 0x41b3e29
cmp byte [ebp - 0x15], 0
je 0x41b3e29
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp dword [eax + 0x24], 0x64
jne 0x41b3e29
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 0x41b411c
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0xc]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x60]
push 0x41b41b0
push dword [ebx + 0x38]
push 0x41b41bc
lea edx, [ebp - 0x64]
mov eax, esi
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x64]
push 0x41b4100
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x10]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x68]
push 0x41b40f4
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x6c]
push 0x41b40f4
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 8]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x70]
push 0x41b41b0
push dword [ebx + 0x38]
push 0x41b41c8
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 [0x41997b8]
call fcn.0419a73c
mov ecx, dword [ebp - 0x58]
mov edx, dword [0x41d012c]
mov eax, dword [0x41997b8]
call fcn.0419a178
test edi, edi
jle 0x41b3fab
cmp byte [ebp - 0x15], 0
jne 0x41b3fab
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [0x41d013c]
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.041b47dc
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, 0x41b41d4
mov eax, dword [0x41997b8]
call fcn.0419a73c
mov ecx, dword [ebp - 0x8c]
mov edx, dword [0x41d012c]
mov eax, dword [0x41997b8]
call fcn.0419a2ec
lea eax, [ebp - 0x88]
call sub.rtl60.bpl__System__VarToInt_qqrrx14System_Variant
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov edx, 0x41b4254
call sub.rtl60.bpl__System__LStrCmp_qqrv
jne 0x41b3fab
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, 0x41b4260
mov eax, dword [0x41997b8]
call fcn.0419a73c
mov ecx, dword [ebp - 0xa0]
mov edx, dword [0x41d012c]
mov eax, dword [0x41997b8]
call fcn.0419a178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b405c
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