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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [esp + 0x6c]
mov dword [esp], ecx
mov edi, 0x7fffffff
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x24], edx
mov esi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x10], esi
sub esi, ecx
add eax, ecx
mov dword [esp + 4], ecx
mov ecx, dword [edx + 8]
cmp esi, edi
mov dword [esp + 0x2c], eax
cmovae esi, edi
mov edi, dword [edx + 0x10]
mov dword [esp + 0x28], esi
lea esi, [esp + 0x34]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], edi
mov edx, dword [esp + 0x30]
mov ecx, esi
push 0
push dword [esp + 0x6c]
call fcn.00608958
add esp, 8
mov edx, dword [esp + 0x34]
cmp edx, 2
je 0x608d77
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
test edx, edx
jne 0x608d7f
mov edx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
cmp edx, dword [esp + 4]
jb 0x608dc4
cmp ebx, 0xffffffff
je 0x608dd8
push 0
push dword [esp + 0x2c]
push dword [esp + 0x34]
mov ebp, ebx
push ebx
call dword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x608ca7
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ecx, eax
xor eax, eax
cmp ecx, 0x274a
jne 0x608d03
mov dword [esp + 0xc], eax
mov byte [esp + 8], 4
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0xc]
cmp bl, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
je 0x608d89
lea ecx, [esp + 0x14]
call fcn.004ba6c0
cmp al, 0xd
jne 0x608db4
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x4c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
call fcn.00608b3b
push esi
call fcn.005fa901
add esp, 4
mov edi, dword [esp + 0x20]
mov ebx, ebp
jmp 0x608c2d
mov byte [esp + 8], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 8]
call fcn.004ba6c0
cmp al, 0xd
jne 0x608cb0
test edi, edi
je 0x608cb0
mov eax, dword [edi + 4]
mov edx, dword [edi]
lock inc dword [eax]
jle 0x608df1
add edx, 8
mov ecx, esi
push dword [edi + 0xc]
push dword [edi + 8]
push eax
call fcn.004e302c
add esp, 0xc
cmp byte [esp + 0x34], 4
je 0x608cb0
mov ebx, dword [esp + 0x34]
cmp bl, 4
je 0x608cb0
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
call fcn.004e1bf6
jmp 0x608cc9
mov eax, dword [esp]
mov byte [eax], 5
jmp 0x608dbc
mov edx, dword [esp]
mov dword [edx], ecx
mov dword [edx + 4], eax
jmp 0x608dbc
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 4]
mov ecx, dword [edx + 0xc]
add eax, edi
cmp eax, ecx
jbe 0x608d9f
mov ecx, eax
mov dword [edx + 0xc], eax
add dword [esp + 4], edi
jb 0x608df5
cmp ecx, eax
jb 0x608e0b
mov ecx, dword [esp]
mov dword [edx + 8], eax
mov byte [ecx], 4
jmp 0x608dbc
mov eax, dword [esp]
mov dword [eax], ebx
mov dword [eax + 4], edi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
push 0x7c8ee0
call fcn.00652180
jmp 0x608dec
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmclist.rs
mov edx, 0x2b
push 0x7c9250
call fcn.006522d0
add esp, 4
ud2
ud2
mov ecx, str.filled_overflowfilled_must_not_become_larger_than_initialized
mov edx, 0xf
push 0x7c9260
call fcn.00652640
jmp 0x608dec
lea ecx, [esp + 0x34]
mov edx, 0x7c9260
xor eax, eax
mov dword [ecx], 0x7c8f30
mov dword [ecx + 4], 1
mov dword [ecx + 0x10], eax
mov dword [ecx + 8], 0x7f59e0
mov dword [ecx + 0xc], eax
call fcn.00652150
ud2