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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x55206b
cmp dword [eax + 8], 0
jg 0x55206b
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0041c330
xor eax, eax
push ebp
push 0x552015
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax]
call fcn.00404648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x552029
xor eax, eax
push ebp
push 0x552051
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, 0x14
call fcn.00403120
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x552063
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x5520ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0
jle 0x5520ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edx, edx
call fcn.0041c194
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x552367
mov eax, dword [0x567b0c]
mov eax, dword [eax]
mov eax, dword [eax + 0x8dc]
cmp byte [eax + 0x2f0], 0
jne 0x5520fe
mov eax, dword [0x567b0c]
mov eax, dword [eax]
mov eax, dword [eax + 0xb84]
cmp byte [eax + 0x2f0], 0
jne 0x5520fe
mov eax, dword [0x567b0c]
mov eax, dword [eax]
mov eax, dword [eax + 0x6f8]
cmp byte [eax + 0x2f0], 0
je 0x5521b8
mov eax, dword [0x567b0c]
mov eax, dword [eax]
mov eax, dword [eax + 0xb84]
cmp byte [eax + 0x2f0], 0
je 0x552139
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
mov ecx, dword [0x567b0c]
cmp edx, dword [eax + 0x4c]
jg 0x552139
mov edx, dword [0x567b0c]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
jmp 0x5521c2
mov eax, dword [0x567b0c]
mov eax, dword [eax]
mov eax, dword [eax + 0x8dc]
cmp byte [eax + 0x2f0], 0
je 0x552171
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
mov ecx, dword [0x567b0c]
cmp edx, dword [eax + 0x4c]
jg 0x552171
mov edx, dword [0x567b0c]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
jmp 0x5521c2
mov eax, dword [0x567b0c]
mov eax, dword [eax]
mov eax, dword [eax + 0x6f8]
cmp byte [eax + 0x2f0], 0
je 0x5521ac
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
mov ecx, dword [0x567b0c]
cmp edx, dword [eax + 0x4c]
jg 0x5521ac
mov edx, dword [0x567b0c]
mov eax, dword [eax + 0x48]
add eax, 0xa
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
jmp 0x5521c2
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x32
jmp 0x5521c2
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x32
mov ebx, dword [0x566c70]
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x18]
sub ebx, 0x32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
cmp ebx, eax
jle 0x5521f7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
test eax, eax
jle 0x552209
mov edx, dword [ebp - 4]
add dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
jmp 0x552209
cmp ebx, eax
jge 0x552209
sub eax, ebx
mov edx, dword [ebp - 4]
add dword [edx + 0x14], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
push 0x96
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov eax, esi
add eax, eax
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
sar esi, 1
jns 0x55222f
adc esi, 0
sub edx, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov ecx, ebx
call fcn.0041ab28
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
movzx eax, byte [eax + 4]
call fcn.005252c4
mov ecx, eax
mov eax, dword [ebp - 8]
pop edx
call fcn.00471d88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
sub ecx, esi
mov eax, esi
xor edx, edx
call fcn.0041ab28
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax]
push eax
push 1
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18]
add edx, ebx
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 8]
call fcn.00470af4
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xc]
cmp eax, 5
jbe 0x552367
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
cmp ebx, eax
jle 0x5522fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
test eax, eax
jle 0x5522f4
inc eax
mov edx, dword [ebp - 4]
add dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
jmp 0x552317
mov eax, dword [ebp - 4]
inc dword [eax + 0x20]
jmp 0x552317
cmp ebx, eax
jge 0x552311
sub eax, ebx
inc eax
mov edx, dword [ebp - 4]
add dword [edx + 0x14], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
jmp 0x552317
mov eax, dword [ebp - 4]
inc dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx]
cmp eax, dword [edx + 8]
jge 0x552330
mov eax, dword [ebp - 4]
inc dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x14]
mov edx, dword [ebp - 4]
add ebx, dword [edx + 0x10]
cmp eax, ebx
jl 0x552367
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
dec dword [eax + 8]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret