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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
cmp dword [0x4fdeab], 0
je 0x429e15
cmp dword [0x4fdea3], 0
je 0x42967e
mov dword [0x4fdea3], 0
mov dword [0x4fdf7b], 0
mov dword [0x4fdf7f], 1
mov dword [0x4fdf83], 0
call fcn.00429e19
push 0x4c5ba5
push dword [0x4fdc4b]
call fcn.00401747
add esp, 8
cmp eax, 0
jne 0x429668
mov edx, dword [0x4fdf07]
mov eax, dword [0x4fdf03]
mov dword [0x4fdf87], eax
mov dword [0x4fdf8b], edx
jmp 0x42967e
mov edx, dword [0x4fdf2b]
mov eax, dword [0x4fdf27]
mov dword [0x4fdf87], eax
mov dword [0x4fdf8b], edx
cmp dword [0x4fde03], 0
je 0x4296ca
cmp dword [0x4fde13], 0
je 0x4296ca
mov ebx, dword [0x4fdebb]
call fcn.00401b0e
cmp dword [0x4fdf7f], eax
jg 0x4296ca
mov ebx, dword [0x4fdec3]
call fcn.00401b0e
cmp dword [0x4fdf7f], eax
jg 0x4296ca
xor eax, eax
jmp 0x4296cf
mov eax, 1
test eax, eax
je 0x4296e6
mov dword [0x4fdeab], 0
jmp 0x429e15
push 0x4fdc4b
call fcn.0041c348
test eax, eax
je 0x4298cc
cmp dword [0x4fdbdb], 0
je 0x4298c7
mov ebx, dword [0x4fdebb]
call fcn.004017e4
push ebx
push ecx
mov eax, dword [0x4fdf7f]
dec eax
jns 0x429731
push 0x31e
push 0x40140b2
push 4
call fcn.004429e5
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42974e
push 0x31e
push 0x40140b2
push 1
call fcn.004429e5
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
test eax, eax
jne 0x42976b
mov eax, 0x4c52b6
push eax
push 1
mov ebx, 0x9dc
call fcn.00447860
add esp, 0x10
mov dword [0x4fdf83], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x4fdf8f], eax
fild dword [0x4fdf8f]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [0x4fdf9b]
fstp qword [ebp - 0x14]
fsub qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [0x4fdf93], eax
mov dword [0x4fdf97], edx
fld qword [0x4fdf93]
fsub qword [0x4fa082]
fcomp qword [0x4c5b1a]
fnstsw ax
test ah, 1
je 0x42982b
fld qword [0x4fa08a]
fdiv qword [0x4fdf93]
fstp qword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [0x4fdf93], eax
mov dword [0x4fdf97], edx
fild dword [0x4fdf83]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x4fdf93]
fmul qword [0x4fddeb]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.00402701
mov dword [0x4fdf83], eax
cmp dword [0x4fde13], 0
je 0x4298bd
fild dword [0x4fde93]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x4fdf87]
fstp qword [ebp - 0x14]
fild dword [0x4fdf83]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [0x4fde97]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
push 0x32
fld qword [ebp - 0x2c]
call fcn.00402701
push eax
fld qword [ebp - 0x14]
call fcn.00402701
push eax
call fcn.0042b4cf
mov dword [0x4fde93], 0
mov dword [0x4fde97], 0
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x4fdf9b], eax
mov dword [0x4fdeab], 0
jmp 0x429d80
mov ebx, dword [0x4fdebb]
call fcn.004017e4
push ebx
push ecx
mov eax, dword [0x4fdf7f]
dec eax
jns 0x4298f8
push 0x64b
push 0x40140b2
push 4
call fcn.004429e5
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x429915
push 0x64b
push 0x40140b2
push 1
call fcn.004429e5
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
test eax, eax
jne 0x429932
mov eax, 0x4c52b6
push eax
push 1
mov ebx, 0x9dc
call fcn.00447860
add esp, 0x10
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [0x4fdf83]
fstp qword [ebp - 0x1c]
fsub qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
mov ebx, dword [0x4fdec3]
call fcn.004017e4
push ebx
push ecx
mov eax, dword [0x4fdf7f]
dec eax
jns 0x42998c
push 0x686
push 0x40140b2
push 4
call fcn.004429e5
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4299a9
push 0x686
push 0x40140b2
push 1
call fcn.004429e5
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x4299c6
mov eax, 0x4c52b6
push eax
push 1
mov ebx, 0x9dc
call fcn.00447860
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [0x4fdf7b]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x24]
fdiv qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
push 0x80000601
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 1
mov ebx, 0x60
call fcn.00447f70
add esp, 0x10
mov dword [0x4fdf83], eax
mov ebx, dword [0x4fdebb]
call fcn.004017e4
push ebx
push ecx
mov eax, dword [0x4fdf7f]
dec eax
jns 0x429a4b
push 0x6b2
push 0x40140b2
push 4
call fcn.004429e5
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x429a68
push 0x6b2
push 0x40140b2
push 1
call fcn.004429e5
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [0x4fdebb]
call fcn.004017e4
push ebx
push ecx
mov eax, dword [0x4fdf7f]
dec eax
jns 0x429a9c
push 0x6f6
push 0x40140b2
push 4
call fcn.004429e5
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x429ab9
push 0x6f6
push 0x40140b2
push 1
call fcn.004429e5
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x429ad6
mov eax, 0x4c52b6
push eax
push 1
mov ebx, 0x9dc
call fcn.00447860
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [0x4fdf83]
fstp qword [ebp - 0x20]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x28]
push 0x80000601
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 1
mov ebx, 0x168
call fcn.004445d0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x429b3a
push ebx
call fcn.004429d9
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
inc dword [0x4fdf7b]
mov eax, dword [0x4fdf83]
mov dword [ebp - 4], eax
cmp dword [0x4fded7], 0
jne 0x429b6c
cmp dword [0x4fdea7], 0
jne 0x429b6c
xor eax, eax
jmp 0x429b71
mov eax, 1
test eax, eax
je 0x429ca0
cmp dword [0x4fded7], 0
je 0x429bc5
push 0x4c5ba5
push dword [0x4fdc4b]
call fcn.00401747
add esp, 8
cmp eax, 0
jne 0x429bc5
push 0x4da2e8
push dword [0x4fdc2b]
call fcn.00401747
add esp, 8
cmp eax, 0
jne 0x429bc5
mov eax, 1
jmp 0x429bca
mov eax, 0
test eax, eax
jne 0x429c2f
cmp dword [0x4fded7], 0
je 0x429c1e
push 0x4da339
push dword [0x4fdc4b]
call fcn.00401747
add esp, 8
cmp eax, 0
jne 0x429c1e
push 0x4da2e8
push dword [0x4fdc2f]
call fcn.00401747
add esp, 8
cmp eax, 0
jne 0x429c1e
mov eax, 1
jmp 0x429c23
mov eax, 0
test eax, eax
jne 0x429c2f
xor eax, eax
jmp 0x429c34
mov eax, 1
test eax, eax
je 0x429c61
fild dword [0x4fdf83]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x4fa092]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.00402701
mov dword [ebp - 4], eax
jmp 0x429ca0
cmp dword [0x4fdea7], 0
je 0x429c82
cmp dword [0x4fdf7b], 1
jle 0x429c82
mov eax, 1
jmp 0x429c87
mov eax, 0
test eax, eax
je 0x429ca0
mov dword [ebp - 4], 0
mov dword [0x4fde03], 0
cmp dword [0x4fde03], 0
je 0x429cc1
cmp dword [0x4fde13], 0
je 0x429cc1
mov eax, 1
jmp 0x429cc6
mov eax, 0
test eax, eax
je 0x429d80
cmp dword [0x4fde93], 0
jne 0x429d15
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [0x4fde57]
call fcn.0042bc24
jmp 0x429d62
fild dword [0x4fde93]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x4fdf87]
fstp qword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
fld qword [ebp - 0x14]
call fcn.00402701
push eax
call fcn.0042bc24
mov dword [0x4fde93], 0
mov dword [0x4fde97], 0
mov dword [0x4fde57], 0
mov ebx, dword [0x4fdec3]
call fcn.004017e4
push ebx
push ecx
mov eax, dword [0x4fdf7f]
dec eax
jns 0x429dac
push 0xb4d
push 0x40140b2
push 4
call fcn.004429e5
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x429dc9
push 0xb4d
push 0x40140b2
push 1
call fcn.004429e5
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
test eax, eax
jne 0x429de6
mov eax, 0x4c52b6
push eax
push 1
mov ebx, 0x9dc
call fcn.00447860
add esp, 0x10
cmp dword [0x4fdf7b], eax
jne 0x429e15
inc dword [0x4fdf7f]
mov dword [0x4fdf7b], 0
mov esp, ebp
pop ebp
ret