Function at 0x4da210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4efb08
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x6089a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push str.EnableSubtitles
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 0
mov eax, dword [esi + 0x117c]
push eax
lea ecx, [esp + 0x10]
push ecx
push 1
push ecx
call fcn.004e2a60
add esp, 4
mov ecx, eax
call fcn.004e2070
or edi, 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.KeepAspectRatio
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 1
mov edx, dword [esi + 0x1170]
push edx
lea eax, [esp + 0x10]
push eax
push 1
push ecx
call fcn.004e2a60
add esp, 4
mov ecx, eax
call fcn.004e2070
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.OutputPath
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esi + 0xd8]
push ecx
lea edx, [esp + 0x10]
push edx
push 1
push ecx
mov dword [esp + 0x30], 2
call fcn.004e2a60
add esp, 4
mov ecx, eax
call fcn.004e1f20
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [0x626524]
call fcn.0049db30
mov ebx, eax
cmp ebx, edi
je 0x4da352
push str.DeviceIndex
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea eax, [esp + 0xc]
push ebx
push eax
mov dword [esp + 0x28], 3
call fcn.004e2a60
lea ecx, [edi + 2]
mov edx, eax
call fcn.004e2300
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [0x626528]
call fcn.0049db30
mov ebx, eax
cmp ebx, edi
je 0x4da39f
push str.SeriesIndex
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esp + 0xc]
push ebx
push ecx
mov dword [esp + 0x28], 4
call fcn.004e2a60
mov ecx, 1
mov edx, eax
call fcn.004e2300
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.UseCustomConfig
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 5
mov edx, dword [esi + 0x115c]
push edx
lea eax, [esp + 0x10]
push eax
push 1
push ecx
call fcn.004e2a60
add esp, 4
mov ecx, eax
call fcn.004e2070
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp dword [esi + 0x115c], 0
je 0x4da679
push str.EncFileFormat
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 6
mov ecx, dword [esi + 0xd50]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.004e2a60
mov ecx, 1
mov edx, eax
call fcn.004e2300
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.EncVideoFormat
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 7
mov eax, dword [esi + 0xd4c]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.004e2a60
mov ecx, 1
mov edx, eax
call fcn.004e2300
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.EncVideoBitRate
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 8
mov edx, dword [esi + 0xd40]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.004e2a60
mov ecx, 1
mov edx, eax
call fcn.004e2300
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.EncWidth
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 9
mov ecx, dword [esi + 0xd34]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.004e2a60
mov ecx, eax
call fcn.004e21c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.EncHeight
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 0xa
mov eax, dword [esi + 0xd38]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.004e2a60
mov ecx, eax
call fcn.004e21c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.EncFrameRate
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 0xb
mov edx, dword [esi + 0xd48]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.004e2a60
mov ecx, 1
mov edx, eax
call fcn.004e2300
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.EncAudioFormat
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 0xc
mov ecx, dword [esi + 0x50c]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.004e2a60
mov ecx, 1
mov edx, eax
call fcn.004e2300
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.EncAudioBitRate
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 0xd
mov eax, dword [esi + 0x500]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.004e2a60
mov ecx, 1
mov edx, eax
call fcn.004e2300
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.EncSampleRate
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 0xe
mov edx, dword [esi + 0x504]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.004e2a60
mov ecx, 1
mov edx, eax
call fcn.004e2300
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.EncChannels
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 0xf
mov ecx, dword [esi + 0x508]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.004e2a60
mov ecx, 1
mov edx, eax
call fcn.004e2300
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.ShutDownWhenFinish
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 0x10
mov eax, dword [esi + 0x1180]
push eax
lea ecx, [esp + 0x14]
push ecx
push 1
push ecx
call fcn.004e2a60
add esp, 4
mov ecx, eax
call fcn.004e2070
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret