Function at 0x4e9ad0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
cmp dword [0x823134], 0
jne 0x4e9ae3
xor eax, eax
jmp 0x4e9af6
lea eax, [ebp - 0x14]
push eax
push 6
push str.CWSARecvFrom__UDP____ioctl_FIONREAD
call fcn.00539730
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 0x4e9bfc
cmp dword [ebp - 4], 0xf4240
jbe 0x4e9bfc
cmp byte [0x7daf6c], al
jne 0x4e9b53
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 [0x7daf6c], 1
call fcn.00534490
add esp, 0xc
test al, al
jne 0x4e9b53
int3
cmp dword [ebp - 4], 0x2faf080
jb 0x4e9b78
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.00534490
add esp, 0xc
test al, al
jne 0x4e9b78
int3
mov eax, dword fs:[0x2c]
mov ecx, dword [0x8563e0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7daf78]
cmp eax, dword [ecx + 0x480]
jg 0x4e9e74
mov ecx, 0x7daf70
call fcn.004ab5e0
test edx, edx
jl 0x4e9bfc
jg 0x4e9baf
cmp eax, 0xf4240
jb 0x4e9bfc
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 [0x7d8a40]
add esp, 0x34
mov ecx, dword [0x7d8a44]
mov dword [0x7daf70], eax
mov dword [0x7daf74], ecx
call fcn.00534050
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 0x4e9ec0
push 3
mov ecx, 0x7db2a0
mov dword [ebp - 0x24], esi
call fcn.004ed760
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.0054cfa0
add esp, 0xc
lea ebx, [ebx]
cmp dword [0x823134], 0
mov dword [ebp - 8], 0
jne 0x4e9c94
xor eax, eax
jmp 0x4e9ca7
lea eax, [ebp - 0xc]
push eax
push 6
push str.CWSARecvFrom__UDP_____raw_::WSARecvFrom
call fcn.00539730
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.004dec70
mov ecx, dword [ebp - 0xc]
add esp, 0x1c
mov esi, eax
test ecx, ecx
je 0x4e9cd7
push ecx
call fcn.005396f0
add esp, 4
add dword [0x7da998], 1
adc dword [0x7da99c], 0
test esi, esi
je 0x4e9e45
push esi
call fcn.004aced0
add esp, 4
test al, al
jne 0x4e9d5e
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 0x4e9c80
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
push eax
mov dword [ebp - 0x20], eax
call fcn.004ae190
add esp, 4
test eax, eax
jne 0x4e9dea
push dword [ebp - 0x20]
call fcn.004ae130
add esp, 4
test eax, eax
jne 0x4e9dea
push esi
call fcn.004e8c50
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 0x4e9e12
push esi
call fcn.004e8c50
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.005344b0
add esp, 0x20
test al, al
jne 0x4e9e12
int3
lea eax, [ebp - 0x10]
mov dword [edi + 0x60], 0
push eax
mov ecx, 0x7daf48
mov dword [edi + 0x70], esi
call fcn.0049cd70
xor edi, edi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4e9e3c
push ecx
call fcn.005396f0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0
jbe 0x4e9e2a
call fcn.004e2b00
test al, al
je 0x4e9e2a
mov eax, dword [ebp - 8]
mov dword [edi + 0x60], eax
mov dword [edi + 0x70], 0
mov eax, dword [0x7d8a40]
mov ecx, dword [0x7d8a44]
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], ecx
jmp 0x4e9e2c
push 0x7daf78
call fcn.0054adc1
add esp, 4
cmp dword [0x7daf78], 0xffffffff
jne 0x4e9b98
mov eax, dword [0x7d8a40]
mov ecx, dword [0x7d8a44]
push 0x7daf78
mov dword [0x7daf70], eax
mov dword [0x7daf74], ecx
call fcn.0054ad77
add esp, 4
jmp 0x4e9b98