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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ecx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405814
xor eax, eax
push ebp
push 0x5d82a3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x5d7f9c
mov eax, dword [ebp - 4]
cmp byte [eax], 0x3f
jne 0x5d7f9c
push 1
xor ecx, ecx
mov edx, 0x5d82bc
mov eax, edi
call fcn.0060cf8c
jmp 0x5d8278
cmp byte [edi + 0x334], 0
jne 0x5d7fc3
cmp byte [edi + 0x261], 6
jae 0x5d7fc3
push 1
xor ecx, ecx
mov edx, 0x5d8300
mov eax, edi
call fcn.0060cf8c
jmp 0x5d8278
mov eax, edi
call fcn.00611e0c
test al, al
jne 0x5d7fe3
push 1
xor ecx, ecx
mov edx, 0x5d8320
mov eax, edi
call fcn.0060cf8c
jmp 0x5d8278
mov eax, dword [edi + 0x2e0]
cmp byte [eax + 0x4c], 0
je 0x5d8004
push 1
xor ecx, ecx
mov edx, 0x5d8344
mov eax, edi
call fcn.0060cf8c
jmp 0x5d8278
mov eax, dword [0x6c10e4]
mov eax, dword [eax]
mov edx, edi
call fcn.0050b6d0
test eax, eax
je 0x5d8031
cmp byte [eax + 0x41], 0
je 0x5d8031
push 1
xor ecx, ecx
mov edx, 0x5d8364
mov eax, edi
call fcn.0060cf8c
jmp 0x5d8278
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [edi + 0x234]
mov ecx, 0x3e8
xor edx, edx
div ecx
imul edx, eax, 0x3e8
add dword [edi + 0x234], edx
cmp byte [edi + 0x261], 6
jb 0x5d806d
mov word [edi + 0xec], 0
movzx edx, word [edi + 0xec]
cmp eax, edx
jae 0x5d8081
sub word [edi + 0xec], ax
jmp 0x5d808a
mov word [edi + 0xec], 0
movzx ebx, word [edi + 0xec]
test bx, bx
jbe 0x5d80c6
push 1
lea eax, [ebp - 0x20]
push eax
movzx eax, bx
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x28]
xor ecx, ecx
mov eax, 0x5d8388
call fcn.0040bb24
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, edi
call fcn.0060cf8c
jmp 0x5d8278
mov eax, dword [edi + 0x2fc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5d8222
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov eax, dword [edi + 0x2fc]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 8]
call fcn.0041fbfc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5d8216
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x12]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5d8216
inc esi
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x12]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ebx, dword [eax]
test ebx, ebx
je 0x5d820c
cmp edi, ebx
je 0x5d820c
cmp byte [ebx + 0xf1], 0
je 0x5d81de
cmp byte [ebx + 0x2e4], 0
jne 0x5d816a
cmp byte [ebx + 0x2ec], 0
jne 0x5d816a
cmp byte [ebx + 0xbbe], 0
jne 0x5d8197
push 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebx + 0x15]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 4
lea edx, [ebp - 0x28]
xor ecx, ecx
mov eax, 0x5d83b0
call fcn.0040bb24
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
mov eax, edi
call fcn.0060cf8c
jmp 0x5d820c
mov eax, dword [ebx + 0x2e0]
cmp byte [eax + 0x4b], 0
je 0x5d81d0
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebx + 0x15]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 4
lea edx, [ebp - 0x28]
xor ecx, ecx
mov eax, 0x5d83d4
call fcn.0040bb24
mov edx, dword [ebp - 0x30]
xor ecx, ecx
mov eax, edi
call fcn.0060cf8c
jmp 0x5d820c
mov edx, ebx
mov eax, edi
call fcn.006050dc
inc dword [ebp - 0x14]
jmp 0x5d820c
inc dword [ebp - 0x18]
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebx + 0x15]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 4
lea edx, [ebp - 0x28]
xor ecx, ecx
mov eax, 0x5d83fc
call fcn.0040bb24
mov edx, dword [ebp - 0x34]
xor ecx, ecx
mov eax, edi
call fcn.0060cf8c
inc dword [ebp - 0xc]
dec esi
jne 0x5d8122
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x5d80e6
push 1
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x48]
mov ecx, 1
mov eax, 0x5d841c
call fcn.0040bb24
mov edx, dword [ebp - 0x38]
mov cl, 1
mov eax, edi
call fcn.0060cf8c
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x234], eax
mov eax, dword [setsockopt]
movzx eax, word [eax + 0x5f0c]
mov word [edi + 0xec], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d82aa
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.004053b8
lea eax, [ebp - 0x20]
call fcn.00405394
lea eax, [ebp - 4]
call fcn.00405394
ret