Paul Edwards
2023-07-22 23:51:45 UTC
When I do:
C:\winpath>odwin -x cvs.exe | more
I get:
...
Entry e 00000000 00000000 Reserved
Entry f 00000000 00000000 Reserved
There is an import table in .rdata at 0x471b98
The Import Tables (interpreted .rdata section contents)
vma: Hint Time Forward DLL First
Table Stamp Chain Name Thunk
00071b98 00071d3c 00000000 00000000 00071d88 0006e154
DLL Name: WSOCK32.dll
vma: Hint/Ord Member-Name Bound-To
80000074 116 <none>
80000073 115 <none>
80000008 8 <none>
80000002 2 <none>
80000003 3 <none>
8000000a 10 <none>
80000039 57 <none>
80000009 9 <none>
80000034 52 <none>
80000017 23 <none>
8000000b 11 <none>
...
00071bac 00071bf0 00000000 00000000 00071ea6 0006e008
DLL Name: KERNEL32.dll
vma: Hint/Ord Member-Name Bound-To
7235e 45 CreateDirectoryA
7234e 260 GetDriveTypeA
7233a 551 RemoveDirectoryA
7232c 87 DeleteFileA
72312 458 LocalFileTimeToFileTime
72304 620 SetFileTime
722ee 616 SetFileAttributesA
722de 505 PeekNamedPipe
722c0 273 GetFileInformationByHandle
722a8 605 SetCurrentDirectoryA
72290 245 GetCurrentDirectoryA
72280 609 SetEndOfFile
72266 610 SetEnvironmentVariableA
72254 34 CompareStringW
...
I have never seen those "wsock32.dll" empty functions before.
I've only ever seen the latter - ie kernel32.dll etc.
This cvs executable almost certainly only uses wsock32.dll
if there is network access, which in this case, there won't be.
So I just need a dummy wsock32.dll to satisfy the load.
I tried just copying an existing msvcrt.dll (of my own) to
wsock32.dll, but that caused HX to crash.
Any idea how to dummy up something here?
And what those blank function names actually are?
Thanks. Paul.
C:\winpath>odwin -x cvs.exe | more
I get:
...
Entry e 00000000 00000000 Reserved
Entry f 00000000 00000000 Reserved
There is an import table in .rdata at 0x471b98
The Import Tables (interpreted .rdata section contents)
vma: Hint Time Forward DLL First
Table Stamp Chain Name Thunk
00071b98 00071d3c 00000000 00000000 00071d88 0006e154
DLL Name: WSOCK32.dll
vma: Hint/Ord Member-Name Bound-To
80000074 116 <none>
80000073 115 <none>
80000008 8 <none>
80000002 2 <none>
80000003 3 <none>
8000000a 10 <none>
80000039 57 <none>
80000009 9 <none>
80000034 52 <none>
80000017 23 <none>
8000000b 11 <none>
...
00071bac 00071bf0 00000000 00000000 00071ea6 0006e008
DLL Name: KERNEL32.dll
vma: Hint/Ord Member-Name Bound-To
7235e 45 CreateDirectoryA
7234e 260 GetDriveTypeA
7233a 551 RemoveDirectoryA
7232c 87 DeleteFileA
72312 458 LocalFileTimeToFileTime
72304 620 SetFileTime
722ee 616 SetFileAttributesA
722de 505 PeekNamedPipe
722c0 273 GetFileInformationByHandle
722a8 605 SetCurrentDirectoryA
72290 245 GetCurrentDirectoryA
72280 609 SetEndOfFile
72266 610 SetEnvironmentVariableA
72254 34 CompareStringW
...
I have never seen those "wsock32.dll" empty functions before.
I've only ever seen the latter - ie kernel32.dll etc.
This cvs executable almost certainly only uses wsock32.dll
if there is network access, which in this case, there won't be.
So I just need a dummy wsock32.dll to satisfy the load.
I tried just copying an existing msvcrt.dll (of my own) to
wsock32.dll, but that caused HX to crash.
Any idea how to dummy up something here?
And what those blank function names actually are?
Thanks. Paul.