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

Disassembly:
push 0xffffffffffffffff
push 0x41dab9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
mov eax, dword [0x425028]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push edi
call fcn.00409ad0
test al, al
jne 0x41020f
fld1
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov ecx, 0x1ed
mov dword [eax], ecx
mov edx, 0xa
mov dword [eax + 4], edx
mov esi, 0x24b
mov dword [eax + 8], esi
push 0x41fbf0
mov ecx, 0x43
push edi
lea esi, [esp + 0x3c]
mov edx, str.f6ff00_010101
xor ebp, ebp
xor ebx, ebx
mov dword [eax + 0xc], ecx
call fcn.00401580
test eax, eax
je 0x40fd5f
mov ecx, dword [esp + 0x20]
fld1
mov eax, dword [esp + 0x1c]
lea edx, [ecx + 0x14]
lea ebx, [ecx - 0xf]
add ecx, 0xa
lea esi, [eax + 1]
lea ebp, [eax - 0x26]
mov dword [esp + 0x1c], ecx
lea ecx, [eax + 0x37]
sub esp, 0x18
fstp qword [esp + 0x10]
add eax, 3
mov dword [esp + 0x40], eax
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
push 0x41fbf4
push edi
lea esi, [esp + 0x34]
mov dword [esp + 0x38], ecx
mov dword [eax + 0xc], edx
call fcn.00401700
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], 0
fld1
mov edx, dword [esp + 0x28]
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ebx
push 0x41fbf4
mov dword [eax + 8], ecx
push edi
lea esi, [esp + 0x30]
mov dword [eax + 0xc], edx
call fcn.00401700
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.MSVCR80.dll__wtoi]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
mov ebp, eax
call esi
add esp, 4
lea ecx, [esp + 0x10]
mov ebx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea eax, [ebp - 0x25]
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp esi, 5
jg 0x40fe26
lea eax, [ebx - 0xa]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x40fe26
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, 0xb
idiv ecx
mov dword [esp + 0x1c], edx
call esi
push eax
call ebx
add esp, 4
call ebp
cdq
mov ecx, 0xb
idiv ecx
mov eax, dword [esp + 0x1c]
add eax, 0xef
push eax
add edx, 0x141
push edx
push 0x42508c
lea edx, [esp + 0x28]
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 + 0x20]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call esi
push 0
lea ecx, [esp + 0x20]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
jmp 0x410208
lea eax, [ebp - 0x1e]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x40fed8
lea eax, [ebx - 0xf]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x40fed8
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, 0xb
idiv ecx
mov dword [esp + 0x1c], edx
call esi
push eax
call ebx
add esp, 4
call ebp
cdq
mov ecx, 0xb
idiv ecx
mov eax, dword [esp + 0x1c]
add eax, 0x11d
push eax
add edx, 0x119
push edx
push edi
call fcn.004017b0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call esi
push 0
lea edx, [esp + 0x20]
push edx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call esi
push 0
lea eax, [esp + 0x20]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
jmp 0x410208
lea eax, [ebp - 0x1c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
mov dword [esp + 0x1c], eax
jg 0x40ff54
lea eax, [ebx - 0x15]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x40ff54
call fcn.00401860
mov esi, eax
add esi, 0x117
call fcn.00401860
push esi
add eax, 0x141
push eax
push edi
call fcn.004017b0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call esi
push 0
lea ecx, [esp + 0x20]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call esi
push 0
lea edx, [esp + 0x28]
push edx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
jmp 0x410208
lea eax, [ebp - 0x1d]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x40ff8a
lea eax, [ebx - 0x1b]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x40ff8a
call fcn.00401860
mov esi, eax
add esi, 0xfb
call fcn.00401860
add eax, 0x1da
jmp 0x4101e4
lea eax, [ebp - 0x26]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
cmp ecx, 3
jg 0x40ffd4
lea eax, [ebx - 0x20]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x40ffc2
call fcn.00401860
mov esi, eax
add esi, 0x119
call fcn.00401860
add eax, 0x1e6
jmp 0x4101e4
cmp ecx, 3
jg 0x40ffd4
lea eax, [ebx - 0x26]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jle 0x40ffa6
cmp esi, 3
jg 0x410014
lea eax, [ebx - 0x2c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jle 0x40ffa6
cmp esi, 3
jg 0x410014
lea eax, [ebx - 0x31]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410014
call fcn.00401860
mov esi, eax
add esi, 0x102
call fcn.00401860
add eax, 0x16f
jmp 0x4101e4
lea eax, [ebp - 0x21]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x410048
lea eax, [ebx - 0x36]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410048
call fcn.00401860
mov esi, eax
add esi, 0xd5
call fcn.00401860
add eax, 0x5c
jmp 0x4101e4
lea eax, [ebp - 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x41007b
lea eax, [ebx - 0x33]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x41007b
call fcn.00401860
mov esi, eax
add esi, 0x63
call fcn.00401860
add eax, 0x8c
jmp 0x4101e4
lea eax, [ebp - 0xb]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
cmp ecx, 3
jg 0x4100b0
lea eax, [ebx - 0x2c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x4100b0
call fcn.00401860
mov esi, eax
add esi, 0x14
call fcn.00401860
add eax, 0x14d
jmp 0x4101e4
cmp dword [esp + 0x1c], 3
jg 0x4100e0
lea eax, [ebx - 0x15]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x4100e0
call fcn.00401860
mov esi, eax
add esi, 0x117
call fcn.00401860
add eax, 0x141
jmp 0x4101e4
lea eax, [ebp - 0x16]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x410113
lea eax, [ebx - 0x23]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410113
call fcn.00401860
mov esi, eax
add esi, 0x33
call fcn.00401860
add eax, 0x9e
jmp 0x4101e4
cmp ecx, 3
jg 0x41013c
lea eax, [ebx - 0x1c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x41013c
call fcn.00401860
mov esi, eax
add esi, 0x50
call fcn.00401860
add eax, 0xb
jmp 0x4101e4
lea eax, [ebp - 8]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x410156
lea eax, [ebx - 0x17]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jle 0x410125
lea eax, [ebp - 0xa]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x410186
lea eax, [ebx - 0xf]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410186
call fcn.00401860
mov esi, eax
add esi, 0x56
call fcn.00401860
add eax, 0xe2
jmp 0x4101e4
lea eax, [ebp - 0xf]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x4101b6
lea eax, [ebx - 0xa]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x4101b6
call fcn.00401860
mov esi, eax
add esi, 0x75
call fcn.00401860
add eax, 0x16d
jmp 0x4101e4
lea eax, [ebp - 0x17]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x41020f
lea eax, [ebx - 7]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x41020f
call fcn.00401860
mov esi, eax
add esi, 0x6c
call fcn.00401860
add eax, 0x202
push esi
push eax
push edi
call fcn.004017b0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call esi
mov ecx, edi
call fcn.004017e0
push 0x32
call esi
mov ecx, edi
call fcn.004017e0
push 0x1c2
call esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x34
ret