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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
mov eax, dword [0x9cb230]
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.0092bc20
push 0x7f
lea ecx, [ebp - 0x83]
push 0
push ecx
mov byte [ebp - 0x84], 0
call fcn.0092bc20
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.009640f0
mov eax, dword [ebx + 0x1eb4]
movzx ecx, byte [eax]
inc eax
add esp, 0x1c
mov dword [ebx + 0x1eb4], eax
cmp ecx, 0x18
je 0x96490d
cmp ecx, 0x23
je 0x9648ea
cmp ecx, 0x27
jne 0x96499d
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.00956750
mov ebx, dword [ebx + 0x1cb0]
add esp, 0x1c
mov edi, 4
test ebx, ebx
je 0x964881
lea esp, [esp]
mov eax, dword [ebx]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x9647c5
sub eax, edx
lea ecx, [eax + edi + 1]
cmp ecx, 0x7fa
jae 0x964876
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.0098ad79
add esp, 0x14
cmp eax, 1
jne 0x964840
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.00956750
add esp, 0x14
jmp 0x964874
cmp eax, 2
jl 0x964876
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.00956750
add esp, 0x1c
add edi, eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x9647c0
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.00956750
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 0x9648e1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0094ccb0
add esp, 0xc
add edi, 0xfffffffe
push edi
jmp 0x96498a
lea ecx, [ebx + 0x1c28]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x9648f5
push 0xf0
push 0xff
push ecx
push 0
push 0x23
jmp 0x96492e
lea ecx, [ebx + 0x1c08]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x964918
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.00956750
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 0x964986
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0094ccb0
add esp, 0xc
add ebx, 0xfffffffe
push ebx
lea ecx, [ebp - 0x902]
mov eax, 0x3e
call fcn.009640f0
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.009307c0
mov esp, ebp
pop ebp
ret