Function at 0x40b2f0
Capabilities:
Check for time delay via gettickcount
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x41c40b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebp, ebp
mov ecx, 0xa
xor eax, eax
mov edx, dword [esi + 0x10]
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 4]
lea eax, [esp + 0x2c]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
cmp eax, 0xffffffff
jne 0x40b37b
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
call fcn.0040b010
mov ecx, dword [0x4237c0]
push ebp
push 1
push 0x408
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
test byte [esp + 0x2c], 8
je 0x40b537
mov ecx, dword [esi + 0x10]
xor eax, eax
mov dword [esp + 0x1e], eax
push ebp
mov dword [esp + 0x26], eax
push ebp
mov dword [esp + 0x2e], eax
push ecx
mov word [esp + 0x36], ax
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40b537
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], 0xffffffff
test eax, eax
mov eax, dword [esp + 0x14]
jle 0x40b417
mov edx, dword [esi + 0x14]
mov edi, dword [edx + ebp*4]
test edi, edi
je 0x40b401
push 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x26]
and eax, 0xffff
push eax
push ecx
push ebx
mov ecx, edi
call fcn.0040bdc0
cmp ax, 0xffff
jne 0x40b4e6
jmp 0x40b40d
mov ecx, dword [esp + 0x10]
test ecx, ecx
jge 0x40b40d
mov dword [esp + 0x10], ebp
mov ecx, dword [esi + 0x18]
inc ebp
cmp ebp, ecx
jl 0x40b3cb
jmp 0x40b41b
mov edi, dword [esp + 0x14]
cmp ax, 0xffff
jne 0x40b4e6
push 0x378
call fcn.004150af
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x60], 0
je 0x40b44d
mov ecx, eax
call fcn.0040bb40
mov edi, eax
jmp 0x40b44f
xor edi, edi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], 0xffffffff
test eax, eax
mov ecx, edi
jge 0x40b4b5
mov dx, word [esi + 0x18]
push edx
push esi
call fcn.0040bd70
mov eax, dword [esi + 0x18]
lea ecx, [eax*4 + 4]
push ecx
call fcn.004150af
mov edx, dword [esi + 0x18]
add esp, 4
xor ecx, ecx
test edx, edx
jle 0x40b49b
mov edx, dword [esi + 0x14]
inc ecx
mov edx, dword [edx + ecx*4 - 4]
mov dword [eax + ecx*4 - 4], edx
mov edx, dword [esi + 0x18]
cmp ecx, edx
jl 0x40b488
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x14], eax
push ecx
call fcn.00415417
mov eax, dword [esi + 0x18]
add esp, 4
lea ecx, [eax + 1]
mov dword [esi + 0x18], ecx
jmp 0x40b4c0
push eax
push esi
call fcn.0040bd70
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x14]
push 1
mov dword [edx + eax*4], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [esp + 0x26]
and eax, 0xffff
mov ecx, edi
push eax
mov eax, dword [esp + 0x2c]
push eax
push ebx
call fcn.0040bdc0
and eax, 0xffff
push 0x21
mov ecx, dword [edi + eax*4 + 0x2f0]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea edx, [esp + 0x14]
push 4
push edx
push 0x1001
mov edi, reloc.USER32.dll_LoadStringA
push 0xffff
push ebx
mov dword [esp + 0x28], edi
call esi
lea eax, [esp + 0x14]
push 4
push eax
push 0x1002
push 0xffff
push ebx
mov dword [esp + 0x28], edi
call esi
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret