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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
mov eax, dword [0x9fa230]
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.0095ae70
push 0x7f
lea ecx, [ebp - 0x83]
push 0
push ecx
mov byte [ebp - 0x84], 0
call fcn.0095ae70
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.00993290
mov eax, dword [ebx + 0x1eb4]
movzx ecx, byte [eax]
inc eax
add esp, 0x1c
mov dword [ebx + 0x1eb4], eax
cmp ecx, 0x18
je 0x993aad
cmp ecx, 0x23
je 0x993a8a
cmp ecx, 0x27
jne 0x993b3d
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.00985880
mov ebx, dword [ebx + 0x1cb0]
add esp, 0x1c
mov edi, 4
test ebx, ebx
je 0x993a21
lea esp, [esp]
mov eax, dword [ebx]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x993965
sub eax, edx
lea ecx, [eax + edi + 1]
cmp ecx, 0x7fa
jae 0x993a16
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.009b9e89
add esp, 0x14
cmp eax, 1
jne 0x9939e0
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.00985880
add esp, 0x14
jmp 0x993a14
cmp eax, 2
jl 0x993a16
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.00985880
add esp, 0x1c
add edi, eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x993960
push pe_nt_image_headers32
push 0xff
mov ecx, 0x800
push str._c_c
sub ecx, edi
push ecx
lea edx, [ebp + edi - 0x904]
push edx
call fcn.00985880
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 0x993a81
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0097bdf0
add esp, 0xc
add edi, 0xfffffffe
push edi
jmp 0x993b2a
lea ecx, [ebx + 0x1c28]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x993a95
push pe_nt_image_headers32
push 0xff
push ecx
push 0
push 0x23
jmp 0x993ace
lea ecx, [ebx + 0x1c08]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x993ab8
push pe_nt_image_headers32
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.00985880
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 0x993b26
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0097bdf0
add esp, 0xc
add ebx, 0xfffffffe
push ebx
lea ecx, [ebp - 0x902]
mov eax, 0x3e
call fcn.00993290
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0095f940
mov esp, ebp
pop ebp
ret