Function at 0x11017100
Capabilities:
Check os version
Get number of processors
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1115e35b
mov eax, dword fs:[0]
push eax
sub esp, 0x518
mov eax, dword [0x111c8010]
xor eax, esp
mov dword [esp + 0x510], eax
push ebx
push esi
push edi
mov eax, dword [0x111c8010]
xor eax, esp
push eax
lea eax, [esp + 0x528]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov ebx, edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
call fcn.11017750
test ebx, ebx
mov dword [esp + 0x1c], eax
je 0x110171c3
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
mov dword [esp + 0x10], eax
jbe 0x110171a0
call fcn.11135927
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x110171ad
call fcn.11135927
mov edx, dword [esp + 0x10]
push edx
push ebx
push edi
push ebx
lea eax, [esp + 0x38]
push eax
call fcn.110178f0
mov edi, dword [esp + 0x18]
test esi, esi
je 0x110171f9
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0x10], eax
jbe 0x110171d8
call fcn.11135927
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x110171e5
call fcn.11135927
mov ecx, dword [esp + 0x10]
push ecx
push esi
push ebx
push esi
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.1100b6e0
push 0x3ff
lea eax, [esp + 0x121]
push 0
push eax
mov byte [esp + 0x128], 0
call fcn.11135000
add esp, 0xc
push 0x7f
lea ecx, [esp + 0xa1]
push 0
push ecx
mov byte [esp + 0xa8], 0
call fcn.11135000
add esp, 0xc
mov dword [esp + 0x14], 0
lea esp, [esp]
push 0
push 0x64
push 0
lea esi, [edi + 8]
push esi
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
cmp eax, 0x102
je 0x11017301
mov eax, dword [esi]
mov ecx, dword [edi + 4]
lea edx, [esp + 0x60]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test byte [esp + 0x60], 1
je 0x11017301
call fcn.11017750
lea edx, [esp + 0x40]
push edx
mov edx, dword [edi + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x90]
push eax
push 0
push 0x400
lea ecx, [esp + 0x12c]
push ecx
push edx
mov dword [esp + 0x58], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
je 0x11017301
mov ax, word [esp + 0x11c]
cmp ax, word [edi + 0xc]
jne 0x11017301
mov ecx, dword [esp + 0x11e]
mov ebx, dword [sym.imp.WS2_32.dll_ntohs]
push ecx
call ebx
and ax, 0xfb7f
cmp ax, 0x8100
jne 0x11017301
mov edx, dword [esp + 0x120]
push edx
call ebx
movzx esi, ax
mov eax, dword [esp + 0x122]
push eax
call ebx
movzx eax, ax
test ax, ax
mov dword [esp + 0x10], eax
ja 0x11017347
call fcn.11017750
sub eax, dword [esp + 0x1c]
cmp eax, 0x5dc
jbe 0x11017240
mov eax, dword [esp + 0x20]
mov dword [eax], 0x5dd
xor eax, eax
mov ecx, dword [esp + 0x528]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x510]
xor ecx, esp
call fcn.1113507a
mov esp, ebp
pop ebp
ret 0x18
movzx esi, si
xor ebx, ebx
test esi, esi
lea edi, [esp + 0x128]
je 0x1101738d
push 0
push 0x80
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x20]
push edx
push edi
call fcn.11017620
test eax, eax
je 0x1101731f
movzx eax, word [esp + 0x14]
add ebx, 1
cmp ebx, esi
lea edi, [edi + eax + 4]
jne 0x11017357
mov eax, dword [esp + 0x10]
movzx eax, ax
test eax, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], eax
je 0x1101750c
lea ecx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x1c]
push 0x80
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x20]
push eax
push edi
call fcn.11017620
test eax, eax
je 0x1101731f
movzx ecx, word [esp + 0x14]
movzx edx, word [edi + ecx]
mov esi, dword [sym.imp.WS2_32.dll_ntohs]
add edi, ecx
push edx
call esi
movzx ebx, ax
movzx eax, word [edi + 2]
push eax
call esi
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
movzx edx, word [edi + 8]
push edx
call esi
movzx eax, ax
add edi, 0xa
cmp bx, 1
mov dword [esp + 0x3c], eax
jne 0x1101742f
mov esi, dword [esp + 0x30]
test esi, esi
je 0x110174f0
mov ecx, dword [edi]
lea ebx, [esp + 0x38]
mov dword [esp + 0x38], ecx
call fcn.11017800
jmp 0x110174f0
cmp bx, 5
jne 0x110174f0
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x110174f0
lea edx, [esp + 0x11c]
push edx
push 0x80
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push edi
call fcn.11017620
test eax, eax
je 0x1101731f
xor esi, esi
lea eax, [esp + 0x9c]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x11017490
sub eax, edx
push eax
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x4c]
call fcn.11005400
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
mov dword [esp + 0x534], esi
call fcn.1100b2a0
mov dword [esp + 0x530], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0x110174df
mov ecx, dword [esp + 0x48]
push ecx
call fcn.1101d128
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
movzx edx, word [esp + 0x3c]
mov eax, dword [esp + 0x10]
add eax, 1
add edi, edx
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
jne 0x110173a4
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1101751e
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, 1
jmp 0x11017321