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

Disassembly:
push 0xffffffffffffffff
push 0x41d702
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x425028]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov edi, ecx
fld1
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov ecx, 6
mov dword [eax], ecx
mov edx, 0x136
mov dword [eax + 4], edx
mov esi, 0x64
mov dword [eax + 8], esi
push 0x41f964
mov ebx, 0x172
push edi
lea esi, [esp + 0x44]
mov edx, 0x41f824
mov dword [eax + 0xc], ebx
call fcn.00401580
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.MSVCR80.dll_srand]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x402299
call ebp
push eax
call ebx
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov dword [esp + 0x1c], edx
call ebp
push eax
call ebx
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x24]
push eax
add ecx, edx
push ecx
push 0x42508c
lea edx, [esp + 0x28]
push edx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
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 0x60e
call esi
call ebp
push eax
call ebx
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov dword [esp + 0x1c], edx
call ebp
push eax
call ebx
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0xac
push ecx
lea eax, [edx + 0x226]
push eax
push 0x42508c
lea edx, [esp + 0x28]
push edx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
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 0x9b
call esi
mov dword [esp + 0x1c], 6
lea ecx, [ecx]
push 8
push 0x425088
lea ecx, [esp + 0x2c]
push ecx
push 3
push 1
push 0xe
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x1c
push 0x32
call esi
sub dword [esp + 0x1c], 1
jne 0x402320
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea edx, [esp + 0x14]
push edx
mov eax, 0xa
mov ecx, 3
mov byte [esp + 0x60], 1
call fcn.00401180
add esp, 4
call ebp
push eax
call ebx
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xc8
idiv ecx
add edx, 0x190
push edx
lea edx, [esp + 0x1c]
push 0x41fc2c
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x64]
mov eax, dword [edx*4 + 0x425808]
push ecx
push eax
push 0x4250b0
lea ecx, [esp + 0x30]
push ecx
push 3
push 1
push 0x68
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x12c
call esi
call ebp
push eax
call ebx
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov dword [esp + 0x1c], edx
call ebp
push eax
call ebx
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov eax, dword [esp + 0x1c]
add eax, 0x14f
push eax
add edx, 0x23
push edx
push 0x42508c
lea edx, [esp + 0x30]
push edx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call esi
push 0
lea eax, [esp + 0x28]
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 + 0x28]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1f9
call esi
fld1
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
sub esp, 8
fstp qword [esp]
push 0x41f824
push 0x41f964
push 0x172
push 0x64
push 0x136
push 6
push 0x42507c
lea ecx, [esp + 0x4c]
push ecx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x20], 0xffffffff
je 0x4024d6
mov edx, dword [esp + 0x64]
push edx
mov ecx, edi
call fcn.004021a0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4