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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x16], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 9
jne 0x4fc7a9
mov byte [ebp - 0x15], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 0x177c
jne 0x4fc7d4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 6
je 0x4fc7d0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 7
jne 0x4fc7d4
mov byte [ebp - 0x16], 1
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
jne 0x4fc87e
cmp byte [ebp - 0x15], 0
jne 0x4fc87e
cmp byte [ebp - 0x16], 0
jne 0x4fc87e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 0xb
je 0x4fc843
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 9
je 0x4fc843
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 0x177c
je 0x4fc843
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 0xd
je 0x4fc843
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 6
je 0x4fc843
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 7
jne 0x4fc87e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x274]
dec eax
je 0x4fc85f
sub eax, 3
je 0x4fc86f
jmp 0x4fc87e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1dc]
call fcn.005024d4
jmp 0x4fc87e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1dc]
inc eax
call fcn.005024d4
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2a8], 0
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
je 0x4fc8b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
cmp dword [eax + 8], 2
jl 0x4fc8b1
mov eax, dword [ebp - 4]
mov byte [eax + 0x2a8], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 0xb
je 0x4fc8fd
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 0xd
je 0x4fc8fd
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 6
je 0x4fc8fd
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 7
je 0x4fc8fd
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 0x3d
jne 0x4fcb21
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x27c]
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x274]
mov eax, dword [ebp - 4]
mov si, 0xfff8
call fcn.00403bb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x274]
jl 0x4fc943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x278]
jle 0x4fc956
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x274]
dec eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x27c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x278]
jge 0x4fc9f3
mov eax, dword [ebp - 4]
inc dword [eax + 0x27c]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2a8], 0
je 0x4fc9a6
cmp byte [ebp - 0x16], 0
jne 0x4fc9a6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x278]
jge 0x4fc9a6
mov eax, dword [ebp - 4]
inc dword [eax + 0x27c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x274]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x278]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x274]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [eax + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2a4]
mov eax, dword [ebp - 4]
call fcn.004f92f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x278]
jl 0x4fca79
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
jne 0x4fca48
mov eax, dword [0x5abad8]
mov eax, dword [eax]
call fcn.0058fbb0
test al, al
je 0x4fca6b
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1ac], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c4], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2bc], eax
jmp 0x4fca6b
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1ac], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c4], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2bc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x151], 0
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 6
jne 0x4fcaa9
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
jne 0x4fcaa9
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5abfa0]
mov dword [edx], eax
mov eax, dword [0x5ab450]
mov dword [eax], 0x12c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 7
jne 0x4fcb1d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x278]
sub eax, 3
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x27c]
jg 0x4fcb1d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d4]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d8]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x118], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x11c], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1ac], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c4], 1
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 9
je 0x4fcb40
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 0x177c
jne 0x4fcca2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x278]
jg 0x4fcb68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x274]
jge 0x4fcb7b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x278]
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x27c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x274]
jle 0x4fcc1a
mov eax, dword [ebp - 4]
dec dword [eax + 0x27c]
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x2a8]
or al, byte [ebp - 0x15]
je 0x4fcbc7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x274]
jle 0x4fcbc7
mov eax, dword [ebp - 4]
dec dword [eax + 0x27c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x278]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x27c]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x278]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x274]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x10]
call fcn.00507648
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2a4]
mov eax, dword [ebp - 4]
call fcn.004f92f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x27c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x274]
jg 0x4fcc9e
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
jne 0x4fcc77
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1ac], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c4], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2bc], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5abfa0]
mov dword [edx], eax
mov eax, dword [0x5ab450]
mov dword [eax], 0x3e8
jmp 0x4fcc9a
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1ac], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c4], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2bc], eax
mov byte [ebp - 5], 1
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x27c]
je 0x4fccca
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c4], eax
mov eax, dword [ebp - 4]
mov si, 0xfff3
call fcn.00403bb0
mov al, byte [ebp - 5]
pop esi
mov esp, ebp
pop ebp
ret