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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405814
mov eax, dword [ebp + 0xc]
call fcn.00405814
xor eax, eax
push ebp
push 0x5d8df7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x320], 0
jne 0x5d8b28
cmp byte [ebx + 0x321], 0
je 0x5d8da6
or edx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.0040a9ec
mov esi, eax
or edx, 0xffffffff
mov eax, dword [ebp + 0xc]
call fcn.0040a9ec
mov edi, eax
mov eax, dword [ebx + 0x2e0]
cmp byte [eax + 0x52], 0
jne 0x5d8d7e
mov eax, dword [setsockopt]
movzx eax, byte [eax + 0x5f64]
push eax
mov eax, dword [setsockopt]
movzx eax, byte [eax + 0x5f65]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [ebx + 0x2e0]
call fcn.0066df08
test al, al
je 0x5d8d03
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x398]
mov edx, dword [setsockopt]
imul edx, dword [edx + 0x5f68], 0x3e8
cmp eax, edx
jbe 0x5d8c61
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x398], eax
cmp byte [ebx + 0x320], 0
jne 0x5d8c33
cmp word [ebx + 0x82a], 0
jbe 0x5d8c33
cmp word [ebx + 0x832], 0
jbe 0x5d8c33
cmp word [ebx + 0x832], 1
jbe 0x5d8be1
dec word [ebx + 0x832]
jmp 0x5d8bea
mov word [ebx + 0x832], 0
movzx eax, word [ebx + 0x834]
push eax
movzx ecx, word [ebx + 0x832]
mov edx, 9
mov eax, ebx
call fcn.00609290
push 0
push 0
push 0
push 0
push 0
xor ecx, ecx
mov dx, 0xd0
mov eax, ebx
call fcn.0060aa6c
push edi
push 0
mov ecx, esi
mov edx, dword [ebx + 0x2e0]
mov eax, ebx
call fcn.00617f30
jmp 0x5d8dcc
push 0
push 0
push 0
push 0
push 0
xor ecx, ecx
mov dx, 0xd0
mov eax, ebx
call fcn.0060aa6c
push edi
push 0
mov ecx, esi
mov edx, dword [ebx + 0x2e0]
mov eax, ebx
call fcn.00617f30
jmp 0x5d8dcc
cmp byte [ebp + 8], 0
je 0x5d8cb4
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x398]
mov ecx, 0x3e8
xor edx, edx
div ecx
push eax
mov eax, dword [setsockopt]
mov eax, dword [eax + 0x5f68]
pop edx
sub eax, edx
xor edx, edx
push edx
push eax
lea eax, [ebp - 8]
call fcn.0040a960
lea eax, [ebp - 8]
mov edx, 0x5d8e10
call fcn.00405660
mov edx, dword [ebp - 8]
xor ecx, ecx
mov eax, ebx
call fcn.0060cec0
jmp 0x5d8dcc
push 1
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x398]
mov ecx, 0x3e8
xor edx, edx
div ecx
push eax
mov eax, dword [setsockopt]
mov eax, dword [eax + 0x5f68]
pop edx
sub eax, edx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xc]
call fcn.0040a960
lea eax, [ebp - 0xc]
mov edx, 0x5d8e10
call fcn.00405660
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov eax, ebx
call fcn.0060cf8c
jmp 0x5d8dcc
cmp byte [ebp + 8], 0
je 0x5d8d44
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x5d8e34
call fcn.0040bb24
mov edx, dword [ebp - 0x10]
mov cl, 1
mov eax, ebx
call fcn.0060cec0
jmp 0x5d8dcc
push 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x5d8e34
call fcn.0040bb24
mov edx, dword [ebp - 0x24]
mov cl, 1
mov eax, ebx
call fcn.0060cf8c
jmp 0x5d8dcc
cmp byte [ebp + 8], 0
je 0x5d8d94
xor ecx, ecx
mov edx, 0x5d8e58
mov eax, ebx
call fcn.0060cec0
jmp 0x5d8dcc
push 1
xor ecx, ecx
mov edx, 0x5d8e58
mov eax, ebx
call fcn.0060cf8c
jmp 0x5d8dcc
cmp byte [ebp + 8], 0
je 0x5d8dbc
xor ecx, ecx
mov edx, 0x5d8e78
mov eax, ebx
call fcn.0060cec0
jmp 0x5d8dcc
push 1
xor ecx, ecx
mov edx, 0x5d8e78
mov eax, ebx
call fcn.0060cf8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d8dfe
lea eax, [ebp - 0x24]
call fcn.00405394
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004053b8
lea eax, [ebp + 0xc]
call fcn.00405394
ret