Function at 0x4aff2c
Capabilities:
Initialize winsock library

Disassembly:
enter 0, 2
pushal
mov eax, 0x54499c
mov ebx, 0x5c2ce4
mov ecx, 0
call fcn.00423ae0
mov eax, 0x5443b8
mov ebx, 0x400
mov ecx, str._DLLStartUp___:_About_to_call_WSAStartUp_DLLStartUp___:_WSA_Startup_error_while_trying_to_load_WinSock_2.0__will_try_load_WinSock_1.1_instead
mov edx, 0x28
call fcn.004208b6
call fcn.004b0574
mov word [0x5c291a], 2
push 0x54499c
movzx eax, word [0x5c291a]
push eax
call sub.WSOCK32.dll_WSAStartup
mov esi, dword [ebp - 4]
mov ebx, dword [esi - 8]
mov dword [ebx + 0xf0], eax
mov eax, dword [esi - 8]
cmp dword [eax + 0xf0], 0
je 0x4affd8
mov eax, 0x5443b8
mov ebx, 0x400
mov ecx, 0x5b00c4
mov edx, 0x65
call fcn.004208b6
call fcn.004b0574
mov word [0x5c291a], 0x101
push 0x54499c
movzx eax, word [0x5c291a]
push eax
call sub.WSOCK32.dll_WSAStartup
mov ebx, dword [esi - 8]
mov dword [ebx + 0xf0], eax
mov eax, dword [esi - 8]
cmp dword [eax + 0xf0], 0
je 0x4b0279
mov eax, str._DLLStartUp___:_WSA_Startup_error:
mov ebx, 0x23
call fcn.00425f5c
mov eax, dword [esi - 8]
mov eax, dword [eax + 0xf0]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b0150
mov ebx, 0xf
call fcn.00425f5c
call fcn.00425618
mov eax, dword [esi - 8]
mov eax, dword [eax + 0xf0]
push eax
call fcn.004a5630
call fcn.004206fb
call fcn.00425618
mov eax, str._WinSock_Asked_Version_
mov ebx, 0x19
call fcn.00425f5c
call fcn.00425618
movzx eax, byte [0x5c291a]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b017c
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
movzx eax, byte [0x5c291b]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b0180
mov ebx, 0x13
call fcn.00425f5c
call fcn.00425618
movzx eax, byte [0x54499c]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b0194
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
movzx eax, byte [0x54499d]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b0198
mov ebx, 0xf
call fcn.00425f5c
call fcn.00425618
movzx eax, byte [0x54499e]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b01a8
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
movzx eax, byte [0x54499f]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b01ac
mov ebx, 0xf
call fcn.00425f5c
call fcn.00425618
mov eax, 0x5449a0
call fcn.004260bc
call fcn.00425618
mov eax, 0x5b01bc
mov ebx, 0x10
call fcn.00425f5c
call fcn.00425618
mov eax, 0x544aa1
call fcn.004260bc
call fcn.00425618
mov eax, 0x5b01cc
mov ebx, 0x19
call fcn.00425f5c
call fcn.00425618
movzx eax, word [0x544b22]
call fcn.00425c64
call fcn.00425618
mov eax, str._Max_DG_Data_Size___DLLStartUp___:_WSA_Startup_error__after_calling_WSAGetLastError___:
mov ebx, 0x14
call fcn.00425f5c
call fcn.00425618
movzx eax, word [0x544b24]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5443b8
mov ebx, 0x400
call fcn.00425cd8
call fcn.004b0574
call sub.WSOCK32.dll_WSAGetLastError
mov ebx, dword [esi - 8]
mov dword [ebx + 0xf0], eax
mov eax, 0x5b01fc
mov ebx, 0x45
call fcn.00425f5c
mov eax, dword [esi - 8]
mov eax, dword [eax + 0xf0]
call fcn.00425c64
call fcn.00425618
mov eax, str._Which_means_
mov ebx, 0xf
call fcn.00425f5c
call fcn.00425618
mov eax, dword [esi - 8]
mov eax, dword [eax + 0xf0]
push eax
call fcn.004a5630
call fcn.00425618
mov eax, 0x5443b8
mov ebx, 0x400
call fcn.00425cd8
call fcn.004b0574
mov eax, dword [esi - 8]
cmp dword [eax + 0xf0], 0
jne 0x4b056e
mov eax, str._DLLStartUp___:_Warning._loc:ret__0_after_WSAStartUp_Failed._Setting_loc:ret___DLLStartUp___:_WSA_Startup_Okay_:__WinSock_Asked_Version__.
mov ebx, 0x50
call fcn.00425f5c
mov eax, 0xffffffe1
call fcn.00425c64
call fcn.00425618
mov eax, 0x5443b8
mov ebx, 0x400
call fcn.00425cd8
call fcn.004b0574
mov eax, dword [esi - 8]
mov dword [eax + 0xf0], 0xffffffe1
jmp 0x4b056e
mov eax, 0x5b02a4
mov ebx, 0x3c
call fcn.00425f5c
movzx eax, byte [0x5c291a]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b02e0
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
movzx eax, byte [0x5c291b]
call fcn.00425c64
call fcn.00425618
mov eax, str._WinSock_Version_
mov ebx, 0x13
call fcn.00425f5c
call fcn.00425618
movzx eax, byte [0x54499c]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b02f8
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
movzx eax, byte [0x54499d]
call fcn.00425c64
call fcn.00425618
mov eax, str._HighVersion_
mov ebx, 0xf
call fcn.00425f5c
call fcn.00425618
movzx eax, byte [0x54499e]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b030c
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
movzx eax, byte [0x54499f]
call fcn.00425c64
call fcn.00425618
mov eax, str._Description_
mov ebx, 0xf
call fcn.00425f5c
call fcn.00425618
mov eax, 0x5449a0
call fcn.004260bc
call fcn.00425618
mov eax, str._SystemStatus___Max_Sockets_Data_Size_
mov ebx, 0x10
call fcn.00425f5c
call fcn.00425618
mov eax, 0x544aa1
call fcn.004260bc
call fcn.00425618
mov eax, 0x5b0330
mov ebx, 0x19
call fcn.00425f5c
call fcn.00425618
movzx eax, word [0x544b22]
call fcn.00425c64
call fcn.00425618
mov eax, str._Max_DG_Data_Size___DLLStartUp___:_Cool._WinSock_version_2.0_supported._DLLStartUp___:_Warning._WinSock_version_2.0_NOT_supported._Will_only_be_able_to_use_WinSock_version_1.1_functionality_in_NetTalk
mov ebx, 0x14
call fcn.00425f5c
call fcn.00425618
movzx eax, word [0x544b24]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5443b8
mov ebx, 0x400
call fcn.00425cd8
call fcn.004b0574
cmp byte [0x54499c], 1
jbe 0x4b0436
mov eax, 0x5443b8
mov ebx, 0x400
mov ecx, 0x5b0360
mov edx, 0x34
call fcn.004208b6
call fcn.004b0574
mov dword [0x5c27dc], 1
mov dword [0x5c27d8], 1
jmp 0x4b04e3
cmp byte [0x54499c], 1
jb 0x4b047c
cmp byte [0x54499d], 1
jb 0x4b047c
mov eax, 0x5443b8
mov ebx, 0x400
mov ecx, 0x5b0394
mov edx, 0x81
call fcn.004208b6
call fcn.004b0574
mov dword [0x5c27dc], 0
mov dword [0x5c27d8], 1
jmp 0x4b04e3
mov eax, str._DLLStartUp___:_Error._WinSock_version_1.1_NOT_supported._Setting_loc:ret____ERROR:CouldNotLoad_
mov ebx, 0x4c
call fcn.00425f5c
mov eax, 0xffffffe1
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b0464
mov ebx, 0x15
call fcn.00425f5c
call fcn.00425618
mov eax, 0x5443b8
mov ebx, 0x400
call fcn.00425cd8
call fcn.004b0574
mov dword [0x5c27dc], 0
mov dword [0x5c27d8], 0
mov eax, dword [esi - 8]
mov dword [eax + 0xf0], 0xffffffe1
mov eax, 0x5c2c94
mov ebx, 0x18
call fcn.00425f5c
call fcn.004206fb
mov eax, 0x5b047c
mov ebx, 2
call fcn.00425f5c
call fcn.004254a0
mov eax, 0x5b0480
mov ebx, 3
call fcn.00425f5c
call fcn.00425618
mov eax, 0x5c2c94
mov ebx, 0x18
call fcn.00425cd8
mov eax, 0
call fcn.004a75c0
mov ebx, dword [esi - 8]
mov dword [ebx + 0xf0], eax
mov eax, 0x5c2658
call fcn.004261f8
cmp eax, 0
jne 0x4b056e
mov eax, 0x5443b8
mov ebx, 0x400
mov ecx, str._DLLStartUp___:_Error._This_machine_has_no_IP_number._NetTalk_wont_work_without_an_IP_address.
mov edx, 0x5e
call fcn.004208b6
call fcn.004b0574
popal
leave
ret