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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd8
mov dword [esp], edx
mov ebp, eax
mov eax, dword [0x68eab8]
cmp dword [eax], 0
je 0x5402a1
call sub.kernel32.dll_GetTickCount
cmp eax, dword [ebp + 0x48]
jbe 0x5400af
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 6
jle 0x54005a
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x540052
inc esi
xor edi, edi
mov eax, dword [ebp + 8]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ebx, eax
mov eax, dword [ebx]
call fcn.0040432c
mov edx, 0x10
mov eax, ebx
call fcn.00402f70
inc edi
dec esi
jne 0x54002f
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x54009a
inc esi
xor edi, edi
mov eax, dword [ebp + 0xc]
mov edx, edi
call fcn.0041a308
mov ebx, eax
movzx eax, byte [ebx + 0xc]
push eax
mov eax, dword [ebx + 8]
push eax
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, ebp
call fcn.0053d894
mov edx, dword [0x53d364]
mov eax, ebx
call fcn.00406324
inc edi
dec esi
jne 0x540068
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
call dword [edx + 8]
call sub.kernel32.dll_GetTickCount
add eax, 0x3e8
mov dword [ebp + 0x48], eax
mov dword [esp + 8], 0x46
xor edi, edi
xor eax, eax
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 5
jle 0x5400fc
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
sub eax, 5
add eax, eax
lea eax, [eax + eax*4]
push eax
mov eax, 0x64
pop edx
sub eax, edx
cdq
push edx
push eax
push 0
push 0x1e
call fcn.00489328
mov dword [esp + 0x14], eax
jmp 0x540104
mov dword [esp + 0x14], 0x64
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp edi, eax
jge 0x5402a1
cmp edi, 5
jg 0x5402a1
mov eax, dword [ebp + 8]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ebx, eax
mov eax, dword [ebx]
mov si, 0xfff9
call fcn.00404528
mov edx, dword [0x68e9d8]
mov edx, dword [edx]
sub edx, eax
sub edx, 0x14
sar edx, 1
jns 0x540148
adc edx, 0
mov dword [esp + 4], edx
cmp edi, 5
jne 0x54019d
cmp byte [esp + 0x10], 0
je 0x5402a1
lea edx, [esp + 0x18]
mov eax, dword [ebx]
mov si, 0xfffa
call fcn.00404528
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx]
push eax
mov eax, 0xfa
sub eax, dword [esp + 0x14]
shl eax, 0x18
or eax, 0xffffff
push eax
push 0x7b
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
call fcn.004860b4
jmp 0x5402a1
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 4]
cmp eax, 0xfa0
ja 0x5401bd
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 5
jle 0x54026c
test edi, edi
jne 0x54026c
mov byte [esp + 0x10], 1
call sub.kernel32.dll_GetTickCount
cmp eax, dword [ebx + 8]
jbe 0x5401e3
call sub.kernel32.dll_GetTickCount
add eax, dword [esp + 0x14]
mov dword [ebx + 8], eax
inc dword [ebx + 0xc]
cmp dword [ebx + 0xc], 8
jl 0x540210
mov byte [esp + 0x10], 0
mov eax, dword [ebx]
call fcn.0040432c
mov edx, 0x10
mov eax, ebx
call fcn.00402f70
mov eax, dword [ebp + 8]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x540104
fild dword [ebx + 0xc]
fld xword [0x5402ac]
fmulp st(1)
fsubr dword [0x5402b8]
call fcn.004034fc
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xc]
add eax, eax
sub dword [esp + 8], eax
lea edx, [esp + 0x18]
mov eax, dword [ebx]
mov si, 0xfffa
call fcn.00404528
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [esp + 0x14]
shl eax, 0x18
or eax, 0xffffff
push eax
push 0x7b
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
call fcn.004860b4
jmp 0x540296
lea edx, [esp + 0x18]
mov eax, dword [ebx]
mov si, 0xfffa
call fcn.00404528
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx]
push eax
push 1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
call fcn.00486038
inc edi
add dword [esp + 8], 0x10
jmp 0x540104
add esp, 0x28
pop ebp
pop edi
pop esi
pop ebx
ret