Function at 0x4e6400
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
cmp dword [0x805174], 0
jne 0x4e6413
xor eax, eax
jmp 0x4e6426
lea eax, [ebp - 0x14]
push eax
push 6
push str.CWSARecvFrom__UDP____ioctl_FIONREAD
call fcn.00526610
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 0x4e652c
cmp dword [ebp - 4], 0xf4240
jbe 0x4e652c
cmp byte [0x7bd2ac], al
jne 0x4e6483
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 [0x7bd2ac], 1
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4e6483
int3
cmp dword [ebp - 4], 0x2faf080
jb 0x4e64a8
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.00522050
add esp, 0xc
test al, al
jne 0x4e64a8
int3
mov eax, dword fs:[0x2c]
mov ecx, dword [0x838428]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7bd2b8]
cmp eax, dword [ecx + 0x480]
jg 0x4e67a4
mov ecx, 0x7bd2b0
call fcn.004aa8e0
test edx, edx
jl 0x4e652c
jg 0x4e64df
cmp eax, 0xf4240
jb 0x4e652c
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.00457a50
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.00450b00
mov eax, dword [0x7bad70]
add esp, 0x34
mov ecx, dword [0x7bad74]
mov dword [0x7bd2b0], eax
mov dword [0x7bd2b4], ecx
call fcn.00521c10
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 0x4e67f0
push 3
mov ecx, 0x7bd5d0
mov dword [ebp - 0x24], esi
call fcn.004ea080
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.0053aa50
add esp, 0xc
lea ebx, [ebx]
cmp dword [0x805174], 0
mov dword [ebp - 8], 0
jne 0x4e65c4
xor eax, eax
jmp 0x4e65d7
lea eax, [ebp - 0xc]
push eax
push 6
push str.CWSARecvFrom__UDP_____raw_::WSARecvFrom
call fcn.00526610
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.004db670
mov ecx, dword [ebp - 0xc]
add esp, 0x1c
mov esi, eax
test ecx, ecx
je 0x4e6607
push ecx
call fcn.005265a0
add esp, 4
add dword [0x7bcd0c], 1
adc dword [0x7bcd10], 0
test esi, esi
je 0x4e6775
push esi
call fcn.004ac1c0
add esp, 4
test al, al
jne 0x4e668e
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.00450b00
mov esi, dword [ebp - 0x1c]
add esp, 0x2c
jmp 0x4e65b0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
push eax
mov dword [ebp - 0x20], eax
call fcn.004ad340
add esp, 4
test eax, eax
jne 0x4e671a
push dword [ebp - 0x20]
call fcn.004ad2e0
add esp, 4
test eax, eax
jne 0x4e671a
push esi
call fcn.004e5580
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.00450b00
add esp, 0x3c
jmp 0x4e6742
push esi
call fcn.004e5580
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.00522070
add esp, 0x20
test al, al
jne 0x4e6742
int3
lea eax, [ebp - 0x10]
mov dword [edi + 0x60], 0
push eax
mov ecx, 0x7bd288
mov dword [edi + 0x70], esi
call fcn.0049c3b0
xor edi, edi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4e676c
push ecx
call fcn.005265a0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0
jbe 0x4e675a
call fcn.004df3b0
test al, al
je 0x4e675a
mov eax, dword [ebp - 8]
mov dword [edi + 0x60], eax
mov dword [edi + 0x70], 0
mov eax, dword [0x7bad70]
mov ecx, dword [0x7bad74]
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], ecx
jmp 0x4e675c
push 0x7bd2b8
call fcn.00538861
add esp, 4
cmp dword [0x7bd2b8], 0xffffffff
jne 0x4e64c8
mov eax, dword [0x7bad70]
mov ecx, dword [0x7bad74]
push 0x7bd2b8
mov dword [0x7bd2b0], eax
mov dword [0x7bd2b4], ecx
call fcn.00538817
add esp, 4
jmp 0x4e64c8