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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2124
call dword [0x10055b3c]
cmp dword [ebp + 0x10], 0
jne 0x100068f9
jmp 0x10006adf
mov eax, dword [0x10161af8]
movzx ecx, byte [eax + 2]
cmp ecx, 0xc1
jne 0x10006ada
cmp dword [0xe609e8], 5
jne 0x10006ada
mov edx, dword [0x10161af8]
movzx eax, byte [edx + 4]
cmp eax, 0x11
je 0x1000694b
mov ecx, dword [0x10161af8]
movzx edx, byte [ecx + 4]
cmp edx, 0x19
je 0x1000694b
mov eax, dword [0x10161af8]
movzx ecx, byte [eax + 4]
cmp ecx, 0x1e
jne 0x10006ada
mov edx, dword [0x10161744]
mov eax, dword [edx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100069a4
mov ecx, dword [ebp - 8]
call fcn.10006590
movsx ecx, word [eax]
call fcn.100065b0
mov ecx, dword [ebp - 8]
call fcn.100065a0
movzx ecx, byte [eax]
mov edx, dword [0x10161798]
mov eax, dword [edx]
mov cx, word [eax + ecx*2 + 0x78]
mov word [ebp - 4], cx
movsx edx, word [ebp - 4]
cmp edx, 0x107
je 0x1000699f
movsx eax, word [ebp - 4]
cmp eax, 0x22f
jne 0x100069a4
jmp 0x10006c84
cmp dword [0x10562490], 0
je 0x100069d4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10562490]
cmp eax, 0x3e8
jb 0x100069d4
mov dword [0x10562490], 0
mov dword [0x10562494], 0
cmp dword [0x10562498], 0
jne 0x100069f8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10562498], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1056249c], eax
jmp 0x10006ada
movzx ecx, byte [0x101616f8]
test ecx, ecx
jne 0x10006a08
jmp 0x10006e4c
mov byte [0x101616f8], 0
cmp dword [0x105624a0], 0
je 0x10006a3f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x105624a0]
cmp eax, 0x7d0
jb 0x10006a35
mov dword [0x105624a0], 0
jmp 0x10006e4c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10562498]
cmp eax, 0x21
jb 0x10006ad5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10562498], eax
cmp dword [0x10161700], 0
je 0x10006ad3
mov eax, 0x3e8
cdq
idiv dword [0x10161700]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1056249c]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x10]
jge 0x10006ac8
cmp dword [0x10562490], 0
jne 0x10006aa2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10562490], eax
mov eax, dword [0x10562494]
add eax, 1
mov dword [0x10562494], eax
cmp dword [0x10562494], 2
jl 0x10006ac8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x105624a0], eax
jmp 0x10006e4c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1056249c], eax
jmp 0x10006ada
jmp 0x10006e4c
jmp 0x10006c84
mov ecx, dword [0x10161af8]
movzx edx, byte [ecx + 2]
cmp edx, 0xc1
jne 0x10006c6a
cmp dword [0xe609e8], 5
jne 0x10006c6a
mov eax, dword [0x10161af8]
movzx ecx, byte [eax + 4]
cmp ecx, 0x11
je 0x10006b23
mov edx, dword [0x10161af8]
movzx eax, byte [edx + 4]
cmp eax, 0x4b
jne 0x10006c6a
cmp dword [0x105624a4], 0
je 0x10006b53
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x105624a4]
cmp eax, 0x3e8
jb 0x10006b53
mov dword [0x105624a4], 0
mov dword [0x105624a8], 0
cmp dword [0x105624ac], 0
jne 0x10006b77
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x105624ac], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x105624b0], eax
jmp 0x10006c6a
movzx ecx, byte [0x101616f8]
test ecx, ecx
jne 0x10006b96
mov edx, dword [0x10161af8]
movzx eax, byte [edx + 4]
cmp eax, 0x11
jne 0x10006b96
jmp 0x10006e4c
mov byte [0x101616f8], 0
cmp dword [0x105624b4], 0
je 0x10006bcd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x105624b4]
cmp eax, 0x7d0
jb 0x10006bc3
mov dword [0x105624b4], 0
jmp 0x10006e4c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x105624ac]
cmp eax, 0x21
jb 0x10006c65
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x105624ac], eax
cmp dword [0x10161700], 0
je 0x10006c63
mov eax, 0x3e8
cdq
idiv dword [0x10161700]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x105624b0]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jge 0x10006c58
cmp dword [0x105624a4], 0
jne 0x10006c30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x105624a4], eax
mov edx, dword [0x105624a8]
add edx, 1
mov dword [0x105624a8], edx
cmp dword [0x105624a8], 2
jl 0x10006c58
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x105624b4], eax
jmp 0x10006e4c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x105624b0], eax
jmp 0x10006c6a
jmp 0x10006e4c
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0xe61f84
mov ecx, dword [ecx]
call dword [0x10055b48]
jmp 0x10006e4c
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2118]
push ecx
call dword [0x10055b44]
add esp, 0xc
call dword [0x10055b40]
and eax, 0x800000ff
jns 0x10006cb2
dec eax
or eax, 0xffffff00
inc eax
jmp 0x10006cb2
mov edx, dword [ebp + 0xc]
mov byte [ebp + edx - 0x2118], al
movzx eax, byte [ebp - 0x2118]
xor ecx, ecx
cmp eax, 0xc1
setne cl
add ecx, 2
mov dword [ebp - 0x211c], ecx
mov edx, dword [ebp - 0x211c]
mov edx, 0x8793700
mov al, byte [edx]
mov edx, dword [ebp - 0x211c]
mov byte [ebp + edx - 0x2119], al
mov eax, 0x8793700
mov cl, byte [eax]
add cl, 1
mov byte [eax], cl
mov edx, dword [ebp - 0x211c]
sub edx, 1
mov dword [ebp - 0x211c], edx
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x211c]
push eax
mov ecx, dword [ebp - 0x211c]
lea edx, [ebp + ecx - 0x2118]
push edx
push 0
mov ecx, 0x8797778
call dword [0x10055b38]
mov dword [ebp - 0x1114], eax
cmp dword [ebp - 0x1114], 0x100
jge 0x10006dbb
cmp dword [ebp + 0x14], 0
jne 0x10006dbb
mov eax, dword [ebp - 0x1114]
add eax, 2
mov dword [ebp - 0x2120], eax
mov byte [ebp - 0x108], 0xc3
mov cl, byte [ebp - 0x2120]
mov byte [ebp - 0x107], cl
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x211c]
push edx
mov eax, dword [ebp - 0x211c]
lea ecx, [ebp + eax - 0x2118]
push ecx
lea edx, [ebp - 0x106]
push edx
mov ecx, 0x8797778
call dword [0x10055b38]
mov eax, dword [ebp - 0x2120]
push eax
lea ecx, [ebp - 0x108]
push ecx
mov ecx, 0xe61f84
mov ecx, dword [ecx]
call dword [0x10055b48]
jmp 0x10006e4c
mov edx, dword [ebp - 0x1114]
add edx, 3
mov dword [ebp - 0x2124], edx
mov byte [ebp - 0x1110], 0xc4
mov eax, dword [ebp - 0x2124]
and eax, 0x800000ff
jns 0x10006de7
dec eax
or eax, 0xffffff00
inc eax
jmp 0x10006de7
mov byte [ebp - 0x110e], al
mov eax, dword [ebp - 0x2124]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [ebp - 0x110f], al
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0x211c]
push ecx
mov edx, dword [ebp - 0x211c]
lea eax, [ebp + edx - 0x2118]
push eax
lea ecx, [ebp - 0x110d]
push ecx
mov ecx, 0x8797778
call dword [0x10055b38]
mov edx, dword [ebp - 0x2124]
push edx
lea eax, [ebp - 0x1110]
push eax
mov ecx, 0xe61f84
mov ecx, dword [ecx]
call dword [0x10055b48]
jmp 0x10006e4c
mov esp, ebp
pop ebp
ret