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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov edi, edx
mov edx, 0
cmp dword [ecx], 0
je 0x10049bec
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::hedd3f1156366d05c
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 0x10049d89
mov eax, dword [ebp - 0x20]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], edi
add eax, ebx
mov dword [ebp - 0x38], eax
push 0
push esi
push 0
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
call sub.ws2_32.dll_WSASend
lea ecx, [ebp - 0x30]
mov edx, eax
push dword [ebp - 0x24]
call sym.miow::net::cvt::h2ae29aeb36858e3d
pop eax
xor eax, eax
cmp dword [ebp - 0x30], eax
jne 0x10049c7f
cmp dword [ebp - 0x2c], 0
je 0x10049d0d
cmp byte [ebp - 0xd], 0
je 0x10049d0d
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x10049d40
add ebx, eax
jmp 0x10049c14
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
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::h204b373554df6489
mov eax, dword [ebx + 0xc]
cmp eax, 2
jne 0x10049d63
mov edx, dword [ebx + 8]
test edx, edx
je 0x10049d63
lea esi, [ebp - 0x3c]
add edx, 0x10
mov ecx, esi
call sym.std::sync::mutex::Mutex_LT_T_GT_::lock::h1b31786c23f0de73
mov ecx, esi
mov edx, 0x101b72d4
call sym.core::result::Result_LT_T_C_E_GT_::unwrap::h305f34907b903796
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ebx, edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 8]
jae 0x10049d78
mov edi, dword [esi + 0xc]
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 + 0x10], eax
jmp 0x10049d7d
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 + 0x8c]
jmp 0x10049d70
push 2
pop edx
mov esi, dword [ebp + 0xc]
mov ecx, esi
call sym.mio::sys::windows::tcp::StreamImp::add_readiness::h204b373554df6489
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]
and dword [esi + 0x10], 0
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
jmp 0x10049d6b
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::h1e3cb15a61af7b6e
add esp, 0x30
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::h1e3cb15a61af7b6e
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 0x10049d70
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
push 0x101b73d4
call dbg.slice_start_index_len_fail