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

Disassembly:
fld1
sub esp, 0x40
push ebx
push ebp
push esi
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov ecx, 0xc
mov dword [eax], ecx
mov edx, 0x140
mov dword [eax + 4], edx
mov esi, 0x57
mov dword [eax + 8], esi
push 0x41f8d4
mov ebx, 0x16f
push edi
lea esi, [esp + 0x38]
mov edx, 0x41f824
mov dword [eax + 0xc], ebx
call fcn.00401580
test eax, eax
je 0x402e83
push 0xa1
push 0x177
push 0x42508c
lea eax, [esp + 0x18]
push eax
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 ecx, [esp + 0x10]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call ebx
push 0
lea edx, [esp + 0x10]
push edx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1f4
call ebx
mov esi, 0xa
push 8
push 0x425088
lea eax, [esp + 0x14]
push eax
push 3
push 1
push 0xe
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x1c
push 0x1e
call ebx
sub esi, 1
jne 0x402a55
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx*4 + 0x427ca8]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax*4 + 0x425678]
push edx
push ecx
push 0x4250b0
lea edx, [esp + 0x18]
push edx
push 3
push 1
push 0x68
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x12c
call ebx
fld1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
sub esp, 8
fstp qword [esp]
push 0x41f824
push 0x41f9bc
push 0x30
push 0x1b6
push 0
push 0xda
push 0x42507c
lea edx, [esp + 0x38]
push edx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
or ebp, 0xffffffff
add esp, 0x40
cmp dword [esp + 0xc], ebp
jne 0x402e78
fld1
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov ecx, 0xc
mov dword [eax], ecx
mov ecx, 0x140
mov dword [eax + 4], ecx
mov ecx, 0x57
mov dword [eax + 8], ecx
push 0x41f8d4
mov ecx, 0x16f
push edi
lea esi, [esp + 0x38]
mov edx, 0x41f824
mov dword [eax + 0xc], ecx
call fcn.00401580
test eax, eax
je 0x402d54
push 0x73
push 0x167
push 0x42508c
lea eax, [esp + 0x18]
push eax
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea ecx, [esp + 0x10]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call ebx
push 0
lea edx, [esp + 0x10]
push edx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1f4
call ebx
fld1
sub esp, 0x18
fstp qword [esp + 0x10]
mov eax, esp
mov ecx, 0xda
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
mov esi, 0x1b6
mov dword [eax + 8], esi
push 0x41f9bc
mov ebp, 0x30
push edi
lea esi, [esp + 0x38]
mov edx, 0x41f824
mov dword [eax + 0xc], ebp
call fcn.00401580
test eax, eax
jne 0x402e78
xor esi, esi
fld1
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0
sub esp, 8
fstp qword [esp]
push str.a37651_000000
push 0x94
push 0x14e
push 0x46
push 0x109
push 0x425090
lea edx, [esp + 0x38]
push edx
push 3
push 1
push 0x26
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0xc], 0
je 0x402c91
push 0x76
lea eax, [esi + esi*2 + 0x170]
push eax
push 0x42508c
lea eax, [esp + 0x1c]
push eax
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea ecx, [esp + 0x18]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call ebx
push 0
lea edx, [esp + 0x1c]
push edx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1f4
call ebx
jmp 0x402c96
mov esi, 5
add esi, 1
cmp esi, 5
jl 0x402be7
fld1
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
push ecx
sub esp, 8
fstp qword [esp]
push 0x41f824
push 0x41f9bc
push 0x30
push 0x1b6
push 0
push 0xda
push 0x42507c
lea edx, [esp + 0x38]
push edx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0xc], 0xffffffff
jne 0x402e78
mov esi, 0xa
push 8
push 0x425088
lea eax, [esp + 0x20]
push eax
push 3
push 1
push 0xe
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x1c
push 0x1e
call ebx
sub esi, 1
jne 0x402cf5
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx*4 + 0x426d08]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax*4 + 0x425808]
push edx
push ecx
push 0x4250b0
lea edx, [esp + 0x60]
push edx
push 3
push 1
push 0x68
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x3e8
call ebx
or ebp, 0xffffffff
fld1
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
push ecx
sub esp, 8
fstp qword [esp]
push 0x41f824
push 0x41f9bc
push 0x30
push 0x1b6
push 0
push 0xda
push 0x42507c
lea edx, [esp + 0x80]
push edx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x54], ebp
jne 0x402e78
fld1
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
push ecx
sub esp, 8
fstp qword [esp]
push 0x41f824
push 0x41f8d4
push 0x16f
push 0x57
push 0x140
push 0xc
push 0x42507c
lea edx, [esp + 0x80]
push edx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x54], ebp
je 0x402e78
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebp, dword [sym.imp.MSVCR80.dll_srand]
push eax
call ebp
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov dword [esp + 0x54], edx
call esi
push eax
call ebp
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov eax, dword [esp + 0x54]
add eax, 0x152
push eax
add edx, 0x23
push edx
push 0x42508c
lea edx, [esp + 0x60]
push edx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea eax, [esp + 0x58]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x5dc
call ebx
mov al, 1
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x40
ret 8