Function at 0x6b732c
Capabilities:
Get number of processors
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x6b7334
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6b7765
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call sub.rtl260.bpl__System__UStrClr_qqrpv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e4]
mov eax, dword [eax + 0x1d0]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x730f34]
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x10]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebp - 0x10]
call sub.dac260.bpl__Dbaccess_TCustomDADataSet_GetSQL_qqrv
mov edx, 0x6b777c
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
fild dword [eax + 0x8d0]
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov edx, 0x6b7860
mov eax, dword [ebp - 0x10]
call sub.odac260.bpl__Ora_TOraDataSet_ParamByName_qqrx20System_UnicodeString
mov edx, dword [eax]
call dword [edx + 0x78]
mov eax, dword [ebp - 0x10]
call sub.dbrtl260.bpl__Data_Db_TDataSet_Open_qqrv
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x194]
test eax, eax
jle 0x6b7542
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x758]
mov dl, 1
call sub.vcl260.bpl__Vcl_Controls_TControl_SetVisible_qqro
mov edx, 0x6b7874
mov eax, dword [ebp - 0x10]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x24]
call sub.rtl260.bpl__System_Sysutils_StrToDate_qqrx20System_UnicodeString
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x20]
call sub.rtl260.bpl__System_Sysutils_DateToStr_qqrx16System_TDateTime
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x6b7890
call sub.rtl260.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x758]
call sub.vcl260.bpl__Vcl_Controls_TControl_SetText_qqrx20System_UnicodeString
mov edx, 0x6b7874
mov eax, dword [ebp - 0x10]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x28]
call sub.rtl260.bpl__System_Sysutils_StrToDate_qqrx20System_UnicodeString
fadd dword [0x6b78a0]
fstp xword [ebp - 0x34]
wait
call sub.rtl260.bpl__System_Sysutils_Now_qqrv
fld xword [ebp - 0x34]
fucompp
wait
fnstsw ax
sahf
jp 0x6b747b
jbe 0x6b7490
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x758]
mov edx, 0xd5ffff
call sub.vcl260.bpl__Vcl_Controls_TControl_SetColor_qqr21System_Uitypes_TColor
jmp 0x6b74a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x758]
mov edx, 0xff
call sub.vcl260.bpl__Vcl_Controls_TControl_SetColor_qqr21System_Uitypes_TColor
mov edx, 0x6b78b0
mov eax, dword [ebp - 0x10]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x88]
lea eax, [ebp - 0x38]
push eax
mov edx, 0x6b78c4
mov eax, dword [ebp - 0x10]
call sub.dbrtl260.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x3c]
mov ecx, 8
mov edx, 1
call sub.rtl260.bpl__System__LStrCopy_qqrx27System__AnsiStringT_us_i0__ii
mov eax, dword [ebp - 0x38]
mov edx, 0x6b78e0
call sub.rtl260.bpl__System__LStrEqual_qqrv
jne 0x6b751d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x134]
jmp 0x6b7530
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6dc]
xor edx, edx
call sub.vcl260.bpl__Vcl_Comctrls_TTabSheet_SetImageIndex_qqri
jmp 0x6b759c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x758]
xor edx, edx
call sub.vcl260.bpl__Vcl_Controls_TControl_SetVisible_qqro
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x758]
mov edx, 0x6b7890
call sub.vcl260.bpl__Vcl_Controls_TControl_SetText_qqrx20System_UnicodeString
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x758]
mov edx, 0xd5ffff
call sub.vcl260.bpl__Vcl_Controls_TControl_SetColor_qqr21System_Uitypes_TColor
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x134]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6dc]
or edx, 0xffffffff
call sub.vcl260.bpl__Vcl_Comctrls_TTabSheet_SetImageIndex_qqri
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, 0x6b78f8
call sub.rtl260.bpl__System_Pos_qqrx20System_UnicodeStringt1i
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.006dd614
push dword [ebp - 0x44]
push 0x6b7914
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 8]
mov ecx, 0
call sub.rtl260.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x54]
mov ecx, 0x64
mov edx, dword [ebp - 0xc]
call sub.rtl260.bpl__System__LStrCopy_qqrx27System__AnsiStringT_us_i0__ii
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
call sub.rtl260.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call sub.rtl260.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
push dword [ebp - 0x48]
lea eax, [ebp - 8]
mov edx, 3
call sub.rtl260.bpl__System__UStrCatN_qqrv
cmp dword [ebp - 8], 0
je 0x6b76af
mov dl, 1
mov eax, dword [ebp - 8]
call sub.rtl260.bpl__System_Sysutils_FileExists_qqrx20System_UnicodeStringo
test al, al
je 0x6b76af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e4]
mov eax, dword [eax + 0x1d0]
mov edx, dword [ebp - 8]
call sub.vcl260.bpl__Vcl_Graphics_TPicture_LoadFromFile_qqrx20System_UnicodeString
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6fc]
xor edx, edx
call sub.vcl260.bpl__Vcl_Controls_TControl_SetVisible_qqro
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov dl, 1
call sub.vcl260.bpl__Vcl_Controls_TControl_SetVisible_qqro
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f0]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f4]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x700]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x94]
jmp 0x6b771b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6fc]
mov dl, 1
call sub.vcl260.bpl__Vcl_Controls_TControl_SetVisible_qqro
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
xor edx, edx
call sub.vcl260.bpl__Vcl_Controls_TControl_SetVisible_qqro
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f0]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f4]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x700]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x94]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b776c
lea eax, [ebp - 0x54]
mov edx, 2
call sub.rtl260.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x4c]
mov edx, 4
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x3c]
mov edx, 2
call sub.rtl260.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x28]
mov edx, 4
call sub.rtl260.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 8]
call sub.rtl260.bpl__System__UStrClr_qqrpv
ret