Function at 0x41c2094
Capabilities:
Access peb ldr_data
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x41c209c
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41c2374
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x41c20d7
mov ecx, 0x41c2390
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Sysutils_Exception_]
call sub.rtl60.bpl__Sysutils_Exception__bctr_qqrx17System_AnsiString
call sub.rtl60.bpl__System__RaiseExcept_qqrv
xor eax, eax
push ebp
push 0x41c22d2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jne 0x41c211e
mov ecx, 0x31
mov edx, 0x41c23b0
mov eax, 0x41c23ec
call sub.rtl60.bpl__System__Assert_qqrx17System_AnsiStringt1i
mov eax, dword [ebp - 4]
call fcn.041c3978
fld qword [ebx]
fcomp dword [0x41c2410]
fnstsw ax
sahf
je 0x41c215f
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [ebx]
mov dword [eax + 8], edx
mov edx, dword [ebx + 4]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [eax + 8]
mov dword [ebx], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 4], edx
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x30]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x10]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
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]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x38]
mov edx, 0x41c241c
mov eax, dword [0x4199678]
call fcn.0419a29c
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [eax]
lea edx, [ebp - 0x3c]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
mov edx, dword [ebp - 0x3c]
pop eax
call sub.rtl60.bpl__System__LStrCat_qqrv
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 4]
call fcn.041c24f8
mov edx, eax
mov eax, dword [0x4199678]
pop ecx
call fcn.04199e0c
lea ecx, [ebp - 0x48]
mov edx, 0x41c2480
mov eax, dword [0x4199678]
call fcn.0419a29c
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [eax]
lea edx, [ebp - 0x4c]
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
mov edx, dword [ebp - 0x4c]
pop eax
call sub.rtl60.bpl__System__LStrCat_qqrv
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 4]
call fcn.041c24f8
mov edx, eax
mov eax, dword [0x4199678]
pop ecx
call fcn.04199e0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c22d9
mov eax, dword [ebp - 4]
add eax, 4
call sub.rtl60.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
ret