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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov ebx, dword [ebp + 8]
cmp dword [edx + 8], 0xffffffff
mov esi, edx
mov dword [ebp - 0x14], ecx
je 0x488aff
mov eax, dword [ebp + 0x10]
mov edi, dword [esi + 4]
mov ecx, 0x7fffffff
mov dword [ebp - 0x20], esi
cmp eax, 0x7fffffff
cmovb ecx, eax
mov dword [ebp - 0x3c], ecx
jmp 0x488994
push ebx
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
push dword [ebp - 0x10]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov edx, esi
push 1
push ebx
call sym.tokio::io::driver::registration::Registration::poll_ready::hc5f8996c21b4e78b
add esp, 8
mov eax, dword [ebp - 0x2c]
cmp eax, 2
je 0x488b17
mov esi, dword [ebp - 0x28]
movzx ebx, byte [ebp - 0x24]
test eax, eax
jne 0x488b2a
push 0
push dword [ebp - 0x3c]
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x4889e0
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x1c], 4
jmp 0x488a50
call sub.WS2_32.dll_WSAGetLastError
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x19], 0
mov word [ebp - 0x1b], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
call sym.std::io::error::Error::kind::h8dbd07e130ee3a1c
cmp al, 0xd
jne 0x488a50
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x488a50
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ebp - 0x38], ecx
lock inc dword [ecx]
jle 0x488b64
add edx, 8
lea ecx, [ebp - 0x2c]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [ebp - 0x38]
call sym.mio::sys::windows::selector::SelectorInner::reregister::h982bb201985beea5
add esp, 0xc
movzx ecx, byte [ebp - 0x2c]
cmp cl, 4
jne 0x488adf
nop word cs:[eax + eax]
nop
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp cl, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
je 0x488b53
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x34]
call sym.std::io::error::Error::kind::h8dbd07e130ee3a1c
cmp al, 0xd
jne 0x488b45
mov eax, dword [edi + 0x20]
movzx ecx, bl
and esi, 3
shl ecx, 0x10
xor esi, 0x7f00000f
nop word [eax + eax]
mov edx, eax
shr edx, 0x10
cmp bl, dl
jne 0x488aa6
mov edx, esi
and edx, eax
or edx, ecx
lock cmpxchg dword [edi + 0x20], edx
jne 0x488a90
cmp byte [ebp - 0x10], 2
jbe 0x48898e
mov eax, dword [ebp - 0x30]
mov esi, dword [eax + 4]
mov ebx, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
push ebx
call eax
add esp, 4
cmp dword [esi + 4], 0
je 0x48897e
cmp dword [esi + 8], 9
jb 0x488970
mov ebx, dword [ebx - 4]
jmp 0x488970
lea eax, [ebp - 0x2b]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x33]
mov ecx, eax
mov eax, dword [eax]
mov ecx, dword [ecx + 3]
mov dword [edx + 3], ecx
mov ecx, dword [ebp - 0x10]
mov dword [edx], eax
mov byte [ebp - 0x34], cl
jmp 0x488a65
lea ecx, [ebp - 0x2c]
mov edx, esi
push 1
push ebx
call sym.tokio::io::driver::registration::Registration::poll_ready::hc5f8996c21b4e78b
add esp, 8
mov eax, dword [ebp - 0x2c]
cmp eax, 2
jne 0x488b1f
mov eax, dword [ebp - 0x14]
mov byte [eax], 5
jmp 0x488b5c
test eax, eax
je 0x488b68
mov esi, dword [ebp - 0x28]
movzx ebx, byte [ebp - 0x24]
lea eax, [ebp - 0x23]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
mov byte [edx + 7], cl
mov word [edx + 5], ax
mov dword [edx], esi
mov byte [edx + 4], bl
jmp 0x488b5c
movsd xmm0, qword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
movsd qword [eax], xmm0
jmp 0x488b5c
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 4
mov dword [ecx + 4], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_threadmod.rs
mov edx, 0x2b
push 0x5a3724
call dbg.panic
add esp, 4
ud2