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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff24
push ebx
xor edx, edx
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x5c]
mov edx, dword [0x52f300]
call fcn.0040cd38
xor eax, eax
push ebp
push 0x550120
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
call fcn.004f5480
test al, al
je 0x54fbe3
mov eax, dword [ebp - 8]
mov byte [ebp + eax - 0xb], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
call fcn.004f55c8
mov edx, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x18], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x484], 0
je 0x54fbb5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
call fcn.004f55c8
mov edx, dword [ebp - 8]
mov word [ebp + edx*2 - 0x1a], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
call fcn.004f55c8
mov edx, dword [ebp - 8]
mov word [ebp + edx*2 - 0x1e], ax
jmp 0x54fc28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
call fcn.004f55a4
mov edx, dword [ebp - 8]
mov word [ebp + edx*2 - 0x1a], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
call fcn.004f55a4
mov edx, dword [ebp - 8]
mov word [ebp + edx*2 - 0x1e], ax
jmp 0x54fc28
mov eax, dword [ebp - 8]
lea eax, [ebp + eax - 0xb]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov byte [eax], 0
mov eax, dword [ebp - 8]
lea eax, [ebp + eax*4 - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea eax, [ebp + eax*2 - 0x1a]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov word [eax], 0
mov eax, dword [ebp - 8]
lea eax, [ebp + eax*2 - 0x1e]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov word [eax], 0
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jne 0x54fb48
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
cmp byte [ebp + eax - 0xb], 0
je 0x5500c5
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x18], 0
jbe 0x5500b1
mov eax, dword [ebp - 8]
movzx edx, word [ebp + eax*2 - 0x1a]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
call fcn.004f5234
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x18]
shl eax, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x18]
shr eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x18]
and eax, 0xffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
dec eax
je 0x54fca5
dec eax
je 0x54fce2
jmp 0x5500b1
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 8]
movzx edx, word [ebp + eax*2 - 0x1e]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
xor ecx, ecx
call fcn.004f5728
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x208]
call fcn.00532e2c
jmp 0x5500b1
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 8]
movzx edx, word [ebp + eax*2 - 0x1e]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
xor ecx, ecx
call fcn.004f5728
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20c]
call fcn.00532e2c
cmp dword [ebp - 0x24], 1
jg 0x54fd2e
call fcn.004c34fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x14c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov dword [ebp - 0x40], eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x7d0
jle 0x5500b1
mov dl, 1
mov eax, dword [0x4f3668]
call fcn.004f50a4
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
xor eax, eax
push ebp
push 0x54fe19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20c]
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20c]
call fcn.00533144
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x4c]
ja 0x54fdb7
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 8]
dec edx
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
call fcn.0044a290
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0x4c]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx + 4]
lea edx, [ecx + edx*4]
mov ecx, dword [0x52f300]
call fcn.0040d8c8
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x68]
mov ecx, dword [0x52f300]
call fcn.0040d8c8
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x74]
call fcn.00532ccc
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x2c]
call fcn.004f5ddc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54fe20
lea eax, [ebp - 0x68]
mov edx, dword [0x52f300]
call fcn.0040d124
pop eax
jmp eax
cmp dword [ebp - 8], 1
jne 0x5500c5
cmp byte [ebp - 9], 0
je 0x5500c5
mov ax, word [ebp - 0x1c]
sub word [ebp - 0x16], ax
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jne 0x54fc3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x550127
lea eax, [ebp - 0xdc]
mov edx, 2
call fcn.0040b8a8
lea eax, [ebp - 0xc8]
call fcn.0040b834
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.0040b8a8
lea eax, [ebp - 0x5c]
mov edx, dword [0x52f300]
call fcn.0040d124
lea eax, [ebp - 0x50]
call fcn.0040b834
pop eax
jmp eax