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

Disassembly:
push rbp
push rbx
push r12
push r13
push r15
lea rbp, [rsp - 0x860]
sub rsp, 0x960
mov rax, qword [0x1401ab100]
xor rax, rsp
mov qword [rbp + 0x850], rax
mov r13, qword [rcx]
xorps xmm0, xmm0
xor eax, eax
mov byte [rbp - 0x30], 0
movups xmmword [rbp - 0x2f], xmm0
mov qword [rbp + 0x41], rax
mov r12, rcx
movups xmmword [rbp - 0x1f], xmm0
mov dword [rbp + 0x49], eax
lea edx, [rax + 0x3c]
movups xmmword [rbp - 0xf], xmm0
mov word [rbp + 0x4d], ax
mov rcx, r13
movups xmmword [rbp + 1], xmm0
mov byte [rbp + 0x4f], al
movups xmmword [rbp + 0x11], xmm0
mov byte [rsp + 0x50], al
movups xmmword [rbp + 0x21], xmm0
mov qword [rbp - 0x3f], rax
movups xmmword [rbp + 0x31], xmm0
mov dword [rbp - 0x37], eax
movups xmmword [rsp + 0x51], xmm0
mov word [rbp - 0x33], ax
movups xmmword [rsp + 0x61], xmm0
mov byte [rbp - 0x31], al
movups xmmword [rsp + 0x71], xmm0
movups xmmword [rbp - 0x7f], xmm0
movups xmmword [rbp - 0x6f], xmm0
movups xmmword [rbp - 0x5f], xmm0
movups xmmword [rbp - 0x4f], xmm0
mov rbx, qword [r13 + 0x1e0]
mov r9, qword [rbx + 0x1ec0]
lea r8, [rbx + 0x1cb8]
sub r9, qword [rbx + 0x1eb8]
add r9, 2
call fcn.14005ab20
mov rax, qword [rbx + 0x1eb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0x1eb8], rax
cmp cl, 0x18
je 0x14005b4e3
cmp cl, 0x23
je 0x14005b498
cmp cl, 0x27
jne 0x14005b58f
mov qword [rsp + 0x30], 0
lea r8, str._c_c_c_c
mov r15d, 0x800
mov qword [rsp + 0x998], rsi
mov edx, r15d
mov dword [rsp + 0x28], Ordinal_41
mov r9d, 0xff
mov qword [rsp + 0x9a0], rdi
lea rcx, [rbp + 0x50]
mov dword [rsp + 0x20], 0xfa
call fcn.140046d30
mov rdi, qword [rbx + 0x1cb0]
mov esi, 4
test rdi, rdi
je 0x14005b413
mov qword [rsp + 0x9a8], r14
mov rbx, 0xffffffffffffffff
nop dword [rax]
mov rcx, qword [rdi]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14005b396
lea r14, [rsi + 1]
add r14, rax
cmp r14, 0x7fa
jae 0x14005b402
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x30]
lea rdx, str._127_____127s
call fcn.140016980
test eax, eax
je 0x14005b402
lea rax, [rsp + 0x50]
mov rdx, r15
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x50]
lea rax, [rbp - 0x30]
mov dword [rsp + 0x28], 1
sub rdx, rsi
mov qword [rsp + 0x20], rax
add rcx, rsi
lea r8, str._c_s_c_s
xor r9d, r9d
call fcn.140046d30
mov rsi, r14
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14005b390
mov r14, qword [rsp + 0x9a8]
sub r15, rsi
mov dword [rsp + 0x20], 0xf0
lea rcx, [rbp + 0x50]
mov rdx, r15
add rcx, rsi
lea r8, str._c_c
mov r9d, 0xff
call fcn.140046d30
mov rcx, qword [r12 + 0x4c0]
lea r8d, [rsi + 2]
xor r9d, r9d
lea rdx, [rbp + 0x50]
call qword [sym.imp.WS2_32.dll_send]
mov rdi, qword [rsp + 0x9a0]
test eax, eax
jns 0x14005b477
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r13
mov r8d, eax
call fcn.1400361c0
mov r9, rsi
lea r8, [rbp + 0x52]
mov edx, 0x3e
mov rcx, r13
call fcn.14005ab20
mov rsi, qword [rsp + 0x998]
jmp 0x14005b58f
lea rax, [rbx + 0x1c28]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x14005b4b0
mov dword [rsp + 0x48], 0xf0
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_35
jmp 0x14005b522
lea rax, [rbx + 0x1c08]
mov rbx, 0xffffffffffffffff
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x14005b4f1
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_26
mov r9d, 0xff
mov dword [rsp + 0x20], 0xfa
lea r8, str._c_c_c_c_s_c_c
mov edx, 0x800
lea rcx, [rbp + 0x50]
call fcn.140046d30
mov rcx, qword [r12 + 0x4c0]
lea r8d, [rbx + 6]
xor r9d, r9d
lea rdx, [rbp + 0x50]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14005b57a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r13
mov r8d, eax
call fcn.1400361c0
lea r9, [rbx + 4]
mov edx, 0x3e
lea r8, [rbp + 0x52]
mov rcx, r13
call fcn.14005ab20
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.140074b80
add rsp, 0x960
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret