-
Notifications
You must be signed in to change notification settings - Fork 2
/
exportsfun.asm
71 lines (63 loc) · 1.24 KB
/
exportsfun.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
;exportsfun.asm
AddTextToOutputWindow proc _lpStr:DWORD,_crClr:DWORD
pushad
.if _lpStr
invoke _AddText,_lpStr,_crClr
.endif
popad
ret
AddTextToOutputWindow endp
ResizeMainWindowFrame proc
pushad
invoke _ResizeWindow
popad
ret
ResizeMainWindowFrame endp
IsThisFileDll proc _lpFile:DWORD
pushad
.if _lpFile
invoke _IsDll,_lpFile
.endif
popad
ret
IsThisFileDll endp
OffsetToRva proc _lpMem:DWORD,_dwOffset:DWORD
pushad
.if _lpMem && _dwOffset
invoke _Offset2Rva,_lpMem,_dwOffset
.endif
popad
ret
OffsetToRva endp
RvaToOffset proc _lpMem:DWORD,_dwRva:DWORD
pushad
.if _lpMem && _dwRva
invoke _RVAToRAW,_lpMem,_dwRva
.endif
popad
ret
RvaToOffset endp
MD5GetCode proc _pSrc:DWORD,_nSize:DWORD,_pDes:DWORD
pushad
.if _pSrc && _nSize && _pDes
invoke MD5_GetCode,_pSrc,_nSize,_pDes
.endif
popad
ret
MD5GetCode endp
CreateCRC32Table proc _lpMem:DWORD
pushad
.if _lpMem
invoke _CreateCrc32Table,_lpMem
.endif
popad
ret
CreateCRC32Table endp
GenerateCRC32Value proc _lpMem:DWORD,_lpTable:DWORD,_nSize:DWORD
pushad
.if _lpMem && _lpTable && _nSize
invoke _GenerateCrc32Value,_lpMem,_lpTable,_nSize
.endif
popad
ret
GenerateCRC32Value endp