Function at 0x56023c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x560244
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5604ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call sub.MydbGRIDbpl.bpl__Rwkjdbgrids_TRWKJCustomDBGrid_GetDataSource_qqrv
mov ebx, dword [eax + 0x30]
mov dl, 1
mov eax, dword [sym.imp.rtl70.bpl__Classes_TStringList_]
call sub.rtl70.bpl__System_TObject__bctr_qqrv
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [sym.imp.adortl70.bpl__Adodb_TADOQuery_]
call sub.adortl70.bpl__Adodb_TADOQuery__bctr_qqrp18Classes_TComponent
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x560475
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [sym.P_Interface.bpl__Publicutil_ADOConn]
mov edx, dword [edx]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, ebx
call sub.dbrtl70.bpl__Db_TDataSet_First_qqrv
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
mov esi, eax
dec esi
test esi, esi
jl 0x56044f
inc esi
mov dword [ebp - 0xc], 0
call sub.rtl70.bpl__Sysutils_Now_qqrv
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x18]
mov eax, 0x5604c4
call sub.rtl70.bpl__Sysutils_FormatDateTime_qqrx17System_AnsiString16System_TDateTime
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x560302
push 0x64
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call sub.rtl70.bpl__Sysutils_IntToStr_qqri
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x5604d4
call sub.rtl70.bpl__System__LStrCat3_qqrv
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov edx, 4
call sub.PCommonUtil.bpl__Ncutil_MyRightStr_qqr17System_AnsiStringi
mov eax, dword [ebp - 0x1c]
push eax
call sub.rtl70.bpl__Sysutils_Now_qqrv
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x28]
mov eax, 0x5604c4
call sub.rtl70.bpl__Sysutils_FormatDateTime_qqrx17System_AnsiString16System_TDateTime
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
pop ecx
call sub.rtl70.bpl__System__LStrCat3_qqrv
mov edx, 0x5604e4
mov eax, ebx
call sub.dbrtl70.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x2c]
mov edx, 0x5604f4
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x5603e3
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x560500
mov eax, ebx
call sub.dbrtl70.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call sub.rtl70.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x5604f4
mov edx, 0x560500
mov eax, ebx
call sub.dbrtl70.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call sub.rtl70.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov ecx, dword [ebp - 0x14]
call sym.P_Interface.bpl__Fpinterface_TFPINTERFACE_of_update_jk_qqr17System_AnsiStringt1t1
mov edx, 0x5604e4
mov eax, ebx
call sub.dbrtl70.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x40]
mov edx, 0x560510
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x56043e
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x560500
mov eax, ebx
call sub.dbrtl70.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [ebp - 0x10]
call sym.P_Interface.bpl__Fpinterface_TFPINTERFACE_of_DEL_FPDATA_qqrp19Classes_TStringList
mov eax, ebx
call sub.dbrtl70.bpl__Db_TDataSet_Next_qqrv
inc dword [ebp - 0xc]
dec esi
jne 0x5602d5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56047c
mov eax, dword [ebp - 8]
call sub.dbrtl70.bpl__Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 8]
call sub.rtl70.bpl__System_TObject_Free_qqrv
mov eax, dword [ebp - 0x10]
call sub.rtl70.bpl__System_TObject_Free_qqrv
ret