Function at 0x14015a4e0
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 0x14015a54f
jmp 0x14015a9e6
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 0x14015a5a9
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 0x14015a566
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x14015a5f2
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 0x14015a5af
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x14015a63b
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 0x14015a5f8
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 0x14015a6d7
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 0x14015a683
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x14015a731
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 0x14015a6dd
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x14015a78b
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 0x14015a737
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x14015a7e5
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 0x14015a791
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x14015a82e
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 0x14015a7eb
mov rax, qword [rsp + 0x78]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1eb8], rax
jae 0x14015a877
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 0x14015a834
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 0x14015a87d
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.1401598a0
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 + 0x1d0]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jge 0x14015a95d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x28]
lea rdx, [0x140214560]
mov rcx, qword [rsp + 0xa0]
call fcn.14009b14c
mov rax, qword [rsp + 0x78]
add rax, 0x1cbb
mov r8d, 4
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.14015b1d0
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 + 0x1d0]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jge 0x14015a9e6
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.14009b14c
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.14009a508
add rsp, 0x90
pop rdi
ret