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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x103c
call fcn.005b8170
mov eax, dword [0x624040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1030], ecx
mov dword [ebp - 0x103c], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1028], esi
test ecx, ecx
jne 0x48e021
cmp dword [ebp + 0x10], 0xffffffff
je 0x48e257
push edi
xor edi, edi
mov dword [ebp - 0x102c], edi
cmp dword [esi + 0x78], edi
jle 0x48e256
xor edx, edx
mov dword [ebp - 0x1034], edx
push ebx
nop dword [eax]
mov ebx, dword [esi + 0x74]
add ebx, edx
mov eax, dword [ebx + 0x1c]
cmp eax, 0xffffffff
je 0x48e23c
cmp dword [ebx + 0x54], 0
jne 0x48e23c
test ecx, ecx
je 0x48e0be
push ecx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x48e230
mov edi, dword [ebp - 0x1030]
xor ecx, ecx
mov edx, dword [edi]
test edx, edx
je 0x48e0c7
mov esi, dword [ebx + 0x1c]
lea eax, [edi + 4]
cmp dword [eax], esi
je 0x48e096
inc ecx
add eax, 4
cmp ecx, edx
jb 0x48e082
mov esi, dword [ebp - 0x1028]
jmp 0x48e0c7
lea eax, [edx - 1]
cmp ecx, eax
jae 0x48e0b4
lea edx, [edi + 4]
lea edx, [edx + ecx*4]
mov eax, dword [edx + 4]
lea edx, [edx + 4]
mov dword [edx - 4], eax
inc ecx
mov eax, dword [edi]
dec eax
cmp ecx, eax
jb 0x48e0a3
dec dword [edi]
mov esi, dword [ebp - 0x1028]
jmp 0x48e0c7
cmp eax, dword [ebp + 0x10]
jne 0x48e23c
cmp dword [ebx + 0x1c], 0xffffffff
jne 0x48e0e9
push dword [ebp - 0x103c]
xor edi, edi
push dword [ebp - 0x102c]
push esi
call fcn.0048d2f0
add esp, 0xc
jmp 0x48e21a
cmp dword [ebx], 2
mov ecx, 0x10
mov eax, 0x1c
cmove eax, ecx
mov dword [ebp - 0x1038], eax
mov eax, dword [esi + 0x91b8]
mov ecx, dword [ebx + 0x1c]
test eax, eax
je 0x48e139
push dword [esi + 0x91bc]
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x1038]
push edx
lea edx, [ebp - 0x1024]
push edx
push 0
push 0x1001
lea edx, [ebp - 0x1008]
push edx
push ecx
call eax
add esp, 0x1c
jmp 0x48e15c
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x1024]
push eax
push 0
push 0x1001
lea eax, [ebp - 0x1008]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, 0xffffffff
jne 0x48e197
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x48e22a
cmp eax, 0x2733
je 0x48e22a
push dword [ebp - 0x103c]
push dword [ebp - 0x102c]
push esi
call fcn.0048d2f0
add esp, 0xc
jmp 0x48e21a
test edi, edi
jg 0x48e1b2
push dword [ebp - 0x103c]
push dword [ebp - 0x102c]
push esi
call fcn.0048d2f0
add esp, 0xc
jmp 0x48e21a
movzx eax, word [ebp - 0x1024]
mov ecx, dword [ebx]
cmp eax, ecx
jne 0x48e22a
sub ecx, 2
je 0x48e1ee
sub ecx, 0x15
jne 0x48e22a
lea edx, [ebx + 4]
lea eax, [ebp - 0x101c]
lea esi, [ecx + 0xc]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x48e224
add edx, 4
add eax, 4
sub esi, 4
jae 0x48e1d5
mov esi, dword [ebp - 0x1028]
jmp 0x48e1fb
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x1020]
cmp eax, dword [ecx]
jne 0x48e22a
push dword [ebp - 0x103c]
lea eax, [ebp - 0x1008]
push 0
push dword [ebp - 0x102c]
push edi
push eax
push esi
call fcn.0048da40
add esp, 0x18
test edi, edi
jg 0x48e0c7
jmp 0x48e22a
mov esi, dword [ebp - 0x1028]
mov edi, dword [ebp - 0x102c]
mov edx, dword [ebp - 0x1034]
mov ecx, dword [ebp - 0x1030]
inc edi
add edx, 0x58
mov dword [ebp - 0x102c], edi
mov dword [ebp - 0x1034], edx
cmp edi, dword [esi + 0x78]
jl 0x48e040
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004830fa
mov esp, ebp
pop ebp
ret