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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x4fd], 0
push edi
je 0x551a81
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
call edx
mov cl, byte [esi + 0x511]
test cl, cl
jne 0x551ac2
cmp byte [esi + 0x5b8], cl
je 0x551ac2
cmp byte [esi + 0x459], cl
jne 0x551ac2
cmp byte [esi + 0x5b9], cl
jne 0x551ac2
cmp byte [esi + 0x344], cl
je 0x551abb
cmp byte [esi + 0x5c8], cl
je 0x551ac2
cmp byte [esi + 0x5c9], cl
jne 0x551ac2
mov byte [esp + 0x27], 1
jmp 0x551ac7
mov byte [esp + 0x27], 0
cmp byte [esi + 0x5b8], 0
je 0x551b11
mov eax, 0x3c
nop
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov edx, dword [esi + 0x454]
fld qword [0x679628]
imul edx, eax
fld st(0)
fdivrp st(2)
mov dword [esp + 0x2c], edx
fxch st(1)
fdiv qword [esi + 0x490]
fstp qword [esp + 0x38]
fild dword [esp + 0x2c]
fdivp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
jmp 0x551b27
fild dword [esi + 0x454]
fdiv qword [esi + 0x490]
fstp qword [esp + 0x38]
fld qword [0x65b8f8]
test cl, cl
fstp qword [esp + 0x30]
je 0x551ccb
mov eax, dword [esi + 0x484]
cmp eax, dword [esi + 0x49c]
jl 0x551b4e
cmp byte [esi + 0x4a0], 0
je 0x551ca0
cmp byte [esi + 0x430], 0
jne 0x551b75
cmp byte [esi + 0x4a1], 0
jne 0x551b75
mov edx, dword [esi]
mov eax, dword [edx + 0xf8]
push 1
mov ecx, esi
mov byte [esi + 0x430], 1
call eax
test byte [0x75c96c], 1
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x551b92
or dword [0x75c96c], 1
call ebx
mov dword [0x75c968], eax
mov ecx, dword [esi + 0x484]
cmp ecx, dword [esi + 0x49c]
jl 0x551bad
cmp byte [esi + 0x4a0], 0
je 0x551ca0
call fcn.005456a0
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov edi, dword [esi + 0x484]
mov ecx, esi
call eax
test al, al
je 0x551c53
fld qword [esp + 0x30]
push esi
fadd qword [esi + 0x460]
fsub qword [0x65b8f8]
fstp qword [esi + 0x460]
call fcn.005518f0
fld qword [0x65b8f8]
fcomp qword [esi + 0x460]
fnstsw ax
test ah, 0x41
jp 0x551c34
push esi
call fcn.0054ed70
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
test al, al
je 0x551c34
push esi
call fcn.005518f0
fld qword [esi + 0x460]
fld qword [0x65b8f8]
fsub st(1), st(0)
fxch st(1)
fstp qword [esi + 0x460]
fcomp qword [esi + 0x460]
fnstsw ax
test ah, 0x41
jnp 0x551bf8
fld qword [esp + 0x30]
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call eax
push esi
call fcn.005518f0
cmp edi, dword [esi + 0x484]
je 0x551fd2
call ebx
sub eax, dword [0x75c968]
cmp eax, 0x3e8
jae 0x551c7b
cmp byte [esi + 0x4a1], 0
je 0x551b92
mov byte [esi + 0x4a1], 0
call ebx
mov edx, dword [esi]
mov dword [0x75c968], eax
mov eax, dword [edx + 0x16c]
mov ecx, esi
call eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x430], 0
je 0x551ccb
mov ecx, dword [esi + 0x4b4]
mov byte [esi + 0x430], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xfc]
push 1
mov ecx, esi
call eax
cmp byte [esi + 0x498], 0
jne 0x551fcc
fldz
fcomp qword [esi + 0x490]
fnstsw ax
test ah, 5
jp 0x551fcc
call dword [sym.imp.WINMM.dll_timeGetTime]
mov bl, byte [esp + 0x27]
test bl, bl
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
jne 0x551d0a
call fcn.005519f0
mov eax, dword [esi + 0x488]
mov edi, 1
cmp eax, edi
jne 0x551e3b
fld qword [esi + 0x490]
add dword [esi + 0x450], edi
fmul qword [0x679358]
sub esp, 8
fstp qword [esp]
call fcn.0061f440
add esp, 8
call fcn.006397d0
cmp dword [esi + 0x450], eax
jl 0x551d57
cmp byte [esi + 0x4fb], 0
jne 0x551f29
test bl, bl
je 0x551d7d
cmp byte [esi + 0x45a], 0
je 0x551d92
fld qword [esp + 0x38]
fmul qword [0x6794a0]
call fcn.006397d0
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
jmp 0x551d81
fld qword [esp + 0x38]
fcomp qword [esi + 0x468]
fnstsw ax
test ah, 0x41
jp 0x551f29
cmp byte [esi + 0x511], 0
jne 0x551e18
fld qword [0x65b8f8]
fcomp qword [esi + 0x490]
fnstsw ax
test ah, 0x44
jp 0x551e18
mov ecx, dword [esi + 0x454]
lea eax, [ecx + 0x3e7]
cdq
idiv ecx
add dword [esi + 0x5c4], edi
mov edi, dword [esi + 0x5c4]
cmp edi, eax
jb 0x551e18
mov eax, dword [esp + 0x2c]
mov ecx, eax
sub ecx, dword [esi + 0x5c0]
cmp ecx, 0x370
ja 0x551dfe
add dword [esi + 0x5bc], 1
cmp dword [esi + 0x5bc], 3
jl 0x551e08
mov byte [esi + 0x5b9], 1
jmp 0x551e08
mov dword [esi + 0x5bc], 0
mov dword [esi + 0x5c0], eax
mov dword [esi + 0x5c4], 0
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
test al, al
je 0x551e2f
mov dword [esi + 0x488], 2
mov byte [esi + 0x45a], 1
jmp 0x551f90
cmp eax, 2
jne 0x551f29
fld qword [esp + 0x30]
mov dword [esi + 0x488], 3
fadd qword [esi + 0x460]
push esi
fsub qword [0x65b8f8]
fstp qword [esi + 0x460]
call fcn.005518f0
fld qword [0x65b8f8]
fcomp qword [esi + 0x460]
fnstsw ax
test ah, 0x41
jp 0x551ec2
lea ecx, [ecx]
push esi
call fcn.0054ed70
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
add dword [esi + 0x450], edi
mov ecx, esi
call eax
test al, al
je 0x551ec2
push esi
call fcn.005518f0
fld qword [esi + 0x460]
fld qword [0x65b8f8]
fsub st(1), st(0)
fxch st(1)
fstp qword [esi + 0x460]
fcomp qword [esi + 0x460]
fnstsw ax
test ah, 0x41
jnp 0x551e80
fld qword [esp + 0x30]
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
call eax
push esi
call fcn.005518f0
fld qword [esi + 0x468]
test bl, bl
fsub qword [esp + 0x38]
je 0x551f10
fsub qword [0x6793e8]
fldz
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x551f06
fstp st(1)
fld st(0)
fxch st(1)
fxch st(1)
fstp qword [esi + 0x468]
jmp 0x551f18
fstp qword [esi + 0x468]
fldz
cmp dword [esi + 0xb4], 0
jle 0x551f8e
fstp qword [esi + 0x468]
jmp 0x551f90
cmp byte [esi + 0x45a], 0
mov dword [esi + 0x488], 3
mov dword [esi + 0x450], 0
je 0x551f54
mov edx, dword [esi]
mov eax, dword [edx + 0x16c]
mov ecx, esi
call eax
jmp 0x551f90
fld qword [esp + 0x38]
fsub qword [esi + 0x468]
call fcn.006397d0
mov edi, eax
test edi, edi
jle 0x551f90
cmp byte [ebp + 8], 0
jne 0x551f7a
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add dword [esi + 0x47c], 1
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x28], edi
jmp 0x551f90
fstp st(0)
cmp byte [esi + 0x4fc], 0
je 0x551fcc
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [esp + 0x28]
sub eax, ecx
sub eax, dword [esp + 0x2c]
add eax, eax
sub eax, ecx
cmp eax, 0xfa
jle 0x551fbb
mov eax, 0xfa
jmp 0x551fbf
test eax, eax
jl 0x551fcc
cmp byte [ebp + 8], 0
je 0x551f6f
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.005518f0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4