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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7152cd
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 0x4a7b01
call fcn.006dfa14
mov eax, dword [esi + 4]
test eax, eax
je 0x4a7b10
mov eax, dword [eax + 4]
jmp 0x4a7b12
xor eax, eax
push 8
push 0x98
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 0x4a7b44
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], 0x4aad10
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 0x4a7ba7
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edi
lock inc dword [eax]
lea eax, [ebx + 4]
mov dword [ebp + 8], eax
jmp 0x4a7baa
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x2c], eax
call fcn.004a8950
push dword [ebp + 0x18]
lea ecx, [esi + 0x78]
push 0
push 0
call fcn.00464140
test edi, edi
je 0x4a7bf5
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 4]
mov dword [ebp + 8], eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x4a7bf5
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 0x4a7c30
test ecx, ecx
jne 0x4a7c30
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 0x4a7cc0
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 0x4a7c56
mov ecx, dword [edi]
push 0x2719
push esi
call fcn.0047cd40
jmp 0x4a7cc0
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 0x4a7c8d
mov eax, 0x2746
jmp 0x4a7c9f
cmp eax, 0x4d2
jne 0x4a7c9f
mov edi, dword [ebp - 0x10]
mov eax, 0x274d
add edi, 4
test ebx, ebx
je 0x4a7cb8
cmp eax, 0x3e5
je 0x4a7cb8
push dword [ebp + 0x14]
mov ecx, dword [edi]
push eax
push esi
call fcn.0047cd40
jmp 0x4a7cc0
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.004ab5d0
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