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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc34
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x3cc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x3c0], edx
mov dword [ebp - 0x3c4], edx
mov dword [ebp - 0x3c8], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5c4661
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5c4601
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov eax, dword [0x6c0e68]
mov edx, esi
sub edx, dword [eax]
mov eax, dword [0x6c0384]
mov dword [eax], edx
mov eax, dword [0x6c0e68]
mov dword [eax], esi
mov eax, dword [0x6c0308]
mov eax, dword [eax]
mov edx, dword [0x6c0384]
cmp eax, dword [edx]
jge 0x5c4201
mov eax, dword [0x6c0384]
mov eax, dword [eax]
mov edx, dword [0x6c0308]
mov dword [edx], eax
mov eax, ebx
call fcn.005bdb44
mov eax, dword [setsockopt]
cmp byte [eax + 0x1a98], 0
je 0x5c4291
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ImageList_SetImageCount]
sub eax, dword [edx]
mov edx, dword [setsockopt]
cmp eax, dword [edx + 0x1aa0]
jbe 0x5c4291
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ImageList_SetImageCount]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, ebx
call fcn.005bcd9c
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
mov eax, dword [setsockopt]
fild dword [eax + 0x1a9c]
fdiv dword [0x5c4670]
fmulp st(1)
call fcn.00403560
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.0040a960
mov ecx, dword [ebp - 0x10]
mov eax, dword [0x6c1328]
mov eax, dword [eax]
mov edx, 0x5c467c
call fcn.00447d20
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005c3cdc
mov eax, ebx
call fcn.005bea98
mov eax, ebx
call fcn.005be758
mov eax, ebx
call fcn.005bf2c8
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x38]
cmp eax, 0x3e8
jbe 0x5c4370
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x38], eax
mov eax, ebx
call fcn.005bea8c
mov eax, ebx
call fcn.005c314c
mov eax, ebx
call fcn.005c2cec
call fcn.0040d640
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0xa]
lea edx, [ebp - 8]
lea eax, [ebp - 6]
call fcn.0040d2b8
cmp word [ebp - 6], 0
mov eax, dword [0x6c0bfc]
sete byte [eax]
mov eax, ebx
call fcn.005c2de4
mov eax, ebx
call fcn.005bf4cc
call fcn.0040d640
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, dword [0x6c05fc]
mov edx, dword [0x6c0684]
mov eax, dword [0x6c0dd8]
call fcn.0040d598
call fcn.0040d640
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [0x6c0620]
push eax
mov ecx, dword [0x6c133c]
mov edx, dword [0x6c04ac]
mov eax, dword [0x6c0fbc]
call fcn.0040d2b8
mov eax, dword [0x6c0e58]
cmp byte [eax], 0
je 0x5c4370
mov eax, dword [0x6c0e58]
mov byte [eax], 0
call fcn.00643ab0
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x34]
cmp eax, 0x1f4
jbe 0x5c438e
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x34], eax
mov eax, ebx
call fcn.005c2bdc
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
mov edx, dword [socket]
mov dword [edx], eax
mov eax, dword [WSACleanup]
mov eax, dword [eax]
mov edx, dword [socket]
cmp eax, dword [edx]
jge 0x5c43bd
mov eax, dword [socket]
mov eax, dword [eax]
mov edx, dword [WSACleanup]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [setsockopt]
cmp eax, dword [edx + 0x1b68]
jbe 0x5c45f7
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [setsockopt]
add eax, dword [edx + 0x1b64]
mov edx, dword [setsockopt]
mov dword [edx + 0x1b68], eax
mov eax, dword [setsockopt]
cmp dword [eax + 0x1b60], 3
jl 0x5c45f7
mov eax, ebx
call fcn.005c3e94
mov esi, eax
test esi, esi
je 0x5c45f7
push 0
push 0
push 0
push 0
mov edx, dword [setsockopt]
add edx, 0x1afa
lea eax, [ebp - 0x34]
call fcn.004039c4
mov edx, 0x5c4680
lea eax, [ebp - 0x34]
mov cl, 0x11
call fcn.00403994
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x68]
call fcn.004039c4
mov edx, dword [setsockopt]
add edx, 0x1b0b
lea eax, [ebp - 0x68]
mov cl, 0x31
call fcn.00403994
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x9c]
call fcn.004039c4
mov edx, 0x5c4680
lea eax, [ebp - 0x9c]
mov cl, 0x32
call fcn.00403994
lea edx, [ebp - 0x9c]
lea eax, [ebp - 0x104]
call fcn.004039c4
mov edx, dword [setsockopt]
add edx, 0x1b2c
lea eax, [ebp - 0x104]
mov cl, 0x64
call fcn.00403994
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x16c]
call fcn.004039c4
mov edx, 0x5c4680
lea eax, [ebp - 0x16c]
mov cl, 0x65
call fcn.00403994
lea edx, [ebp - 0x16c]
lea eax, [ebp - 0x1f4]
call fcn.004039c4
mov edx, dword [setsockopt]
add edx, 0x1ac0
lea eax, [ebp - 0x1f4]
mov cl, 0x85
call fcn.00403994
lea edx, [ebp - 0x1f4]
lea eax, [ebp - 0x27c]
call fcn.004039c4
mov edx, 0x5c4680
lea eax, [ebp - 0x27c]
mov cl, 0x86
call fcn.00403994
lea edx, [ebp - 0x27c]
lea eax, [ebp - 0x31c]
call fcn.004039c4
mov edx, dword [setsockopt]
add edx, 0x1ae1
lea eax, [ebp - 0x31c]
mov cl, 0x9e
call fcn.00403994
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x3bc]
call fcn.004039c4
mov edx, 0x5c4680
lea eax, [ebp - 0x3bc]
mov cl, 0x9f
call fcn.00403994
lea edx, [ebp - 0x3bc]
lea eax, [ebp - 0x20]
call fcn.004055f8
push dword [ebp - 0x20]
lea edx, [ebp - 0x3c0]
mov eax, dword [setsockopt]
mov eax, dword [eax + 0x120]
call fcn.0040a790
push dword [ebp - 0x3c0]
push 0x5c468c
mov eax, ebx
call fcn.005bcd9c
lea edx, [ebp - 0x3c4]
call fcn.0040a790
push dword [ebp - 0x3c4]
push 0x5c468c
mov eax, ebx
call fcn.005bcd74
lea edx, [ebp - 0x3c8]
call fcn.0040a790
push dword [ebp - 0x3c8]
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00405728
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004e6550
mov eax, dword [ebp - 0x18]
push eax
mov cx, 0x14ca
mov edx, esi
mov eax, esi
call fcn.0060a154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c4626
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c4668
lea eax, [ebp - 0x3cc]
mov edx, 4
call fcn.004053b8
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004053b8
lea eax, [ebp - 0x10]
call fcn.00405394
lea eax, [ebp - 4]
call fcn.00405394
ret