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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, Ordinal_32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x1b0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0x1f
je 0x1400ca64f
jmp 0x1400caae6
mov rax, qword [rsp + 0x78]
add rax, 0x1cb8
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1eb8], rax
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400ca6a9
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], 0xff
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x1400ca666
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400ca6f2
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], 0xfa
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x1400ca6af
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400ca73b
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], Ordinal_32
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x1400ca6f8
mov rax, qword [rsp + 0x78]
movzx ecx, word [rax + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x34], ax
mov rax, qword [rsp + 0x78]
movzx ecx, word [rax + 0x1caa]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x54], ax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400ca7d7
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x68]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x1400ca783
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400ca831
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x68]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x1400ca7dd
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400ca88b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x70]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x1400ca837
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400ca8e5
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x70]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x1400ca891
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400ca92e
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], 0xff
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x1400ca8eb
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400ca977
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], 0xf0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x1400ca934
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x1eb8]
mov qword [rax + 0x1ec0], rcx
mov rax, qword [rsp + 0x78]
add rax, 0x1cb8
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x1400ca97d
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x1eb8]
mov rax, qword [rax + 0x1ec0]
sub rax, rcx
sub rax, 2
mov rcx, qword [rsp + 0x78]
add rcx, 0x1cba
mov r9, rax
mov r8, rcx
mov edx, 0x3e
mov rcx, qword [rsp + 0xa0]
call fcn.1400c99a0
mov rax, qword [rsp + 0x78]
add rax, 0x1cb8
mov ecx, 8
imul rcx, rcx, 0
xor r9d, r9d
mov r8d, 3
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + rcx + 0x1e8]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jge 0x1400caa5d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x28]
lea rdx, [0x140232ba8]
mov rcx, qword [rsp + 0xa0]
call fcn.14007e370
mov rax, qword [rsp + 0x78]
add rax, 0x1cbb
mov r8d, 4
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.1400cb2e0
mov rax, qword [rsp + 0x78]
add rax, 0x1cbf
mov ecx, 8
imul rcx, rcx, 0
xor r9d, r9d
mov r8d, 2
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + rcx + 0x1e8]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jge 0x1400caae6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x28]
lea rdx, str.Sending_data_failed___d_
mov rcx, qword [rsp + 0xa0]
call fcn.14007e370
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.1400f3380
add rsp, 0x90
pop rdi
ret