Function at 0x466930
Capabilities:
Access peb ldr_data
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b82ec
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x6c], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 0xc]
mov dword [ebp - 4], 0
mov dword [edi], vtable.TcpIpMessageChannel.0
mov dword [edi + 4], eax
mov word [edi + 8], 0
mov byte [edi + 0xa], 0
mov dword [ebp - 0x60], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0056eed3
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 1
call fcn.00436b10
lea ecx, [edi + 0x28]
call fcn.00436b10
mov eax, dword [0x61fba0]
mov ecx, edi
push eax
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 1
call fcn.00466750
push 4
lea eax, [ebp - 0x64]
push eax
push 8
push 0xffff
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x466ab6
sub esp, 8
lea ecx, [ebp - 0x124]
call fcn.00443510
mov edx, str.TCP_snd_setsockopt_error:_SO_KEEPALIVE
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x114]
call fcn.00449a40
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x124]
call fcn.004433d0
push 0x31
mov edx, str.messagechannel.cpp
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004c2da0
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x466aa7
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x466a9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466c40
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0043aef0
push 4
lea eax, [ebp - 0x68]
push eax
push 1
push 6
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x466b5e
sub esp, 8
lea ecx, [ebp - 0x1d4]
call fcn.00443510
mov edx, str.TCP_snd_setsockopt_error:_TCP_NODELAY
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c4]
call fcn.00449a40
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.004433d0
push 0x35
mov edx, str.messagechannel.cpp
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.004c2da0
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x466b4f
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x466b45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466c45
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 1
call fcn.0043aef0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 1
push eax
push 0x8004667e
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x466c0e
sub esp, 8
lea ecx, [ebp - 0x284]
call fcn.00443510
mov byte [ebp - 4], 6
mov edx, str.TCP_snd_ioctlsocket_error
push dword [edi + 4]
push ecx
lea ecx, [ebp - 0x274]
call fcn.00449a40
add esp, 4
mov ecx, eax
call fcn.00443c10
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x284]
call fcn.004433d0
push 0x3a
mov edx, str.messagechannel.cpp
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x48]
add esp, 4
cmp edx, 0x10
jb 0x466c03
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x466bf9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466c4a
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x284]
call fcn.0043aef0
lea ecx, [ebp - 0x74]
call fcn.00436b10
mov ecx, dword [eax]
mov dword [edi + 0x20], ecx
mov ecx, dword [eax + 4]
mov eax, edi
mov dword [edi + 0x24], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret 4
call fcn.00591dc6
call fcn.00591dc6
call fcn.00591dc6
int3