Function at 0x4e9ac0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
cmp dword [0x8240e4], 0
jne 0x4e9ad3
xor eax, eax
jmp 0x4e9ae6
lea eax, [ebp - 0x14]
push eax
push 6
push str.CWSARecvFrom__UDP____ioctl_FIONREAD
call fcn.0053be40
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 0x4e9bec
cmp dword [ebp - 4], 0xf4240
jbe 0x4e9bec
cmp byte [0x7dbfac], al
jne 0x4e9b43
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 [0x7dbfac], 1
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4e9b43
int3
cmp dword [ebp - 4], 0x2faf080
jb 0x4e9b68
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.00536b70
add esp, 0xc
test al, al
jne 0x4e9b68
int3
mov eax, dword fs:[0x2c]
mov ecx, dword [0x857378]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7dbfb8]
cmp eax, dword [ecx + 0x480]
jg 0x4e9e64
mov ecx, 0x7dbfb0
call fcn.004ab560
test edx, edx
jl 0x4e9bec
jg 0x4e9b9f
cmp eax, 0xf4240
jb 0x4e9bec
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.00457a70
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.00450b10
mov eax, dword [0x7d9a80]
add esp, 0x34
mov ecx, dword [0x7d9a84]
mov dword [0x7dbfb0], eax
mov dword [0x7dbfb4], ecx
call fcn.00536730
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 0x4e9eb0
push 3
mov ecx, 0x7dc2e0
mov dword [ebp - 0x24], esi
call fcn.004ed740
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.0054f880
add esp, 0xc
lea ebx, [ebx]
cmp dword [0x8240e4], 0
mov dword [ebp - 8], 0
jne 0x4e9c84
xor eax, eax
jmp 0x4e9c97
lea eax, [ebp - 0xc]
push eax
push 6
push str.CWSARecvFrom__UDP_____raw_::WSARecvFrom
call fcn.0053be40
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.004decd0
mov ecx, dword [ebp - 0xc]
add esp, 0x1c
mov esi, eax
test ecx, ecx
je 0x4e9cc7
push ecx
call fcn.0053be00
add esp, 4
add dword [0x7db9d8], 1
adc dword [0x7db9dc], 0
test esi, esi
je 0x4e9e35
push esi
call fcn.004ace50
add esp, 4
test al, al
jne 0x4e9d4e
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.00450b10
mov esi, dword [ebp - 0x1c]
add esp, 0x2c
jmp 0x4e9c70
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
push eax
mov dword [ebp - 0x20], eax
call fcn.004ae110
add esp, 4
test eax, eax
jne 0x4e9dda
push dword [ebp - 0x20]
call fcn.004ae0b0
add esp, 4
test eax, eax
jne 0x4e9dda
push esi
call fcn.004e8c40
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.00450b10
add esp, 0x3c
jmp 0x4e9e02
push esi
call fcn.004e8c40
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.00536b80
add esp, 0x20
test al, al
jne 0x4e9e02
int3
lea eax, [ebp - 0x10]
mov dword [edi + 0x60], 0
push eax
mov ecx, 0x7dbf88
mov dword [edi + 0x70], esi
call fcn.0049cd30
xor edi, edi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4e9e2c
push ecx
call fcn.0053be00
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0
jbe 0x4e9e1a
call fcn.004e2b00
test al, al
je 0x4e9e1a
mov eax, dword [ebp - 8]
mov dword [edi + 0x60], eax
mov dword [edi + 0x70], 0
mov eax, dword [0x7d9a80]
mov ecx, dword [0x7d9a84]
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], ecx
jmp 0x4e9e1c
push 0x7dbfb8
call fcn.0054d6a1
add esp, 4
cmp dword [0x7dbfb8], 0xffffffff
jne 0x4e9b88
mov eax, dword [0x7d9a80]
mov ecx, dword [0x7d9a84]
push 0x7dbfb8
mov dword [0x7dbfb0], eax
mov dword [0x7dbfb4], ecx
call fcn.0054d657
add esp, 4
jmp 0x4e9b88