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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
mov eax, dword [0x9d5230]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7f
lea eax, [ebp - 0x103]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x104], 0
call fcn.00936130
push 0x7f
lea ecx, [ebp - 0x83]
push 0
push ecx
mov byte [ebp - 0x84], 0
call fcn.00936130
mov ebx, dword [esi + 0x134]
mov edx, dword [ebx + 0x1eb8]
sub edx, dword [ebx + 0x1eb4]
mov edi, dword [esi + 0xc]
add edx, 2
push edx
lea ecx, [ebx + 0x1cb4]
mov eax, 0x3c
mov dword [ebp - 0x90c], edi
call fcn.0096e610
mov eax, dword [ebx + 0x1eb4]
movzx ecx, byte [eax]
inc eax
add esp, 0x1c
mov dword [ebx + 0x1eb4], eax
cmp ecx, 0x18
je 0x96ee2d
cmp ecx, 0x23
je 0x96ee0a
cmp ecx, 0x27
jne 0x96eebd
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.00960c60
mov ebx, dword [ebx + 0x1cb0]
add esp, 0x1c
mov edi, 4
test ebx, ebx
je 0x96eda1
lea esp, [esp]
mov eax, dword [ebx]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x96ece5
sub eax, edx
lea ecx, [eax + edi + 1]
cmp ecx, 0x7fa
jae 0x96ed96
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x908]
push eax
lea ecx, [ebp - 0x104]
push ecx
mov byte [ebp - 0x84], 0
mov edx, dword [ebx]
push str._127____1____127s
push edx
mov word [ebp - 0x908], 0
call fcn.00995269
add esp, 0x14
cmp eax, 1
jne 0x96ed60
lea eax, [ebp - 0x104]
push eax
push 0
mov ecx, 0x800
push str._c_s
sub ecx, edi
push ecx
lea edx, [ebp + edi - 0x904]
push edx
call fcn.00960c60
add esp, 0x14
jmp 0x96ed94
cmp eax, 2
jl 0x96ed96
lea eax, [ebp - 0x84]
push eax
push 1
lea ecx, [ebp - 0x104]
push ecx
push 0
mov edx, 0x800
push str._c_s_c_s
sub edx, edi
push edx
lea eax, [ebp + edi - 0x904]
push eax
call fcn.00960c60
add esp, 0x1c
add edi, eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x96ece0
push 0xf0
push 0xff
mov ecx, 0x800
push str._c_c
sub ecx, edi
push ecx
lea edx, [ebp + edi - 0x904]
push edx
call fcn.00960c60
mov ecx, dword [ebp - 0x90c]
mov edx, dword [ecx + 0x148]
add esp, 0x14
push 0
add edi, 2
push edi
lea eax, [ebp - 0x904]
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x96ee01
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.009571c0
add esp, 0xc
add edi, 0xfffffffe
push edi
jmp 0x96eeaa
lea ecx, [ebx + 0x1c28]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x96ee15
push 0xf0
push 0xff
push ecx
push 0
push 0x23
jmp 0x96ee4e
lea ecx, [ebx + 0x1c08]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x96ee38
push 0xf0
push 0xff
push ecx
push 0
push 0x18
push 0xfa
push 0xff
sub eax, ebx
push str._c_c_c_c_s_c_c
lea ebx, [eax + 6]
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.00960c60
mov edx, dword [edi + 0x148]
add esp, 0x28
push 0
push ebx
lea ecx, [ebp - 0x904]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x96eea6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.009571c0
add esp, 0xc
add ebx, 0xfffffffe
push ebx
lea ecx, [ebp - 0x902]
mov eax, 0x3e
call fcn.0096e610
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0093acd0
mov esp, ebp
pop ebp
ret