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

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor esi, esi
mov rbp, r8
mov dword [rsp + 0x60], esi
mov rdi, rdx
mov r14, rcx
test rcx, rcx
je 0x140108e63
test rdx, rdx
je 0x140108ea7
test r8, r8
je 0x140108eeb
mov eax, 0xffffffff
cmp r8, rax
ja 0x140108f2f
mov rcx, qword [rcx]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x140108e51
mov qword [rsp + 0x68], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov dword [r14 + 8], eax
call fcn.140095b0c
mov dword [rax], ebx
cmp dword [r14 + 8], 0x2738
jne 0x140108e48
mov ebx, esi
test rbp, rbp
je 0x140108df0
nop word [rax + rax]
mov r8, qword [rdi]
cmp r8, 0x7fffffff
ja 0x140108f73
mov rdx, qword [rdi + 8]
xor r9d, r9d
mov rcx, qword [r14]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140108e06
cdqe
add rsi, rax
test rax, rax
js 0x140108df0
cmp rax, qword [rdi]
jne 0x140108df0
inc rbx
add rdi, 0x10
cmp rbx, rbp
jb 0x140108db0
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov dword [r14 + 8], eax
call fcn.140095b0c
mov dword [rax], ebx
mov eax, dword [r14 + 8]
cmp eax, 0xb
je 0x140108e35
add eax, 0xffffd8cd
cmp eax, 1
jbe 0x140108e35
mov rsi, 0xffffffffffffffff
jmp 0x140108df0
test rsi, rsi
mov rax, 0xffffffffffffffff
cmovne rax, rsi
mov rsi, rax
jmp 0x140108df0
mov rax, 0xffffffffffffffff
jmp 0x140108df3
mov eax, dword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14008fab0
mov rcx, rax
lea r8, str.C:Userslxrs_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_socket.c
lea rax, str.sock
mov r9d, 0x506
mov qword [rsp + 0x28], rax
lea rdx, str._s:_d__s__:_precondition_failed:__s_n
lea rax, str._mongoc_socket_try_sendv
mov qword [rsp + 0x20], rax
call fcn.140009138
call fcn.14009594c
int3
mov ecx, 2
call fcn.14008fab0
mov rcx, rax
lea r8, str.C:Userslxrs_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_socket.c
lea rax, [0x1401a4998]
mov r9d, 0x507
mov qword [rsp + 0x28], rax
lea rdx, str._s:_d__s__:_precondition_failed:__s_n
lea rax, str._mongoc_socket_try_sendv
mov qword [rsp + 0x20], rax
call fcn.140009138
call fcn.14009594c
int3
mov ecx, 2
call fcn.14008fab0
mov rcx, rax
lea r8, str.C:Userslxrs_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_socket.c
lea rax, str.iovcnt
mov r9d, 0x508
mov qword [rsp + 0x28], rax
lea rdx, str._s:_d__s__:_precondition_failed:__s_n
lea rax, str._mongoc_socket_try_sendv
mov qword [rsp + 0x20], rax
call fcn.140009138
call fcn.14009594c
int3
mov ecx, 2
call fcn.14008fab0
mov rcx, rax
lea r8, str.C:Userslxrs_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_socket.c
lea rax, str.bson_in_range_unsigned__unsigned_long__iovcnt_
mov r9d, 0x50d
mov qword [rsp + 0x28], rax
lea rdx, str._s:_d__s__:_precondition_failed:__s_n
lea rax, str._mongoc_socket_try_sendv
mov qword [rsp + 0x20], rax
call fcn.140009138
call fcn.14009594c
int3
mov ecx, 2
call fcn.14008fab0
mov rcx, rax
lea r8, str.C:Userslxrs_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_socket.c
lea rax, str.bson_in_range_unsigned__int__iov_i_.iov_len_
mov r9d, 0x4ca
mov qword [rsp + 0x28], rax
lea rdx, str._s:_d__s__:_precondition_failed:__s_n
lea rax, str._mongoc_socket_try_sendv_slow
mov qword [rsp + 0x20], rax
call fcn.140009138
call fcn.14009594c
int3