Add improvements suggested in pull request #282
Add improvements suggested in pull request #282

But using an slightly different approach for pe_rva_to_offset function

cblichmann/yara,cblichmann/yara,hillu/yara,hillu/yara,wxsBSD/yara,jpypi/yara,Security513/yara,cblichmann/yara,MeteorAdminz/yara,jpypi/yara,frbapolkosnik/yara,bmagistro/yara,VirusTotal/yara,rednaga/yara,tdr130/yara,tdr130/yara,hillu/yara,jpypi/yara,frbapolkosnik/yara,Security513/yara,tanium/yara,pombredanne/yara,kallanreed/yara,cblichmann/yara,tdr130/yara,beikezcs/yara,mgoffin/yara,rayyang2000/yara,tanium/yara,jshufelt/yara,neatsun/yara,VirusTotal/yara,foreni-packages/yara,VirusTotal/yara,neatsun/yara,foreni-packages/yara,MeteorAdminz/yara,rayyang2000/yara,beikezcs/yara,rednaga/yara,wxsBSD/yara,mgoffin/yara,plusvic/yara,smaudet/yara,VirusTotal/yara,frbapolkosnik/yara,pombredanne/yara,mgoffin/yara,wxsBSD/yara,VirusTotal/yara,Security513/yara,plusvic/yara,msuvajac/yara,hillu/yara,tanium/yara,pombredanne/yara,plusvic/yara,hillu/yara,smaudet/yara,neatsun/yara,smaudet/yara,smaudet/yara,msuvajac/yara,mgoffin/yara,MeteorAdminz/yara,wxsBSD/yara,rednaga/yara,rayyang2000/yara,plusvic/yara,jshufelt/yara,bmagistro/yara,pombredanne/yara,beikezcs/yara,plusvic/yara,jshufelt/yara,foreni-packages/yara,frbapolkosnik/yara,jshufelt/yara,wxsBSD/yara,bmagistro/yara,kallanreed/yara,kallanreed/yara,cblichmann/yara,msuvajac/yara,pombredanne/yara