# CRT Recreation

- [CaplockString](https://malwaresourcecode.com/home/code-base/markdown/caplockstring.md)
- [CopyMemory](https://malwaresourcecode.com/home/code-base/markdown/copymemory.md): Custom implementation of CopyMemory.
- [StringCompare](https://malwaresourcecode.com/home/code-base/markdown/stringcompare.md)
- [StringConcat](https://malwaresourcecode.com/home/code-base/markdown/stringconcat.md)
- [StringCopy](https://malwaresourcecode.com/home/code-base/markdown/stringcopy.md)
- [StringLength](https://malwaresourcecode.com/home/code-base/markdown/stringlength.md)
- [StringLocateChar](https://malwaresourcecode.com/home/code-base/markdown/stringlocatechar.md)
- [WCHAR to CHAR](https://malwaresourcecode.com/home/code-base/markdown/wchar-to-char.md)
- [WCharToCharUnsafe](https://malwaresourcecode.com/home/code-base/markdown/wchar-to-char/wchartocharunsafe.md)
- [WCharToCharSafe](https://malwaresourcecode.com/home/code-base/markdown/wchar-to-char/wchartocharsafe.md)
- [ShlwapiWcharToChar](https://malwaresourcecode.com/home/code-base/markdown/wchar-to-char/shlwapiwchartochar.md)
- [CHAR to WCHAR](https://malwaresourcecode.com/home/code-base/markdown/char-to-wchar.md)
- [CharStringToWCharString](https://malwaresourcecode.com/home/code-base/markdown/char-to-wchar/charstringtowcharstring.md)
- [ShlwapiCharStringToWCharString](https://malwaresourcecode.com/home/code-base/markdown/char-to-wchar/shlwapicharstringtowcharstring.md)
- [ByteArrayToCharArray](https://malwaresourcecode.com/home/code-base/markdown/bytearraytochararray.md)
- [CharArrayToByteArray](https://malwaresourcecode.com/home/code-base/markdown/chararraytobytearray.md)
- [StringTerminateStringAtChar](https://malwaresourcecode.com/home/code-base/markdown/stringterminatestringatchar.md)
- [RtlInitAnsiString](https://malwaresourcecode.com/home/code-base/markdown/rtlinitansistring.md): Initializes an ANSI\_STRING structure without importing from NTDLL
- [RtlInitUnicodeString](https://malwaresourcecode.com/home/code-base/markdown/rtlinitunicodestring.md): Initializes a UNICODE\_STRING structure without importing from NTDLL
- [Random Integer](https://malwaresourcecode.com/home/code-base/markdown/random-integer.md)
- [RtlUniform](https://malwaresourcecode.com/home/code-base/markdown/random-integer/rtluniform.md)
- [IOCTL Cng Random](https://malwaresourcecode.com/home/code-base/markdown/random-integer/ioctl-cng-random.md)
- [IOCTL KsecDD Random](https://malwaresourcecode.com/home/code-base/markdown/random-integer/ioctl-ksecdd-random.md)
- [WinRT CryptographicBufferStatics](https://malwaresourcecode.com/home/code-base/markdown/random-integer/winrt-cryptographicbufferstatics.md)
- [ConvertCharStringToInt (NTDLL)](https://malwaresourcecode.com/home/code-base/markdown/convertcharstringtoint-ntdll.md): This code snippet requires an import from NTDLL
- [ZeroMemory](https://malwaresourcecode.com/home/code-base/markdown/zeromemory.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://malwaresourcecode.com/home/code-base/markdown.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
