Function at 0x49e708
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
push ebx
push ecx
push edx
lea eax, [esp + 0xc]
mov ebx, 0x5a27f8
mov ecx, 0
call fcn.00423ae0
push 0
push dword [0x537308]
call sub.WSOCK32.dll_shutdown
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
je 0x49e79f
call sub.WSOCK32.dll_WSAGetLastError
mov dword [esp + 0x18], eax
mov eax, 0x5a226c
mov ebx, 0x27
call fcn.00425f5c
mov eax, dword [esp + 0x18]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5a2294
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
push dword [esp + 0x18]
call fcn.004a5630
call fcn.00425618
mov eax, 0x5a2298
mov ebx, 0x19
call fcn.00425f5c
mov eax, 0x64
call fcn.004a7a20
jmp 0x49e8a5
mov eax, dword [0x5c2a10]
mov dword [esp + 0xc], eax
mov eax, dword [0x5c2a14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 8
cmp dword [0x5c290c], 0
je 0x49e81a
mov eax, 0x5a22b4
mov ebx, 0x1d
call fcn.00425f5c
mov eax, dword [esp + 0xc]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5a22d4
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
mov eax, dword [esp + 0x10]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5a22d8
mov ebx, 0x19
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
push dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push dword [0x5c2a0c]
push 0xffff
push dword [0x537308]
call sub.WSOCK32.dll_setsockopt
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
je 0x49e8a5
call sub.WSOCK32.dll_WSAGetLastError
mov dword [esp + 0x18], eax
mov eax, 0x5a22f4
mov ebx, 0x1d
call fcn.00425f5c
mov eax, dword [esp + 0x18]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5a2314
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
push dword [esp + 0x18]
call fcn.004a5630
call fcn.00425618
mov eax, 0x5a2318
mov ebx, 0x19
call fcn.00425f5c
mov eax, 0x64
call fcn.004a7a20
push dword [0x537308]
call sub.WSOCK32.dll_closesocket
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
je 0x49e91c
call sub.WSOCK32.dll_WSAGetLastError
mov dword [esp + 0x18], eax
mov eax, 0x5a2334
mov ebx, 0x27
call fcn.00425f5c
mov eax, dword [esp + 0x18]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5a235c
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
push dword [esp + 0x18]
call fcn.004a5630
call fcn.00425618
mov eax, 0x5a2360
mov ebx, 0x19
call fcn.00425f5c
mov eax, 0x64
call fcn.004a7a20
cmp dword [0x5c290c], 0
je 0x49e9af
mov eax, 0x5c26a8
call fcn.004261f8
mov ecx, eax
mov eax, str.Before_delete__qSendingSockets_:_records__qSendingSockets__
mov ebx, 0x3d
call fcn.00425f5c
mov eax, ecx
call fcn.00425c64
call fcn.00425618
mov eax, 0x5a23bc
mov ebx, 0xa
call fcn.00425f5c
call fcn.00425618
mov eax, dword [0x537308]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5a23c8
mov ebx, 0xa
call fcn.00425f5c
call fcn.00425618
mov eax, dword [0x53731c]
call fcn.00425c64
call fcn.00425618
mov eax, str.CloseNetAutoSendingSocket
mov ebx, 0x19
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
mov eax, 0x5c26a8
call fcn.0042631c
cmp dword [0x5c290c], 0
je 0x49ea02
mov eax, 0x5c26a8
call fcn.004261f8
mov ecx, eax
mov eax, str.After_delete__qSendingSockets_:_records__qSendingSockets___CloseNetAutoSendingSocket
mov ebx, 0x3c
call fcn.00425f5c
mov eax, ecx
call fcn.00425c64
call fcn.00425618
mov eax, 0x5a242c
mov ebx, 0x19
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
mov eax, dword [esp + 0x18]
pop edx
pop ecx
pop ebx
add esp, 0x10
ret