Rev 2945 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2945 | Rev 2958 | ||
---|---|---|---|
Line 650... | Line 650... | ||
650 | jnz .incorrect |
650 | jnz .incorrect |
651 | cmp dword [edi], -1 ; no key, section or file found.. fail! |
651 | cmp dword [edi], -1 ; no key, section or file found.. fail! |
652 | je .incorrect |
652 | je .incorrect |
653 | ;;; cmp byte [edi], 0 ; zero password? ok! |
653 | cmp byte [edi], 0 ; zero password? ok! |
654 | ;;; je .ok |
654 | je .ok |
655 | 655 | ||
656 | add esi, 5 |
656 | add esi, 5 |
Line 657... | Line 657... | ||
657 | sub ecx, 5 |
657 | sub ecx, 5 |
658 | jbe .incorrect ; no password given? but hey, we need one! fail.. |
658 | jbe .incorrect ; no password given? but hey, we need one! fail.. |
659 | 659 | ||
Line 902... | Line 902... | ||
902 | dec edi |
902 | dec edi |
903 | lea esi, [ebp + thread_data.buffer + 5] |
903 | lea esi, [ebp + thread_data.buffer + 5] |
904 | mov ecx, 1024 |
904 | mov ecx, 1024 |
905 | .loop: |
905 | cmp byte [esi], '/' |
- | 906 | jne .loop |
|
- | 907 | inc esi |
|
- | 908 | .loop: |
|
906 | lodsb |
909 | lodsb |
907 | cmp al, 0x20 |
910 | cmp al, 0x20 |
908 | jl .done |
911 | jl .done |
909 | stosb |
912 | stosb |
910 | loop .loop |
913 | loop .loop |