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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100bc018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0x1ba
mov dword [ebp - 0x28], 0x1bb
mov dword [ebp - 0x1c], 0x1bf
mov dword [ebp - 0x18], 0x1c0
mov dword [ebp - 0x14], 0x1c1
mov dword [ebp - 0x10], 0x1c2
mov dword [ebp - 0xc], 0x1c3
mov dword [ebp - 8], 0x1c4
xor edi, edi
jmp 0x10016ee0
movzx eax, word [ebp + edi*4 - 0x2c]
mov ecx, 0x879340c
fild dword [ecx]
movsx ecx, ax
shl ecx, 6
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fld dword [ecx + 0x10123dc0]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x10016f93
fld dword [ecx + 0x10123dc8]
fcompp
fnstsw ax
test ah, 5
jnp 0x10016f95
fild dword [0x8793410]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fld dword [ecx + 0x10123dc4]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x10016f93
fld dword [ecx + 0x10123dcc]
fcompp
fnstsw ax
test ah, 5
jnp 0x10016f95
mov esi, dword [ebp + edi*4 - 0x2c]
mov eax, dword [ebp - 0x24]
shl esi, 6
sub eax, dword [esi + 0x10123dd0]
cmp dword [ebp + 8], 0x201
je 0x10017085
mov byte [esi + 0x10123dd4], bl
cmp eax, 0x1f4
jb 0x100174ae
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10123dd0], eax
mov byte [0x1012ac56], bl
mov byte [0x1012ac96], bl
mov byte [esi + 0x10123dd6], 1
jmp 0x10016f95
fstp st(0)
inc edi
cmp edi, 2
jl 0x10016ee0
xor edi, edi
mov dword [ebp - 0x30], 0x879340c
jmp 0x10016fb0
movzx eax, word [ebp + edi*4 - 0x1c]
mov ecx, dword [ebp - 0x30]
fild dword [ecx]
movsx ecx, ax
shl ecx, 6
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fld dword [ecx + 0x10123dc0]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x100170a6
fld dword [ecx + 0x10123dc8]
fcompp
fnstsw ax
test ah, 5
jnp 0x100170a8
fild dword [0x8793410]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fld dword [ecx + 0x10123dc4]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x100170a6
fld dword [ecx + 0x10123dcc]
fcompp
fnstsw ax
test ah, 5
jnp 0x100170a8
mov esi, dword [ebp + edi*4 - 0x1c]
mov eax, dword [ebp - 0x24]
shl esi, 6
sub eax, dword [esi + 0x10123dd0]
cmp dword [ebp + 8], 0x201
je 0x10017173
mov byte [esi + 0x10123dd4], bl
cmp eax, 0x1f4
jb 0x100174ae
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10123dd0], eax
mov byte [0x1012ad96], bl
mov byte [0x1012add6], bl
mov byte [0x1012ae16], bl
mov byte [0x1012ae56], bl
mov byte [0x1012ae96], bl
mov byte [0x1012aed6], bl
mov byte [esi + 0x10123dd6], 1
jmp 0x100170a8
mov eax, dword [ebp + edi*4 - 0x2c]
pop edi
shl eax, 6
pop esi
mov byte [eax + 0x10123dd4], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4
fstp st(0)
inc edi
cmp edi, 6
jl 0x10016fb0
cmp byte [0x1012ab95], bl
je 0x100174ae
mov esi, dword [sym.imp.MSVCR100.dll_atoi]
push 0x1012ac9d
call esi
push 0x1012ac5d
mov edi, eax
call esi
fild dword [0x879340c]
add edi, eax
add esp, 8
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fld dword [0x1012acc0]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x100172f3
fld dword [0x1012acc8]
fcompp
fnstsw ax
test ah, 5
jnp 0x100172f5
fild dword [0x8793410]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fld dword [0x1012acc4]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x100172f3
fld dword [0x1012accc]
fcompp
fnstsw ax
test ah, 5
jnp 0x100172f5
mov eax, dword [ebp - 0x24]
sub eax, dword [0x1012acd0]
cmp dword [ebp + 8], 0x201
jne 0x10017194
pop edi
pop esi
mov byte [0x1012acd4], 1
mov dword [0xe8cb3c], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + edi*4 - 0x1c]
pop edi
shl edx, 6
pop esi
mov byte [edx + 0x10123dd4], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4
mov byte [0x1012acd4], bl
mov dword [0xe8cb3c], ebx
cmp eax, 0xfa0
jb 0x100174ae
cmp dword [0x100cf380], ebx
jl 0x100174ae
push 0x1012ac9d
call esi
push 0x1012ac5d
mov ebx, eax
call esi
add ebx, eax
add esp, 8
cmp ebx, 1
jl 0x100174ae
push 0x1012ac5d
call esi
push 0x1012ac9d
mov dword [0x100cf394], eax
call esi
mov dword [0x100cf398], eax
mov eax, dword [0x100cf380]
push 0x1012ac9d
mov dword [0x100cf388], eax
call esi
push 0x1012ac5d
mov ebx, eax
call esi
add ebx, eax
add esp, 0x10
mov dword [0x100cf3a0], ebx
cmp edi, 0xa
jge 0x10017279
mov eax, dword [0x100cf394]
mov ebx, dword [0x10689714]
cmp eax, ebx
jge 0x10017279
cmp eax, dword [0x10687bb8]
jge 0x10017279
cmp eax, dword [0x10687bbc]
jge 0x10017279
mov edi, dword [0x10687bc0]
cmp eax, edi
jge 0x10017279
mov edx, dword [0x10687bd4]
cmp eax, edx
jge 0x10017279
mov ecx, dword [0x10687bc4]
cmp eax, ecx
jge 0x10017279
mov eax, dword [0x100cf398]
cmp eax, ebx
jge 0x10017279
cmp eax, dword [0x10687bb8]
jge 0x10017279
cmp eax, dword [0x10687bbc]
jge 0x10017279
cmp eax, edi
jge 0x10017279
cmp eax, edx
jge 0x10017279
cmp eax, ecx
jl 0x100172ef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1012ac5d
mov dword [0x1012acd0], eax
mov dword [0x100cf378], 0xffffffff
call esi
push 0x1012ac9d
mov dword [ebp - 0x10], eax
call esi
mov ecx, dword [0x100cf380]
lea edx, [ebp - 0x14]
mov dword [ebp - 8], ecx
mov ecx, 0x10
push edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0x18fc10c1
call fcn.1008c360
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
xor ebx, ebx
xor esi, esi
lea ecx, [ecx]
mov eax, dword [ebp + esi*4 - 0x2c]
shl eax, 6
add eax, 0x10123ddd
push 0x100b01c8
push eax
call edi
inc esi
add esp, 8
cmp esi, 2
jl 0x100172d0
jmp 0x100172f5
xor ebx, ebx
jmp 0x100172f5
fstp st(0)
fild dword [0x879340c]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fld dword [0x1012ac00]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x100173b1
fld dword [0x1012ac08]
fcompp
fnstsw ax
test ah, 5
jnp 0x100173b3
fild dword [0x8793410]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fld dword [0x1012ac04]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x100173b1
fld dword [0x1012ac0c]
fcompp
fnstsw ax
test ah, 5
jnp 0x100173b3
cmp dword [ebp + 8], 0x201
jne 0x10017374
pop edi
pop esi
mov byte [0x1012ac14], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x24]
sub eax, dword [0x1012ac10]
mov byte [0x1012ac14], bl
cmp eax, 0x1f4
jb 0x100174ae
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [0x1012ac10], eax
mov dword [0xe8cb3c], ebx
mov byte [0x1012ab9c], 0xf
mov byte [0x1012abb1], 1
jmp 0x100173b9
fstp st(0)
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x1012ab95], bl
je 0x100174ae
fild dword [0x879340c]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fld dword [0x101281c0]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x100174ac
fld dword [0x101281c8]
fcompp
fnstsw ax
test ah, 5
jnp 0x100174ae
fild dword [0x8793410]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fld dword [0x101281c4]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x100174ac
fld dword [0x101281cc]
fcompp
fnstsw ax
test ah, 5
jnp 0x100174ae
call esi
sub eax, dword [0x101281d0]
cmp dword [ebp + 8], 0x201
jne 0x1001745e
pop edi
pop esi
mov byte [0x101281d4], 1
mov dword [0xe8cb3c], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4
mov byte [0x101281d4], bl
mov dword [0xe8cb3c], ebx
cmp eax, 0x1f4
jb 0x100174ae
call esi
mov dword [0x101281d0], eax
mov dword [0xe8cb3c], ebx
mov byte [0x1012ab9c], 0xf
mov byte [0x1012abb1], 1
cmp byte [0x1068a854], bl
je 0x100174ae
call fcn.10003b50
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4
fstp st(0)
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4