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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
cmp dword [ebp + 0x14], eax
push edi
mov edi, dword [ebp + 8]
push eax
je 0x4dad1e
push dword [ebp + 0x14]
jmp 0x4dad2f
cmp dword [ebx + 0x1f], eax
jne 0x4dad2a
push str.Converting_video_file...
jmp 0x4dad2f
push str.Converting_video_file__lossless_...
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
push 0x64
push 0
push esi
call fcn.004dac4b
fstp qword [ebp - 0x68]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b]
test ecx, ecx
mov eax, dword [ebx + 0x14]
jle 0x4dad5c
test eax, eax
jle 0x4dad57
cmp eax, ecx
jl 0x4dad60
mov dword [ebp - 0x18], ecx
jmp 0x4dad69
test eax, eax
jle 0x4dad65
mov dword [ebp - 0x18], eax
jmp 0x4dad69
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x4dad99
cmp ecx, 0x7fffffff
je 0x4dad99
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp + 0x13], 0
call dword [eax + 0x2c]
mov eax, dword [ebx + 0xc]
and dword [ebp - 0x2c], 0
test eax, eax
mov byte [ebp - 5], 0
je 0x4dada6
mov al, byte [eax + 8]
mov byte [ebp + 0x17], al
jmp 0x4dadaa
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp + 0x13], 1
call dword [eax + 0x28]
jmp 0x4dad82
mov byte [ebp + 0x17], 1
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4dadb9
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
jmp 0x4dadc0
mov dword [ebp - 0x1c], 0xac44
push dword [ebp - 0x1c]
and dword [ebp - 4], 0
push 0
call fcn.004a3e4b
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push 0x1f4
call fcn.004a3e4b
mov dword [ebp - 0x30], eax
movzx eax, byte [ebp + 0x17]
shl eax, 0xd
lea esi, [ebp - 0xc]
call fcn.0041d5d0
xor esi, esi
lea eax, [ebp - 0x168]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x34], esi
mov dword [edi], esi
call fcn.004d6d31
lea eax, [ebp - 0x118]
call fcn.004d6d31
lea eax, [ebp - 0x60]
call fcn.00466b56
mov al, byte [ebx + 0x2c]
neg al
mov dword [ebp - 0x24], esi
sbb eax, eax
and eax, 0xffffff9b
add eax, 0x64
cmp dword [edi], esi
mov dword [ebp - 0x28], eax
jne 0x4db2ec
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax]
test al, al
jne 0x4db217
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax]
test al, al
jne 0x4db222
cmp dword [ebp - 0x20], 0x12c
jae 0x4db22d
mov byte [ebp + 0x17], al
lea esi, [ebx + 0xc]
mov eax, esi
call fcn.00404ab5
test al, al
jne 0x4daf20
mov ecx, dword [esi]
test ecx, ecx
je 0x4dae7f
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x4dae81
xor al, al
test al, al
jne 0x4dae95
lea esi, [ebx + 0xc]
call fcn.00404ac9
test al, al
jne 0x4daf20
mov esi, ebx
call fcn.004dac20
test eax, eax
setg byte [ebp + 0x17]
cmp byte [ebp + 0x17], 0
je 0x4daeac
and dword [ebp - 0x20], 0
push dword [ebp - 0x30]
push 0
call fcn.00420f1f
add dword [ebp - 0x14], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x4daf08
mov eax, dword [ebp - 0x10]
mov ecx, 0x2000
cmp eax, ecx
mov dword [ebp - 4], eax
jl 0x4daed3
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jle 0x4daf12
mov ecx, dword [ebx + 0xc]
test ecx, ecx
push dword [ebp - 4]
push dword [ebp - 0xc]
je 0x4daeed
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4daef4
mov al, 1
call fcn.00424aa0
push dword [ebp - 4]
mov ecx, dword [ebx + 0x10]
push dword [ebp - 0xc]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 4]
sub dword [ebp - 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test al, al
je 0x4daec1
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.004a3e1d
mov dword [ebp - 4], eax
xor eax, eax
inc eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xc8]
call fcn.0046059a
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
and dword [ebp - 0x8b], 0
call dword [eax]
test al, al
jne 0x4daf68
xor edi, edi
cmp dword [ebx + 0x1f], edi
jne 0x4db07f
cmp byte [ebp + 0x17], 0
je 0x4daf81
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x24], eax
jl 0x4dafab
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc8]
call fcn.0045e5d0
cmp dword [edi], 0
je 0x4dae33
jmp 0x4db1fb
mov ecx, dword [ebx + 0xc]
cmp ecx, edi
je 0x4daf91
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
jmp 0x4daf93
xor esi, esi
mov ecx, dword [ebx + 0xc]
cmp ecx, edi
je 0x4dafa1
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x4dafa3
xor eax, eax
sub esi, eax
test esi, esi
setg byte [ebp + 0x17]
push dword [ebp - 0x28]
fld qword [ebp - 0x68]
mov esi, dword [ebp + 0xc]
fstp qword [ebp - 0x78]
fldz
mov ecx, dword [ebx]
lea edx, [ebp - 0x168]
fstp qword [ebp - 0x70]
push edx
lea edx, [ebp - 0x80]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], 0x5531d0
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
test al, al
je 0x4db184
cmp byte [ebp - 5], 0
mov eax, dword [ebp - 0x127]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], eax
jne 0x4db071
mov byte [ebp - 5], 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 8]
lea ecx, [eax + 5]
mov eax, dword [ecx]
cmp dword [ebp - 0x168], eax
je 0x4db044
lea eax, [ebp - 0x1a5]
call fcn.004063f8
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0045f228
lea eax, [ebp - 0xc8]
push eax
lea edi, [ebp - 0x168]
call fcn.00461899
mov eax, edi
push eax
lea esi, [ebp - 0xc8]
call fcn.0045eaae
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x168]
push edx
call dword [eax + 0xc]
test al, al
je 0x4db1d2
lea esi, [ebp - 0x168]
lea edi, [ebp - 0x118]
call fcn.004d6d42
jmp 0x4db13a
cmp eax, dword [ebp - 0x2c]
jg 0x4daff9
mov byte [ebx + 0x18], 1
jmp 0x4db170
push ecx
push ecx
mov eax, esp
push ecx
mov dword [eax], 1
mov dword [eax + 4], 0x3e8
push ecx
mov ecx, dword [ebp - 0x50]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 4], ecx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.004cf5e6
cmp byte [ebp + 0x17], 0
mov dword [ebp - 0x24], eax
je 0x4db0be
cmp eax, dword [ebp - 4]
jge 0x4daf65
jmp 0x4db0ea
mov ecx, dword [ebx + 0xc]
cmp ecx, edi
je 0x4db0ce
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
jmp 0x4db0d0
xor esi, esi
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4db0de
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x4db0e0
xor eax, eax
sub esi, eax
test esi, esi
setg byte [ebp + 0x17]
xor edi, edi
mov ecx, dword [ebx + 0x1f]
mov eax, dword [ecx]
lea edx, [ebp - 0x60]
push edx
push edi
push 0xffffffffffffffff
call dword [eax + 0x10]
test al, al
je 0x4db1e8
mov eax, dword [ebx + 0x23]
lea edi, [ebp - 0x60]
call fcn.004c510c
push ecx
push ecx
mov eax, esp
push ecx
mov dword [eax], 1
mov dword [eax + 4], 0x3e8
push ecx
mov ecx, dword [ebp - 0x50]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 4], ecx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.004cf5e6
mov dword [ebp - 0x10], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp eax, dword [ebp - 0x34]
jb 0x4db160
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.004dac4b
fstp qword [ebp - 0x68]
call esi
add eax, 0x64
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x14]
test eax, eax
jle 0x4db170
cmp eax, dword [ebp - 0x10]
jle 0x4db20f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax]
test al, al
je 0x4daf4c
jmp 0x4daf65
cmp byte [ebx + 0x2c], 0
je 0x4db1ba
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax]
test al, al
je 0x4db1a2
mov edi, dword [ebp + 8]
mov dword [edi], 2
jmp 0x4daf68
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test al, al
je 0x4db1e8
mov edi, dword [ebp + 8]
mov dword [edi], 1
jmp 0x4daf68
mov eax, dword [ebx]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x5b]
jl 0x4db1ca
cmp byte [ebx + 0x2b], 0
jne 0x4db1e8
inc dword [ebp - 0x20]
jmp 0x4daf65
mov byte [ebx + 0x19], 1
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 4]
cmp al, 8
jne 0x4db194
mov byte [ebx + 0x1a], 1
jmp 0x4db194
mov eax, dword [ebp + 8]
mov dword [eax], edi
lea eax, [ebp - 0xc8]
call fcn.0045e5d0
mov edi, dword [ebp + 8]
cmp dword [edi], 0
jne 0x4db2ec
cmp dword [ebx + 0x1f], 0
jne 0x4db232
mov eax, dword [ebp - 0x24]
jmp 0x4db25d
mov eax, dword [ebp + 8]
and dword [eax], 0
jmp 0x4db1ed
mov dword [edi], 1
jmp 0x4db2ec
mov dword [edi], 2
jmp 0x4db2ec
and dword [edi], 0
jmp 0x4db204
push ecx
push ecx
mov eax, esp
push ecx
mov dword [eax], 1
mov dword [eax + 4], 0x3e8
push ecx
mov ecx, dword [ebp - 0x50]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 4], ecx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.004cf5e6
push dword [ebp - 0x1c]
push eax
call fcn.004a3e4b
and dword [ebp + 0x14], 0
mov dword [ebp - 0x28], eax
lea edi, [ebx + 0xc]
mov ecx, dword [edi]
test ecx, ecx
je 0x4db27d
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x4db27f
xor al, al
test al, al
jne 0x4db28e
mov esi, edi
call fcn.00404ac9
test al, al
jne 0x4db2d7
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax]
test al, al
jne 0x4db2d7
cmp byte [ebx + 0x2b], al
je 0x4db2a6
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], eax
jge 0x4db2d7
mov esi, ebx
call fcn.004dac20
mov esi, eax
test esi, esi
jg 0x4db39b
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push 0x1e
lea edx, [ebp - 0x30]
push edx
call dword [eax + 4]
cmp dword [eax], 0
jne 0x4db2d7
add dword [ebp + 0x14], 0x1e
cmp dword [ebp + 0x14], 0xbb8
jl 0x4db26d
cmp byte [ebp + 0x13], 0
jne 0x4db2ec
mov ecx, dword [ebp + 0xc]
fld1
mov eax, dword [ecx]
push ecx
push ecx
fstp qword [esp]
call dword [eax + 0x24]
cmp byte [ebx + 0x2d], 0
je 0x4db31e
mov esi, dword [ebp - 0xd3]
mov ecx, dword [ebx + 8]
add dword [ebp - 0xd7], 0x2d
or dword [ebp - 0xd3], 0x10000
mov eax, dword [ecx]
lea edx, [ebp - 0x118]
push edx
call dword [eax + 0xc]
mov dword [ebp - 0xd3], esi
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x5b]
mov dword [ebx + 0x1b], eax
lea eax, [ebx + 0xc]
call fcn.004a48e0
lea edi, [ebx + 0x10]
call fcn.004a46d0
mov esi, ebx
call fcn.004064bf
lea edi, [ebx + 4]
call fcn.00466d40
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push 1
push 0x53ec98
call dword [eax + 0x20]
cmp byte [ebp + 0x13], 0
je 0x4db363
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp dword [ebp - 0x3c], 0
je 0x4db372
push dword [ebp - 0x3c]
call fcn.00520947
pop ecx
lea eax, [ebp - 0x118]
call fcn.0045e5d0
lea eax, [ebp - 0x168]
call fcn.0045e5d0
push dword [ebp - 0xc]
call fcn.00520947
mov eax, dword [ebp + 8]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
and dword [ebp + 0x14], 0
mov eax, 0x2000
cmp esi, eax
jl 0x4db3aa
mov esi, eax
mov ecx, dword [edi]
test ecx, ecx
push esi
push dword [ebp - 0xc]
je 0x4db3bb
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4db3c2
mov al, 1
call fcn.00424aa0
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
push esi
push dword [ebp - 0xc]
call dword [eax + 4]
add dword [ebp - 0x14], esi
jmp 0x4db26d