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

Disassembly:
push 0xffffffffffffffff
push 0x41d6c9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
mov eax, dword [0x425028]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
fld1
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov ecx, 0x234
mov dword [eax], ecx
xor edx, edx
mov esi, 0x280
mov dword [eax + 4], edx
mov dword [eax + 8], esi
push str.ffffff_101010
mov ebx, 0x28
push edi
lea esi, [esp + 0x34]
mov dword [eax + 0xc], ebx
call fcn.00401700
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x14]
push eax
push 0x41f994
push 0
call fcn.00404940
add esp, 0xc
push 0
push 0x41f9a4
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
je 0x402809
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.MSVCR80.dll_srand]
push eax
call ebx
mov ebp, dword [sym.imp.MSVCR80.dll_rand]
add esp, 4
call ebp
cdq
mov ecx, 3
idiv ecx
mov dword [esp + 0x18], edx
call esi
push eax
call ebx
add esp, 4
call ebp
cdq
mov ecx, 0xb
idiv ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
add eax, ecx
push eax
add edx, dword [esp + 0x5c]
push edx
push 0x42508c
lea edx, [esp + 0x64]
push edx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x20
push 0x32
call esi
push 0
lea eax, [esp + 0x5c]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1f4
call esi
cmp dword [esp + 0x54], 0
je 0x402952
fld1
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
sub esp, 8
fstp qword [esp]
push str.ffffff_0000000
push 0x41f820
push 0x14
push 0x89
push 0
push 0x1e
push 0x42507c
lea eax, [esp + 0x80]
push eax
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x54], 0xffffffff
je 0x402952
push 0x64
call esi
jmp 0x4027b5
push 0
push str.22813
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
je 0x402973
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.MSVCR80.dll_srand]
push eax
call ebx
mov ebp, dword [sym.imp.MSVCR80.dll_rand]
add esp, 4
call ebp
cdq
mov ecx, 3
idiv ecx
mov dword [esp + 0x18], edx
call esi
push eax
call ebx
add esp, 4
call ebp
cdq
mov ecx, 0xb
idiv ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
add eax, ecx
push eax
add edx, dword [esp + 0x5c]
push edx
push 0x42508c
lea edx, [esp + 0x64]
push edx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x20
push 0x32
call ebx
push 0
lea eax, [esp + 0x5c]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1f4
call ebx
cmp dword [esp + 0x54], 0
je 0x402952
fld1
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov ecx, 0x1e
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
mov esi, 0x89
mov dword [eax + 8], esi
push 0x41f820
mov ebp, 0x14
push edi
lea esi, [esp + 0x78]
mov edx, str.ffffff_0000000
mov dword [eax + 0xc], ebp
call fcn.00401580
test eax, eax
je 0x402952
mov ebp, 0x1e
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x89
mov dword [esp + 0x28], 0x14
push 0x64
call ebx
fld1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], edx
push 0x41f820
push edi
lea esi, [esp + 0x78]
mov edx, str.ffffff_0000000
mov dword [eax + 0xc], ecx
call fcn.00401580
test eax, eax
jne 0x402914
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov al, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc