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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2124
call dword [0x10057b58]
cmp dword [ebp + 0x10], 0
jne 0x10006e69
jmp 0x10007274
mov eax, dword [0x10163c58]
movzx ecx, byte [eax + 2]
cmp ecx, 0xc1
jne 0x1000726f
cmp dword [0xe609e8], 5
jne 0x1000726f
mov edx, dword [0x10163c58]
movzx eax, byte [edx + 4]
cmp eax, 0xdb
jne 0x10006eb9
cmp dword [0x105643d4], 0
jg 0x10006eaa
jmp 0x1000767e
mov ecx, dword [0x105643d4]
sub ecx, 1
mov dword [0x105643d4], ecx
mov edx, dword [0x10163c58]
movzx eax, byte [edx + 4]
cmp eax, 0x19
je 0x10006edb
mov ecx, dword [0x10163c58]
movzx edx, byte [ecx + 4]
cmp edx, 0x1e
jne 0x1000726f
movzx eax, byte [0x101637f1]
test eax, eax
jne 0x10006eeb
jmp 0x1000767e
mov byte [0x101637f1], 0
mov dword [0x105645fc], 0
cmp dword [0x10163840], 0
je 0x10006f27
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10163840]
cmp eax, 0x1f4
jb 0x10006f22
mov dword [0x10163840], 0
jmp 0x1000767e
mov ecx, dword [0x10163848]
cmp dword [ecx], 0
je 0x10007140
mov edx, dword [0x10163848]
mov eax, dword [edx]
movsx ecx, word [eax + 0x13]
call fcn.100064e0
mov ecx, dword [0x10163848]
mov edx, dword [ecx]
movzx eax, byte [edx + 0x32]
mov ecx, dword [0x101638f8]
mov edx, dword [ecx]
mov ax, word [edx + eax*2 + 0x78]
mov word [ebp - 4], ax
movsx ecx, word [ebp - 4]
cmp ecx, 0x107
je 0x10006f7c
movsx edx, word [ebp - 4]
cmp edx, 0x22f
jne 0x10006f81
jmp 0x1000749a
movsx eax, word [ebp - 4]
cmp eax, 0xee
je 0x10006f98
movsx ecx, word [ebp - 4]
cmp ecx, 0x20b
jne 0x10006fac
mov dword [0x105645fc], 3
mov dword [0x105643d4], 4
movsx edx, word [ebp - 4]
cmp edx, 0x4e
je 0x10006fcc
movsx eax, word [ebp - 4]
cmp eax, 0x206
je 0x10006fcc
movsx ecx, word [ebp - 4]
cmp ecx, 0x208
jne 0x10006fe0
mov dword [0x105645fc], 3
mov dword [0x105643d4], 4
movsx edx, word [ebp - 4]
cmp edx, 0x37
je 0x1000700c
movsx eax, word [ebp - 4]
cmp eax, 0x1ea
je 0x1000700c
movsx ecx, word [ebp - 4]
cmp ecx, 0x1e9
je 0x1000700c
movsx edx, word [ebp - 4]
cmp edx, 0x1ed
jne 0x10007016
mov eax, dword [0x10163860]
mov dword [0x105643d4], eax
movsx ecx, word [ebp - 4]
cmp ecx, 9
je 0x10007042
movsx edx, word [ebp - 4]
cmp edx, 0xf2
je 0x10007042
movsx eax, word [ebp - 4]
cmp eax, 0x181
je 0x10007042
movsx ecx, word [ebp - 4]
cmp ecx, 0x1e7
jne 0x1000704c
mov dword [0x105643d4], 4
movsx edx, word [ebp - 4]
cmp edx, 0x34
je 0x1000706c
movsx eax, word [ebp - 4]
cmp eax, 0x10a
je 0x1000706c
movsx ecx, word [ebp - 4]
cmp ecx, 0x1a0
jne 0x10007076
mov dword [0x105643d4], 1
movsx edx, word [ebp - 4]
cmp edx, 0x18
je 0x10007096
movsx eax, word [ebp - 4]
cmp eax, 0x19e
je 0x10007096
movsx ecx, word [ebp - 4]
cmp ecx, 0x1a2
jne 0x100070a0
mov dword [0x105643d4], 3
movsx edx, word [ebp - 4]
cmp edx, 0xd
je 0x100070c0
movsx eax, word [ebp - 4]
cmp eax, 0x17e
je 0x100070c0
movsx ecx, word [ebp - 4]
cmp ecx, 0x1e4
jne 0x100070ca
mov dword [0x105643d4], 3
movsx edx, word [ebp - 4]
cmp edx, 5
je 0x100070ea
movsx eax, word [ebp - 4]
cmp eax, 0x17a
je 0x100070ea
movsx ecx, word [ebp - 4]
cmp ecx, 0x1e3
jne 0x100070f4
mov dword [0x105643d4], 1
movsx edx, word [ebp - 4]
cmp edx, 8
jne 0x10007107
mov dword [0x105643d4], 1
movsx eax, word [ebp - 4]
cmp eax, 0xa
jne 0x1000711a
mov dword [0x105643d4], 1
movsx ecx, word [ebp - 4]
cmp ecx, 0xe
jne 0x1000712d
mov dword [0x105643d4], 1
movsx edx, word [ebp - 4]
cmp edx, 0xc
jne 0x10007140
mov dword [0x105643d4], 1
cmp dword [0x10564600], 0
je 0x10007170
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10564600]
cmp eax, 0x3e8
jb 0x10007170
mov dword [0x10564600], 0
mov dword [0x10564604], 0
cmp dword [0x10564608], 0
jne 0x10007194
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10564608], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1056460c], eax
jmp 0x1000726f
cmp dword [0x10564610], 0
je 0x100071c4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10564610]
cmp eax, 0x7d0
jb 0x100071ba
mov dword [0x10564610], 0
jmp 0x1000767e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10564608]
cmp eax, 0x42
jb 0x1000726a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10564608], eax
cmp dword [0x101637fc], 0
je 0x10007268
mov eax, 0x3e8
cdq
idiv dword [0x101637fc]
add eax, 0x21
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1056460c]
add eax, 0x21
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jge 0x1000725d
cmp dword [0x10564600], 0
jne 0x1000722d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10564600], eax
mov ecx, dword [0x10564604]
add ecx, 1
mov dword [0x10564604], ecx
mov edx, dword [0x105645fc]
add edx, 2
cmp dword [0x10564604], edx
jl 0x1000725d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10564610], eax
jmp 0x1000767e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1056460c], eax
jmp 0x1000726f
jmp 0x1000767e
jmp 0x1000749a
mov eax, dword [0x10163c58]
movzx ecx, byte [eax + 2]
cmp ecx, 0xc1
jne 0x10007480
cmp dword [0xe609e8], 5
jne 0x10007480
mov edx, dword [0x10163c58]
movzx eax, byte [edx + 4]
cmp eax, 0x11
je 0x100072b8
mov ecx, dword [0x10163c58]
movzx edx, byte [ecx + 4]
cmp edx, 0x4b
jne 0x10007480
cmp dword [0x10163844], 0
je 0x100072fe
mov eax, dword [0x10163c58]
movzx ecx, byte [eax + 4]
cmp ecx, 0x11
jne 0x100072fe
movzx edx, byte [0x10163854]
test edx, edx
je 0x100072fe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10163844]
cmp eax, 0x1f4
jb 0x100072f9
mov dword [0x10163844], 0
jmp 0x100072fe
jmp 0x1000767e
mov dword [0x10163844], 0
movzx eax, byte [0x101637f1]
test eax, eax
jne 0x10007327
mov ecx, dword [0x10163c58]
movzx edx, byte [ecx + 4]
cmp edx, 0x11
jne 0x10007327
jmp 0x1000767e
mov byte [0x101637f1], 0
cmp dword [0x10163840], 0
je 0x10007359
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10163840]
cmp eax, 0x3e8
jb 0x10007354
mov dword [0x10163840], 0
jmp 0x1000767e
cmp dword [0x10564614], 0
je 0x10007389
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10564614]
cmp eax, 0x3e8
jb 0x10007389
mov dword [0x10564614], 0
mov dword [0x10564618], 0
cmp dword [0x1056461c], 0
jne 0x100073ad
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1056461c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10564620], eax
jmp 0x10007480
cmp dword [0x10564624], 0
je 0x100073dd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10564624]
cmp eax, 0x7d0
jb 0x100073d3
mov dword [0x10564624], 0
jmp 0x1000767e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1056461c]
cmp eax, 0x42
jb 0x1000747b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1056461c], eax
cmp dword [0x101637fc], 0
je 0x10007479
mov eax, 0x3e8
cdq
idiv dword [0x101637fc]
add eax, 0x21
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10564620]
add eax, 0x21
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jge 0x1000746e
cmp dword [0x10564614], 0
jne 0x10007446
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10564614], eax
mov ecx, dword [0x10564618]
add ecx, 1
mov dword [0x10564618], ecx
cmp dword [0x10564618], 2
jl 0x1000746e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10564624], eax
jmp 0x1000767e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10564620], eax
jmp 0x10007480
jmp 0x1000767e
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0xe61f84
mov ecx, dword [ecx]
call dword [0x10057b64]
jmp 0x1000767e
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2118]
push ecx
call dword [0x10057b60]
add esp, 0xc
call dword [0x10057b5c]
and eax, 0x800000ff
jns 0x100074c8
dec eax
or eax, 0xffffff00
inc eax
jmp 0x100074c8
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 [0x10057b54]
mov dword [ebp - 0x1114], eax
cmp dword [ebp - 0x1114], 0x100
jge 0x100075ed
cmp dword [ebp + 0x14], 0
jne 0x100075ed
mov eax, dword [ebp - 0x1114]
add eax, 2
mov dword [ebp - 0x2120], eax
movzx edx, byte [0x101637ed]
test edx, edx
je 0x10007589
mov byte [ebp - 0x108], 0xc8
jmp 0x10007590
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 [0x10057b54]
mov eax, dword [ebp - 0x2120]
push eax
lea ecx, [ebp - 0x108]
push ecx
mov ecx, 0xe61f84
mov ecx, dword [ecx]
call dword [0x10057b64]
jmp 0x1000767e
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 0x10007619
dec eax
or eax, 0xffffff00
inc eax
jmp 0x10007619
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 [0x10057b54]
mov edx, dword [ebp - 0x2124]
push edx
lea eax, [ebp - 0x1110]
push eax
mov ecx, 0xe61f84
mov ecx, dword [ecx]
call dword [0x10057b64]
jmp 0x1000767e
mov esp, ebp
pop ebp
ret