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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x970
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov r14, rcx
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, Ordinal_133
call fcn.14027b2c0
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, Ordinal_133
call fcn.14027b2c0
mov rbx, qword [r14 + 0x1b0]
mov edx, 0x3c
mov r15, qword [r14 + 0x18]
mov rcx, r14
mov r9, qword [rbx + 0x1ec0]
lea r8, [rbx + 0x1cb8]
sub r9, qword [rbx + 0x1eb8]
add r9, 2
call fcn.14016a1d0
mov rax, qword [rbx + 0x1eb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0x1eb8], rax
cmp ecx, 0x18
je 0x14016b053
cmp ecx, 0x23
je 0x14016b00e
cmp ecx, 0x27
jne 0x14016b109
mov qword [rsp + 0x30], 0
lea r8, str._c_c_c_c
mov dword [rsp + 0x28], ecx
mov ebp, 0x800
mov edx, ebp
mov qword [rsp + 0x998], rsi
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x9a0], rdi
mov r9d, 0xff
mov dword [rsp + 0x20], 0xfa
call fcn.14014a040
mov rsi, qword [rbx + 0x1cb0]
mov edi, 4
test rsi, rsi
je 0x14016af7e
or rbx, 0xffffffffffffffff
nop dword [rax]
mov rcx, qword [rsi]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14016aea6
inc rax
add rax, rdi
cmp rax, 0x7fa
jae 0x14016af71
mov byte [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsi]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea rdx, str._127____1____127s
mov word [rsp + 0x50], 0
call fcn.140057190
cmp eax, 1
jne 0x14016af27
lea rax, [rsp + 0xe0]
mov rdx, rbp
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x20], rax
sub rdx, rdi
lea r8, str._c_s
add rcx, rdi
xor r9d, r9d
call fcn.14014a040
jmp 0x14016af6b
cmp eax, 2
jl 0x14016af71
lea rax, [rsp + 0x60]
mov rdx, rbp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x160]
lea rax, [rsp + 0xe0]
mov dword [rsp + 0x28], 1
sub rdx, rdi
mov qword [rsp + 0x20], rax
add rcx, rdi
lea r8, str._c_s_c_s
xor r9d, r9d
call fcn.14014a040
movsxd rcx, eax
add rdi, rcx
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x14016aea0
sub rbp, rdi
mov dword [rsp + 0x20], 0xf0
lea rcx, [rsp + 0x160]
mov rdx, rbp
add rcx, rdi
lea r8, str._c_c
mov r9d, 0xff
call fcn.14014a040
mov rcx, qword [r15 + 0x1e8]
lea r8d, [rdi + 2]
xor r9d, r9d
lea rdx, [rsp + 0x160]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x998]
test eax, eax
jns 0x14016afe9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r14
mov r8d, eax
call fcn.140145190
mov r9, rdi
lea r8, [rsp + 0x162]
mov edx, 0x3e
mov rcx, r14
call fcn.14016a1d0
mov rdi, qword [rsp + 0x9a0]
jmp 0x14016b109
lea rax, [rbx + 0x1c28]
or rbx, 0xffffffffffffffff
nop dword [rax]
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x14016b020
mov dword [rsp + 0x48], 0xf0
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_41
jmp 0x14016b091
lea rax, [rbx + 0x1c08]
or rbx, 0xffffffffffffffff
nop
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x14016b060
mov dword [rsp + 0x48], 0xf0
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_27
mov r9d, 0xff
mov dword [rsp + 0x20], 0xfa
lea r8, str._c_c_c_c_s_c_c
mov edx, 0x800
lea rcx, [rsp + 0x160]
call fcn.14014a040
mov rcx, qword [r15 + 0x1e8]
lea r8d, [rbx + 6]
xor r9d, r9d
lea rdx, [rsp + 0x160]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14016b0f0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r14
mov r8d, eax
call fcn.140145190
lea r9, [rbx + 4]
mov edx, 0x3e
lea r8, [rsp + 0x162]
mov rcx, r14
call fcn.14016a1d0
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.14012a2b0
mov rbx, qword [rsp + 0x9a8]
add rsp, 0x970
pop r15
pop r14
pop rbp
ret