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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x8d0
lea rdi, [rsp + 0x50]
mov ecx, 0x220
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x8e0]
mov rax, qword [0x1404bf700]
xor rax, rsp
mov qword [rsp + 0x8c8], rax
mov rax, qword [rsp + 0x8e0]
mov rax, qword [rax + 0x198]
mov qword [rsp + 0x890], rax
mov rax, qword [rsp + 0x8e0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x898], rax
mov rax, qword [rsp + 0x890]
mov rcx, qword [rsp + 0x890]
mov rcx, qword [rcx + 0x1ed8]
mov rax, qword [rax + 0x1ee0]
sub rax, rcx
add rax, 2
mov rcx, qword [rsp + 0x890]
add rcx, 0x1cd8
mov r9, rax
mov r8, rcx
mov edx, reloc.WLDAP32.dll_Ordinal_60
mov rcx, qword [rsp + 0x8e0]
call fcn.140398490
mov rax, qword [rsp + 0x890]
mov rax, qword [rax + 0x1ed8]
movzx eax, byte [rax]
and eax, 0xff
mov dword [rsp + 0x8c0], eax
mov rax, qword [rsp + 0x890]
mov rax, qword [rax + 0x1ed8]
inc rax
mov rcx, qword [rsp + 0x890]
mov qword [rcx + 0x1ed8], rax
mov eax, dword [rsp + 0x8c0]
mov dword [rsp + 0x8c4], eax
cmp dword [rsp + 0x8c4], 0x18
je 0x140398b27
cmp dword [rsp + 0x8c4], 0x23
je 0x140398c45
cmp dword [rsp + 0x8c4], 0x27
je 0x140398d63
jmp 0x14039901a
mov rax, qword [rsp + 0x890]
add rax, 0x1c08
mov rcx, rax
call fcn.1401537e2
add rax, 6
mov qword [rsp + 0x880], rax
mov rax, qword [rsp + 0x890]
add rax, 0x1c08
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_30
mov dword [rsp + 0x20], 0xfa
mov r9d, 0xff
lea r8, [0x1404b9468]
mov edx, 0x800
lea rcx, [rsp + 0x70]
call fcn.140152879
mov eax, 8
imul rax, rax, 0
xor r9d, r9d
mov r8d, dword [rsp + 0x880]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x898]
mov rcx, qword [rcx + rax + 0x188]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x878], rax
cmp qword [rsp + 0x878], 0
jge 0x140398c0e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x888], eax
mov r8d, dword [rsp + 0x888]
lea rdx, [0x1404b9478]
mov rcx, qword [rsp + 0x8e0]
call fcn.140157004
mov rax, qword [rsp + 0x880]
sub rax, 2
mov ecx, 1
imul rcx, rcx, 2
lea rcx, [rsp + rcx + 0x70]
mov r9, rax
mov r8, rcx
mov edx, 0x3e
mov rcx, qword [rsp + 0x8e0]
call fcn.140398490
jmp 0x14039901a
mov rax, qword [rsp + 0x890]
add rax, 0x1c28
mov rcx, rax
call fcn.1401537e2
add rax, 6
mov qword [rsp + 0x880], rax
mov rax, qword [rsp + 0x890]
add rax, 0x1c28
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
mov dword [rsp + 0x20], 0xfa
mov r9d, 0xff
lea r8, str._c_c_c_c_s_c_c
mov edx, 0x800
lea rcx, [rsp + 0x70]
call fcn.140152879
mov eax, 8
imul rax, rax, 0
xor r9d, r9d
mov r8d, dword [rsp + 0x880]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x898]
mov rcx, qword [rcx + rax + 0x188]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x878], rax
cmp qword [rsp + 0x878], 0
jge 0x140398d2c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x888], eax
mov r8d, dword [rsp + 0x888]
lea rdx, [0x1404b94a8]
mov rcx, qword [rsp + 0x8e0]
call fcn.140157004
mov rax, qword [rsp + 0x880]
sub rax, 2
mov ecx, 1
imul rcx, rcx, 2
lea rcx, [rsp + rcx + 0x70]
mov r9, rax
mov r8, rcx
mov edx, 0x3e
mov rcx, qword [rsp + 0x8e0]
call fcn.140398490
jmp 0x14039901a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_46
mov dword [rsp + 0x20], 0xfa
mov r9d, 0xff
lea r8, str._c_c_c_c
mov edx, 0x800
lea rcx, [rsp + 0x70]
call fcn.140152879
mov qword [rsp + 0x880], 4
mov rax, qword [rsp + 0x890]
mov rax, qword [rax + 0x1cb0]
mov qword [rsp + 0x50], rax
jmp 0x140398dc8
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140398f30
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.1401537e2
inc rax
mov qword [rsp + 0x8a0], rax
mov rax, qword [rsp + 0x8a0]
mov rcx, qword [rsp + 0x880]
add rcx, rax
mov rax, rcx
cmp rax, 0x7fa
jae 0x140398f2b
mov edx, Ordinal_46
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.1401514bf
mov qword [rsp + 0x8a8], rax
cmp qword [rsp + 0x8a8], 0
jne 0x140398e89
mov eax, 0x800
sub rax, qword [rsp + 0x880]
mov rcx, qword [rsp + 0x880]
lea rcx, [rsp + rcx + 0x70]
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, str._c_s
mov rdx, rax
call fcn.140152879
cdqe
mov rcx, qword [rsp + 0x880]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x880], rax
jmp 0x140398f2b
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x8a8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x8b0], rax
mov rax, qword [rsp + 0x8a8]
inc rax
mov qword [rsp + 0x8a8], rax
mov eax, 0x800
sub rax, qword [rsp + 0x880]
mov rcx, qword [rsp + 0x880]
lea rcx, [rsp + rcx + 0x70]
mov rdx, qword [rsp + 0x8a8]
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx]
mov qword [rsp + 0x28], rdx
mov edx, dword [rsp + 0x8b0]
mov dword [rsp + 0x20], edx
xor r9d, r9d
lea r8, str._c_.s_c_s
mov rdx, rax
call fcn.140152879
cdqe
mov rcx, qword [rsp + 0x880]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x880], rax
jmp 0x140398dba
mov eax, 0x800
sub rax, qword [rsp + 0x880]
mov rcx, qword [rsp + 0x880]
lea rcx, [rsp + rcx + 0x70]
mov dword [rsp + 0x20], 0xf0
mov r9d, 0xff
lea r8, str._c_c
mov rdx, rax
call fcn.140152879
mov rax, qword [rsp + 0x880]
add rax, 2
mov qword [rsp + 0x880], rax
mov eax, 8
imul rax, rax, 0
xor r9d, r9d
mov r8d, dword [rsp + 0x880]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x898]
mov rcx, qword [rcx + rax + 0x188]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x878], rax
cmp qword [rsp + 0x878], 0
jge 0x140398fe8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x888], eax
mov r8d, dword [rsp + 0x888]
lea rdx, [0x1404b94f8]
mov rcx, qword [rsp + 0x8e0]
call fcn.140157004
mov rax, qword [rsp + 0x880]
sub rax, 2
mov ecx, 1
imul rcx, rcx, 2
lea rcx, [rsp + rcx + 0x70]
mov r9, rax
mov r8, rcx
mov edx, 0x3e
mov rcx, qword [rsp + 0x8e0]
call fcn.140398490
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401559a2
mov rcx, qword [rsp + 0x8c8]
xor rcx, rsp
call fcn.140153acb
add rsp, 0x8d0
pop rdi
ret