Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function main {
- esp = (esp & 0xfffffff0) - 0x220;
- while (*(arg_8 + *(esp + 0x218) * 0x4) != 0x0) {
- eax = *(esp + 0x218);
- eax = *(arg_8 + eax * 0x4);
- eax = strlen(eax);
- memset(*(arg_8 + *(esp + 0x218) * 0x4), 0x0, eax);
- }
- if (arg_0 <= 0x1) goto loc_8048692;
- goto loc_804865b;
- loc_8048692:
- eax = 0x0;
- return eax;
- loc_804865b:
- eax = *(esp + 0x21c);
- eax = *(int8_t *)eax & 0xff;
- if ((LOBYTE(eax) != 0x0) && (*(esp + 0x214) <= 0x1ff)) goto loc_80485d4;
- goto loc_804867a;
- loc_80485d4:
- edx = *__ctype_b_loc();
- eax = *(esp + 0x21c);
- eax = *(int8_t *)eax & 0xff;
- if ((LOWORD(*(int16_t *)(edx + sign_extend_32(LOBYTE(eax)) + sign_extend_32(LOBYTE(eax))) & 0xffff) & 0xffff & 0x400) != 0x0) goto loc_8048653;
- goto loc_8048603;
- loc_8048653:
- goto loc_804865b;
- loc_8048603:
- edx = *__ctype_b_loc();
- eax = *(esp + 0x21c);
- eax = *(int8_t *)eax & 0xff;
- if ((LOWORD(*(int16_t *)(edx + sign_extend_32(LOBYTE(eax)) + sign_extend_32(LOBYTE(eax))) & 0xffff) & 0xffff & 0x800) != 0x0) goto loc_8048653;
- eax = *__TMC_END__;
- fprintf(eax, "Non-%s chars found in string, possible shellcode!\n", "alpha");
- eax = exit(0x1);
- loc_804867a:
- eax = *(arg_4 + 0x4);
- strcpy(esp + 0x14, eax);
- goto loc_8048692;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement