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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c
mov esi, edx
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
xor eax, eax
add edx, 0xc
lea ebp, [esp + 0x2c]
cmp dword [esi + 0xc], 0xffffffff
mov edi, dword [ecx + 4]
cmove edx, eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
add ecx, eax
sub edi, eax
mov dword [esp + 4], eax
mov dword [esp + 0x24], ecx
mov ecx, 0x7fffffff
cmp edi, ecx
cmovae edi, ecx
mov dword [esp + 0x28], edi
mov edx, dword [esi + 8]
mov ecx, ebp
push 0
push dword [esp + 0x64]
call fcn.0048cd6d
pop eax
pop ecx
mov edx, dword [esp + 0x2c]
cmp edx, 2
je 0x48d123
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
test edx, edx
jne 0x48d12b
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
cmp edx, dword [esp + 4]
jb 0x48d170
mov edi, dword [esp + 0x14]
mov edx, 0x4d3e90
mov ecx, edi
call fcn.0042cb03
push 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [edi]
call dword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x48d03c
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
xor eax, eax
cmp edi, 0x274a
jne 0x48d08e
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 + 0x1c], edi
mov dword [esp + 0x18], ebx
je 0x48d135
lea ecx, [esp + 0x18]
call fcn.00487cf4
cmp al, 0xd
jne 0x48d160
mov ecx, esi
lea edx, [esp + 0x44]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
call fcn.0048cd27
push ebp
call fcn.00487cb8
pop eax
jmp 0x48cfbe
lea ecx, [esp + 8]
mov byte [esp + 8], 0
mov dword [esp + 0xc], edi
call fcn.0041c364
cmp al, 0xd
jne 0x48d045
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
test eax, eax
je 0x48d111
mov dword [esp + 0x20], edi
mov edi, dword [eax + 4]
mov edx, dword [eax]
lock inc dword [edi]
jle 0x48d185
add edx, 8
mov ecx, ebp
push dword [eax + 0xc]
push dword [eax + 8]
push edi
call fcn.00435b9d
add esp, 0xc
push 4
pop ecx
call fcn.00479448
cmp byte [esp + 0x2c], 4
je 0x48d045
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
cmp bl, 4
je 0x48d045
mov edi, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
call fcn.00479448
jmp 0x48d05e
and dword [esp + 0x30], 0
mov dword [esp + 0x2c], 4
jmp 0x48d045
mov eax, dword [esp]
mov byte [eax], 5
jmp 0x48d168
mov edx, dword [esp]
mov dword [edx], ecx
mov dword [edx + 4], eax
jmp 0x48d168
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 4]
mov ecx, dword [edx + 0xc]
add eax, edi
cmp eax, ecx
jbe 0x48d14b
mov ecx, eax
mov dword [edx + 0xc], eax
add dword [esp + 4], edi
jb 0x48d189
cmp ecx, eax
jb 0x48d19d
mov ecx, dword [esp]
mov dword [edx + 8], eax
mov byte [ecx], 4
jmp 0x48d168
mov eax, dword [esp]
mov dword [eax], ebx
mov dword [eax + 4], edi
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
push 0x4d3b1c
call fcn.004a51f0
pop eax
ud2
ud2
push 0xf
pop edx
mov ecx, str.filled_overflowfilled_must_not_become_larger_than_initialized
push 0x4d3ea0
call fcn.004a5670
jmp 0x48d182
lea ecx, [esp + 0x2c]
mov edx, 0x4d3ea0
mov dword [ecx], 0x4d3b6c
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], 0x4fa19c
and dword [ecx + 0xc], 0
call fcn.004a51c0
ud2