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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5ac421
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0x1d], 0
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x14], eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jbe 0x5ac199
mov eax, dword [0x6c0f20]
mov eax, dword [eax]
mov edx, dword [0x6c1060]
mov dword [edx], eax
jmp 0x5ac35a
mov eax, dword [0x6c1174]
push eax
call sub.kernel32.dll_EnterCriticalSection
xor eax, eax
push ebp
push 0x5ac347
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [setsockopt]
mov edi, dword [edi + 0x68dc]
mov esi, dword [setsockopt]
mov esi, dword [esi + 0x68e0]
cmp esi, 0x18
jl 0x5ac2e9
mov ebx, edi
cmp dword [ebx], 0xaa55aa55
jne 0x5ac254
movzx eax, word [ebx + 4]
cmp ax, word [ebx + 0x12]
jne 0x5ac254
mov eax, dword [ebx + 0x14]
add eax, 0x18
cmp esi, eax
jl 0x5ac25f
mov eax, edi
add eax, 0x18
mov dword [ebp - 0x1c], eax
movzx eax, word [ebx + 4]
cmp eax, dword [ebp - 4]
jne 0x5ac239
movzx eax, word [ebx + 0xa]
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov eax, dword [ebx + 6]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
dec eax
jne 0x5ac229
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, 0xac95
call fcn.004031fc
mov byte [ebp - 0xe], 1
mov byte [ebp - 0xd], 1
xor esi, esi
mov byte [ebp - 0x1d], 1
jmp 0x5ac25f
add edi, 0x18
add edi, dword [ebx + 0x14]
mov eax, dword [ebx + 0x14]
add eax, 0x18
sub esi, eax
mov eax, dword [setsockopt]
inc dword [eax + 0x68c0]
jmp 0x5ac256
inc edi
dec esi
cmp esi, 0x14
jge 0x5ac1d3
test esi, esi
jle 0x5ac2b1
mov eax, dword [setsockopt]
cmp esi, dword [eax + 0x68e0]
je 0x5ac2e9
mov eax, esi
call fcn.00402f94
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, edi
mov ecx, esi
call fcn.004031fc
mov eax, dword [setsockopt]
mov eax, dword [eax + 0x68dc]
call fcn.00402fb0
mov eax, dword [setsockopt]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x68dc], edx
mov eax, dword [setsockopt]
mov dword [eax + 0x68e0], esi
jmp 0x5ac2e9
mov eax, dword [setsockopt]
cmp dword [eax + 0x68dc], 0
je 0x5ac2cf
mov eax, dword [setsockopt]
mov eax, dword [eax + 0x68dc]
call fcn.00402fb0
mov eax, dword [setsockopt]
xor edx, edx
mov dword [eax + 0x68dc], edx
mov eax, dword [setsockopt]
xor edx, edx
mov dword [eax + 0x68e0], edx
cmp byte [ebp - 0x1d], 0
je 0x5ac32e
mov eax, dword [setsockopt]
cmp dword [eax + 0x68dc], 0
je 0x5ac30d
mov eax, dword [setsockopt]
mov eax, dword [eax + 0x68dc]
call fcn.00402fb0
mov eax, dword [setsockopt]
xor edx, edx
mov dword [eax + 0x68dc], edx
mov eax, dword [setsockopt]
xor edx, edx
mov dword [eax + 0x68e0], edx
call fcn.00404d90
jmp 0x5ac35a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ac34e
mov eax, dword [0x6c1174]
push eax
call sub.kernel32.dll_LeaveCriticalSection
ret
cmp byte [ebp - 0xe], 0
jne 0x5ac3d8
cmp byte [ebp + 8], 0
je 0x5ac3a0
lea edx, [ebp - 0x28]
mov eax, 0x5ac120
call fcn.004078c4
push dword [ebp - 0x28]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.0040a790
push dword [ebp - 0x2c]
push 0x5ac440
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405728
mov eax, dword [ebp - 0x24]
call fcn.00641540
jmp 0x5ac3d8
lea edx, [ebp - 0x34]
mov eax, 0x5ac128
call fcn.004078c4
push dword [ebp - 0x34]
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.0040a790
push dword [ebp - 0x38]
push 0x5ac440
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405728
mov eax, dword [ebp - 0x30]
call fcn.00641540
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x14]
mov edx, dword [0x6c05ac]
cmp eax, dword [edx]
jbe 0x5ac3fa
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x14]
mov edx, dword [0x6c05ac]
mov dword [edx], eax
mov eax, dword [setsockopt]
mov byte [eax + 0x68e8], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ac428
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.004053b8
ret