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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71245d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x7f9c40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [0x800e58]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword fs:[0x2c]
mov esi, dword [eax + edx*4]
cmp byte [esi + 0xc], 0
jne 0x49fe01
call fcn.006dfa14
mov eax, dword [esi + 4]
test eax, eax
je 0x49fe10
mov eax, dword [eax + 4]
jmp 0x49fe12
xor eax, eax
push 8
push 0x70
push eax
push dword [ebp + 0x14]
call fcn.004603b0
add esp, 0x10
mov esi, eax
mov dl, byte [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp + 8], eax
xor ecx, ecx
mov eax, dword [ebx + 0xc]
xor edi, edi
test eax, eax
je 0x49fe41
mov ecx, dword [ebx + 8]
mov edi, eax
lock inc dword [eax + 8]
mov dword [esi + 0x14], 0
lea eax, [edi + 8]
mov dword [esi + 0x18], 0x4a3d40
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 byte [esi + 0x20], dl
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 0x14], eax
test edi, edi
je 0x49fea4
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edi
lock inc dword [eax]
lea eax, [ebx + 4]
mov dword [ebp + 8], eax
jmp 0x49fea7
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0x14]
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 dword [esi + 0x2c], eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x50]
mov dword [esi + 0x38], eax
movzx eax, byte [edx + 8]
mov byte [esi + 0x40], al
movzx eax, byte [edx + 9]
mov byte [esi + 0x41], al
mov eax, dword [edx + 0xc]
mov dword [esi + 0x44], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x48], eax
push 0
mov dword [edx + 0x10], 0
mov dword [edx + 0xc], 0
call fcn.00464140
test edi, edi
je 0x49ff1d
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 4]
mov dword [ebp + 8], eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x49ff1d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [ebx + 4]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
test byte [eax], 0x10
je 0x49ff58
test ecx, ecx
jne 0x49ff58
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
add eax, 0x18
lock inc dword [eax]
mov ecx, dword [ecx + 4]
push 0
push 0
push esi
call fcn.0047cd40
jmp 0x49ffe8
mov edi, dword [ebp - 0x10]
add edi, 4
mov eax, dword [edi]
add eax, 0x18
lock inc dword [eax]
mov ecx, dword [ebx]
push 0
cmp ecx, 0xffffffff
jne 0x49ff7e
mov ecx, dword [edi]
push 0x2719
push esi
call fcn.0047cd40
jmp 0x49ffe8
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], 0
push eax
push 1
lea eax, [ebp - 0x20]
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 0x49ffb5
mov eax, 0x2746
jmp 0x49ffc7
cmp eax, 0x4d2
jne 0x49ffc7
mov edi, dword [ebp - 0x10]
mov eax, 0x274d
add edi, 4
test ebx, ebx
je 0x49ffe0
cmp eax, 0x3e5
je 0x49ffe0
push dword [ebp + 0x14]
mov ecx, dword [edi]
push eax
push esi
call fcn.0047cd40
jmp 0x49ffe8
mov ecx, dword [edi]
push esi
call fcn.0047ce70
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.0048ab90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14