Function at 0x5e6c40
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 + 0x13c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0x1f
je 0x5e6c7d
jmp 0x5e7036
mov edx, dword [ebp - 0x2c]
add edx, 0x1cb4
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x1eb4], edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1eb4
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x1eb4], ecx
jae 0x5e6cc4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1eb4]
mov byte [ecx], 0xff
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1eb4]
add eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x1eb4], eax
xor edx, edx
jne 0x5e6c8f
mov eax, dword [ebp - 0x2c]
add eax, 0x1eb4
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x1eb4], eax
jae 0x5e6cfc
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1eb4]
mov byte [eax], 0xfa
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x1eb4]
add edx, 1
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x1eb4], edx
xor ecx, ecx
jne 0x5e6cc8
mov edx, dword [ebp - 0x2c]
add edx, 0x1eb4
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x1eb4], edx
jae 0x5e6d35
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x1eb4]
mov byte [edx], 0x1f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1eb4]
add ecx, 1
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x1eb4], ecx
xor eax, eax
jne 0x5e6d00
mov esi, esp
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + 0x1ca8]
push edx
call dword [sym.imp.WS2_32.dll_htons]
cmp esi, esp
call fcn.00516fe7
mov word [ebp - 0x10], ax
mov esi, esp
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 0x1caa]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
cmp esi, esp
call fcn.00516fe7
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 - 0x2c]
add ecx, 0x1eb4
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x1eb4], ecx
jae 0x5e6dc3
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1eb4]
mov edx, dword [ebp - 0x24]
mov cl, byte [edx + ecx]
mov byte [eax], cl
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1eb4]
add eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x1eb4], eax
xor edx, edx
jne 0x5e6d81
mov eax, dword [ebp - 0x2c]
add eax, 0x1eb4
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x1eb4], eax
jae 0x5e6e08
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1eb4]
mov eax, dword [ebp - 0x24]
mov dl, byte [eax + edx]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1eb4]
add ecx, 1
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x1eb4], ecx
xor eax, eax
jne 0x5e6dc7
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1eb4
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x1eb4], ecx
jae 0x5e6e4e
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1eb4]
mov edx, dword [ebp - 0x28]
mov cl, byte [edx + ecx]
mov byte [eax], cl
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1eb4]
add eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x1eb4], eax
xor edx, edx
jne 0x5e6e0c
mov eax, dword [ebp - 0x2c]
add eax, 0x1eb4
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x1eb4], eax
jae 0x5e6e93
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1eb4]
mov eax, dword [ebp - 0x28]
mov dl, byte [eax + edx]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1eb4]
add ecx, 1
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x1eb4], ecx
xor eax, eax
jne 0x5e6e52
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1eb4
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x1eb4], ecx
jae 0x5e6ecc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1eb4]
mov byte [ecx], 0xff
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1eb4]
add eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x1eb4], eax
xor edx, edx
jne 0x5e6e97
mov eax, dword [ebp - 0x2c]
add eax, 0x1eb4
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x1eb4], eax
jae 0x5e6f04
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1eb4]
mov byte [eax], 0xf0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x1eb4]
add edx, 1
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x1eb4], edx
xor ecx, ecx
jne 0x5e6ed0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1eb4]
mov dword [edx + 0x1eb8], ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x1cb4
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x1eb4], edx
xor ecx, ecx
jne 0x5e6f08
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x1eb8]
sub ecx, dword [eax + 0x1eb4]
sub ecx, 2
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x1cb6
push edx
push 0x3e
mov eax, dword [ebp + 8]
push eax
call fcn.005e6210
add esp, 0x10
mov esi, esp
push 0
push 3
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1cb4
push ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + eax + 0x158]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.00516fe7
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x5e6fbe
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.00516fe7
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push 0x79f780
mov ecx, dword [ebp + 8]
push ecx
call fcn.00518f9a
add esp, 0xc
push 4
mov edx, dword [ebp - 0x2c]
add edx, 0x1cb7
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005e77e0
add esp, 0xc
mov esi, esp
push 0
push 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1cbb
push ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + eax + 0x158]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.00516fe7
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x5e7036
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.00516fe7
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push str.Sending_data_failed___d_
mov ecx, dword [ebp + 8]
push ecx
call fcn.00518f9a
add esp, 0xc
push edx
mov ecx, ebp
push eax
lea edx, [0x5e7058]
call fcn.005163b2
pop eax
pop edx
pop edi
pop esi
add esp, 0x34
cmp ebp, esp
call fcn.00516fe7
mov esp, ebp
pop ebp
ret