Function at 0x481c00
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x330
mov eax, dword [0x5b4a28]
xor eax, esp
mov dword [esp + 0x32c], eax
mov ecx, dword [esp + 0x334]
mov edx, dword [esp + 0x33c]
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 8], edi
cmp ecx, edi
je 0x481c5b
mov esi, dword [esp + 0x340]
xor eax, eax
cmp esi, edi
jbe 0x481c5b
jmp 0x481c50
cmp dword [ecx + eax*8], 0xffffffff
jne 0x481ca6
inc eax
cmp eax, esi
jb 0x481c50
cmp edx, edi
je 0x481c8d
jge 0x481c86
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x32c]
xor ecx, esp
call fcn.004b303a
add esp, 0x330
ret
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x32c]
xor ecx, esp
call fcn.004b303a
add esp, 0x330
ret
cmp edx, edi
jle 0x481cbb
mov dword [esp + 8], edx
call fcn.00482900
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
push ebx
push ebp
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x134], edi
mov dword [esp + 0x238], esi
mov dword [esp + 0x18], 0xffffffff
xor ebx, ebx
lea ecx, [ecx]
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov word [eax + ebx*8 + 6], cx
mov ecx, dword [eax + ebx*8]
cmp ecx, 0xffffffff
je 0x481dbd
movzx edx, word [eax + ebx*8 + 4]
test dl, 7
je 0x481dbd
cmp ecx, dword [esp + 0x18]
jbe 0x481d0f
mov dword [esp + 0x18], ecx
test dl, 1
je 0x481d41
xor eax, eax
test ebp, ebp
je 0x481d2b
lea ebx, [ebx]
cmp dword [esp + eax*4 + 0x34], ecx
je 0x481d2b
inc eax
cmp eax, ebp
jb 0x481d20
cmp eax, ebp
jne 0x481d41
cmp ebp, 0x40
jae 0x481d41
mov dword [esp + eax*4 + 0x34], ecx
mov ebp, dword [esp + 0x30]
inc ebp
mov dword [esp + 0x30], ebp
test dl, 4
je 0x481d7d
xor eax, eax
test edi, edi
je 0x481d5e
lea esp, [esp]
cmp dword [esp + eax*4 + 0x138], ecx
je 0x481d5e
inc eax
cmp eax, edi
jb 0x481d50
cmp eax, edi
jne 0x481d7d
cmp edi, 0x40
jae 0x481d7d
mov dword [esp + eax*4 + 0x138], ecx
mov edi, dword [esp + 0x134]
inc edi
mov dword [esp + 0x134], edi
test dl, 2
je 0x481dbd
xor eax, eax
test esi, esi
je 0x481d9e
jmp 0x481d90
cmp dword [esp + eax*4 + 0x23c], ecx
je 0x481d9e
inc eax
cmp eax, esi
jb 0x481d90
cmp eax, esi
jne 0x481dbd
cmp esi, 0x40
jae 0x481dbd
mov dword [esp + eax*4 + 0x23c], ecx
mov esi, dword [esp + 0x238]
inc esi
mov dword [esp + 0x238], esi
inc ebx
cmp ebx, dword [esp + 0x348]
jb 0x481ce0
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.WS2_32.dll_select]
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor edx, edx
cmp dword [esp + 0x14], edx
lea eax, [esp + 0x28]
setl dl
lea esi, [edx - 1]
and esi, eax
inc ebx
mov edi, edi
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp eax, ecx
jle 0x481e25
mov ecx, dword [esp + 0x10]
mov eax, 0x10624dd3
imul dword [esp + 0x10]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x28], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul ecx, ecx, 0x3e8
jmp 0x481e2b
jne 0x481e2f
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
push esi
lea edx, [esp + 0x23c]
push edx
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
call edi
cmp eax, 0xffffffff
jne 0x481e9d
call ebp
test eax, eax
je 0x481e63
cmp dword [0x5c2f90], 0
jne 0x481ea1
cmp eax, 0x2714
jne 0x481ea1
cmp dword [esp + 0x14], 0
jle 0x481df0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.00482900
push edx
push eax
call fcn.00482930
mov ecx, dword [esp + 0x24]
sub ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
test ecx, ecx
jg 0x481df0
or eax, 0xffffffff
jmp 0x481f21
test eax, eax
jns 0x481ea6
or eax, 0xffffffff
jmp 0x481f21
jne 0x481eac
xor eax, eax
jmp 0x481f21
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x348]
xor ebx, ebx
add esi, 6
lea esp, [esp]
mov eax, dword [esi - 6]
xor ecx, ecx
mov word [esi], cx
cmp eax, 0xffffffff
je 0x481f19
lea edx, [esp + 0x30]
push edx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x481ee0
or word [esi], 1
mov ecx, dword [esi - 6]
lea eax, [esp + 0x134]
push eax
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x481ef9
or word [esi], 4
mov eax, dword [esi - 6]
lea edx, [esp + 0x238]
push edx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x481f12
or word [esi], 2
cmp word [esi], 0
je 0x481f19
inc ebx
add esi, 8
dec edi
jne 0x481ec0
mov eax, ebx
mov ecx, dword [esp + 0x33c]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.004b303a
add esp, 0x330
ret