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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.00405628
lea eax, [ebp - 0x1c]
mov edx, dword [0x50ad94]
call fcn.00405e14
xor eax, eax
push ebp
push 0x5605d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 4]
mov edx, 0x5605f4
call fcn.004055d0
je 0x5605b3
mov eax, dword [ebp - 4]
mov edx, 0x560608
call fcn.004055d0
je 0x5605b3
mov eax, dword [ebp - 4]
mov edx, 0x56061c
call fcn.004055d0
je 0x5605b3
mov dl, 1
mov eax, dword [0x41b508]
call fcn.004041b0
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x5605ac
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x30]
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050c5bc
jmp 0x560589
xor edx, edx
mov eax, dword [ebp - 0x30]
call fcn.0041dea4
mov esi, eax
cmp dword [esi + 0x1c], 5
jge 0x560573
lea ecx, [ebp - 0x1c]
mov edx, dword [esi]
mov eax, dword [0x586a98]
mov eax, dword [eax]
call fcn.005170b8
test al, al
je 0x560573
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.004055d0
jne 0x560573
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jle 0x560573
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], 1
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
call fcn.0041dea4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x560567
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp eax, dword [esi + 0x1c]
jne 0x560567
mov eax, dword [ebp - 0x28]
inc eax
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + 8]
dec edx
sub edx, eax
jl 0x560573
inc edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
call fcn.0041dea4
mov ebx, eax
mov eax, dword [ebx]
cmp eax, dword [esi]
jne 0x560559
mov eax, dword [ebx + 0x1c]
cmp eax, dword [esi + 0x1c]
jne 0x560559
mov eax, dword [ebp - 0x34]
movzx eax, word [eax + 4]
push eax
movzx eax, word [ebx + 4]
push eax
push 0xffff
movzx ecx, word [esi + 4]
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov dx, 0xffff
call fcn.0051179c
call fcn.004b9988
mov edi, eax
jmp 0x56051b
push 0x32
call sub.kernel32.dll_Sleep_2
lea ecx, [ebp - 0x70]
mov edx, dword [ebx + 4]
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050d67c
test al, al
je 0x560524
call fcn.004b9988
sub eax, edi
cmp eax, 0x3e8
ja 0x560524
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xd], 0
je 0x5604f0
mov edx, 0x34
mov eax, dword [ebp - 0x34]
call fcn.00402f6c
mov edx, 0x34
mov eax, ebx
call fcn.00402f6c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
call fcn.0041dd98
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
call fcn.0041dd98
mov byte [ebp - 0x21], 1
jmp 0x560573
inc dword [ebp - 0x2c]
dec dword [ebp - 0x3c]
jne 0x56049e
jmp 0x560573
inc dword [ebp - 0x28]
dec dword [ebp - 0x38]
jne 0x56045a
mov edx, 0x34
mov eax, esi
call fcn.00402f6c
xor edx, edx
mov eax, dword [ebp - 0x30]
call fcn.0041dd98
mov eax, dword [ebp - 0x30]
cmp dword [eax + 8], 0
jg 0x560401
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5605b3
mov eax, dword [ebp - 0x30]
call fcn.004041e0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5605de
lea eax, [ebp - 0x1c]
mov edx, dword [0x50ad94]
call fcn.00405ee4
lea eax, [ebp - 4]
call fcn.004051a8
ret