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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10342a72], 1
push edi
mov edi, dword [ebp + 8]
je 0x1005ce2a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x103d2310]
cmp eax, 0xea60
jbe 0x1005ce2a
push esi
mov esi, dword [0x2fb6ac4]
test esi, esi
je 0x1005ce29
cmp dword [0x103a82c8], 0
mov eax, dword [edi + 0xc]
push ebx
jl 0x1005cc2a
mov ecx, dword [esi + 0x1d20]
mov dword [ebp - 0x60], ecx
jmp 0x1005cd1d
fldz
and dword [ebp - 0x68], 0
fstp dword [ebp - 0x60]
mov ebx, 0x10342948
mov eax, dword [ebx]
test eax, eax
jle 0x1005ccf7
push 0xd70444
push eax
call fcn.1000631c
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1005ccf7
mov eax, dword [edi + 0x10a4]
fld dword [eax + 0x280]
sub esp, 0x10
fstp dword [ebp - 0x64]
fld dword [eax + 0x288]
fstp dword [ebp - 0x5c]
fld dword [ebp - 0x5c]
fstp dword [esp + 0xc]
fld dword [ebp - 0x64]
fstp dword [esp + 8]
fld dword [esi + 0x1f68]
fstp dword [esp + 4]
fld dword [esi + 0x1f60]
fstp dword [esp]
call fcn.10006f97
fcomp dword [0x1009ad84]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x1005ccf7
mov eax, dword [edi + 0x3b0]
cmp eax, 0x2af9
jl 0x1005ccbe
cmp eax, 0x2b35
jle 0x1005ccf7
fild dword [edi + 0x5f4]
fidiv dword [edi + 0x610]
fstp dword [ebp - 0x5c]
fld dword [0x1009ad80]
fcomp dword [ebp - 0x5c]
fnstsw ax
test ah, 0x41
jne 0x1005ccf7
fld dword [ebp - 0x5c]
fld dword [ebp - 0x60]
fcompp
fnstsw ax
test ah, 5
jp 0x1005ccf7
fld dword [ebp - 0x5c]
mov eax, dword [ebx]
fstp dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
add ebx, 4
cmp ebx, 0x103429c0
jl 0x1005cc38
mov edi, dword [ebp - 0x68]
test edi, edi
jle 0x1005ce28
push edi
call fcn.10038422
pop ecx
mov dword [ebp - 0x60], edi
mov eax, edi
cmp dword [ebp - 0x60], eax
jne 0x1005ce28
xor edi, edi
mov ebx, 0x103bb430
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.100060a1
and dword [ebp - 0x5c], 0
pop ecx
pop ecx
mov ecx, ebx
call fcn.10001036
test eax, eax
jle 0x1005cd76
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [0x103bb430]
push dword [eax + ecx*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1005cd67
cmp dword [ebp - 0x40], eax
je 0x1005cd81
inc dword [ebp - 0x5c]
mov ecx, ebx
call fcn.10001036
cmp dword [ebp - 0x5c], eax
jl 0x1005cd48
inc edi
cmp edi, 0x14
jl 0x1005cd2d
jmp 0x1005ce28
mov byte [0x10342a72], 1
fld dword [esi + 0x1f68]
call fcn.10083f90
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
push ecx
fstp dword [esp]
fld dword [esi + 0x1f60]
call fcn.10083f90
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
push ecx
fstp dword [esp]
call fcn.10038013
mov eax, dword [0x103be1c0]
pop ecx
pop ecx
push 0x1005cb72
push 0x2bc
add eax, 0x47
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [0x103d2390], eax
mov al, byte [0x10342a7f]
push 0x4a
push edi
mov dword [0x1034292c], edi
mov byte [0x103d23a0], al
mov byte [0x10342a7f], 0
call fcn.1005c63e
pop ecx
pop ecx
call esi
mov dword [0x103d2310], eax
push 0x10
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.MSVCR100.dll__itoa]
lea eax, [ebp - 0x38]
push eax
call fcn.10006e54
add esp, 0x10
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10083e24
leave
ret