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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010d84d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 0x18]
push ecx
push 0x74
mov dword [ebp - 0x28], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
call fcn.10027780
mov edi, eax
add esp, 8
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
xor edx, edx
mov eax, dword [ebp + 8]
xor esi, esi
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1002a839
mov edx, dword [eax + 8]
mov esi, ecx
lock inc dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [eax], 0x1c
mov dword [ebp - 0x1c], eax
lea eax, [esi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x1002ac40
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [ebp - 0x10], eax
test esi, esi
je 0x1002a8a5
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], esi
lock inc dword [eax]
jmp 0x1002a8a8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x1c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp + 0x18]
mov dword [edi + 0x30], eax
mov eax, dword [ecx]
mov dword [ecx], 0
lea ecx, [edi + 0x38]
mov dword [ecx], eax
push ecx
lea ecx, [edi + 0x3c]
call fcn.1002ab60
test esi, esi
je 0x1002a8e9
mov ecx, dword [ebp - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x1002a8e9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
mov dword [ebp + 0x18], edi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], ecx
je 0x1002a918
lea eax, [ebp + 0x18]
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.1002b150
mov edi, eax
mov ecx, dword [ebx + 0x18]
add ecx, 0x18
lock inc dword [ecx]
mov ecx, dword [esi]
push 0
cmp ecx, 0xffffffff
jne 0x1002a93a
mov ecx, dword [ebx + 0x18]
push 0x2719
push edi
call fcn.100287e0
jmp 0x1002a99b
mov eax, dword [ebp + 0x14]
push edi
push dword [ebp - 0x1c]
mov dword [ebp + 0x18], eax
lea eax, [ebp + 0x18]
push dword [ebp + 0x10]
mov dword [ebp + 8], 0
push eax
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x1002a992
cmp eax, 0x3e5
je 0x1002a992
push dword [ebp + 8]
mov ecx, dword [ebx + 0x18]
push eax
push edi
call fcn.100287e0
jmp 0x1002a99b
mov ecx, dword [ebx + 0x18]
push edi
call fcn.10028770
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.1002aa50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18