Function at 0x408ec0
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fcab
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x443068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x90], eax
mov edi, dword [ebx + 8]
add eax, 0x78
mov esi, dword [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test edi, edi
js 0x40917c
cmp edi, 0x2710
jge 0x40917c
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4090ca
add dword [esi + 0x824], eax
lea eax, [esi + 0x24]
imul ecx, edi, 0x34
push eax
push edi
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp - 0x90]
call fcn.004089a0
test al, al
jne 0x4090e0
cmp dword [0x44baf4], 1
jne 0x4090ca
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x50]
lea eax, [eax + 0x44bcdc]
push eax
mov dword [ebp - 0xa0], eax
call fcn.00402840
lea eax, [ebp - 0x50]
mov ecx, 0x4439c4
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00401700
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x408fd0
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408fc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091ac
push edx
push ecx
call fcn.0040c5ae
add esp, 8
mov esi, dword [ebp - 0x94]
cmp esi, dword [0x4439c4]
jne 0x4090be
mov esi, dword [ebp - 0xa0]
lea eax, [ebp - 0x38]
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x10
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.0041106d
add esp, 0xc
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x24], eax
call fcn.00402840
movups xmm0, xmmword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
movups xmmword [ebp - 0x74], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x64], xmm0
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x4439c4
call fcn.004021d0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0xa4]
mov ecx, 0x4439c4
push eax
call fcn.00402230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x4090ca
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40909e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091b1
push edx
push ecx
call fcn.0040c5ae
mov esi, dword [ebp - 0x90]
add esp, 8
mov ecx, esi
push edi
call fcn.00408d40
lea eax, [esi + 0x78]
jmp 0x409185
inc dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x48], eax
mov esi, dword [ebp - 0x90]
mov ecx, esi
push edi
call fcn.00408d40
lea eax, [esi + 0x78]
jmp 0x409185
mov ecx, dword [esi + 0x824]
lea eax, [esi + 0x24]
add eax, ecx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], eax
lea edx, [esi + 0x14]
push 0
mov eax, 0x800
mov dword [ebp - 0x9c], 0
sub eax, ecx
mov dword [ebp - 0x98], 0
mov dword [edx], eax
lea eax, [ebp - 0x98]
push esi
push eax
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x94]
push 1
push edx
push dword [eax + 0x44bcec]
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x40917c
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x3e5
je 0x40917c
call esi
push eax
push str._SocketManager__WSARecv___failed_with_error:__d
push 0xff
push 0x443a80
call fcn.004075c0
mov esi, dword [ebp - 0x90]
add esp, 0x10
mov ecx, esi
push edi
call fcn.00408d40
lea eax, [esi + 0x78]
jmp 0x409185
mov eax, dword [ebp - 0x90]
add eax, 0x78
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040c303
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.0041101c
call fcn.0041101c
int3