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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
mov eax, dword [0xa0d230]
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.0096d0c0
push 0x7f
lea ecx, [ebp - 0x83]
push 0
push ecx
mov byte [ebp - 0x84], 0
call fcn.0096d0c0
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.009a54d0
mov eax, dword [ebx + 0x1eb4]
movzx ecx, byte [eax]
inc eax
add esp, 0x1c
mov dword [ebx + 0x1eb4], eax
cmp ecx, 0x18
je 0x9a5ced
cmp ecx, 0x23
je 0x9a5cca
cmp ecx, 0x27
jne 0x9a5d7d
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.00997ad0
mov ebx, dword [ebx + 0x1cb0]
add esp, 0x1c
mov edi, 4
test ebx, ebx
je 0x9a5c61
lea esp, [esp]
mov eax, dword [ebx]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x9a5ba5
sub eax, edx
lea ecx, [eax + edi + 1]
cmp ecx, 0x7fa
jae 0x9a5c56
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.009cc0b9
add esp, 0x14
cmp eax, 1
jne 0x9a5c20
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.00997ad0
add esp, 0x14
jmp 0x9a5c54
cmp eax, 2
jl 0x9a5c56
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.00997ad0
add esp, 0x1c
add edi, eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x9a5ba0
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.00997ad0
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 0x9a5cc1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0098e040
add esp, 0xc
add edi, 0xfffffffe
push edi
jmp 0x9a5d6a
lea ecx, [ebx + 0x1c28]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x9a5cd5
push pe_nt_image_headers32
push 0xff
push ecx
push 0
push 0x23
jmp 0x9a5d0e
lea ecx, [ebx + 0x1c08]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x9a5cf8
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.00997ad0
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 0x9a5d66
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0098e040
add esp, 0xc
add ebx, 0xfffffffe
push ebx
lea ecx, [ebp - 0x902]
mov eax, 0x3e
call fcn.009a54d0
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00971b90
mov esp, ebp
pop ebp
ret