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

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push esi
mov esi, ecx
mov byte [eax], 0
mov eax, dword [esi + 0xb8]
shr eax, 2
test al, 1
je 0x54bc04
call fcn.005513c0
mov al, 1
pop esi
pop ecx
ret 0xc
mov eax, dword [0x600710]
shr eax, 2
test al, 1
jne 0x54bbfd
mov ecx, dword [esi + 0xa8]
push ebx
push ebp
add ecx, 0x3f4
xor bl, bl
call fcn.005510b0
or dword [esi + 0xb8], 4
mov al, byte [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esi + 0x104], al
cmp byte [esp + 0x18], bl
jne 0x54bc7d
call ebp
sub eax, dword [esi + 0xc0]
cmp eax, dword [esi + 0xc8]
seta al
test al, al
jne 0x54bc7d
mov ecx, dword [esi + 0xa8]
add ecx, 0x3f4
call fcn.00551110
and dword [esi + 0xb8], 0xfffffffb
call fcn.005513c0
pop ebp
pop ebx
mov al, 1
pop esi
pop ecx
ret 0xc
call ebp
add dword [esi + 0x108], 0xc9
mov dword [esi + 0xc0], eax
mov ecx, dword [0x6021c0]
call fcn.00544af0
test al, al
je 0x54bca3
call fcn.00563f90
mov al, byte [0x60234d]
inc dword [esi + 0x108]
inc al
mov byte [0x60234d], al
movzx eax, al
and eax, 0x80000001
jns 0x54bcc4
dec eax
or eax, 0xfffffffe
inc eax
jne 0x54bcd8
push 1
push 1
mov ecx, esi
call fcn.0054ccd0
mov byte [0x60234d], 0
add dword [esi + 0x108], 0xffffff36
xor ebp, ebp
cmp byte [esi + 0xbc], 0
je 0x54bcf5
call fcn.00545790
mov ebp, dword [eax + 0x54]
cmp dword [esi + 0xc4], 0
mov eax, dword [esi + 0xa8]
setg cl
push edi
mov byte [eax + 0x566], cl
mov eax, dword [esi + 0xac]
test eax, eax
je 0x54bd21
cmp dword [eax + 4], 0
setne al
test al, al
jne 0x54bd73
call fcn.0054ce70
mov edi, eax
mov ecx, edi
call fcn.00553b50
add dword [esi + 0x108], 0xd0
mov ecx, esi
cmp dword [esi + 0xc4], 0
setg al
movzx eax, al
push eax
push dword [esi + 0xb4]
call fcn.0054d820
mov bh, al
test bh, bh
je 0x54bd64
add dword [esi + 0x108], 0xffffff30
mov ecx, edi
call fcn.00553af0
test bh, bh
je 0x54bec2
mov ecx, dword [esi + 0xcc]
mov eax, ecx
shr eax, 9
test al, 1
jne 0x54bd8a
shr ecx, 0x15
test cl, 1
je 0x54bdab
lea eax, [esp + 0x18]
mov byte [esp + 0x18], 0
push eax
mov ecx, esi
call fcn.0054c3c0
test al, al
jne 0x54bdab
xor bl, bl
cmp byte [esp + 0x18], bl
jne 0x54bec2
mov eax, dword [esi + 0xcc]
mov ecx, dword [esi + 0xa8]
shr eax, 9
and al, 1
sete al
movzx eax, al
push eax
mov eax, dword [esi + 0xb4]
xor eax, ebp
push eax
call fcn.0054bb90
mov bl, al
test bl, bl
jne 0x54be99
mov ecx, dword [esi + 0xa8]
cmp byte [ecx + 0x567], al
jne 0x54be30
mov ecx, dword [ecx + 0x70]
and ecx, 0x200
jne 0x54be99
cmp dword [esi + 0xc4], ecx
jle 0x54be99
mov eax, dword [esi + 0xcc]
mov ecx, dword [esi + 0xa8]
shr eax, 9
and al, 1
sete al
movzx eax, al
push eax
mov eax, dword [esi + 0xb4]
xor eax, ebp
push eax
call fcn.0054bb90
mov bl, al
jmp 0x54be99
mov eax, dword [esi + 0xa8]
mov eax, dword [eax + 0x70]
and eax, 0x400
je 0x54be99
mov eax, dword [esi + 0xcc]
mov ecx, dword [esi + 0xb4]
mov edi, dword [esi + 0xa8]
xor ecx, ebp
shr eax, 9
and al, 1
sete al
movzx eax, al
push eax
push ecx
mov ecx, dword [edi + 0x2fc]
call fcn.005af5f0
mov bl, al
test bl, bl
jne 0x54be99
mov edi, dword [edi + 0x2fc]
lea eax, [esp + 0x13]
push dword [esp + 0x18]
push eax
push dword [edi + 0x18]
push dword [edi + 0x14]
call fcn.005405f0
mov eax, dword [edi + 0x14]
add esp, 0x10
mov dword [edi + 0x18], eax
test bl, bl
je 0x54be30
mov ecx, dword [esp + 0x20]
test ebp, ebp
sete al
mov byte [ecx], al
test bl, bl
je 0x54bec2
mov eax, dword [esi + 0xec]
mov dword [esi + 0xc4], eax
mov eax, dword [esi + 0xe8]
mov dword [esi + 0xc8], eax
jmp 0x54bf02
dec dword [esi + 0xc4]
js 0x54beda
mov eax, dword [esi + 0xa8]
mov eax, dword [eax + 0x70]
and eax, 0x200
jne 0x54bee1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [esi + 0xa8]
mov ecx, esi
and dword [eax + 0x70], 0xfffffdff
mov eax, dword [esi + 0xa8]
mov byte [eax + 0x567], 0
call fcn.0054cc00
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa8]
and dword [esi + 0xb8], 0xfffffffb
add ecx, 0x3f4
mov dword [esi + 0xc0], eax
call fcn.00551110
pop edi
pop ebp
mov al, bl
pop ebx
pop esi
pop ecx
ret 0xc