Skip to content

Instantly share code, notes, and snippets.

@eur0pa
Created May 7, 2015 08:07
Show Gist options
  • Save eur0pa/1a131a0919a7882a2e84 to your computer and use it in GitHub Desktop.
Save eur0pa/1a131a0919a7882a2e84 to your computer and use it in GitHub Desktop.
ASM for IsaacRandom.c
isaac-ng.exe+AA940 - A1 B8834A00 - mov eax,[isaac-ng.exe+1F83B8]
isaac-ng.exe+AA945 - 3D 70020000 - cmp eax,00000270
isaac-ng.exe+AA94A - 0F8C D0000000 - jl isaac-ng.exe+AAA20
isaac-ng.exe+AA950 - 3D 71020000 - cmp eax,00000271
isaac-ng.exe+AA955 - 75 0A - jne isaac-ng.exe+AA961
isaac-ng.exe+AA957 - B8 71150000 - mov eax,00001571
isaac-ng.exe+AA95C - E8 9FFFFFFF - call isaac-ng.exe+AA900
isaac-ng.exe+AA961 - 33 C9 - xor ecx,ecx
isaac-ng.exe+AA963 - EB 0B - jmp isaac-ng.exe+AA970
isaac-ng.exe+AA965 - 8D A4 24 00000000 - lea esp,[esp+00000000]
isaac-ng.exe+AA96C - 8D 64 24 00 - lea esp,[esp+00]
isaac-ng.exe+AA970 - 8B 04 8D FCA14C00 - mov eax,[ecx*4+isaac-ng.exe+21A1FC]
isaac-ng.exe+AA977 - 33 04 8D F8A14C00 - xor eax,[ecx*4+isaac-ng.exe+21A1F8]
isaac-ng.exe+AA97E - 41 - inc ecx
isaac-ng.exe+AA97F - 25 FFFFFF7F - and eax,7FFFFFFF
isaac-ng.exe+AA984 - 33 04 8D F4A14C00 - xor eax,[ecx*4+isaac-ng.exe+21A1F4]
isaac-ng.exe+AA98B - 8B D0 - mov edx,eax
isaac-ng.exe+AA98D - D1 E8 - shr eax,1
isaac-ng.exe+AA98F - 83 E2 01 - and edx,01
isaac-ng.exe+AA992 - 33 04 95 6C8F4C00 - xor eax,[edx*4+isaac-ng.exe+218F6C]
isaac-ng.exe+AA999 - 33 04 8D 28A84C00 - xor eax,[ecx*4+isaac-ng.exe+21A828]
isaac-ng.exe+AA9A0 - 89 04 8D F4A14C00 - mov [ecx*4+isaac-ng.exe+21A1F4],eax
isaac-ng.exe+AA9A7 - 81 F9 E3000000 - cmp ecx,000000E3
isaac-ng.exe+AA9AD - 7C C1 - jnge isaac-ng.exe+AA970
isaac-ng.exe+AA9AF - 81 F9 6F020000 - cmp ecx,0000026F
isaac-ng.exe+AA9B5 - 7D 3A - jnl isaac-ng.exe+AA9F1
isaac-ng.exe+AA9B7 - 8D 0C 8D F8A14C00 - lea ecx,[ecx*4+isaac-ng.exe+21A1F8]
isaac-ng.exe+AA9BE - 8B FF - mov edi,edi
isaac-ng.exe+AA9C0 - 8B 01 - mov eax,[ecx]
isaac-ng.exe+AA9C2 - 33 41 04 - xor eax,[ecx+04]
isaac-ng.exe+AA9C5 - 83 C1 04 - add ecx,04
isaac-ng.exe+AA9C8 - 25 FFFFFF7F - and eax,7FFFFFFF
isaac-ng.exe+AA9CD - 33 41 FC - xor eax,[ecx-04]
isaac-ng.exe+AA9D0 - 8B D0 - mov edx,eax
isaac-ng.exe+AA9D2 - 83 E2 01 - and edx,01
isaac-ng.exe+AA9D5 - 8B 14 95 6C8F4C00 - mov edx,[edx*4+isaac-ng.exe+218F6C]
isaac-ng.exe+AA9DC - 33 91 70FCFFFF - xor edx,[ecx-00000390]
isaac-ng.exe+AA9E2 - D1 E8 - shr eax,1
isaac-ng.exe+AA9E4 - 33 D0 - xor edx,eax
isaac-ng.exe+AA9E6 - 89 51 FC - mov [ecx-04],edx
isaac-ng.exe+AA9E9 - 81 F9 B4AB4C00 - cmp ecx,isaac-ng.exe+21ABB4
isaac-ng.exe+AA9EF - 7C CF - jnge isaac-ng.exe+AA9C0
isaac-ng.exe+AA9F1 - 8B 0D B4AB4C00 - mov ecx,[isaac-ng.exe+21ABB4]
isaac-ng.exe+AA9F7 - A1 F8A14C00 - mov eax,[isaac-ng.exe+21A1F8]
isaac-ng.exe+AA9FC - 33 C1 - xor eax,ecx
isaac-ng.exe+AA9FE - 25 FFFFFF7F - and eax,7FFFFFFF
isaac-ng.exe+AAA03 - 33 C1 - xor eax,ecx
isaac-ng.exe+AAA05 - 8B C8 - mov ecx,eax
isaac-ng.exe+AAA07 - D1 E8 - shr eax,1
isaac-ng.exe+AAA09 - 83 E1 01 - and ecx,01
isaac-ng.exe+AAA0C - 33 04 8D 6C8F4C00 - xor eax,[ecx*4+isaac-ng.exe+218F6C]
isaac-ng.exe+AAA13 - 33 05 28A84C00 - xor eax,[isaac-ng.exe+21A828]
isaac-ng.exe+AAA19 - A3 B4AB4C00 - mov [isaac-ng.exe+21ABB4],eax
isaac-ng.exe+AAA1E - 33 C0 - xor eax,eax
isaac-ng.exe+AAA20 - 8B 0C 85 F8A14C00 - mov ecx,[eax*4+isaac-ng.exe+21A1F8]
isaac-ng.exe+AAA27 - 40 - inc eax
isaac-ng.exe+AAA28 - 8B D1 - mov edx,ecx
isaac-ng.exe+AAA2A - C1 EA 0B - shr edx,0B
isaac-ng.exe+AAA2D - 33 CA - xor ecx,edx
isaac-ng.exe+AAA2F - A3 B8834A00 - mov [isaac-ng.exe+1F83B8],eax
isaac-ng.exe+AAA34 - 8B C1 - mov eax,ecx
isaac-ng.exe+AAA36 - 25 AD583AFF - and eax,FF3A58AD
isaac-ng.exe+AAA3B - C1 E0 07 - shl eax,07
isaac-ng.exe+AAA3E - 33 C8 - xor ecx,eax
isaac-ng.exe+AAA40 - 8B D1 - mov edx,ecx
isaac-ng.exe+AAA42 - 81 E2 8CDFFFFF - and edx,FFFFDF8C
isaac-ng.exe+AAA48 - C1 E2 0F - shl edx,0F
isaac-ng.exe+AAA4B - 33 CA - xor ecx,edx
isaac-ng.exe+AAA4D - 8B C1 - mov eax,ecx
isaac-ng.exe+AAA4F - C1 E8 12 - shr eax,12
isaac-ng.exe+AAA52 - 33 C1 - xor eax,ecx
isaac-ng.exe+AAA54 - C3 - ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment