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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d67c6
mov eax, dword fs:[0]
push eax
sub esp, 0x534
mov eax, dword [0x638fe4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
lea ecx, [ebp - 0x530]
call fcn.00579d50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x530]
mov eax, dword [edi + 0x110]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0xc4], 0x1faf
call fcn.00579670
lea ecx, [ebp - 0x530]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.005797f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x53c], eax
cmp esi, 1
je 0x5be0af
mov eax, dword [0x6441b8]
shr eax, 8
cmp al, 0xb
je 0x5be251
lea esp, [esp]
mov ecx, dword [edi + 0x1f4]
xor edx, edx
mov esi, dword [ecx + 8]
test esi, esi
jle 0x5be0a0
mov eax, dword [ecx + 4]
add eax, 0x20
cmp dword [eax], 0
je 0x5be08b
inc edx
add eax, 0x90
sub esi, 1
jne 0x5be085
test edx, edx
jle 0x5be0a0
call fcn.005c2720
jmp 0x5be070
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x184]
jmp 0x5be258
mov ecx, dword [0x64417c]
mov eax, 0x92492493
sub ecx, dword [0x644178]
imul ecx
add edx, ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
neg ebx
sbb ebx, ebx
and ebx, 0x644178
jne 0x5be110
lea ebx, [ebx]
mov ecx, dword [edi + 0x1f4]
xor edx, edx
mov esi, dword [ecx + 8]
test esi, esi
jle 0x5be0a0
mov eax, dword [ecx + 4]
add eax, 0x20
cmp dword [eax], 0
je 0x5be0fb
inc edx
add eax, 0x90
sub esi, 1
jne 0x5be0f5
test edx, edx
jle 0x5be0a0
call fcn.005c2720
jmp 0x5be0e0
mov esi, dword [ebx]
mov dword [ebp - 0x538], 0xffffffff
cmp esi, dword [ebx + 4]
je 0x5be18f
call fcn.004196a0
mov ecx, dword [eax + 4]
call fcn.004164a1
mov dword [ebp - 4], 1
push dword [edi + 0x110]
fld1
push ecx
mov ecx, dword [edi + 0x1f4]
fstp dword [esp]
push dword [esi]
call fcn.005c2430
mov dword [ebp - 0x538], eax
test eax, eax
js 0x5be17d
push eax
push esi
mov ecx, edi
call fcn.005be280
lea ecx, [ebp - 0x531]
mov dword [ebp - 4], 0xffffffff
call fcn.0040bc50
add esi, 0x1c
cmp esi, dword [ebx + 4]
jne 0x5be121
jmp 0x5be18f
lea ecx, [ebp - 0x531]
mov dword [ebp - 4], 0xffffffff
call fcn.0040bc50
push dword [ebp - 0x53c]
mov edx, dword [0x64417c]
push ecx
mov ecx, dword [0x644178]
call fcn.00405440
mov ecx, dword [0x644178]
mov eax, 0x92492493
mov esi, dword [0x644180]
add esp, 8
sub esi, ecx
mov dword [0x64417c], ecx
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x80
jae 0x5be1e7
push 0x80
mov ecx, 0x644178
call fcn.00404b60
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x53c]
cmp eax, 0x64
jae 0x5be206
mov ecx, 0x64
sub ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x538]
test eax, eax
jns 0x5be21b
mov ecx, edi
call fcn.005be8d0
xor eax, eax
jmp 0x5be25d
mov ecx, dword [edi + 0x1f4]
push eax
call fcn.005c27e0
push 0
push eax
mov eax, dword [edi + 0x1e8]
push 0x186
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x1e4]
push 0
push 0
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, edi
call fcn.005be8d0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544774
mov esp, ebp
pop ebp
ret