Function at 0x57eff4
Capabilities:
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x57effd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x57f560
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov dl, 1
mov eax, dword [sym.imp.PCommonUtil.bpl__Base64_TBase64_]
call sub.rtl70.bpl__System_TObject__bctr_qqrv
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x57f50f
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0x10]
mov edx, 0x57f57c
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, 0x14
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x14]
mov edx, 0x57f58c
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, 0x18
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x18]
mov edx, 0x57f59c
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, 0x1c
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x1c]
mov edx, 0x57f5ac
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add edx, 0x20
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x28]
mov edx, 0x57f5bc
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov eax, ebx
call sym.P_Interface.bpl__Skht30_wg_SKHT30WG_MWJIEMW_qqr17System_AnsiString
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, 0x24
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
lea ecx, [ebp - 0x2c]
mov edx, 0x57f5c8
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
add edx, 0x64
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x30]
mov edx, 0x57f5d8
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x44]
mov edx, 0x57f5e8
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0x40]
call sub.rtl70.bpl__Sysutils_StrToInt_qqrx17System_AnsiString
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x57f5f8
call sub.rtl70.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
add eax, 4
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
lea ecx, [ebp - 0x48]
mov edx, 0x57f608
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp + 8]
add edx, 0x68
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x54]
mov edx, 0x57f618
mov eax, dword [ebp - 4]
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]
mov ecx, 0xa
mov edx, 1
call sub.rtl70.bpl__System__LStrCopy_qqrv
mov eax, dword [ebp - 0x4c]
call sub.rtl70.bpl__Sysutils_StrToDateTime_qqrx17System_AnsiString
mov eax, dword [ebp + 8]
fstp qword [eax + 8]
wait
xor eax, eax
push ebp
push 0x57f25d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x60]
mov edx, 0x57f628
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0xc]
call sub.PCommonUtil.bpl__Base64_TBase64_Base64DecodeStr_qqrx17System_AnsiString
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp + 8]
add edx, 0x30
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
jne 0x57f253
lea ecx, [ebp - 0x6c]
mov edx, 0x57f628
mov eax, dword [ebp - 4]
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 edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0xc]
call sub.PCommonUtil.bpl__Base64_TBase64_Base64DecodeStr_qqrx17System_AnsiString
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
add eax, 0x30
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57f285
lea ecx, [ebp - 0x74]
mov edx, 0x57f634
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp + 8]
add edx, 0x6c
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x78]
mov edx, 0x57f640
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp + 8]
add edx, 0x70
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x7c]
mov edx, 0x57f64c
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp + 8]
add edx, 0x74
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
push 0
push 0
push 0
lea ecx, [ebp - 0x84]
mov edx, 0x57f658
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0x80]
call sub.rtl70.bpl__Sysutils_StrToFloatDef_qqrx17System_AnsiStringxg
mov eax, dword [ebp + 8]
fstp xword [eax + 0x48]
wait
push 0
push 0
push 0
lea ecx, [ebp - 0x8c]
mov edx, 0x57f668
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0x88]
call sub.rtl70.bpl__Sysutils_StrToFloatDef_qqrx17System_AnsiStringxg
mov eax, dword [ebp + 8]
fstp xword [eax + 0x58]
wait
push 0
push 0
push 0
lea ecx, [ebp - 0x94]
mov edx, 0x57f678
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0x90]
call sub.rtl70.bpl__Sysutils_StrToFloatDef_qqrx17System_AnsiStringxg
mov eax, dword [ebp + 8]
fstp xword [eax + 0x78]
wait
lea ecx, [ebp - 0x98]
mov edx, 0x57f684
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp + 8]
add edx, 0x34
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x9c]
mov edx, 0x57f694
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp + 8]
add edx, 0x38
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0xa0]
mov edx, 0x57f6a4
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp + 8]
add edx, 0x40
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0xa4]
mov edx, 0x57f6b4
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp + 8]
add edx, 0x3c
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0xa8]
mov edx, 0x57f6c4
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp + 8]
add edx, 0x84
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0xac]
mov edx, 0x57f6d4
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp + 8]
add edx, 0x28
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0xb0]
mov edx, 0x57f6e0
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp + 8]
add edx, 0x2c
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0xb4]
mov edx, 0x57f6f0
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp + 8]
add edx, 0x88
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0xb8]
mov edx, 0x57f6fc
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp + 8]
add edx, 0x8c
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0xbc]
mov edx, 0x57f70c
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp + 8]
add edx, 0x94
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57f52d
mov eax, dword [ebp - 0xc]
call sub.rtl70.bpl__System_TObject_Free_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57f567
lea eax, [ebp - 0xbc]
mov edx, 0x20
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x34]
mov edx, 0xa
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
ret