Function at 0x5428c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, dword [edx + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [edx + 8]
mov dword [ebp - 0x10], ecx
cmp esi, 0xffffffff
mov dword [ebp - 0x44], esi
je 0x542acc
mov eax, dword [eax]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
jmp 0x542910
push esi
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
push dword [ebp - 0x1c]
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
mov ebx, edi
lea ecx, [ebp - 0x2c]
mov edx, ebx
push 0
push dword [ebp - 0x40]
call sym.tokio::runtime::io::registration::Registration::poll_ready::h08357388fbeac282
add esp, 8
mov eax, dword [ebp - 0x2c]
cmp eax, 2
je 0x542ae5
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
test eax, eax
jne 0x542af7
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edi
mov edx, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov eax, edx
sub eax, esi
jb 0x542b24
mov ecx, dword [ecx]
mov edx, 0x7fffffff
add ecx, esi
cmp eax, 0x7fffffff
cmovae eax, edx
push 0
push eax
push ecx
push dword [ebp - 0x44]
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x54298c
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
xor eax, eax
cmp edi, 0x274a
jne 0x542a38
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x38], 4
mov edi, eax
mov ecx, dword [ebp - 0x38]
mov edx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edi
cmp cl, 4
je 0x542ab1
lea ecx, [ebp - 0x18]
call sym.std::io::error::Error::kind::hed2cab29b561864c
cmp al, 0xd
jne 0x542b01
movzx eax, byte [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x1c], ecx
and esi, 0x23
mov ecx, dword [ebx + 0x48]
movzx edx, byte [ebp - 0x30]
xor esi, 0x2f
mov dword [ebp - 0x20], esi
shl edx, 0x10
nop dword [eax]
mov eax, ecx
mov edi, ebx
shr eax, 0x10
cmp byte [ebp - 0x30], al
jne 0x5429fe
mov esi, ecx
mov eax, ecx
and esi, dword [ebp - 0x20]
or esi, edx
lock cmpxchg dword [ebx + 0x48], esi
mov ecx, eax
jne 0x5429e0
cmp dword [ebp - 0x48], 3
jne 0x542910
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 4]
mov esi, dword [eax]
mov eax, dword [ebx]
test eax, eax
je 0x542a1c
push esi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x5428fe
cmp dword [ebx + 8], 9
jb 0x5428f0
mov esi, dword [esi - 4]
jmp 0x5428f0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
call sym.std::io::error::Error::kind::hed2cab29b561864c
cmp al, 0xd
jne 0x542a93
mov ecx, dword [ebp - 0x3c]
mov edx, 0
test ecx, ecx
je 0x542a8c
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
lock inc dword [eax]
jle 0x542b15
mov eax, ecx
add edx, 8
lea ecx, [ebp - 0x2c]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
call sym.mio::sys::windows::selector::SelectorInner::reregister::hcc094053d8254805
add esp, 0xc
cmp byte [ebp - 0x2c], 4
mov edx, 0
jne 0x542a9c
xor ecx, ecx
jmp 0x54299a
xor ecx, ecx
xor edx, edx
jmp 0x54299a
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
cmp cl, 4
jne 0x5429a9
add esi, dword [ebp - 0x14]
jb 0x542b30
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax + 0xc]
jbe 0x542ac1
mov dword [eax + 0xc], esi
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], esi
mov byte [ecx], 4
jmp 0x542b0d
lea ecx, [ebp - 0x2c]
mov edx, ebx
push 0
push dword [eax]
call sym.tokio::runtime::io::registration::Registration::poll_ready::h08357388fbeac282
add esp, 8
mov eax, dword [ebp - 0x2c]
cmp eax, 2
jne 0x542aed
mov eax, dword [ebp - 0x10]
mov byte [eax], 5
jmp 0x542b0d
test eax, eax
je 0x542b17
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edi
jmp 0x542b0d
movsd xmm0, qword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
movsd qword [eax], xmm0
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
cmp esi, edx
jbe 0x542b3a
mov ecx, esi
push 0x5b3bc0
call sym.core::slice::index::slice_start_index_len_fail::hb6088e54b0b075d5
mov ecx, 0x5b3bb0
call sym.core::panicking::panic_const::panic_const_add_overflow::hf3b41c4c75c49a6d
mov ecx, 0x5b4028
call sym.core::option::unwrap_failed::h4002a2165d665d64
mov edx, edi
mov edi, eax
xor ecx, ecx
call sym.core::ptr::drop_in_place_LT_core..option..Option_LT_std..io..error..Error_GT__GT_::hd3d946b4dc649b03
jmp 0x542b85
push edi
call sym.__Unwind_Resume
nop dword [eax + eax]