Function at 0x557c10
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 0x557c31
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
call edx
mov cl, byte [esi + 0x511]
test cl, cl
jne 0x557c72
cmp byte [esi + 0x5b8], cl
je 0x557c72
cmp byte [esi + 0x459], cl
jne 0x557c72
cmp byte [esi + 0x5b9], cl
jne 0x557c72
cmp byte [esi + 0x344], cl
je 0x557c6b
cmp byte [esi + 0x5c8], cl
je 0x557c72
cmp byte [esi + 0x5c9], cl
jne 0x557c72
mov byte [esp + 0x27], 1
jmp 0x557c77
mov byte [esp + 0x27], 0
cmp byte [esi + 0x5b8], 0
je 0x557cc1
mov eax, dword [esi + 0x5b4]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov edx, dword [esi + 0x454]
fld qword [0x6888f0]
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 0x557cd7
fild dword [esi + 0x454]
fdiv qword [esi + 0x490]
fstp qword [esp + 0x38]
fld qword [0x668940]
test cl, cl
fstp qword [esp + 0x30]
je 0x557e7b
mov eax, dword [esi + 0x484]
cmp eax, dword [esi + 0x49c]
jl 0x557cfe
cmp byte [esi + 0x4a0], 0
je 0x557e50
cmp byte [esi + 0x430], 0
jne 0x557d25
cmp byte [esi + 0x4a1], 0
jne 0x557d25
mov edx, dword [esi]
mov eax, dword [edx + 0xf8]
push 1
mov ecx, esi
mov byte [esi + 0x430], 1
call eax
test byte [0x76ca94], 1
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
jne 0x557d42
or dword [0x76ca94], 1
call ebx
mov dword [0x76ca90], eax
mov ecx, dword [esi + 0x484]
cmp ecx, dword [esi + 0x49c]
jl 0x557d5d
cmp byte [esi + 0x4a0], 0
je 0x557e50
call fcn.0054b850
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov edi, dword [esi + 0x484]
mov ecx, esi
call eax
test al, al
je 0x557e03
fld qword [esp + 0x30]
push esi
fadd qword [esi + 0x460]
fsub qword [0x668940]
fstp qword [esi + 0x460]
call fcn.00557aa0
fld qword [0x668940]
fcomp qword [esi + 0x460]
fnstsw ax
test ah, 0x41
jp 0x557de4
push esi
call fcn.00554ea0
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
test al, al
je 0x557de4
push esi
call fcn.00557aa0
fld qword [esi + 0x460]
fld qword [0x668940]
fsub st(1), st(0)
fxch st(1)
fstp qword [esi + 0x460]
fcomp qword [esi + 0x460]
fnstsw ax
test ah, 0x41
jnp 0x557da8
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.00557aa0
cmp edi, dword [esi + 0x484]
je 0x558182
call ebx
sub eax, dword [0x76ca90]
cmp eax, 0x3e8
jae 0x557e2b
cmp byte [esi + 0x4a1], 0
je 0x557d42
mov byte [esi + 0x4a1], 0
call ebx
mov edx, dword [esi]
mov dword [0x76ca90], 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 0x557e7b
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 0x55817c
fldz
fcomp qword [esi + 0x490]
fnstsw ax
test ah, 5
jp 0x55817c
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 0x557eba
call fcn.00557ba0
mov eax, dword [esi + 0x488]
mov edi, 1
cmp eax, edi
jne 0x557feb
fld qword [esi + 0x490]
add dword [esi + 0x450], edi
fmul qword [0x688618]
sub esp, 8
fstp qword [esp]
call fcn.00627510
add esp, 8
call fcn.00643d70
cmp dword [esi + 0x450], eax
jl 0x557f07
cmp byte [esi + 0x4fb], 0
jne 0x5580d9
test bl, bl
je 0x557f2d
cmp byte [esi + 0x45a], 0
je 0x557f42
fld qword [esp + 0x38]
fmul qword [0x688760]
call fcn.00643d70
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
jmp 0x557f31
fld qword [esp + 0x38]
fcomp qword [esi + 0x468]
fnstsw ax
test ah, 0x41
jp 0x5580d9
cmp byte [esi + 0x511], 0
jne 0x557fc8
fld qword [0x668940]
fcomp qword [esi + 0x490]
fnstsw ax
test ah, 0x44
jp 0x557fc8
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 0x557fc8
mov eax, dword [esp + 0x2c]
mov ecx, eax
sub ecx, dword [esi + 0x5c0]
cmp ecx, 0x320
ja 0x557fae
add dword [esi + 0x5bc], 1
cmp dword [esi + 0x5bc], 3
jl 0x557fb8
mov byte [esi + 0x5b9], 1
jmp 0x557fb8
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 0x557fdf
mov dword [esi + 0x488], 2
mov byte [esi + 0x45a], 1
jmp 0x558140
cmp eax, 2
jne 0x5580d9
fld qword [esp + 0x30]
mov dword [esi + 0x488], 3
fadd qword [esi + 0x460]
push esi
fsub qword [0x668940]
fstp qword [esi + 0x460]
call fcn.00557aa0
fld qword [0x668940]
fcomp qword [esi + 0x460]
fnstsw ax
test ah, 0x41
jp 0x558072
lea ecx, [ecx]
push esi
call fcn.00554ea0
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
add dword [esi + 0x450], edi
mov ecx, esi
call eax
test al, al
je 0x558072
push esi
call fcn.00557aa0
fld qword [esi + 0x460]
fld qword [0x668940]
fsub st(1), st(0)
fxch st(1)
fstp qword [esi + 0x460]
fcomp qword [esi + 0x460]
fnstsw ax
test ah, 0x41
jnp 0x558030
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.00557aa0
fld qword [esi + 0x468]
test bl, bl
fsub qword [esp + 0x38]
je 0x5580c0
fsub qword [0x6886a8]
fldz
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x5580b6
fstp st(1)
fld st(0)
fxch st(1)
fxch st(1)
fstp qword [esi + 0x468]
jmp 0x5580c8
fstp qword [esi + 0x468]
fldz
cmp dword [esi + 0xb4], 0
jle 0x55813e
fstp qword [esi + 0x468]
jmp 0x558140
cmp byte [esi + 0x45a], 0
mov dword [esi + 0x488], 3
mov dword [esi + 0x450], 0
je 0x558104
mov edx, dword [esi]
mov eax, dword [edx + 0x16c]
mov ecx, esi
call eax
jmp 0x558140
fld qword [esp + 0x38]
fsub qword [esi + 0x468]
call fcn.00643d70
mov edi, eax
test edi, edi
jle 0x558140
cmp byte [ebp + 8], 0
jne 0x55812a
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 0x558140
fstp st(0)
cmp byte [esi + 0x4fc], 0
je 0x55817c
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 0x55816b
mov eax, 0xfa
jmp 0x55816f
test eax, eax
jl 0x55817c
cmp byte [ebp + 8], 0
je 0x55811f
push eax
call dword [sym.imp.kernel32.dll_Sleep]
push esi
call fcn.00557aa0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4