Created
June 27, 2014 20:42
-
-
Save peterix/bb1d460a012e36c08bdd to your computer and use it in GitHub Desktop.
Horrible Things Intel Does To Minecraft Players...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ | |
| .text:103CD670 | |
| ; Attributes: bp-based frame | |
| .text:103CD670 | |
| ; int __cdecl MinecraftFuckery() | |
| MinecraftFuckery proc near ; DATA XREF: .text:10129B8Ao | |
| .text:103CD670 | |
| ProcName = dword ptr -4 | |
| .text:103CD670 | |
| push ebp | |
| mov ebp, esp | |
| push ecx | |
| push esi | |
| lea eax, [ebp+ProcName] | |
| push eax | |
| mov esi, ecx | |
| call getMainModuleName | |
| mov edx, [ebp+ProcName] | |
| mov eax, offset aJavaw_exe ; "javaw.exe" | |
| .text:103CD688 | |
| loc_103CD688: ; CODE XREF: MinecraftFuckery+32j | |
| mov cl, [edx] | |
| cmp cl, [eax] | |
| jnz short loc_103CD6A8 | |
| test cl, cl | |
| jz short loc_103CD6A4 | |
| mov cl, [edx+1] | |
| cmp cl, [eax+1] | |
| jnz short loc_103CD6A8 | |
| add edx, 2 | |
| add eax, 2 | |
| test cl, cl | |
| jnz short loc_103CD688 | |
| .text:103CD6A4 | |
| loc_103CD6A4: ; CODE XREF: MinecraftFuckery+20j | |
| xor eax, eax | |
| jmp short loc_103CD6AD | |
| ; --------------------------------------------------------------------------- | |
| .text:103CD6A8 | |
| loc_103CD6A8: ; CODE XREF: MinecraftFuckery+1Cj | |
| ; MinecraftFuckery+28j | |
| sbb eax, eax | |
| or eax, 1 | |
| .text:103CD6AD | |
| loc_103CD6AD: ; CODE XREF: MinecraftFuckery+36j | |
| test eax, eax | |
| jnz short loc_103CD6CB | |
| push offset aMinecraft_exe ; "minecraft.exe" | |
| mov ecx, esi | |
| call findInCommandline | |
| test eax, eax | |
| jz short loc_103CD6CB | |
| mov eax, 1 | |
| pop esi | |
| mov esp, ebp | |
| pop ebp | |
| retn | |
| ; --------------------------------------------------------------------------- | |
| .text:103CD6CB | |
| loc_103CD6CB: ; CODE XREF: MinecraftFuckery+3Fj | |
| ; MinecraftFuckery+4Fj | |
| xor eax, eax | |
| pop esi | |
| mov esp, ebp | |
| pop ebp | |
| retn | |
| MinecraftFuckery endp | |
| .text:103CD6D1 | |
| ; --------------------------------------------------------------------------- | |
| align 10h | |
| .text:103CD6E0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment