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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
mov edi, 0x7fffffff
mov esi, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
add ecx, edx
mov dword [esp + 0xc], esi
sub esi, edx
mov dword [esp], edx
mov edx, dword [eax + 4]
cmp esi, edi
mov dword [esp + 0x24], ecx
cmovae esi, edi
mov dword [esp + 0x20], esi
lea eax, [edx + 0x40]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x34]
push 0
push dword [esp + 0x6c]
call fcn.004b98ce
add esp, 8
mov edx, dword [esp + 0x34]
cmp edx, 2
je 0x4b70ed
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
test edx, edx
jne 0x4b70f6
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
cmp eax, dword [esp]
jb 0x4b7139
cmp ebx, 0xffffffff
je 0x4b714a
push 0
push dword [esp + 0x24]
push dword [esp + 0x2c]
mov edi, ebx
push ebx
call dword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x4b7023
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
xor eax, eax
cmp esi, 0x274a
jne 0x4b7074
mov dword [esp + 8], eax
mov byte [esp + 4], 4
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp bl, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
je 0x4b70fe
lea ecx, [esp + 0x10]
call fcn.0040baa4
cmp al, 0xd
jne 0x4b7128
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
call fcn.004b4b87
movzx ecx, bl
mov edx, esi
call fcn.0042ab64
mov ebx, edi
jmp 0x4b6fa8
lea ecx, [esp + 4]
mov byte [esp + 4], 0
mov dword [esp + 8], esi
call fcn.0040baa4
cmp al, 0xd
jne 0x4b702c
test ebp, ebp
mov dword [esp + 0x18], esi
je 0x4b702c
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
mov esi, ebp
lock inc dword [eax]
jle 0x4b715e
add edx, 8
lea ecx, [esp + 0x34]
push dword [esi + 0xc]
push dword [esi + 8]
push eax
call fcn.0043927c
add esp, 0xc
cmp byte [esp + 0x34], 4
je 0x4b702c
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
cmp bl, 4
je 0x4b702c
mov esi, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
call fcn.0042ab64
jmp 0x4b7045
mov eax, dword [esp + 0x60]
mov byte [eax], 5
jmp 0x4b7131
mov eax, dword [esp + 0x60]
mov dword [eax], ecx
jmp 0x4b712e
mov edx, dword [esp + 0x6c]
mov eax, dword [esp]
mov ecx, dword [edx + 0xc]
add eax, esi
cmp eax, ecx
jbe 0x4b7113
mov ecx, eax
mov dword [edx + 0xc], eax
add dword [esp], esi
jb 0x4b7160
cmp ecx, eax
jb 0x4b7174
mov dword [edx + 8], eax
mov eax, dword [esp + 0x60]
mov byte [eax], 4
jmp 0x4b7131
mov eax, dword [esp + 0x60]
mov dword [eax], ebx
mov dword [eax + 4], esi
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
push 0x52b33c
call fcn.004e8b80
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x52b454
call fcn.004e8ca0
ud2
mov ecx, str.filled_overflowfilled_must_not_become_larger_than_initialized
mov edx, 0xf
push 0x52b464
call fcn.004e8fb0
lea ecx, [esp + 0x34]
mov edx, 0x52b464
xor eax, eax
mov dword [ecx], 0x52b38c
mov dword [ecx + 4], 1
mov dword [ecx + 0x10], eax
mov dword [ecx + 8], str.C:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_src_aes.rs
mov dword [ecx + 0xc], eax
call fcn.004e8b50