Function at 0x406aee
Capabilities:
Check for time delay via gettickcount
Set console window title

Disassembly:
sub esp, 0x10
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 4
mov eax, ebp
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
push 4
mov eax, ebp
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x214
push dword [ecx]
pop ebx
pop eax
sub esp, 4
sub eax, ebx
mov dword [esp], eax
pop eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x218
pop eax
mov dword [ecx], eax
push dword [ebp + 0x18]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x406b6b
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x406b86
push 0x4107d7
pop eax
mov dword [ebp + 0x18], eax
push dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
add ecx, 0x21c
mov ecx, dword [ebp - 4]
add ecx, 0x21c
push dword [ecx]
mov ecx, dword [ebp - 4]
add ecx, 8
mov ecx, dword [ebp - 4]
add ecx, 4
mov ecx, dword [ebp - 4]
add ecx, 8
push dword [ecx]
mov ecx, dword [ebp - 4]
add ecx, 4
push dword [ecx]
pop eax
push 0
push eax
fild qword [esp]
add esp, 8
pop eax
push 0
push eax
fild qword [esp]
add esp, 4
fdivrp st(1)
fstp dword [esp]
push 0x64
fild dword [esp]
add esp, 4
fld dword [esp]
fmulp st(1)
fstp dword [esp]
fld dword [esp]
sub esp, 0x10
mov dword [esp + 4], eax
fnstcw word [esp]
mov ax, word [esp]
or ah, 0xc
mov word [esp + 2], ax
fldcw word [esp + 2]
mov eax, dword [esp + 4]
add esp, 0x10
fistp dword [esp]
sub esp, 0x10
fldcw word [esp]
add esp, 0x10
mov ecx, dword [ebp - 4]
add ecx, 8
mov ecx, dword [ebp - 4]
add ecx, 8
push dword [ecx]
mov ecx, dword [ebp - 4]
add ecx, 0x220
mov ecx, dword [ebp - 4]
add ecx, 0x220
push dword [ecx]
push dword [ebp + 0xc]
push 0x4107d8
mov ecx, dword [ebp - 4]
add ecx, 0x10
mov eax, ecx
push eax
call dword [sym.imp.USER32.DLL_wsprintfA]
add esp, 0x20
mov ecx, dword [ebp - 4]
add ecx, 0x10
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetConsoleTitleA]
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x21c
pop eax
mov dword [ecx], eax
push 0
push 4
mov eax, ebp
add eax, 8
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
push 4
mov eax, ebp
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 8
push dword [ecx]
mov ecx, dword [ebp - 4]
push dword [ecx]
mov ecx, dword [ebp - 4]
add ecx, 0x224
push dword [ecx]
call dword [sym.imp.FTD2XX.DLL_FT_Write]
push eax
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x406ce6
mov eax, 0xffffffff
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x406cf8
jmp 0x406d97
mov eax, dword [ebp + 4]
push ecx
push eax
push dword [ebp + 8]
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
pop eax
pop ecx
mov dword [ebp + 4], eax
push dword [ebp + 4]
mov ecx, dword [ebp - 4]
add ecx, 8
push dword [ecx]
pop ebx
pop eax
sub esp, 4
mov ecx, 0xffffffff
cmp eax, ebx
jb 0x406d3c
mov ecx, 0
mov dword [esp], ecx
pop eax
cmp eax, 0
je 0x406d80
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0x410825
call fcn.00408504
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x406cad
push 0
mov ecx, dword [ebp - 4]
add ecx, 8
pop eax
mov dword [ecx], eax
push 1
pop eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
add esp, 4
mov esp, ebp
pop ebp
add esp, 0x10
ret 4