Function at 0x4ec6c0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
cmp dword [0x82a4b4], 0
jne 0x4ec6d3
xor eax, eax
jmp 0x4ec6e6
lea eax, [ebp - 0x14]
push eax
push 6
push str.CWSARecvFrom__UDP____ioctl_FIONREAD
call fcn.00540320
add esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
push 0x4004667f
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x4ec7e0
cmp dword [ebp - 4], 0xf4240
jbe 0x4ec7e0
cmp byte [0x7e23ac], al
jne 0x4ec743
push str.CUDPSocket::ContinueRecv:_more_than_1_million_bytes_to_read_from_socket__are_we_falling_behind_
push 0x5d
push str.C:_buildworker_steam_rel_client_win32_build_srccommonudpsocket.cpp
mov byte [0x7e23ac], 1
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4ec743
int3
cmp dword [ebp - 4], 0x2faf080
jb 0x4ec768
push str.CUDPSocket::ContinueRecv:_critically_behind_on_socket_reads__somethings_wrong__committing_suicide
push 0x8000005f
push str.C:_buildworker_steam_rel_client_win32_build_srccommonudpsocket.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4ec768
int3
mov eax, dword fs:[0x2c]
mov ecx, dword [0x85d678]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7e23b8]
cmp eax, dword [ecx + 0x480]
jg 0x4eca47
mov ecx, 0x7e23b0
call fcn.004acef0
test edx, edx
jl 0x4ec7e0
jg 0x4ec79f
cmp eax, 0xf4240
jb 0x4ec7e0
lea ecx, [ebp - 0x54]
call fcn.004582e0
push 0xf4240
push dword [ebp - 4]
push ebx
push str.UDP_Socket__i_too_full___d_bytes__warning_limit__d__n
push eax
push 1
push 3
push 1
push 0xb
push 0
push 0
call fcn.00451380
mov eax, dword [0x7dfec8]
add esp, 0x2c
mov ecx, dword [0x7dfecc]
mov dword [0x7e23b0], eax
mov dword [0x7e23b4], ecx
call fcn.0053aa60
push 1
push 0
push 0x6c
mov ecx, dword [eax]
push str.C:_buildworker_steam_rel_client_win32_build_srccommonudpsocket.cpp
push 0x888
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
push dword [ebp + 0x10]
mov esi, eax
mov dword [ebp - 0x24], 0x800
push esi
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ebx
push 0x4eca90
push 3
mov ecx, 0x7e2668
mov dword [ebp - 0x20], esi
call fcn.004f08a0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 0x80
mov dword [eax + 0x24], ecx
lea eax, [esi + 0x880]
add esi, 0x800
mov dword [ebp - 0x18], eax
push 0
push esi
mov dword [eax], 0x80
mov dword [ebp - 0x1c], esi
call fcn.00554100
add esp, 0xc
lea esp, [esp]
cmp dword [0x82a4b4], 0
mov dword [ebp - 8], 0
jne 0x4ec874
xor eax, eax
jmp 0x4ec887
lea eax, [ebp - 0xc]
push eax
push 6
push str.CWSARecvFrom__UDP_____raw_::WSARecvFrom
call fcn.00540320
add esp, 0xc
mov edi, dword [ebp - 0x10]
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push esi
push 1
push eax
push ebx
call fcn.004e1270
mov ecx, dword [ebp - 0xc]
add esp, 0x1c
mov esi, eax
test ecx, ecx
je 0x4ec8b7
push ecx
call fcn.005402e0
add esp, 4
add dword [0x7e1d58], 1
adc dword [0x7e1d5c], 0
test esi, esi
je 0x4eca18
push esi
call fcn.004aec30
add esp, 4
test al, al
jne 0x4ec939
and dword [ebp - 0x50], 0xff0fffff
push esi
mov byte [ebp - 0x4d], al
xor eax, eax
and dword [ebp - 0x50], 0xfff00000
push str.UDPSocket:_WSARecvFrom_returned_benign_error__d__retrying_n
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x54]
push eax
push 1
push 4
push 0
push 0xb
push 0
push 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x38], 3
call fcn.00451380
mov esi, dword [ebp - 0x1c]
add esp, 0x24
jmp 0x4ec860
mov eax, dword [edi + 0x24]
push eax
mov dword [ebp - 0x1c], eax
call fcn.004aff20
add esp, 4
test eax, eax
jne 0x4ec9bd
push dword [ebp - 0x1c]
call fcn.004afeb0
add esp, 4
test eax, eax
jne 0x4ec9bd
push esi
call fcn.004eb820
push dword [ebp + 0xc]
and dword [ebp - 0x50], 0xff0fffff
xor ecx, ecx
push ebx
push eax
push esi
push str.UDPSocket:_WSARecvFrom_synchronously_returned_error__d___s__from_socket__d___invalid__hSocketOwner__d__were_not_receiving_on_this_socket_now._n
lea eax, [ebp - 0x54]
mov byte [ebp - 0x4d], 0
and dword [ebp - 0x50], 0xfff00000
push eax
push 1
push 3
push ecx
push 0xb
push ecx
push ecx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
call fcn.00451380
add esp, 0x34
jmp 0x4ec9e5
push esi
call fcn.004eb820
push dword [ebp + 0xc]
push ebx
push eax
push esi
push str.UDPSocket:_WSARecvFrom_synchronously_returned_error__d___s__from_socket__d__hSocketOwner__d__were_not_receiving_on_this_socket_now.
push 0xa0
push str.C:_buildworker_steam_rel_client_win32_build_srccommonudpsocket.cpp
call fcn.0053aeb0
add esp, 0x20
test al, al
jne 0x4ec9e5
int3
lea eax, [ebp - 0x10]
mov dword [edi + 0x60], 0
push eax
mov ecx, 0x7e2388
mov dword [edi + 0x70], esi
call fcn.0049da50
xor edi, edi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4eca0f
push ecx
call fcn.005402e0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0
jbe 0x4ec9fd
call fcn.004e5250
test al, al
je 0x4ec9fd
mov eax, dword [ebp - 8]
mov dword [edi + 0x60], eax
mov dword [edi + 0x70], 0
mov eax, dword [0x7dfec8]
mov ecx, dword [0x7dfecc]
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], ecx
jmp 0x4ec9ff
push 0x7e23b8
call fcn.00551dda
add esp, 4
cmp dword [0x7e23b8], 0xffffffff
jne 0x4ec788
mov eax, dword [0x7dfec8]
mov ecx, dword [0x7dfecc]
push 0x7e23b8
mov dword [0x7e23b0], eax
mov dword [0x7e23b4], ecx
call fcn.00551d89
add esp, 4
jmp 0x4ec788