Function at 0x51e0d4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x51e0dd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x51e5a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor edx, edx
push ebp
push 0x51e55b
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 8]
mov edx, 0x51e5c0
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 8]
lea edx, [ebx + 0x14]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0xc]
mov edx, 0x51e5d4
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xc]
lea edx, [ebx + 0x18]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x10]
mov edx, 0x51e5e8
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x10]
lea edx, [ebx + 0x1c]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x14]
mov edx, 0x51e5f8
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x14]
lea edx, [ebx + 0x20]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x18]
mov edx, 0x51e608
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x18]
lea edx, [ebx + 0x24]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x1c]
mov edx, 0x51e614
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x1c]
lea edx, [ebx + 0x64]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebx + 0x64]
mov edx, 0x51e624
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x51e1c9
lea eax, [ebx + 0x64]
mov edx, 0x51e630
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
jmp 0x51e221
mov eax, dword [ebx + 0x64]
mov edx, 0x51e63c
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x51e1e7
lea eax, [ebx + 0x64]
mov edx, 0x51e648
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
jmp 0x51e221
mov eax, dword [ebx + 0x64]
mov edx, 0x51e654
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x51e205
lea eax, [ebx + 0x64]
mov edx, 0x51e660
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
jmp 0x51e221
mov eax, dword [ebx + 0x64]
mov edx, 0x51e66c
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x51e221
lea eax, [ebx + 0x64]
mov edx, 0x51e678
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
lea ecx, [ebp - 0x20]
mov edx, 0x51e684
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x20]
mov edx, ebx
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x34]
mov edx, 0x51e694
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0x30]
call sub.rtl70.bpl__Sysutils_StrToInt_qqrx17System_AnsiString
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x51e6a4
call sub.rtl70.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 4]
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
lea ecx, [ebp - 0x38]
mov edx, 0x51e6b4
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x38]
lea edx, [ebx + 0x68]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebx + 0x68]
mov edx, 0x51e6c4
call sub.rtl70.bpl__System__LStrCmp_qqrv
je 0x51e2b9
mov eax, dword [ebx + 0x68]
mov edx, 0x51e6d0
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x51e2c8
lea eax, [ebx + 0x68]
mov edx, 0x51e6dc
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
jmp 0x51e2d5
lea eax, [ebx + 0x68]
mov edx, 0x51e6ec
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
lea ecx, [ebp - 0x40]
mov edx, 0x51e6fc
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov edx, dword [ebp - 0x3c]
mov eax, 0x51e70c
call sub.rtl70.bpl__System__LStrPos_qqrv
test eax, eax
jle 0x51e33e
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4c]
mov edx, 0x51e6fc
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0x48]
mov ecx, 0xa
mov edx, 1
call sub.rtl70.bpl__System__LStrCopy_qqrv
mov eax, dword [ebp - 0x44]
call sub.rtl70.bpl__Sysutils_StrToDateTime_qqrx17System_AnsiString
fstp qword [ebx + 8]
wait
jmp 0x51e370
lea ecx, [ebp - 0x54]
mov edx, 0x51e6fc
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0x50]
call sub.rtl70.bpl__Sysutils_StrToFloat_qqrx17System_AnsiString
add esp, 0xfffffff4
fstp xword [esp]
wait
call sub.rtl70.bpl__Sysutils_FloatToDateTime_qqrxg
fstp qword [ebx + 8]
wait
lea ecx, [ebp - 0x58]
mov edx, 0x51e718
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x58]
lea edx, [ebx + 0x30]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x5c]
mov edx, 0x51e724
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x5c]
lea edx, [ebx + 0x6c]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x60]
mov edx, 0x51e730
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x60]
lea edx, [ebx + 0x70]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x64]
mov edx, 0x51e73c
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x64]
lea edx, [ebx + 0x74]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x6c]
mov edx, 0x51e748
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0x68]
call sub.rtl70.bpl__Sysutils_StrToFloat_qqrx17System_AnsiString
fstp xword [ebx + 0x48]
wait
lea ecx, [ebp - 0x74]
mov edx, 0x51e758
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0x70]
call sub.rtl70.bpl__Sysutils_StrToFloat_qqrx17System_AnsiString
fstp xword [ebx + 0x58]
wait
lea ecx, [ebp - 0x7c]
mov edx, 0x51e764
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0x78]
call sub.rtl70.bpl__Sysutils_StrToFloat_qqrx17System_AnsiString
fstp xword [ebx + 0x78]
wait
lea ecx, [ebp - 0x80]
mov edx, 0x51e770
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x80]
lea edx, [ebx + 0x34]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x84]
mov edx, 0x51e784
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x84]
lea edx, [ebx + 0x38]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x88]
mov edx, 0x51e798
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x88]
lea edx, [ebx + 0x40]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x8c]
mov edx, 0x51e7a8
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x8c]
lea edx, [ebx + 0x84]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x90]
mov edx, 0x51e7b8
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x90]
lea edx, [ebx + 0x28]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x94]
mov edx, 0x51e7c4
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x94]
lea edx, [ebx + 0x90]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x98]
mov edx, 0x51e7d0
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x98]
lea edx, [ebx + 0x2c]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x9c]
mov edx, 0x51e7e0
mov eax, esi
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x9c]
lea edx, [ebx + 0x94]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51e579
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e5ab
lea eax, [ebp - 0x9c]
mov edx, 0x1c
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x24]
mov edx, 8
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
ret