Function at 0x469aee
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x469b7d
mov dword [ebp - 4], 0x80203bfd
cmp dword [ebp + 0x14], 0
je 0x469b72
cmp dword [ebp + 0x14], 0xffffe7e0
je 0x469b72
mov dword [esp + 4], 2
mov eax, dword [ebp + 0x14]
add eax, 0x1820
mov dword [esp], eax
call fcn.00461239
test eax, eax
je 0x469b72
call sub.WS2_32.DLL_WSAGetLastError
mov edx, eax
mov eax, dword [ebp - 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str.RvSocketSetBuffers_sockNULL_sendSize_d_recvSize_d_errno_d__d
mov eax, dword [ebp + 0x14]
add eax, 0x1820
mov dword [esp], eax
call fcn.0046157e
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
jmp 0x469d4a
cmp dword [ebp + 0x14], 0
je 0x469bd7
cmp dword [ebp + 0x14], 0xffffe7e0
je 0x469bd7
mov dword [esp + 4], 0x20
mov eax, dword [ebp + 0x14]
add eax, 0x1820
mov dword [esp], eax
call fcn.00461239
test eax, eax
je 0x469bd7
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str.RvSocketSetBuffers_socket_d_sendSize_d_recvSize_d_
mov eax, dword [ebp + 0x14]
add eax, 0x1820
mov dword [esp], eax
call fcn.00461652
cmp dword [ebp + 0x10], 0
js 0x469c1d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [esp + 0x10], 4
lea eax, [ebp - 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1002
mov dword [esp + 4], 0xffff
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call sub.WS2_32.DLL_setsockopt
sub esp, 0x14
test eax, eax
je 0x469c1d
mov dword [ebp - 4], 0x80203bff
cmp dword [ebp + 0xc], 0
js 0x469c63
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [esp + 0x10], 4
lea eax, [ebp - 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1001
mov dword [esp + 4], 0xffff
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call sub.WS2_32.DLL_setsockopt
sub esp, 0x14
test eax, eax
je 0x469c63
mov dword [ebp - 4], 0x80203bff
cmp dword [ebp - 4], 0
jne 0x469cd8
cmp dword [ebp + 0x14], 0
je 0x469d44
cmp dword [ebp + 0x14], 0xffffe7e0
je 0x469d44
mov dword [esp + 4], 0x40
mov eax, dword [ebp + 0x14]
add eax, 0x1820
mov dword [esp], eax
call fcn.00461239
test eax, eax
je 0x469d44
mov eax, dword [ebp - 4]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str.RvSocketSetBuffers_socket_d_sendSize_d_recvSize_d__d
mov eax, dword [ebp + 0x14]
add eax, 0x1820
mov dword [esp], eax
call fcn.00461687
jmp 0x469d44
cmp dword [ebp + 0x14], 0
je 0x469d44
cmp dword [ebp + 0x14], 0xffffe7e0
je 0x469d44
mov dword [esp + 4], 2
mov eax, dword [ebp + 0x14]
add eax, 0x1820
mov dword [esp], eax
call fcn.00461239
test eax, eax
je 0x469d44
call sub.WS2_32.DLL_WSAGetLastError
mov edx, eax
mov eax, dword [ebp - 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str.RvSocketSetBuffers_sock_d_sendSize_d_recvSize_d_errno_d__d
mov eax, dword [ebp + 0x14]
add eax, 0x1820
mov dword [esp], eax
call fcn.0046157e
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
leave
ret