Rev 5984 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5984 | Rev 6078 | ||
---|---|---|---|
Line 1806... | Line 1806... | ||
1806 | mov edx, [ebx+4] ; file offset |
1806 | mov edx, [ebx+4] ; file offset |
1807 | mov ecx, [ebx+12] ; size |
1807 | mov ecx, [ebx+12] ; size |
1808 | mov ebx, [ebx+16] ; buffer |
1808 | mov ebx, [ebx+16] ; buffer |
1809 | push ebx |
1809 | push ebx |
1810 | push 0 |
1810 | push 0 |
- | 1811 | test ecx, ecx |
|
- | 1812 | jz .done |
|
1811 | mov eax, [edi+28] |
1813 | mov eax, [edi+28] |
1812 | sub eax, edx |
1814 | sub eax, edx |
1813 | jb .fileEnd |
1815 | jb .fileEnd |
1814 | cmp eax, ecx |
1816 | cmp eax, ecx |
1815 | jae @f |
1817 | jae @f |
Line 1918... | Line 1920... | ||
1918 | test eax, eax |
1920 | test eax, eax |
1919 | pop eax |
1921 | pop eax |
1920 | jnz .noaccess3 |
1922 | jnz .noaccess3 |
1921 | pop ecx |
1923 | pop ecx |
1922 | xor edx, edx |
1924 | xor edx, edx |
1923 | jcxz .done |
1925 | jecxz .done |
1924 | jmp .alignedCluster |
1926 | jmp .alignedCluster |
1925 | .readEnd: |
1927 | .readEnd: |
1926 | add ecx, edi |
1928 | add ecx, edi |
1927 | mov edi, ecx |
1929 | mov edi, ecx |
1928 | and ecx, 511 |
1930 | and ecx, 511 |