Function at 0x10047085
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 0x100470a7
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::h8840b9b4375ad74c
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 0x10047243
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::h1aa28f1bd1d1a3d7
pop eax
xor eax, eax
cmp dword [ebp - 0x40], eax
jne 0x1004713a
cmp dword [ebp - 0x3c], 0
je 0x100471c7
cmp byte [ebp - 0xd], 0
je 0x100471c7
mov eax, dword [ebp - 0x38]
cmp eax, edi
je 0x100471fa
add ebx, eax
jmp 0x100470cf
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::h555ef0eadf4adff7
mov eax, dword [ebx + 0xc]
cmp eax, 2
jne 0x1004721d
mov edx, dword [ebx + 8]
test edx, edx
je 0x1004721d
lea esi, [ebp - 0x34]
add edx, 8
mov ecx, esi
call sym.std::sync::mutex::Mutex_LT_T_GT_::lock::h0df8b1d9313b4adf
cmp dword [esi], 0
mov eax, dword [ebp - 0x14]
jne 0x10047252
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 0x10047232
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 0x10047237
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 0x1004722a
push 2
pop edx
mov esi, dword [ebp + 0xc]
mov ecx, esi
call sym.mio::sys::windows::tcp::StreamImp::add_readiness::h555ef0eadf4adff7
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 0x10047225
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::h5bf4e74882597c41
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::h5bf4e74882597c41
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 0x1004722a
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
push 0x101b380c
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 0x101b370c
push 0x101b349c
lea eax, [ebp - 0x28]
push eax
call sym.core::result::unwrap_failed::hb9c5ac622931d85d