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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.10010fd0
cmp byte [0x101c6290], 0
jne 0x10011a26
cmp byte [0x101c6291], 0
jne 0x10011a26
cmp byte [0x101c7910], 0
je 0x10011555
cmp dword [0x101e8010], 0
je 0x10011555
cmp dword [0x101e7efc], 0
je 0x10011a26
mov ecx, dword [0x101c7abc]
mov esi, 0x2d
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ecx - 1]
cmp eax, 0xfd
cmovbe esi, ecx
call edi
sub eax, dword [0x101e80dc]
cmp eax, 0xc8
jbe 0x1001159e
cmp byte [esi + 0x101c6f49], 0
je 0x1001159e
cmp byte [0x101c6f48], 0
sete byte [0x101c6f48]
call edi
mov dword [0x101e80dc], eax
cmp byte [0x101c6f48], 0
jne 0x10011640
cmp byte [0x101e80bc], 0
je 0x10011a26
mov ecx, dword [0x101c77ec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x10011633
mov ecx, dword [0x101c7854]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
test al, al
jne 0x10011633
mov ecx, dword [0x101c7724]
push 1
mov eax, dword [ecx]
call dword [eax + 0xb4]
mov ecx, dword [0x101c7724]
mov eax, dword [ecx]
call dword [eax + 0xdc]
cmp byte [0x101e80b0], 0
mov byte [0x101e80bc], 0
je 0x10011633
mov eax, dword [0x101c6be0]
mov ecx, dword [0x101c7724]
cdq
sub eax, edx
sar eax, 1
mov esi, dword [ecx]
push eax
mov eax, dword [0x101c6bdc]
cdq
sub eax, edx
sar eax, 1
push eax
call dword [esi + 0x15c]
mov byte [0x101e80b0], 0
cmp byte [0x101c6f48], 0
je 0x10011a26
mov ecx, dword [0x101c7724]
push dword [0x101c6e30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
je 0x10011a26
mov ecx, dword [0x101c7724]
push dword [0x101c6e3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
je 0x10011a26
mov ecx, dword [0x101c7724]
push dword [0x101c6e54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
je 0x10011a26
mov ecx, dword [0x101c7724]
push dword [0x101c6e84]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
je 0x10011a26
mov ecx, dword [0x101c7724]
push dword [0x101c6e9c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
je 0x10011a26
mov ecx, dword [0x101c7724]
push dword [0x101c6e6c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
je 0x10011a26
mov ecx, dword [0x101c7724]
push dword [0x101c6eb4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
je 0x10011a26
mov ecx, dword [0x101c7724]
push dword [0x101c6e48]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
je 0x10011a26
mov ecx, dword [0x101c7724]
push dword [0x101c6e60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
je 0x10011a26
mov ecx, dword [0x101c7724]
push dword [0x101c6e90]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
je 0x10011a26
mov ecx, dword [0x101c7724]
push dword [0x101c6ea8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
je 0x10011a26
mov ecx, dword [0x101c7724]
push dword [0x101c6e78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
je 0x10011a26
mov ecx, dword [0x101c7724]
push dword [0x101c6ec0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
test al, al
je 0x10011a26
mov ecx, dword [0x101c77ec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x10011810
mov ecx, dword [0x101c7854]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
test al, al
jne 0x10011810
mov ecx, dword [0x101c7724]
push 2
mov eax, dword [ecx]
call dword [eax + 0xb4]
mov ecx, dword [0x101c7724]
mov eax, dword [ecx]
call dword [eax + 0xd8]
cmp byte [0x101e80b0], 0
mov byte [0x101e80bc], 1
jne 0x10011810
mov ecx, dword [0x101c7724]
push dword [0x101c6e2c]
push dword [0x101c6e28]
mov eax, dword [ecx]
call dword [eax + 0x15c]
mov byte [0x101e80b0], 1
push 0x101c6e2c
push 0x101c6e28
call dword [0x101c75cc]
mov ecx, dword [0x101c6e24]
add esp, 4
mov eax, dword [0x101c6e38]
mov edx, dword [0x101c6e20]
add eax, ecx
push 0xff
push 0xff
push 0xff
push eax
mov eax, dword [0x101c6e34]
add eax, edx
push eax
push ecx
push edx
push dword [0x101c6e30]
call fcn.1000cbc0
mov ecx, dword [0x101c6e38]
mov eax, 0xaaaaaaab
mov word [0x101c6f3c], 0
mov esi, 5
mov dword [0x101c6f40], 0
mov dword [0x101c6f44], 0
lea ecx, [ecx - 8]
mul ecx
mov edi, edx
shr edi, 2
cmp byte [0x101c6f4a], 0
je 0x100118f9
cmp byte [0x101c6e19], 0
jne 0x100118f9
mov eax, dword [0x101c6e20]
lea ecx, [esi - 4]
mov ebx, dword [0x101c6e2c]
lea edx, [eax + 5]
mov dword [ebp - 4], edx
mov edx, dword [0x101c6e28]
nop
cmp edx, dword [ebp - 4]
jb 0x100118e9
add eax, 0x4c
cmp edx, eax
ja 0x100118e4
mov eax, dword [0x101c6e24]
add eax, esi
cmp ebx, eax
jb 0x100118e4
mov eax, dword [0x101c6e24]
add eax, edi
add eax, esi
cmp ebx, eax
jbe 0x100118f3
mov eax, dword [0x101c6e20]
inc ecx
add esi, edi
cmp ecx, 6
jbe 0x100118c0
jmp 0x100118f9
mov dword [0x101c6e1c], ecx
call fcn.10015620
call fcn.10011a40
cmp byte [0x101c6f3c], 0
jne 0x10011a1f
cmp byte [0x101c6f3d], 0
jne 0x10011a1f
cmp byte [0x101c6e19], 0
mov al, byte [0x101c6f4a]
mov edx, dword [0x101c6e2c]
mov ecx, dword [0x101c6e28]
je 0x1001195d
test al, al
je 0x10011a1f
mov esi, ecx
mov edi, edx
sub esi, dword [0x101e80a4]
sub edi, dword [0x101e80c0]
mov dword [0x101c6e20], esi
mov dword [0x101c6e24], edi
jmp 0x10011969
mov edi, dword [0x101c6e24]
mov esi, dword [0x101c6e20]
test al, al
je 0x10011a26
cmp ecx, esi
jb 0x100119af
mov eax, dword [0x101c6e34]
add eax, esi
cmp ecx, eax
ja 0x10011997
cmp edx, edi
jb 0x10011997
lea eax, [edi + 4]
mov ebx, edi
cmp dword [0x101c6e2c], eax
jbe 0x10011a01
mov edx, dword [0x101c6e2c]
lea eax, [esi + 4]
cmp ecx, eax
ja 0x100119af
mov ebx, edi
cmp edx, ebx
jb 0x100119af
mov eax, dword [0x101c6e38]
add eax, ebx
cmp edx, eax
jbe 0x10011a01
mov edx, dword [0x101c6e34]
add edx, esi
mov dword [ebp - 4], edx
lea eax, [edx - 4]
cmp ecx, eax
mov eax, dword [0x101c6e2c]
jb 0x100119e2
cmp ecx, edx
ja 0x100119e2
mov edx, eax
mov ebx, edi
cmp edx, ebx
jb 0x100119df
mov eax, dword [0x101c6e38]
add eax, ebx
cmp edx, eax
jbe 0x10011a01
mov eax, edx
mov edx, dword [ebp - 4]
cmp ecx, esi
jb 0x10011a26
cmp ecx, edx
ja 0x10011a26
mov ebx, edi
mov edx, eax
mov edi, dword [0x101c6e38]
add edi, ebx
lea eax, [edi - 4]
cmp edx, eax
jb 0x10011a26
cmp edx, edi
ja 0x10011a26
sub ecx, esi
mov byte [0x101c6e19], 1
sub edx, ebx
mov dword [0x101e80a4], ecx
mov dword [0x101e80c0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [0x101c6e19], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret