Function at 0x4e95b0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
cmp dword [0x823074], 0
jne 0x4e95c3
xor eax, eax
jmp 0x4e95d6
lea eax, [ebp - 0x14]
push eax
push 6
push str.CWSARecvFrom__UDP____ioctl_FIONREAD
call fcn.00539280
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 0x4e96dc
cmp dword [ebp - 4], 0xf4240
jbe 0x4e96dc
cmp byte [0x7daeac], al
jne 0x4e9633
push str.CUDPSocket::ContinueRecv:_more_than_1_million_bytes_to_read_from_socket__are_we_falling_behind_
push 0x5d
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonudpsocket.cpp
mov byte [0x7daeac], 1
call fcn.00533fe0
add esp, 0xc
test al, al
jne 0x4e9633
int3
cmp dword [ebp - 4], 0x2faf080
jb 0x4e9658
push str.CUDPSocket::ContinueRecv:_critically_behind_on_socket_reads__somethings_wrong__committing_suicide
push 0x8000005f
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonudpsocket.cpp
call fcn.00533fe0
add esp, 0xc
test al, al
jne 0x4e9658
int3
mov eax, dword fs:[0x2c]
mov ecx, dword [0x856320]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7daeb8]
cmp eax, dword [ecx + 0x480]
jg 0x4e9954
mov ecx, 0x7daeb0
call fcn.004ab640
test edx, edx
jl 0x4e96dc
jg 0x4e968f
cmp eax, 0xf4240
jb 0x4e96dc
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.00457ad0
push 0xf4240
push dword [ebp - 4]
push ebx
push str.UDP_Socket__i_too_full___d_bytes__warning_limit__d__n
lea ecx, [eax + 0x20]
push ecx
lea ecx, [eax + 8]
push ecx
push eax
push 1
push 3
push 1
push 0xb
push 0
push 0
call fcn.00450b80
mov eax, dword [0x7d8980]
add esp, 0x34
mov ecx, dword [0x7d8984]
mov dword [0x7daeb0], eax
mov dword [0x7daeb4], ecx
call fcn.00533ba0
push 1
push 0
push 0x6c
mov ecx, dword [eax]
push str.c:_buildslave_steam_rel_client_hotfix_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 - 0x28], 0x800
push esi
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ebx
push 0x4e99a0
push 3
mov ecx, 0x7db1e0
mov dword [ebp - 0x24], esi
call fcn.004ed230
mov ecx, eax
mov eax, dword [ebp + 0xc]
push 0x80
push 0
mov dword [ebp - 0x20], ecx
mov dword [ecx + 0x24], eax
lea eax, [esi + 0x880]
add esi, 0x800
mov dword [ebp - 0x10], ecx
push esi
mov dword [ebp - 0x18], eax
mov dword [eax], 0x80
mov dword [ebp - 0x1c], esi
call fcn.0054caf0
add esp, 0xc
lea ebx, [ebx]
cmp dword [0x823074], 0
mov dword [ebp - 8], 0
jne 0x4e9774
xor eax, eax
jmp 0x4e9787
lea eax, [ebp - 0xc]
push eax
push 6
push str.CWSARecvFrom__UDP_____raw_::WSARecvFrom
call fcn.00539280
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 - 0x28]
push esi
push 1
push eax
push ebx
call fcn.004de850
mov ecx, dword [ebp - 0xc]
add esp, 0x1c
mov esi, eax
test ecx, ecx
je 0x4e97b7
push ecx
call fcn.00539240
add esp, 4
add dword [0x7da8d8], 1
adc dword [0x7da8dc], 0
test esi, esi
je 0x4e9925
push esi
call fcn.004acf30
add esp, 4
test al, al
jne 0x4e983e
and dword [ebp - 0x4c], 0xff0fffff
push esi
mov byte [ebp - 0x49], al
xor eax, eax
and dword [ebp - 0x4c], 0xfff00000
push str.UDPSocket:_WSARecvFrom_returned_benign_error__d__retrying_n
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x50], 0
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x34], 3
push eax
push 1
push 4
push 0
push 0xb
push 0
push 0
call fcn.00450b80
mov esi, dword [ebp - 0x1c]
add esp, 0x2c
jmp 0x4e9760
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
push eax
mov dword [ebp - 0x20], eax
call fcn.004ae1f0
add esp, 4
test eax, eax
jne 0x4e98ca
push dword [ebp - 0x20]
call fcn.004ae190
add esp, 4
test eax, eax
jne 0x4e98ca
push esi
call fcn.004e8730
push dword [ebp + 0xc]
and dword [ebp - 0x74], 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 - 0x58]
mov byte [ebp - 0x71], 0
and dword [ebp - 0x74], 0xfff00000
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x78], 0
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x70], ecx
push eax
push 1
push 3
push ecx
push 0xb
push ecx
push ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], 3
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
call fcn.00450b80
add esp, 0x3c
jmp 0x4e98f2
push esi
call fcn.004e8730
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:_buildslave_steam_rel_client_hotfix_win32_build_srccommonudpsocket.cpp
call fcn.00534000
add esp, 0x20
test al, al
jne 0x4e98f2
int3
lea eax, [ebp - 0x10]
mov dword [edi + 0x60], 0
push eax
mov ecx, 0x7dae88
mov dword [edi + 0x70], esi
call fcn.0049cd70
xor edi, edi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4e991c
push ecx
call fcn.00539240
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0
jbe 0x4e990a
call fcn.004e25b0
test al, al
je 0x4e990a
mov eax, dword [ebp - 8]
mov dword [edi + 0x60], eax
mov dword [edi + 0x70], 0
mov eax, dword [0x7d8980]
mov ecx, dword [0x7d8984]
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], ecx
jmp 0x4e990c
push 0x7daeb8
call fcn.0054a911
add esp, 4
cmp dword [0x7daeb8], 0xffffffff
jne 0x4e9678
mov eax, dword [0x7d8980]
mov ecx, dword [0x7d8984]
push 0x7daeb8
mov dword [0x7daeb0], eax
mov dword [0x7daeb4], ecx
call fcn.0054a8c7
add esp, 4
jmp 0x4e9678