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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6018
call fcn.00447c60
mov eax, dword [0x4b1120]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x1008], ax
push 0xffe
push 0
lea ecx, [ebp - 0x1006]
push ecx
call fcn.00447660
add esp, 0xc
xor edx, edx
mov word [ebp - 0x6010], dx
push 0xffe
push 0
lea eax, [ebp - 0x600e]
push eax
call fcn.00447660
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x5010], cx
push 0xffe
push 0
lea edx, [ebp - 0x500e]
push edx
call fcn.00447660
add esp, 0xc
xor eax, eax
mov word [ebp - 0x4008], ax
push 0xffe
push 0
lea ecx, [ebp - 0x4006]
push ecx
call fcn.00447660
add esp, 0xc
xor edx, edx
mov word [ebp - 0x3008], dx
push 0xffe
push 0
lea eax, [ebp - 0x3006]
push eax
call fcn.00447660
add esp, 0xc
mov dword [ebp - 0x400c], 0
mov dword [ebp - 0x4010], 1
push 0x48ff30
push 0x800
lea ecx, [ebp - 0x2008]
push ecx
call fcn.0044a00d
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x48ff34
call fcn.00437970
add esp, 8
push 0x2c
push 0x800
lea eax, [ebp - 0x6010]
push eax
push 0x800
lea ecx, [ebp - 0x1008]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040e320
add esp, 0x18
test eax, eax
je 0x41c0dd
lea eax, [ebp - 0x6010]
push eax
lea ecx, [ebp - 0x1008]
push ecx
push str.ScriptDelay____szDelay_s_szFile_s
call fcn.00437970
add esp, 0xc
push 0x2c
push 0x800
lea edx, [ebp - 0x5010]
push edx
push 0x800
lea eax, [ebp - 0x6010]
push eax
lea ecx, [ebp - 0x6010]
push ecx
call fcn.0040e320
add esp, 0x18
test eax, eax
je 0x41c0dd
push 0x2c
push 0x800
lea edx, [ebp - 0x2008]
push edx
push 0x800
lea eax, [ebp - 0x5010]
push eax
lea ecx, [ebp - 0x5010]
push ecx
call fcn.0040e320
add esp, 0x18
test eax, eax
je 0x41c0dd
push 0x2c
push 0x800
lea edx, [ebp - 0x4008]
push edx
push 0x800
lea eax, [ebp - 0x2008]
push eax
lea ecx, [ebp - 0x2008]
push ecx
call fcn.0040e320
add esp, 0x18
test eax, eax
je 0x41c0dd
push 0x2c
push 0x800
lea edx, [ebp - 0x3008]
push edx
push 0x800
lea eax, [ebp - 0x4008]
push eax
lea ecx, [ebp - 0x4008]
push ecx
call fcn.0040e320
add esp, 0x18
push 0x800
lea edx, [ebp - 0x1008]
push edx
call fcn.00428240
add esp, 8
push 0x800
lea eax, [ebp - 0x6010]
push eax
call fcn.00428240
add esp, 8
lea ecx, [ebp - 0x2008]
push ecx
push 0x4caf2c
call fcn.00433b50
add esp, 8
test eax, eax
je 0x41c1ee
push 0x4caf38
lea edx, [ebp - 0x3008]
push edx
call fcn.0044b2ae
add esp, 8
test eax, eax
jne 0x41c1ee
movzx eax, word [ebp - 0x4008]
test eax, eax
je 0x41c16f
movzx ecx, word [ebp - 0x4008]
test ecx, ecx
je 0x41c1ee
lea edx, [ebp - 0x4008]
push edx
push 0x4cb000
call fcn.004022b0
add esp, 8
test eax, eax
je 0x41c1ee
lea eax, [ebp - 0x1008]
push eax
call fcn.0044cc65
add esp, 4
mov dword [ebp - 0x6018], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x6014], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x6014]
cmp eax, dword [ebp - 0x6018]
jae 0x41c1d4
cmp dword [ebp - 0x4010], 0
je 0x41c1d4
movzx ecx, word [ebp - 0x6010]
test ecx, ecx
je 0x41c1ca
lea edx, [ebp - 0x6010]
push edx
call fcn.00419cd0
mov dword [ebp - 0x4010], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41c190
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x6014]
push eax
push str.Delay____Time_d_ms
call fcn.00437da0
add esp, 8
mov eax, dword [ebp - 0x400c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447645
mov esp, ebp
pop ebp
ret