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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov edi, edx
mov edx, 0
cmp dword [ecx], 0
je 0x1004676a
mov eax, dword [ecx + 4]
mov edx, dword [eax]
and edx, 0xd
mov ebx, dword [ebp + 8]
call sym.mio::sys::windows::selector::ReadyBinding::set_readiness::h2913cfed715a13f3
mov eax, dword [esi]
mov dword [ebp - 0x14], edi
lea esi, [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov al, byte [eax + 0x4c]
mov byte [ebp - 0xd], al
mov edi, dword [ebp - 0x1c]
sub edi, ebx
jb 0x10046906
mov eax, dword [ebp - 0x20]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x34], edi
add eax, ebx
mov dword [ebp - 0x30], eax
push 0
push esi
push 0
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
call sub.ws2_32.dll_WSASend
lea ecx, [ebp - 0x40]
mov edx, eax
push dword [ebp - 0x28]
call sym.miow::net::cvt::h92966806c1412852
pop eax
xor eax, eax
cmp dword [ebp - 0x40], eax
jne 0x100467fd
cmp dword [ebp - 0x3c], 0
je 0x1004688a
cmp byte [ebp - 0xd], 0
je 0x1004688a
mov eax, dword [ebp - 0x38]
cmp eax, edi
je 0x100468bd
add ebx, eax
jmp 0x10046792
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
lea ecx, [ebx + 0x10]
call sym.__ZN4core3ptr143drop_in_place_LT_mio..sys..windows..tcp..State_LT__LP_alloc..vec..Vec_LT_u8_GT__C_usize_RP__C__LP_alloc..vec..
mov dword [ebx + 0x10], 3
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x14], esi
push 2
pop edx
mov ecx, ebx
call sym.mio::sys::windows::tcp::StreamImp::add_readiness::h106f08e3e1e079ec
mov eax, dword [ebx + 0xc]
cmp eax, 2
jne 0x100468e0
mov edx, dword [ebx + 8]
test edx, edx
je 0x100468e0
lea esi, [ebp - 0x34]
add edx, 8
mov ecx, esi
call sym.std::sync::mutex::Mutex_LT_T_GT_::lock::h042ab535d7049afb
cmp dword [esi], 0
mov eax, dword [ebp - 0x14]
jne 0x10046915
mov esi, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov bl, byte [ebp - 0x2c]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 4]
jae 0x100468f5
mov edi, dword [esi + 8]
mov byte [ebp - 0x18], bl
imul ebx, eax, 0xc
inc eax
mov dword [edi + ebx], ecx
mov dword [edi + ebx + 4], edx
and dword [edi + ebx + 8], 0
mov bl, byte [ebp - 0x18]
mov dword [esi + 0xc], eax
jmp 0x100468fa
mov esi, dword [ebp + 0xc]
lea ecx, [esi + 0x10]
call sym.__ZN4core3ptr143drop_in_place_LT_mio..sys..windows..tcp..State_LT__LP_alloc..vec..Vec_LT_u8_GT__C_usize_RP__C__LP_alloc..vec..
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x10], 1
movsd xmm0, qword [eax]
mov eax, dword [eax + 8]
movsd qword [esi + 0x14], xmm0
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
lock inc dword [ecx + 0x88]
jmp 0x100468ed
push 2
pop edx
mov esi, dword [ebp + 0xc]
mov ecx, esi
call sym.mio::sys::windows::tcp::StreamImp::add_readiness::h106f08e3e1e079ec
lea ecx, [esi + 0x10]
call sym.__ZN4core3ptr143drop_in_place_LT_mio..sys..windows..tcp..State_LT__LP_alloc..vec..Vec_LT_u8_GT__C_usize_RP__C__LP_alloc..vec..
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
and dword [esi + 0x10], 0
mov ecx, dword [eax]
jmp 0x100468e8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
call sym.__LT_alloc..raw_vec..RawVec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::h1d621a182bf039a7
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
call sym.__LT_alloc..raw_vec..RawVec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::h1d621a182bf039a7
movzx edx, bl
mov ecx, esi
call sym.__ZN4core3ptr108drop_in_place_LT_std..sync..mutex..MutexGuard_LT_core..option..Option_LT_mio..poll..Registration_GT__GT__GT_17
jmp 0x100468ed
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
push 0x101c2a24
call dbg.slice_start_index_len_fail
mov eax, dword [ebp - 0x30]
mov cl, byte [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], cl
push 0x2b
pop edx
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x101c2924
push 0x101c26b4
lea eax, [ebp - 0x28]
push eax
call sym.core::result::unwrap_failed::hb9c5ac622931d85d