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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a200
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x100a70c0]
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.1001a6b0
mov dword [ebp - 0x4e0], eax
test esi, esi
je 0x1001a26b
mov ecx, dword [esi]
cmp ecx, dword [esi + 4]
je 0x1001a26b
mov dword [esi + 4], ecx
push 0x400
lea eax, [ebp - 0x490]
push 0
push eax
call fcn.10065910
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.10065910
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 0x1001a393
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 0x1001a393
call fcn.1001a6b0
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 0x1001a393
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 0x1001a393
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 0x1001a393
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 0x1001a3d4
call fcn.1001a6b0
sub eax, dword [ebp - 0x4e0]
cmp eax, 0x7d0
jbe 0x1001a2a7
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.10063317
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 0x1001a462
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.1001a580
test eax, eax
je 0x1001a3b5
mov eax, dword [ebp + 0x28]
lea ecx, [ebp - 0x90]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001a440
test dl, dl
je 0x1001a43c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001a440
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001a420
xor eax, eax
jmp 0x1001a445
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001a3b5
movzx eax, word [ebp - 0x4d8]
inc esi
add eax, 4
add edi, eax
cmp esi, dword [ebp - 0x4d0]
jne 0x1001a3f0
mov eax, dword [ebp - 0x4dc]
movzx eax, ax
mov dword [ebp - 0x4d0], 0
test eax, eax
je 0x1001a54e
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.1001a580
test eax, eax
je 0x1001a3b5
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 0x1001a52b
mov esi, dword [ebp - 0x4ec]
test esi, esi
je 0x1001a52b
mov eax, dword [esi + 4]
mov ecx, dword [edi]
mov dword [ebp - 0x4f0], ecx
cmp eax, dword [esi + 8]
je 0x1001a516
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1001a52b
lea ecx, [ebp - 0x4f0]
push ecx
push eax
mov ecx, esi
call fcn.1001a740
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 0x1001a480
mov ecx, dword [ebp - 0x4e4]
test ecx, ecx
je 0x1001a566
mov eax, dword [ebp - 0x4f8]
sub eax, dword [ebp - 0x4e0]
mov dword [ecx], eax
mov eax, 1
jmp 0x1001a3b7