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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov dword [esp], edx
mov ebp, eax
mov eax, dword [0x688a9c]
cmp dword [eax], 0
je 0x53f8d6
call sub.kernel32.dll_GetTickCount
cmp eax, dword [ebp + 0x48]
jbe 0x53f6f7
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 6
jle 0x53f69b
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x53f693
inc eax
mov dword [esp + 0x18], eax
xor ebx, ebx
mov eax, dword [ebp + 8]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [edi]
call fcn.0040432c
mov edx, 0x10
mov eax, edi
call fcn.00402f70
inc ebx
dec dword [esp + 0x18]
jne 0x53f66d
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x53f6e2
inc eax
mov dword [esp + 0x18], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov edx, ebx
call fcn.0041a308
mov esi, eax
movzx eax, byte [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push eax
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, ebp
call fcn.0053cc3c
mov edx, dword [0x53c70c]
mov eax, esi
call fcn.00406324
inc ebx
dec dword [esp + 0x18]
jne 0x53f6ad
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 eax, dword [0x688994]
mov eax, dword [eax]
sub eax, 0x136
mov dword [esp + 8], eax
xor ebx, ebx
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 0x53f74c
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.004892a0
mov dword [esp + 0x14], eax
jmp 0x53f754
mov dword [esp + 0x14], 0x64
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
jge 0x53f8d6
cmp ebx, 5
jg 0x53f8d6
mov eax, dword [ebp + 8]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edi, eax
mov dword [esp + 4], 0x1e
cmp ebx, 5
jne 0x53f7d2
cmp byte [esp + 0x10], 0
je 0x53f8d6
lea edx, [esp + 0x1c]
mov eax, dword [edi]
mov si, 0xfffa
call fcn.00404528
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi]
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 0x53f8d6
call sub.kernel32.dll_GetTickCount
sub eax, dword [edi + 4]
cmp eax, 0xfa0
ja 0x53f7f2
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 5
jle 0x53f8a1
test ebx, ebx
jne 0x53f8a1
mov byte [esp + 0x10], 1
call sub.kernel32.dll_GetTickCount
cmp eax, dword [edi + 8]
jbe 0x53f818
call sub.kernel32.dll_GetTickCount
add eax, dword [esp + 0x14]
mov dword [edi + 8], eax
inc dword [edi + 0xc]
cmp dword [edi + 0xc], 8
jl 0x53f845
mov byte [esp + 0x10], 0
mov eax, dword [edi]
call fcn.0040432c
mov edx, 0x10
mov eax, edi
call fcn.00402f70
mov eax, dword [ebp + 8]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x53f754
fild dword [edi + 0xc]
fld xword [0x53f8e0]
fmulp st(1)
fsubr dword [0x53f8ec]
call fcn.004034fc
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0xc]
add eax, eax
sub dword [esp + 8], eax
lea edx, [esp + 0x1c]
mov eax, dword [edi]
mov si, 0xfffa
call fcn.00404528
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi]
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 0x53f8cb
lea edx, [esp + 0x1c]
mov eax, dword [edi]
mov si, 0xfffa
call fcn.00404528
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi]
push eax
push 1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
call fcn.00486038
inc ebx
add dword [esp + 8], 0x10
jmp 0x53f754
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret