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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 8]
add ebx, 0xfffffffc
xor eax, eax
push ebp
push 0x5779a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [ebx]
cmp dword [eax + 0x124], 0
jne 0x577803
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050f20c
mov esi, eax
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050c648
mov edi, eax
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.00577040
pop ecx
call fcn.004b9988
mov dword [ebp - 8], eax
jmp 0x5776cb
call fcn.004b9988
sub eax, dword [ebp - 8]
cmp eax, 0x190
ja 0x5776d3
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050f20c
cmp esi, eax
jge 0x5776c4
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050c648
cmp edi, eax
jle 0x5776c4
mov eax, dword [ebx]
mov dword [eax + 0x124], 1
call fcn.004b9988
mov edx, dword [ebx]
mov dword [edx + 0x128], eax
mov byte [ebp - 1], 1
jmp 0x5776d3
push 0xa
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebx]
cmp byte [eax + 0xd], 0
je 0x577676
mov eax, dword [ebx]
cmp dword [eax + 0x124], 0
jne 0x577709
mov eax, dword [ebp + 8]
push eax
call fcn.005771f0
pop ecx
test al, al
je 0x577709
mov eax, dword [ebx]
mov dword [eax + 0x124], 3
call fcn.004b9988
mov edx, dword [ebx]
mov dword [edx + 0x128], eax
mov byte [ebp - 1], 1
mov eax, dword [ebx]
cmp dword [eax + 0x124], 0
jne 0x57798a
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050f20c
mov esi, eax
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050c648
mov edi, eax
mov eax, dword [ebx]
cmp dword [eax + 0xd4], 0
jne 0x577748
mov eax, dword [ebx]
mov byte [eax + 0xd0], 1
mov eax, dword [ebp + 8]
push eax
call fcn.0057715c
pop ecx
call fcn.004b9988
mov dword [ebp - 8], eax
jmp 0x5777a4
call fcn.004b9988
sub eax, dword [ebp - 8]
cmp eax, 0x190
ja 0x5777ac
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050f20c
cmp esi, eax
jge 0x57779d
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050c648
cmp edi, eax
jle 0x57779d
mov eax, dword [ebx]
mov dword [eax + 0x124], 2
mov byte [ebp - 1], 1
jmp 0x5777ac
push 0xa
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebx]
cmp byte [eax + 0xd], 0
je 0x57775c
mov eax, dword [ebx]
cmp byte [eax + 0xd0], 0
je 0x57798a
mov eax, dword [ebx]
mov byte [eax + 0xd0], 0
mov eax, dword [ebx]
cmp dword [eax + 0xd4], 0
jne 0x5777e5
mov eax, dword [ebx]
add eax, 0xd4
mov edx, 0x5779c0
call fcn.004051fc
jmp 0x57798a
mov eax, dword [ebx]
cmp dword [eax + 0x124], 0
jle 0x57798a
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x124], edx
jmp 0x57798a
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050f20c
mov esi, eax
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050c648
mov edi, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x124]
cmp eax, 6
ja case.0x57782c.0
jmp dword [eax*4 + 0x577833]
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.00577040
pop ecx
jmp case.0x57782c.0
mov eax, dword [ebp + 8]
push eax
mov al, 1
call fcn.00577040
pop ecx
jmp case.0x57782c.0
mov eax, dword [ebp + 8]
push eax
call fcn.0057715c
pop ecx
jmp case.0x57782c.0
mov eax, dword [ebx]
mov edx, dword [eax + 0xc0]
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050babc
call fcn.004b9988
mov dword [ebp - 8], eax
jmp 0x57797e
call fcn.004b9988
sub eax, dword [ebp - 8]
cmp eax, 0xc8
jbe 0x577910
mov eax, dword [ebx]
mov eax, dword [eax + 0x124]
add eax, 0xfffffffb
sub eax, 2
jb 0x57798a
mov eax, dword [ebx]
inc dword [eax + 0x12c]
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x130], edx
mov eax, dword [ebx]
cmp dword [eax + 0x12c], 2
jle 0x57798a
lea edx, [ebp - 0x10]
mov eax, dword [ebx]
mov eax, dword [eax + 0x124]
call fcn.00409fe0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x5779cc
call fcn.004054c0
mov eax, dword [ebp - 0xc]
call fcn.004b8ff8
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x124], edx
jmp 0x57798a
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050f20c
cmp esi, eax
jge 0x577977
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050c648
cmp edi, eax
jle 0x577977
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x12c], edx
mov eax, dword [ebx]
inc dword [eax + 0x130]
mov eax, dword [ebx]
cmp dword [eax + 0x130], 1
jle 0x577964
mov eax, dword [ebx]
cmp dword [eax + 0x124], 3
jne 0x577964
mov eax, dword [ebx]
mov dword [eax + 0x124], 6
call fcn.004b9988
mov edx, dword [ebx]
mov dword [edx + 0x128], eax
mov byte [ebp - 1], 1
jmp 0x57798a
push 0xa
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebx]
cmp byte [eax + 0xd], 0
je 0x577898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5779ac
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004051cc
ret