Function at 0x4655b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
lea edi, [ebp - 0x34]
mov ecx, 0xd
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x154]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0x1f
je 0x4655ec
jmp 0x4659a5
mov edx, dword [ebp - 0x30]
add edx, 0x1cb0
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x1eb0], edx
mov ecx, dword [ebp - 0x30]
add ecx, 0x1eb0
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x1eb0], ecx
jae 0x465633
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x1eb0]
mov byte [ecx], 0xff
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x1eb0]
add eax, 1
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x1eb0], eax
xor edx, edx
jne 0x4655fe
mov eax, dword [ebp - 0x30]
add eax, 0x1eb0
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x1eb0], eax
jae 0x46566b
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x1eb0]
mov byte [eax], 0xfa
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x1eb0]
add edx, 1
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x1eb0], edx
xor ecx, ecx
jne 0x465637
mov edx, dword [ebp - 0x30]
add edx, 0x1eb0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x1eb0], edx
jae 0x4656a4
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x1eb0]
mov byte [edx], 0x1f
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x1eb0]
add ecx, 1
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x1eb0], ecx
xor eax, eax
jne 0x46566f
mov esi, esp
mov ecx, dword [ebp - 0x30]
movzx edx, word [ecx + 0x1ca8]
push edx
call dword [sym.imp.WS2_32.dll_htons]
cmp esi, esp
call fcn.00485c0f
mov word [ebp - 0x10], ax
mov esi, esp
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax + 0x1caa]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
cmp esi, esp
call fcn.00485c0f
mov word [ebp - 0x1c], ax
lea edx, [ebp - 0x10]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x1eb0
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x1eb0], ecx
jae 0x465732
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x1eb0]
mov edx, dword [ebp - 0x24]
mov cl, byte [edx + ecx]
mov byte [eax], cl
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x1eb0]
add eax, 1
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x1eb0], eax
xor edx, edx
jne 0x4656f0
mov eax, dword [ebp - 0x30]
add eax, 0x1eb0
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x1eb0], eax
jae 0x465777
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x1eb0]
mov eax, dword [ebp - 0x24]
mov dl, byte [eax + edx]
mov byte [ecx], dl
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x1eb0]
add ecx, 1
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x1eb0], ecx
xor eax, eax
jne 0x465736
mov ecx, dword [ebp - 0x30]
add ecx, 0x1eb0
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x1eb0], ecx
jae 0x4657bd
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x1eb0]
mov edx, dword [ebp - 0x28]
mov cl, byte [edx + ecx]
mov byte [eax], cl
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x1eb0]
add eax, 1
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x1eb0], eax
xor edx, edx
jne 0x46577b
mov eax, dword [ebp - 0x30]
add eax, 0x1eb0
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x1eb0], eax
jae 0x465802
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x1eb0]
mov eax, dword [ebp - 0x28]
mov dl, byte [eax + edx]
mov byte [ecx], dl
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x1eb0]
add ecx, 1
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x1eb0], ecx
xor eax, eax
jne 0x4657c1
mov ecx, dword [ebp - 0x30]
add ecx, 0x1eb0
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x1eb0], ecx
jae 0x46583b
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x1eb0]
mov byte [ecx], 0xff
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x1eb0]
add eax, 1
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x1eb0], eax
xor edx, edx
jne 0x465806
mov eax, dword [ebp - 0x30]
add eax, 0x1eb0
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x1eb0], eax
jae 0x465873
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x1eb0]
mov byte [eax], 0xf0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x1eb0]
add edx, 1
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x1eb0], edx
xor ecx, ecx
jne 0x46583f
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x1eb0]
mov dword [edx + 0x1eb4], ecx
mov edx, dword [ebp - 0x30]
add edx, 0x1cb0
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x1eb0], edx
xor ecx, ecx
jne 0x465877
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + 0x1eb4]
sub ecx, dword [eax + 0x1eb0]
sub ecx, 2
push ecx
mov edx, dword [ebp - 0x30]
add edx, 0x1cb2
push edx
push 0x3e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00464b70
add esp, 0x10
mov esi, esp
push 0
push 3
mov ecx, dword [ebp - 0x30]
add ecx, 0x1cb0
push ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x1a8]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x46592d
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push 0x4c34a0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042abc0
add esp, 0xc
push 4
mov edx, dword [ebp - 0x30]
add edx, 0x1cb3
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004663b0
add esp, 0xc
mov esi, esp
push 0
push 2
mov ecx, dword [ebp - 0x30]
add ecx, 0x1cb7
push ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x1a8]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4659a5
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push str.Sending_data_failed___d_
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042abc0
add esp, 0xc
push edx
mov ecx, ebp
push eax
lea edx, [0x4659c8]
call fcn.00485bbb
pop eax
pop edx
pop edi
pop esi
add esp, 0x34
cmp ebp, esp
call fcn.00485c0f
mov esp, ebp
pop ebp
ret