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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x20]
call fcn.10001000
lea ecx, [ebp - 0x30]
call fcn.10001000
lea ecx, [ebp - 0x28]
call fcn.10001000
push dword [0x10017124]
mov esi, 0x10017258
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.10001882
add esp, 0xc
lea eax, [ebp - 0x20]
push 0x1001758c
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.100016d2
add esp, 0xc
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000169b
mov eax, dword [eax + 4]
add esp, 0xc
lea ebx, [edi + 0x40]
push eax
mov ecx, ebx
call fcn.10001504
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.10001171
lea ecx, [ebp - 0x10]
call fcn.10001171
cmp edi, 0xffffffff
jle 0x1000881b
push dword [0x10017124]
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.10001882
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.100013e2
mov esi, eax
push edi
push 0x1001759c
mov ecx, ebx
add esi, 6
call fcn.10001512
sub eax, esi
add esi, edi
sub eax, edi
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.10001766
push eax
lea ecx, [ebp - 0x20]
call fcn.10001553
lea ecx, [ebp - 0x18]
call fcn.10001171
push 0x2c
lea ecx, [ebp - 0x20]
pop esi
push esi
call fcn.10001476
mov edi, eax
lea eax, [ebp - 0x18]
push edi
push 0
push eax
lea ecx, [ebp - 0x20]
call fcn.10001766
push eax
mov ecx, 0x10019e88
call fcn.10001553
lea ecx, [ebp - 0x18]
call fcn.10001171
lea eax, [edi + 1]
lea ecx, [ebp - 0x20]
push eax
push esi
mov dword [ebp + 8], eax
call fcn.100014d1
mov ebx, eax
sub eax, edi
dec eax
lea ecx, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.10001766
push dword [eax + 4]
call fcn.100106e3
pop ecx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x18]
call fcn.10001171
lea edi, [ebx + 1]
lea ecx, [ebp - 0x20]
push edi
push esi
mov dword [ebp + 8], ebx
call fcn.100014d1
mov ebx, eax
sub eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
dec eax
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.10001766
push dword [eax + 4]
call fcn.100106e3
imul eax, eax, 0x3e8
pop ecx
mov dword [0x10017140], eax
lea ecx, [ebp - 0x18]
call fcn.10001171
mov eax, dword [0x10017140]
xor edx, edx
lea edi, [ebx + 1]
mov dword [ebp + 8], ebx
lea ecx, [eax + 1]
mov eax, dword [0x10019e20]
div ecx
push edi
push esi
lea ecx, [ebp - 0x20]
mov dword [0x10017140], edx
call fcn.100014d1
mov ebx, eax
sub eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
dec eax
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.10001766
push eax
mov ecx, 0x10019e80
call fcn.10001553
lea ecx, [ebp - 0x18]
call fcn.10001171
lea edi, [ebx + 1]
lea ecx, [ebp - 0x20]
push edi
push esi
mov dword [ebp + 8], ebx
call fcn.100014d1
mov ebx, eax
sub eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
dec eax
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.10001766
push dword [eax + 4]
call fcn.100106e3
pop ecx
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x18]
call fcn.10001171
lea edi, [ebx + 1]
lea ecx, [ebp - 0x20]
push edi
push esi
mov dword [ebp + 8], ebx
call fcn.100014d1
mov ebx, eax
sub eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
dec eax
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.10001766
push eax
mov ecx, 0x10019e30
call fcn.10001553
lea ecx, [ebp - 0x18]
call fcn.10001171
lea edi, [ebx + 1]
lea ecx, [ebp - 0x20]
push edi
push esi
mov dword [ebp + 8], ebx
call fcn.100014d1
mov ebx, eax
sub eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
dec eax
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.10001766
push eax
lea ecx, [ebp - 0x28]
call fcn.10001553
lea ecx, [ebp - 0x18]
call fcn.10001171
lea edi, [ebx + 1]
lea ecx, [ebp - 0x20]
push edi
push esi
mov dword [ebp + 8], ebx
call fcn.100014d1
mov ebx, eax
sub eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
dec eax
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.10001766
push dword [eax + 4]
call fcn.100106e3
pop ecx
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x18]
call fcn.10001171
lea edi, [ebx + 1]
lea ecx, [ebp - 0x20]
push edi
push esi
mov dword [ebp + 8], ebx
call fcn.100014d1
mov ebx, eax
sub eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
dec eax
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.10001766
push eax
mov ecx, 0x10019e58
call fcn.10001553
lea ecx, [ebp - 0x18]
call fcn.10001171
lea edi, [ebx + 1]
lea ecx, [ebp - 0x20]
push edi
push esi
call fcn.100014d1
sub eax, ebx
lea ecx, [ebp - 0x20]
dec eax
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.10001766
push dword [eax + 4]
call fcn.100106e3
pop ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x38]
call fcn.10001171
push 0
push 0x7c
pop ebx
lea ecx, [ebp - 0x28]
push ebx
call fcn.100014d1
mov edi, eax
lea esi, [edi + 1]
lea eax, [esi - 1]
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.10001766
push dword [eax + 4]
call fcn.100106e3
pop ecx
mov dword [0x10017128], eax
lea ecx, [ebp - 0x38]
call fcn.10001171
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.100014d1
mov esi, eax
sub eax, edi
dec eax
inc edi
push eax
lea eax, [ebp - 0x38]
push edi
push eax
lea ecx, [ebp - 0x28]
call fcn.10001766
push dword [eax + 4]
call fcn.100106e3
pop ecx
mov dword [0x10019e38], eax
lea ecx, [ebp - 0x38]
call fcn.10001171
lea edi, [esi + 1]
lea ecx, [ebp - 0x28]
push edi
push ebx
mov dword [ebp + 8], esi
call fcn.100014d1
mov esi, eax
sub eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
dec eax
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.10001766
push dword [eax + 4]
call fcn.100106e3
pop ecx
mov dword [0x10019e3c], eax
lea ecx, [ebp - 0x38]
call fcn.10001171
lea edi, [esi + 1]
lea ecx, [ebp - 0x28]
push edi
push ebx
mov dword [ebp + 8], esi
call fcn.100014d1
mov esi, eax
sub eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
dec eax
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.10001766
push dword [eax + 4]
call fcn.100106e3
pop ecx
mov dword [0x10019e40], eax
lea ecx, [ebp - 0x38]
call fcn.10001171
lea ecx, [ebp - 0x28]
call fcn.100013e2
sub eax, esi
dec eax
inc esi
push eax
lea eax, [ebp - 0x38]
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.10001766
push dword [eax + 4]
call fcn.100106e3
pop ecx
mov dword [0x10019e44], eax
lea ecx, [ebp - 0x38]
call fcn.10001171
mov ecx, dword [0x10019e20]
xor edx, edx
mov eax, ecx
mov esi, 0x2710
div esi
cmp dword [ebp - 4], edx
jbe 0x1000881b
push 0x64
mov eax, ecx
xor edx, edx
pop ecx
div ecx
mov esi, edx
cmp dword [ebp - 8], esi
jbe 0x1000880f
push 0x10017144
mov ecx, 0x10019e30
call fcn.10001860
test eax, eax
je 0x10008725
mov eax, dword [0x10019e34]
push 1
push eax
call fcn.10001e6a
pop ecx
test eax, eax
pop ecx
jne 0x1000880f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [0x10019e40]
xor edx, edx
sub ecx, dword [0x10019e38]
push 3
div ecx
pop ecx
mov ebx, edx
xor edx, edx
mov eax, ebx
div ecx
push eax
call esi
mov eax, dword [0x10019e20]
inc ebx
xor edx, edx
mov ecx, dword [0x10019e40]
div ebx
mov eax, ecx
sub eax, dword [0x10019e38]
mov ebx, edx
cdq
sub eax, edx
sar eax, 1
sub eax, ebx
je 0x1000877f
add dword [0x10019e38], eax
jmp 0x10008787
add ecx, eax
mov dword [0x10019e38], ecx
call edi
mov ecx, dword [0x10019e44]
xor edx, edx
sub ecx, dword [0x10019e3c]
push 3
div ecx
pop ecx
mov ebx, edx
xor edx, edx
mov eax, ebx
div ecx
push eax
call esi
mov esi, dword [0x10019e20]
inc ebx
mov eax, esi
xor edx, edx
div ebx
mov ecx, dword [0x10019e44]
mov eax, ecx
sub eax, dword [0x10019e3c]
mov ebx, edx
cdq
sub eax, edx
sar eax, 1
sub eax, ebx
je 0x100087d5
add dword [0x10019e3c], eax
jmp 0x100087dd
add ecx, eax
mov dword [0x10019e3c], ecx
push 0x64
mov eax, esi
xor edx, edx
pop ecx
div ecx
cmp dword [ebp - 0xc], edx
jbe 0x100087f5
mov dword [0x1001adc4], 1
call edi
push 0x64
xor edx, edx
pop ecx
div ecx
cmp dword [ebp - 0x14], edx
jbe 0x10008816
add dword [0x1001adc4], 0x10000
jmp 0x10008816
and dword [0x10019e3c], 0
push 1
pop esi
jmp 0x1000881d
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.10001171
lea ecx, [ebp - 0x30]
call fcn.10001171
lea ecx, [ebp - 0x20]
call fcn.10001171
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4