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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
mov eax, 1
test eax, eax
je 0x100198cb
call fcn.100183a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 8]
jbe 0x10019684
jmp 0x100198d3
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10018f60
add esp, 4
cmp eax, dword [ebp + 0xc]
je 0x1001969a
jmp 0x100198d3
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
call fcn.10005ab0
add esp, 8
cmp dword [ebp + 0xc], 4
jne 0x10019799
mov ecx, dword [ebp + 0x14]
add ecx, 0x358
mov dword [ebp - 4], ecx
push 4
mov edx, dword [ebp - 4]
push edx
call fcn.10003a80
test eax, eax
jne 0x100196fc
mov dword [ebp - 0x10], 0
push 4
mov eax, dword [ebp - 4]
push eax
call fcn.10003990
test eax, eax
jne 0x100196ed
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 1
je 0x100196fc
mov eax, dword [ebp - 4]
mov dword [eax], 1
call fcn.10010780
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
push 4
push 0x2d0a0e4
call fcn.10003a80
test eax, eax
jne 0x1001974c
mov dword [ebp - 0x14], 0
push 4
push 0x2d0a0e4
call fcn.10003990
test eax, eax
jne 0x10019739
mov ecx, dword [0x2d0a0e4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x80
je 0x1001974c
mov dword [0x2d0a0e4], 0x80
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
push 4
push 0x2d0a0e4
call fcn.10003a80
test eax, eax
jne 0x10019794
mov dword [ebp - 0x18], 0
push 4
push 0x2d0a0e4
call fcn.10003990
test eax, eax
jne 0x10019784
mov edx, dword [0x2d0a0e4]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x10019794
mov dword [0x2d0a0e4], 0
jmp 0x100198be
mov eax, dword [ebp + 0x14]
add eax, 0x394
mov dword [ebp - 8], eax
push 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.10003a80
test eax, eax
jne 0x100197e0
mov dword [ebp - 0x1c], 0
push 4
mov edx, dword [ebp - 8]
push edx
call fcn.10003990
test eax, eax
jne 0x100197d1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x100197e0
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, dword [ebp + 0x14]
add eax, 0x398
mov dword [ebp - 0xc], eax
push 4
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10003a80
test eax, eax
jne 0x10019827
mov dword [ebp - 0x20], 0
push 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.10003990
test eax, eax
jne 0x10019818
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x10019827
mov edx, dword [ebp - 0xc]
mov dword [edx], 0
call fcn.10010780
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
push 4
push 0x2d0a0e4
call fcn.10003a80
test eax, eax
jne 0x10019876
mov dword [ebp - 0x24], 0
push 4
push 0x2d0a0e4
call fcn.10003990
test eax, eax
jne 0x10019863
mov eax, dword [0x2d0a0e4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x80
je 0x10019876
mov dword [0x2d0a0e4], 0x80
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
push 4
push 0x2d0a0e4
call fcn.10003a80
test eax, eax
jne 0x100198be
mov dword [ebp - 0x28], 0
push 4
push 0x2d0a0e4
call fcn.10003990
test eax, eax
jne 0x100198ae
mov ecx, dword [0x2d0a0e4]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
je 0x100198be
mov dword [0x2d0a0e4], 0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001965f
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esp, ebp
pop ebp
ret