extrn   GetDlgItemTextA:near
extrn   DialogBoxParamA:near
extrn   CreateDialogParamA:near

extrn   CreateFileA:near
extrn   ReadFile:near
extrn   WriteFile:near
extrn   CloseHandle:near
extrn   GetFileSize:near
extrn   SetEndOfFile:near

extrn   VirtualAlloc:near
extrn   VirtualFree:near

extrn   CreateEventA:near
extrn   ResetEvent:near
extrn   SetEvent:near

extrn   TerminateThread:near
extrn   CreateThread:near
extrn   ExitThread:near
extrn   Sleep:near
extrn   WaitForSingleObject:near

extrn   DispatchMessageA:near
extrn   ExitProcess:near
extrn   GetMessageA:near
extrn   GetModuleHandleA:near
extrn   PostQuitMessage:near
extrn   TranslateMessage:near

extrn   MessageBoxA:near
extrn   lstrcpy:near
extrn   GetLastError:near

extrn   WSAStartup:near
extrn   WSACleanup:near
extrn   WSAGetLastError:near
extrn   WSAAsyncSelect:near
extrn   gethostbyname:near
extrn   gethostname:near
extrn   getsockname:near
extrn   connect:near
extrn   socket:near
extrn   closesocket:near
extrn   send:near
extrn   recv:near
extrn   accept:near
extrn   bind:near
extrn   listen:near
extrn   htons:near
extrn   ntohs:near
extrn   inet_ntoa:near