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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d0a0
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x100ab080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x4d4], edi
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x24]
mov esi, dword [ebp + 0x1c]
movups xmmword [ebp - 0x4a0], xmm0
mov dword [ebp - 0x4ec], esi
mov dword [ebp - 0x4e4], eax
call fcn.1001a740
mov dword [ebp - 0x4e0], eax
test esi, esi
je 0x1001a2fb
mov ecx, dword [esi]
cmp ecx, dword [esi + 4]
je 0x1001a2fb
mov dword [esi + 4], ecx
push 0x400
lea eax, [ebp - 0x490]
push 0
push eax
call fcn.10068810
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.10068810
lea esi, [edi + 8]
mov dword [ebp - 0x4d8], 0
mov edi, dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
add esp, 0x18
push 0
push 0x64
push 0
push esi
push 1
call edi
cmp eax, 0x102
je 0x1001a423
lea eax, [ebp - 0x4cc]
push eax
mov eax, dword [ebp - 0x4d4]
push dword [esi]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test byte [ebp - 0x4cc], 1
je 0x1001a423
call fcn.1001a740
mov dword [ebp - 0x4f8], eax
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0x4e8], 0x10
push eax
push 0
push 0x400
lea eax, [ebp - 0x490]
push eax
mov eax, dword [ebp - 0x4d4]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
je 0x1001a423
push dword [ebp - 0x48e]
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebp - 0x4d4]
mov ax, word [ebp - 0x490]
cmp ax, word [ecx + 0xc]
jne 0x1001a423
push dword [ebp - 0x48e]
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, 0xfb7f
and ax, cx
mov ecx, 0x8100
cmp ax, cx
jne 0x1001a423
push dword [ebp - 0x48c]
call dword [sym.imp.WS2_32.dll_ntohs]
push dword [ebp - 0x48a]
movzx eax, ax
mov dword [ebp - 0x4d0], eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [ebp - 0x4dc], eax
test ax, ax
jne 0x1001a464
call fcn.1001a740
sub eax, dword [ebp - 0x4e0]
cmp eax, 0x7d0
jbe 0x1001a337
mov ecx, dword [ebp - 0x4e4]
mov dword [ecx], 0x7d1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006636c
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp - 0x4d0]
lea edi, [ebp - 0x484]
movzx eax, ax
xor esi, esi
mov dword [ebp - 0x4d0], eax
test eax, eax
je 0x1001a4f2
nop
mov ecx, dword [ebp - 0x4d4]
lea eax, [ebp - 0x90]
push 0
push 0x80
push eax
lea eax, [ebp - 0x4d8]
push eax
push edi
call fcn.1001a610
test eax, eax
je 0x1001a445
mov eax, dword [ebp + 0x28]
lea ecx, [ebp - 0x90]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001a4d0
test dl, dl
je 0x1001a4cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001a4d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001a4b0
xor eax, eax
jmp 0x1001a4d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001a445
movzx eax, word [ebp - 0x4d8]
inc esi
add eax, 4
add edi, eax
cmp esi, dword [ebp - 0x4d0]
jne 0x1001a480
mov eax, dword [ebp - 0x4dc]
movzx eax, ax
mov dword [ebp - 0x4d0], 0
test eax, eax
je 0x1001a5de
nop dword [eax]
mov ecx, dword [ebp - 0x4d4]
lea eax, [ebp - 0x490]
push eax
push 0x80
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x4d8]
push eax
push edi
call fcn.1001a610
test eax, eax
je 0x1001a445
movzx eax, word [ebp - 0x4d8]
add edi, eax
movzx eax, word [edi]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx esi, ax
movzx eax, word [edi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
movzx eax, word [edi + 8]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
add edi, 0xa
mov dword [ebp - 0x4f4], edx
cmp esi, 1
jne 0x1001a5bb
mov esi, dword [ebp - 0x4ec]
test esi, esi
je 0x1001a5bb
mov eax, dword [esi + 4]
mov ecx, dword [edi]
mov dword [ebp - 0x4f0], ecx
cmp eax, dword [esi + 8]
je 0x1001a5a6
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1001a5bb
lea ecx, [ebp - 0x4f0]
push ecx
push eax
mov ecx, esi
call fcn.1001a7d0
mov edx, dword [ebp - 0x4f4]
mov esi, dword [ebp - 0x4d0]
mov ecx, dword [ebp - 0x4dc]
inc esi
movzx eax, dx
add edi, eax
mov dword [ebp - 0x4d0], esi
movzx eax, cx
cmp esi, eax
jne 0x1001a510
mov ecx, dword [ebp - 0x4e4]
test ecx, ecx
je 0x1001a5f6
mov eax, dword [ebp - 0x4f8]
sub eax, dword [ebp - 0x4e0]
mov dword [ecx], eax
mov eax, 1
jmp 0x1001a447