flat assembler
Message board for the users of flat assembler.

Index > Main > PE Export Table Dump (Updata)

Author
Thread Post new topic Reply to topic
lovefasm



Joined: 17 Jun 2007
Posts: 22
lovefasm 23 Sep 2007, 03:09
PE Export Table Dump (Updata)


Description:
Download
Filename: etl.rar
Filesize: 3.29 KB
Downloaded: 1164 Time(s)

Post 23 Sep 2007, 03:09
View user's profile Send private message Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 392
Location: Russian
asmfan 23 Sep 2007, 11:55
To get the following result (without extension), e.g.
Quote:

;ntdll Exports Count = 1315
import ntdll,\

I/ve made additional proc that truncates extensions.
Code:
fTruncExt:
pFileName EQU (esp + 4)
        mov     eax, [pFileName]
        pushad

        mov     edi, eax
        mov     esi, eax
        cld
        or      ecx, -1
        xor     eax, eax
        repne   scasw

        sub     esi, edi
        neg     esi
        shr     esi, 1

        mov     ecx, esi
        std
        sub     edi, 2
        mov     ax, '.'
        repne   scasw
        cld
        jnz     .next

        add     edi, 2
        mov     WORD [edi], 0
.next:
        popad
        ret     4
    

the complete modified code follows


Description:
Download
Filename: [PE Export Table Dump] etl.rar
Filesize: 3.03 KB
Downloaded: 1081 Time(s)


_________________
Any offers?
Post 23 Sep 2007, 11:55
View user's profile Send private message Reply with quote
Vortex



Joined: 17 Jun 2003
Posts: 318
Vortex 23 Sep 2007, 11:55
Nice work. lovefasm, I have some suggestions for your tool :

- display a copyright message if the user does not specify a command-line parameter.

- display an error message if the DLL ( the command-line parameter ) does not exist.

_________________
Code it... That's all...
Post 23 Sep 2007, 11:55
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 23 Sep 2007, 13:31
how does it handle malformed DLLs (bad header)? I know that testing all PE fields is pretty lot of work, so i wonder if your app simply crashes on such file.
Post 23 Sep 2007, 13:31
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.