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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6018
call fcn.00467dc0
mov eax, dword [0x4cd724]
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.004677c0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x6010], dx
push 0xffe
push 0
lea eax, [ebp - 0x600e]
push eax
call fcn.004677c0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x5010], cx
push 0xffe
push 0
lea edx, [ebp - 0x500e]
push edx
call fcn.004677c0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x4008], ax
push 0xffe
push 0
lea ecx, [ebp - 0x4006]
push ecx
call fcn.004677c0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x3008], dx
push 0xffe
push 0
lea eax, [ebp - 0x3006]
push eax
call fcn.004677c0
add esp, 0xc
mov dword [ebp - 0x400c], 0
mov dword [ebp - 0x4010], 1
push 0x4b4150
push 0x800
lea ecx, [ebp - 0x2008]
push ecx
call fcn.0046a10d
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x4b4154
call fcn.00456a00
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.0040e880
add esp, 0x18
test eax, eax
je 0x4399fd
lea eax, [ebp - 0x6010]
push eax
lea ecx, [ebp - 0x1008]
push ecx
push str.ScriptDelay____szDelay_s_szFile_s
call fcn.00456a00
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.0040e880
add esp, 0x18
test eax, eax
je 0x4399fd
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.0040e880
add esp, 0x18
test eax, eax
je 0x4399fd
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.0040e880
add esp, 0x18
test eax, eax
je 0x4399fd
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.0040e880
add esp, 0x18
push 0x800
lea edx, [ebp - 0x1008]
push edx
call fcn.00446fc0
add esp, 8
push 0x800
lea eax, [ebp - 0x6010]
push eax
call fcn.00446fc0
add esp, 8
lea ecx, [ebp - 0x2008]
push ecx
push 0x4cf908
call fcn.00409e50
add esp, 8
test eax, eax
je 0x439b0e
push 0x4cf840
lea edx, [ebp - 0x3008]
push edx
call fcn.0046b42e
add esp, 8
test eax, eax
jne 0x439b0e
movzx eax, word [ebp - 0x4008]
test eax, eax
je 0x439a8f
movzx ecx, word [ebp - 0x4008]
test ecx, ecx
je 0x439b0e
lea edx, [ebp - 0x4008]
push edx
push 0x4cf914
call fcn.00402310
add esp, 8
test eax, eax
je 0x439b0e
lea eax, [ebp - 0x1008]
push eax
call fcn.0046aa00
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 0x439af4
cmp dword [ebp - 0x4010], 0
je 0x439af4
movzx ecx, word [ebp - 0x6010]
test ecx, ecx
je 0x439aea
lea edx, [ebp - 0x6010]
push edx
call fcn.004375e0
mov dword [ebp - 0x4010], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x439ab0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x6014]
push eax
push str.Delay____Time_d_ms
call fcn.00456e30
add esp, 8
mov eax, dword [ebp - 0x400c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret