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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa30
lea rdi, [rsp + 0x50]
mov ecx, 0x278
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa40]
mov rax, qword [0x140235cc0]
xor rax, rsp
mov qword [rsp + 0xa20], rax
movzx eax, byte [0x140236ec1]
mov byte [rsp + 0x8a0], al
lea rax, [rsp + 0x8a1]
mov rdi, rax
xor eax, eax
mov ecx, 0x7f
rep stosb byte [rdi], al
movzx eax, byte [0x140236ec2]
mov byte [rsp + 0x940], al
lea rax, [rsp + 0x941]
mov rdi, rax
xor eax, eax
mov ecx, 0x7f
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xa40]
mov rax, qword [rax + 0x1b0]
mov qword [rsp + 0x9c8], rax
mov rax, qword [rsp + 0xa40]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x9d0], rax
mov rax, qword [rsp + 0x9c8]
mov rcx, qword [rsp + 0x9c8]
mov rcx, qword [rcx + 0x1eb8]
mov rax, qword [rax + 0x1ec0]
sub rax, rcx
add rax, 2
mov rcx, qword [rsp + 0x9c8]
add rcx, 0x1cb8
mov r9, rax
mov r8, rcx
mov edx, reloc.WLDAP32.dll_Ordinal_60
mov rcx, qword [rsp + 0xa40]
call fcn.1400c9a30
mov rax, qword [rsp + 0x9c8]
mov rax, qword [rax + 0x1eb8]
movzx eax, byte [rax]
and eax, 0xff
mov dword [rsp + 0xa18], eax
mov rax, qword [rsp + 0x9c8]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x9c8]
mov qword [rcx + 0x1eb8], rax
mov eax, dword [rsp + 0xa18]
mov dword [rsp + 0xa1c], eax
cmp dword [rsp + 0xa1c], 0x18
je 0x1400ca10b
cmp dword [rsp + 0xa1c], 0x23
je 0x1400ca229
cmp dword [rsp + 0xa1c], 0x27
je 0x1400ca347
jmp 0x1400ca63e
mov rax, qword [rsp + 0x9c8]
add rax, 0x1c08
mov rcx, rax
call fcn.14010a550
add rax, 6
mov qword [rsp + 0x880], rax
mov rax, qword [rsp + 0x9c8]
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_27
mov dword [rsp + 0x20], 0xfa
mov r9d, 0xff
lea r8, [0x140232ae0]
mov edx, 0x800
lea rcx, [rsp + 0x70]
call fcn.14009f2e0
mov eax, 8
imul rax, rax, 0
xor r9d, r9d
mov r8d, dword [rsp + 0x880]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x9d0]
mov rcx, qword [rcx + rax + 0x1e8]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x878], rax
cmp qword [rsp + 0x878], 0
jge 0x1400ca1f2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x888], eax
mov r8d, dword [rsp + 0x888]
lea rdx, [0x140232af0]
mov rcx, qword [rsp + 0xa40]
call fcn.14007e400
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 + 0xa40]
call fcn.1400c9a30
jmp 0x1400ca63e
mov rax, qword [rsp + 0x9c8]
add rax, 0x1c28
mov rcx, rax
call fcn.14010a550
add rax, 6
mov qword [rsp + 0x880], rax
mov rax, qword [rsp + 0x9c8]
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.14009f2e0
mov eax, 8
imul rax, rax, 0
xor r9d, r9d
mov r8d, dword [rsp + 0x880]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x9d0]
mov rcx, qword [rcx + rax + 0x1e8]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x878], rax
cmp qword [rsp + 0x878], 0
jge 0x1400ca310
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x888], eax
mov r8d, dword [rsp + 0x888]
lea rdx, [0x140232b20]
mov rcx, qword [rsp + 0xa40]
call fcn.14007e400
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 + 0xa40]
call fcn.1400c9a30
jmp 0x1400ca63e
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.14009f2e0
mov qword [rsp + 0x880], 4
mov rax, qword [rsp + 0x9c8]
mov rax, qword [rax + 0x1cb0]
mov qword [rsp + 0x50], rax
jmp 0x1400ca3ac
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400ca554
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.14010a550
inc rax
mov qword [rsp + 0x9d8], rax
mov rax, qword [rsp + 0x9d8]
mov rcx, qword [rsp + 0x880]
add rcx, rax
mov rax, rcx
cmp rax, 0x7fa
jae 0x1400ca54f
movzx eax, byte [0x140236ec3]
mov byte [rsp + 0x9f4], al
lea rax, [rsp + 0x9f5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0xa10], rax
cmp qword [rsp + 0xa10], 0x80
jae 0x1400ca435
jmp 0x1400ca43a
call fcn.1400f3010
mov rax, qword [rsp + 0xa10]
mov byte [rsp + rax + 0x940], 0
lea rax, [rsp + 0x940]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x9f4]
lea r8, [rsp + 0x8a0]
lea rdx, str._127____1____127s
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.14001a180
mov dword [rsp + 0x9e0], eax
cmp dword [rsp + 0x9e0], 1
jne 0x1400ca4df
mov eax, 0x800
sub rax, qword [rsp + 0x880]
mov rcx, qword [rsp + 0x880]
lea rcx, [rsp + rcx + 0x70]
lea rdx, [rsp + 0x8a0]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, str._c_s
mov rdx, rax
call fcn.14009f2e0
cdqe
mov rcx, qword [rsp + 0x880]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x880], rax
jmp 0x1400ca54f
cmp dword [rsp + 0x9e0], 2
jl 0x1400ca54f
mov eax, 0x800
sub rax, qword [rsp + 0x880]
mov rcx, qword [rsp + 0x880]
lea rcx, [rsp + rcx + 0x70]
lea rdx, [rsp + 0x940]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 1
lea rdx, [rsp + 0x8a0]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, str._c_s_c_s
mov rdx, rax
call fcn.14009f2e0
cdqe
mov rcx, qword [rsp + 0x880]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x880], rax
jmp 0x1400ca39e
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.14009f2e0
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 + 0x9d0]
mov rcx, qword [rcx + rax + 0x1e8]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x878], rax
cmp qword [rsp + 0x878], 0
jge 0x1400ca60c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x888], eax
mov r8d, dword [rsp + 0x888]
lea rdx, [0x140232b88]
mov rcx, qword [rsp + 0xa40]
call fcn.14007e400
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 + 0xa40]
call fcn.1400c9a30
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_connect
call fcn.1400f3410
mov rcx, qword [rsp + 0xa20]
xor rcx, rsp
call fcn.1400f2850
add rsp, 0xa30
pop rdi
ret