Function at 0x46edd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8467
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0
push edi
push dword [ebp + 8]
mov dword [ebp - 0x60], esi
push dword [esi + 0x44]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x46f00e
fild dword [esi + 0x44]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3c], al
mov eax, dword [str.socket]
mov dword [ebp - 0x3c], eax
mov ax, word [0x5e8374]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 6
mov word [ebp - 0x38], ax
mov byte [ebp - 0x36], 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xc4]
call fcn.00447260
fld qword [ebp - 0x44]
mov dword [ebp - 0xac], 0
fstp qword [ebp - 0x94]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
mov byte [ebp - 0x8c], 0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x84]
push eax
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004456c0
push 0x40
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0044a110
mov ecx, 0xc
mov dword [ebp - 0x4c], 0x30
mov esi, str.The_connection_has_been_gracefully_closed_for_
mov dword [ebp - 0x48], 0x3f
mov edi, eax
mov dword [ebp - 0x5c], eax
rep movsd dword es:[edi], dword [esi]
mov byte [eax + 0x30], 0
mov eax, dword [str.tcp_graceful]
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x24], eax
mov eax, dword [0x5e9990]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5e9994]
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 4
push eax
push 0x94
lea eax, [ebp - 0x5c]
xor ecx, ecx
push str.MessageChannel.cpp
push eax
lea edx, [ebp - 0x24]
call fcn.004d4b60
mov byte [ebp - 4], 3
add esp, 0x10
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x10
jb 0x46ef66
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46ef5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f329
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x46ef9e
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46ef94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f329
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x6c]
call fcn.00449240
push fcn.00438e00
push 1
push 0x40
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0
push eax
call fcn.00583d37
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x46eff3
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46efe9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f329
push ecx
push edx
call fcn.00583877
add esp, 8
mov eax, dword [ebp - 0x60]
pop edi
pop esi
mov byte [eax + 6], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xffffffff
jne 0x46f314
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2733
je 0x46f300
fild dword [esi + 0x44]
mov eax, dword [str.socket]
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x5c], eax
movzx eax, word [0x5e8374]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 6
mov word [ebp - 0x58], ax
mov byte [ebp - 0x56], 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp - 0x104]
call fcn.00447260
fld qword [ebp - 0x44]
mov dword [ebp - 0xec], 0
fstp qword [ebp - 0xd4]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov byte [ebp - 0xcc], 0
call edi
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
mov eax, dword [str.error]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x3c], eax
movzx eax, byte [0x5e7ec4]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 5
mov byte [ebp - 0x38], al
mov byte [ebp - 0x37], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xc4]
call fcn.00447260
fld qword [ebp - 0x44]
mov dword [ebp - 0xac], 0
fstp qword [ebp - 0x94]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
mov byte [ebp - 0x8c], 0
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 9
push ecx
lea eax, [ebp - 0x84]
push eax
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004456c0
push 0x20
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.0044a110
mov ecx, dword [str.Shutdown__with_]
mov edx, eax
mov dword [ebp - 0x74], 0x13
mov dword [ebp - 0x70], 0x1f
mov dword [edx], ecx
mov ecx, dword [0x5e99e4]
mov dword [edx + 4], ecx
mov ecx, dword [0x5e99e8]
mov dword [edx + 8], ecx
mov eax, dword [0x5e99ec]
mov dword [edx + 0xc], eax
movzx eax, word [0x5e99f0]
mov word [edx + 0x10], ax
movzx eax, byte [0x5e99f2]
mov byte [edx + 0x12], al
mov byte [edx + 0x13], 0
mov dword [ebp - 0x84], edx
mov eax, dword [str.tcp_shutdown]
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x24], eax
mov eax, dword [0x5e99d4]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5e99d8]
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
push eax
push 0x9a
lea eax, [ebp - 0x84]
mov ecx, 2
push str.MessageChannel.cpp
push eax
lea edx, [ebp - 0x24]
call fcn.004d4b60
mov byte [ebp - 4], 0xb
add esp, 0x10
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x10
jb 0x46f240
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46f236
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f32e
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x46f27b
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46f271
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f32e
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x6c]
call fcn.00449240
push fcn.00438e00
push 2
push 0x40
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 8
push eax
call fcn.00583d37
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x46f2cc
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46f2c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f32e
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x46f2fc
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46f2f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f32e
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [esi + 5], 1
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
add dword [esi + 0x34], edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.00591c98
call fcn.00591c98
int3