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

Disassembly:
sub esp, 0xc
push ebp
push esi
xor esi, esi
mov dword [esp + 0xc], esi
cmp dword [esp + 0x18], esi
je 0x1010fcd6
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x1010fd07
push ebx
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1010fd38
push edi
lea edi, [ebx*8]
push edi
call fcn.100d28d0
push edi
mov edi, eax
mov dword [esp + 0x18], eax
push ebp
push edi
call fcn.100a1570
add esp, 0x10
nop dword [eax]
mov ebp, ebx
mov dword [esp + 0x18], 0
lea eax, [edi + esi*8]
sub ebp, esi
test eax, eax
je 0x1010fca5
test ebp, ebp
je 0x1010fdcb
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push 0
push 0
push 0
push ecx
push ebp
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x1010fbd7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add ebx, 4
mov edi, eax
mov dword [ebx], edi
call fcn.100b18cb
mov dword [eax], edi
cmp dword [ebx], 0x2738
jne 0x1010fbd1
mov edi, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x24]
lea eax, [edi + esi*8]
push eax
push ebp
call fcn.1010ed40
add esp, 0xc
jmp 0x1010fbe2
mov ebp, dword [esp + 0x20]
jmp 0x1010fbe7
mov eax, dword [esp + 0x18]
add ebx, 4
mov ebp, dword [esp + 0x20]
cmp eax, 0xffffffff
jne 0x1010fc5f
mov eax, dword [ebx]
cmp eax, 0xb
je 0x1010fc00
cmp eax, 0x2733
je 0x1010fc00
cmp eax, 0x2734
jne 0x1010fca0
mov edi, dword [esp + 0x30]
test edi, edi
jl 0x1010fc21
mov ebx, dword [esp + 0x2c]
jg 0x1010fc12
test ebx, ebx
jb 0x1010fc21
call fcn.100d8300
cmp edi, edx
jl 0x1010fc44
jg 0x1010fc21
cmp ebx, eax
jb 0x1010fc44
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x10
push ebp
call fcn.1010eee0
add esp, 0x10
test al, al
jne 0x1010fb60
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push eax
call fcn.100d28c0
add esp, 4
mov eax, esi
pop edi
pop ebx
pop esi
pop ebp
add esp, 0xc
ret
test eax, eax
jle 0x1010fc00
add dword [esp + 0x14], eax
mov ebx, dword [esp + 0x28]
cmp esi, ebx
jae 0x1010fc7e
nop
mov ecx, dword [edi + esi*8]
cmp eax, ecx
jl 0x1010fc80
inc esi
sub eax, ecx
cmp esi, ebx
jb 0x1010fc70
je 0x1010fc44
mov ecx, dword [edi + esi*8]
add dword [edi + esi*8 + 4], eax
sub ecx, eax
mov eax, ebx
mov dword [edi + esi*8], ecx
sub eax, esi
je 0x1010fd9a
test ecx, ecx
je 0x1010fd69
jmp 0x1010fc29
or esi, 0xffffffff
jmp 0x1010fc48
push 0x1019aef4
push str._mongoc_socket_try_sendv
push 0x507
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_socket.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
push str.sock
push str.mongoc_socket_sendv
push 0x56b
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_socket.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
push str.in_iov
push str.mongoc_socket_sendv
push 0x56c
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_socket.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
push str.iovcnt
push str.mongoc_socket_sendv
push 0x56d
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_socket.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
push str.iov_cur_.iov_len
push str.mongoc_socket_sendv
push 0x5a9
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_socket.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
push str.iovcnt___cur
push str.mongoc_socket_sendv
push 0x5a8
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_socket.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
push str.iovcnt
push str._mongoc_socket_try_sendv
push 0x508
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_socket.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
int3