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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov esi, edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov dword [esp + 8], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp], ecx
add eax, ecx
mov dword [esp + 0x2c], eax
mov edx, dword [edx + 4]
mov ebp, dword [esi + 8]
lea ebx, [esp + 0x30]
mov ecx, ebx
mov dword [esp + 0x14], edx
push 0
push dword [esp + 0x68]
call fcn.004a330f
add esp, 8
mov eax, dword [ebx]
cmp eax, 2
jne 0x4a35ab
mov eax, dword [esp + 4]
mov byte [eax], 5
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp + 8]
sub edx, dword [esp]
mov ecx, 0x7fffffff
cmp edx, ecx
cmovae edx, ecx
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x14]
add ecx, 0x40
mov dword [esp + 0x24], ecx
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
test eax, eax
jne 0x4a3720
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 8]
cmp eax, dword [esp]
jb 0x4a3773
cmp ebp, 0xffffffff
je 0x4a3769
push 0
push dword [esp + 0x2c]
push dword [esp + 0x34]
push ebp
call dword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x4a3628
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
xor eax, eax
cmp esi, 0x274a
jne 0x4a369c
mov byte [esp + 0x18], 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
cmp cl, 4
je 0x4a373c
mov ebx, ecx
mov edi, ecx
mov esi, eax
lea ecx, [esp + 0xc]
call fcn.00430584
cmp al, 0xd
jne 0x4a372e
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x48]
call fcn.004a5484
movzx ecx, bl
mov edx, esi
call fcn.004a2b2d
lea ecx, [esp + 0x30]
mov edx, dword [esp + 0x14]
push 0
push dword [esp + 0x68]
call fcn.004a330f
add esp, 8
mov eax, dword [esp + 0x30]
cmp eax, 2
mov ebx, dword [esp + 0x20]
jne 0x4a35d2
jmp 0x4a359c
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
call fcn.00430584
cmp al, 0xd
jne 0x4a36ed
test ebx, ebx
je 0x4a36ed
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
lock inc dword [eax]
jle 0x4a3784
add edx, 8
lea ecx, [esp + 0x30]
push dword [ebx + 0xc]
push dword [ebx + 8]
push eax
call fcn.0043004f
add esp, 0xc
cmp byte [esp + 0x30], 4
je 0x4a36ed
mov ebx, dword [esp + 0x30]
cmp bl, 4
jne 0x4a3702
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
xor ebx, ebx
jmp 0x4a3648
mov edi, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
xor ecx, ecx
mov edx, esi
call fcn.004a2b2d
mov esi, edi
mov edi, ebx
jmp 0x4a3648
mov eax, dword [esp + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
jmp 0x4a35a3
mov eax, dword [esp + 4]
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x4a35a3
mov ecx, dword [esp]
add ecx, eax
mov esi, dword [esp + 0x68]
mov edx, dword [esi + 0xc]
cmp ecx, edx
jbe 0x4a3751
mov dword [esi + 0xc], ecx
mov edx, ecx
add dword [esp], eax
jb 0x4a3786
cmp edx, ecx
jb 0x4a379a
mov dword [esi + 8], ecx
mov eax, dword [esp + 4]
mov byte [eax], 4
jmp 0x4a35a3
mov ecx, 0x4fd3b0
call fcn.004cbd00
mov ecx, dword [esp]
mov edx, dword [esp + 8]
push 0x4fd2d0
call fcn.004cb8f0
ud2
mov ecx, str.filled_overflowfilled_must_not_become_larger_than_initialized
mov edx, 0xf
push 0x4fd3c0
call fcn.004cbd20
lea ecx, [esp + 0x30]
mov dword [ecx], 0x4fd320
mov dword [ecx + 4], 1
xor eax, eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 8], str._rustc_a4472498d7e88041f6206faf4503eb1f246fd427librarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov dword [ecx + 0xc], eax
mov edx, 0x4fd3c0
call fcn.004cb8c0