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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ebcd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4b2740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x4b466c]
mov dword [ebp - 0x38], eax
mov eax, dword fs:[0x2c]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 0xc], 0
jne 0x482d6f
call fcn.0048d558
mov eax, dword [esi + 4]
test eax, eax
je 0x482d7e
mov eax, dword [eax + 4]
jmp 0x482d80
xor eax, eax
push 4
push 0x64
push eax
push dword [ebp - 0x18]
call fcn.00482b90
add esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x14]
xor edx, edx
xor ebx, ebx
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x482da9
mov edx, dword [eax + 8]
mov ebx, ecx
lock inc dword [ecx + 8]
mov al, byte [eax + 4]
mov byte [esi + 0x20], al
lea eax, [ebx + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x488230
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x482e09
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ebx
lock inc dword [eax]
jmp 0x482e0c
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x18]
push 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x2c], eax
push 0
mov eax, dword [ecx]
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x34], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x3c], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
movzx eax, byte [ecx + 0xc]
mov byte [esi + 0x40], al
movzx eax, byte [ecx + 0x10]
lea ecx, [esi + 0x48]
mov byte [esi + 0x44], al
call fcn.004846c0
test ebx, ebx
je 0x482e7e
mov ecx, dword [ebp - 0x28]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x482e7e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], edx
test byte [ecx + 4], 0x10
je 0x482eb5
test edx, edx
jne 0x482eb5
mov eax, dword [edi + 4]
add eax, 0x18
lock inc dword [eax]
mov ecx, dword [edi + 4]
push edx
push edx
push esi
call fcn.00489e60
jmp 0x482f3e
mov eax, dword [edi + 4]
add eax, 0x18
lock inc dword [eax]
mov ecx, dword [ecx]
push 0
cmp ecx, 0xffffffff
jne 0x482ed7
mov ecx, dword [edi + 4]
push 0x2719
push esi
call fcn.00489e60
jmp 0x482f3e
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x482f0e
mov eax, 0x2746
jmp 0x482f1b
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
je 0x482f35
cmp eax, 0x3e5
je 0x482f35
push dword [ebp - 0x14]
mov ecx, dword [edi + 4]
push eax
push esi
call fcn.00489e60
jmp 0x482f3e
mov ecx, dword [edi + 4]
push esi
call fcn.00489ee0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
call fcn.0048a520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret 0x14