Function at 0x4933e0
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x124bc98]
mov dword [ebp - 4], eax
call fcn.00464bc0
push 0x5eca58
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
call fcn.004637d0
mov byte [ebp - 8], al
cmp byte [ebp - 8], 1
je 0x493417
cmp byte [ebp - 8], 2
je 0x493445
jmp 0x49349c
push 0x10
push 0x5eca5c
push 0x5eca64
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0
push 0x10
mov edx, dword [0x9cef70]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x49349c
cmp dword [0x9cf360], 1
jne 0x49345a
mov dword [0x9cf360], 0
jmp 0x493464
mov dword [0x9cf360], 1
call fcn.004637d0
movsx eax, al
test eax, eax
je 0x49349c
push 0x10
push 0x5eca7c
push str.DirectDraw
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0
push 0x10
mov edx, dword [0x9cef70]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push str._1.5_
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
call fcn.005cb3b0
push 0x5ecaa4
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
call fcn.005a5710
push 0x5ecaa8
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
call fcn.0046bf60
test eax, eax
jne 0x4934e5
push 0
push 0xd
push 0x104
mov eax, dword [0x9cef70]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [0x121bbe0], 0xa
jne 0x4935db
xor ecx, ecx
mov word [0x124bc40], cx
mov dword [0x7d12b0], 0
call fcn.00478a10
call fcn.0049a700
push 0
call fcn.0049cd40
add esp, 4
push 0
push 0
mov edx, dword [0x634684]
push edx
push 0xc8
push 0xf0
push 0x140
call fcn.005a19f0
add esp, 0x18
call fcn.0059fd60
call fcn.0046d480
mov dword [0x124bc98], 0
call fcn.005a0c00
push 0x10
push 0
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0xc]
push ecx
push 0
push 0
mov edx, dword [0x124bc9c]
mov eax, dword [edx]
mov ecx, dword [0x124bc9c]
push ecx
mov edx, dword [eax + 0x1c]
call edx
mov eax, dword [ebp - 4]
mov dword [0x124bc98], eax
xor ecx, ecx
mov word [0x124bc40], cx
mov dword [0x7d12b0], 0
call fcn.00478a10
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x4935ba
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0xc], edx
jmp 0x4935c3
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0
fild qword [ebp - 0x14]
fstp qword [0x7d12b8]
jmp 0x4935e9
cmp dword [0x121bbe0], 9
jne 0x4935e9
call fcn.0059b130
mov eax, dword [0x6ba8fc]
cmp dword [eax + 0x90], 0
je 0x49362d
cmp dword [0x9cf360], 0
je 0x49362d
push 0x6b9ee0
push 0x100
push 0
push 0
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0x90]
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0x90]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x18]
call eax
call fcn.005a3c70
call fcn.005a3bb0
mov dword [0xf1ce28], 0
mov dword [0xf1ce2c], 0
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x49366c
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x18], edx
jmp 0x493675
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0
fild qword [ebp - 0x20]
fstp qword [0x7d12b8]
push 0x5ecaac
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret