Function at 0x140036ef0
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 [0x140071010]
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 0x140036f6b
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 0x140036f6b
cmp dword [rsp + 0x60], eax
je 0x140036f73
mov rcx, rsi
call fcn.1400383a0
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140036f80
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 0x140036fa0
lea rcx, [rsp + 0x70]
call fcn.140001870
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 0x14003701f
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.140034f50
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, [0x140035120]
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 0x14003706c
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140038290
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14003706c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037067
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037067
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003e16c
mov rdx, rbp
mov rcx, rsi
call fcn.140038290
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x1400370bb
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400370b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400370b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003e16c
movdqa xmm0, xmmword [0x140068830]
movdqu xmmword [rsp + 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140037107
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140037102
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037140
mov rcx, r8
call fcn.14003e16c
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], send
mov byte [rdi], 0
mov rax, rbp
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14003e110
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