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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5c12f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov byte [ebp - 0x19], 0
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5c12be
push dword fs:[edx]
mov dword fs:[edx], esp
test ebx, ebx
je 0x5c12b4
cmp dword [ebx + 0x10], 0
jle 0x5c12b4
mov eax, 0x64
call fcn.00403484
cmp eax, dword [ebx + 0x18]
jge 0x5c11f0
mov edi, dword [ebx + 0x14]
mov eax, edi
add eax, eax
inc eax
call fcn.00403484
mov edx, dword [ebx + 0x20]
sub edx, edi
add eax, edx
mov dword [ebp - 0x10], eax
mov edi, dword [ebx + 0x14]
mov eax, edi
add eax, eax
inc eax
call fcn.00403484
mov edx, dword [ebx + 0x24]
sub edx, edi
add eax, edx
mov dword [ebp - 0x14], eax
mov edi, esi
dec edi
test edi, edi
jl 0x5c12b4
inc edi
mov eax, 0x14
call fcn.00403484
mov edx, dword [ebp - 0x14]
sub edx, 0xa
add eax, edx
push eax
mov eax, dword [ebx + 0x10]
push eax
lea eax, [ebp - 0x20]
lea edx, [ebx + 0x28]
call fcn.004055f8
mov eax, dword [ebp - 0x20]
push eax
mov eax, 0x14
call fcn.00403484
mov ecx, eax
mov eax, dword [ebp - 0x10]
sub eax, 0xa
add ecx, eax
mov edx, dword [ebx + 0x50]
mov eax, dword [ebp - 4]
call fcn.005c04f8
mov esi, eax
test esi, esi
je 0x5c11c3
mov eax, dword [ebx + 0x4c]
mov edx, esi
call fcn.0041fa54
mov eax, dword [ebx + 0x7c]
mov edx, eax
or edx, 1
cmp eax, edx
jne 0x5c11a6
mov byte [esi + 0x2a0], 1
cmp byte [ebp - 0x19], 0
jne 0x5c11c3
mov byte [ebp - 0x19], 1
mov eax, dword [ebx + 0x64]
mov dword [esi + 0xbd0], eax
mov edx, dword [ebx + 0x5c]
mov eax, esi
call fcn.006096b4
cmp byte [ebp + 8], 0
je 0x5c11e4
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0xc]
mov edx, dword [0x6c0594]
cmp eax, dword [edx]
jbe 0x5c11e4
mov byte [ebp - 5], 0
jmp 0x5c12b4
dec edi
jne 0x5c113e
jmp 0x5c12b4
mov edi, esi
dec edi
test edi, edi
jl 0x5c12b4
inc edi
mov esi, dword [ebx + 0x14]
mov eax, esi
add eax, eax
inc eax
call fcn.00403484
mov edx, dword [ebx + 0x20]
sub edx, esi
add eax, edx
mov dword [ebp - 0x10], eax
mov esi, dword [ebx + 0x14]
mov eax, esi
add eax, eax
inc eax
call fcn.00403484
mov edx, dword [ebx + 0x24]
sub edx, esi
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x10]
push eax
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x28]
call fcn.004055f8
mov eax, dword [ebp - 0x24]
push eax
mov edx, dword [ebx + 0x50]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.005c04f8
mov esi, eax
test esi, esi
je 0x5c128f
mov eax, dword [ebx + 0x4c]
mov edx, esi
call fcn.0041fa54
mov eax, dword [ebx + 0x7c]
mov edx, eax
or edx, 1
cmp eax, edx
jne 0x5c1272
mov byte [esi + 0x2a0], 1
cmp byte [ebp - 0x19], 0
jne 0x5c128f
mov byte [ebp - 0x19], 1
mov eax, dword [ebx + 0x64]
mov dword [esi + 0xbd0], eax
mov edx, dword [ebx + 0x5c]
mov eax, esi
call fcn.006096b4
cmp byte [ebp + 8], 0
je 0x5c12ad
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0xc]
mov edx, dword [0x6c0594]
cmp eax, dword [edx]
jbe 0x5c12ad
mov byte [ebp - 5], 0
jmp 0x5c12b4
dec edi
jne 0x5c11fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c12dd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c12ff
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004053b8
ret