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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6018
call fcn.00468610
mov eax, dword [0x4ce724]
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.00468010
add esp, 0xc
xor edx, edx
mov word [ebp - 0x6010], dx
push 0xffe
push 0
lea eax, [ebp - 0x600e]
push eax
call fcn.00468010
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x5010], cx
push 0xffe
push 0
lea edx, [ebp - 0x500e]
push edx
call fcn.00468010
add esp, 0xc
xor eax, eax
mov word [ebp - 0x4008], ax
push 0xffe
push 0
lea ecx, [ebp - 0x4006]
push ecx
call fcn.00468010
add esp, 0xc
xor edx, edx
mov word [ebp - 0x3008], dx
push 0xffe
push 0
lea eax, [ebp - 0x3006]
push eax
call fcn.00468010
add esp, 0xc
mov dword [ebp - 0x400c], 0
mov dword [ebp - 0x4010], 1
push 0x4b5170
push 0x800
lea ecx, [ebp - 0x2008]
push ecx
call fcn.0046a95d
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x4b5174
call fcn.00457270
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.0040e8e0
add esp, 0x18
test eax, eax
je 0x439a5d
lea eax, [ebp - 0x6010]
push eax
lea ecx, [ebp - 0x1008]
push ecx
push str.ScriptDelay____szDelay_s_szFile_s
call fcn.00457270
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.0040e8e0
add esp, 0x18
test eax, eax
je 0x439a5d
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.0040e8e0
add esp, 0x18
test eax, eax
je 0x439a5d
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.0040e8e0
add esp, 0x18
test eax, eax
je 0x439a5d
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.0040e8e0
add esp, 0x18
push 0x800
lea edx, [ebp - 0x1008]
push edx
call fcn.004475b0
add esp, 8
push 0x800
lea eax, [ebp - 0x6010]
push eax
call fcn.004475b0
add esp, 8
lea ecx, [ebp - 0x2008]
push ecx
push 0x4d0844
call fcn.00409e40
add esp, 8
test eax, eax
je 0x439b6e
push 0x4d0850
lea edx, [ebp - 0x3008]
push edx
call fcn.0046bc7e
add esp, 8
test eax, eax
jne 0x439b6e
movzx eax, word [ebp - 0x4008]
test eax, eax
je 0x439aef
movzx ecx, word [ebp - 0x4008]
test ecx, ecx
je 0x439b6e
lea edx, [ebp - 0x4008]
push edx
push 0x4d0918
call fcn.00402310
add esp, 8
test eax, eax
je 0x439b6e
lea eax, [ebp - 0x1008]
push eax
call fcn.0046b250
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 0x439b54
cmp dword [ebp - 0x4010], 0
je 0x439b54
movzx ecx, word [ebp - 0x6010]
test ecx, ecx
je 0x439b4a
lea edx, [ebp - 0x6010]
push edx
call fcn.00437650
mov dword [ebp - 0x4010], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x439b10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x6014]
push eax
push str.Delay____Time_d_ms
call fcn.004576a0
add esp, 8
mov eax, dword [ebp - 0x400c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467fff
mov esp, ebp
pop ebp
ret