Function at 0x466d80
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8320
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x28]
mov dword [esi], vtable.TcpIpMessageChannel.0
push eax
lea ecx, [ebp - 0x40]
call fcn.00436b10
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00449dc0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], ecx
push ecx
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x34], eax
call fcn.00443510
fild qword [ebp - 0x38]
push dword [esi + 0x30]
fmul dword [0x5f7a40]
push dword [esi + 0x34]
call fcn.0056fcf0
push eax
push dword [esi + 4]
mov edx, str.Socket
lea ecx, [ebp - 0xe8]
call fcn.00449a40
mov ecx, eax
call fcn.00443c10
mov edx, str._lifetime:
mov ecx, eax
call fcn.00449a40
mov ecx, eax
call fcn.00443c10
mov edx, str.__recv:
mov ecx, eax
call fcn.00449a40
mov ecx, eax
call fcn.00443c10
mov edx, str.__sent:
mov ecx, eax
call fcn.00449a40
mov ecx, eax
call fcn.00443c10
push 0x41
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf8]
call fcn.004433d0
mov edx, str.messagechannel.cpp
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x466e9e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x466e94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46700e
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0xf8]
call fcn.0043aef0
cmp byte [esi + 0xa], 0
jne 0x466ef1
push 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x10001
push eax
push 0x80
push 0xffff
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0x8004667e
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x466f73
mov edx, ecx
lea ebx, [ebx]
mov eax, dword [esi + 0x18]
dec eax
add ecx, eax
mov eax, dword [esi + 0x14]
dec eax
and ecx, eax
mov eax, dword [esi + 0x10]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi + 4]
test eax, eax
je 0x466f5e
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp ecx, 0x1000
jb 0x466f3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46700e
mov eax, edx
push ecx
push eax
call fcn.0056eec5
mov dword [edi + 4], 0
add esp, 8
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov edx, dword [esi + 0x1c]
lea eax, [edx - 1]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x466f6b
mov dword [esi + 0x18], eax
mov ecx, eax
mov edx, eax
test ecx, ecx
jne 0x466f00
mov edi, dword [esi + 0x14]
test edi, edi
je 0x466f9a
lea ebx, [ebx]
mov eax, dword [esi + 0x10]
dec edi
mov eax, dword [eax + edi*4]
test eax, eax
je 0x466f96
push 0x10
push eax
call fcn.0056eec5
add esp, 8
test edi, edi
jne 0x466f80
mov eax, dword [esi + 0x10]
test eax, eax
je 0x466fcb
mov ecx, dword [esi + 0x14]
shl ecx, 2
cmp ecx, 0x1000
jb 0x466fc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46700e
mov eax, edx
push ecx
push eax
call fcn.0056eec5
add esp, 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
push 8
push dword [esi + 0xc]
call fcn.0056eec5
mov dword [esi + 0xc], 0
add esp, 8
mov dword [esi], vtable.MessageChannel.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret
call fcn.00591dc6
int3