Function at 0x4e9c70
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
cmp dword [0x82623c], 0
jne 0x4e9c83
xor eax, eax
jmp 0x4e9c96
lea eax, [ebp - 0x14]
push eax
push 6
push str.CWSARecvFrom__UDP____ioctl_FIONREAD
call fcn.0053bf90
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 0x4e9d9c
cmp dword [ebp - 4], 0xf4240
jbe 0x4e9d9c
cmp byte [0x7de06c], al
jne 0x4e9cf3
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_win32_build_srccommonudpsocket.cpp
mov byte [0x7de06c], 1
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x4e9cf3
int3
cmp dword [ebp - 4], 0x2faf080
jb 0x4e9d18
push str.CUDPSocket::ContinueRecv:_critically_behind_on_socket_reads__somethings_wrong__committing_suicide
push 0x8000005f
push str.c:_buildslave_steam_rel_client_win32_build_srccommonudpsocket.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x4e9d18
int3
mov eax, dword fs:[0x2c]
mov ecx, dword [0x8594c8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7de078]
cmp eax, dword [ecx + 0x480]
jg 0x4ea014
mov ecx, 0x7de070
call fcn.004ab5a0
test edx, edx
jl 0x4e9d9c
jg 0x4e9d4f
cmp eax, 0xf4240
jb 0x4e9d9c
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.00457a90
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.00450b30
mov eax, dword [0x7dbb40]
add esp, 0x34
mov ecx, dword [0x7dbb44]
mov dword [0x7de070], eax
mov dword [0x7de074], ecx
call fcn.005368d0
push 1
push 0
push 0x6c
mov ecx, dword [eax]
push str.c:_buildslave_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 - 0x28], 0x800
push esi
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ebx
push 0x4ea060
push 3
mov ecx, 0x7de3a0
mov dword [ebp - 0x24], esi
call fcn.004ed910
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.0054f8a0
add esp, 0xc
lea ebx, [ebx]
cmp dword [0x82623c], 0
mov dword [ebp - 8], 0
jne 0x4e9e34
xor eax, eax
jmp 0x4e9e47
lea eax, [ebp - 0xc]
push eax
push 6
push str.CWSARecvFrom__UDP_____raw_::WSARecvFrom
call fcn.0053bf90
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.004dedf0
mov ecx, dword [ebp - 0xc]
add esp, 0x1c
mov esi, eax
test ecx, ecx
je 0x4e9e77
push ecx
call fcn.0053bf50
add esp, 4
add dword [0x7dda98], 1
adc dword [0x7dda9c], 0
test esi, esi
je 0x4e9fe5
push esi
call fcn.004ace90
add esp, 4
test al, al
jne 0x4e9efe
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.00450b30
mov esi, dword [ebp - 0x1c]
add esp, 0x2c
jmp 0x4e9e20
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
push eax
mov dword [ebp - 0x20], eax
call fcn.004ae150
add esp, 4
test eax, eax
jne 0x4e9f8a
push dword [ebp - 0x20]
call fcn.004ae0f0
add esp, 4
test eax, eax
jne 0x4e9f8a
push esi
call fcn.004e8df0
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.00450b30
add esp, 0x3c
jmp 0x4e9fb2
push esi
call fcn.004e8df0
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_win32_build_srccommonudpsocket.cpp
call fcn.00536d20
add esp, 0x20
test al, al
jne 0x4e9fb2
int3
lea eax, [ebp - 0x10]
mov dword [edi + 0x60], 0
push eax
mov ecx, 0x7de048
mov dword [edi + 0x70], esi
call fcn.0049cd40
xor edi, edi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4e9fdc
push ecx
call fcn.0053bf50
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0
jbe 0x4e9fca
call fcn.004e2ca0
test al, al
je 0x4e9fca
mov eax, dword [ebp - 8]
mov dword [edi + 0x60], eax
mov dword [edi + 0x70], 0
mov eax, dword [0x7dbb40]
mov ecx, dword [0x7dbb44]
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], ecx
jmp 0x4e9fcc
push 0x7de078
call fcn.0054d6c1
add esp, 4
cmp dword [0x7de078], 0xffffffff
jne 0x4e9d38
mov eax, dword [0x7dbb40]
mov ecx, dword [0x7dbb44]
push 0x7de078
mov dword [0x7de070], eax
mov dword [0x7de074], ecx
call fcn.0054d677
add esp, 4
jmp 0x4e9d38