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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x140018010]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x58], r8
cmp byte [rcx + 8], 0
je 0x1400060eb
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x68], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, qword [rcx + 0x1a8]
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1400060eb
cmp dword [rsp + 0x60], eax
je 0x1400060f3
mov rcx, rsi
call fcn.140007420
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140006100
mov rdx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x80], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140006120
lea rcx, [rsp + 0x70]
call fcn.140003fe0
nop
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rdx, qword [rsp + 0x70]
xor r9d, r9d
mov r8d, dword [rsp + 0x80]
mov rcx, qword [rsi + 0x1a8]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14000619f
lea rdx, str.Failed_to_send_data._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003cc0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140003e90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400061ec
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140007310
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1400061ec
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400061e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400061e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000eb1c
mov rdx, rbp
mov rcx, rsi
call fcn.140007310
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x14000623b
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006236
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006236
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000eb1c
movdqa xmm0, xmmword [0x140012b70]
movdqu xmmword [rsp + 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140006287
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140006282
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400062c0
mov rcx, r8
call fcn.14000eb1c
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov rax, rbp
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14000eac0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3