Function at 0x404ea0
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x407947
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x220]
mov dword [esp + 0x430], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edi, [esp + 0x220]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x220]
repne scasb al, byte es:[edi]
mov cx, word [0x40b050]
lea eax, [esp + 0x11c]
push edx
push eax
push str.AppPath
push str.SOFTWAREhonestechHT_Video_To_DVD
push 0x80000002
mov word [edi - 1], cx
call fcn.00405e20
add esp, 0x14
test al, al
je 0x404f34
lea ecx, [esp + 0x11c]
push ecx
jmp 0x404f3c
lea edx, [esp + 0x220]
push edx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
push ebx
push 1
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00406b3c
lea eax, [esp + 0x14]
push 1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x43c], 1
call sub.MFC42.DLL_CString::Right
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push ecx
push eax
call edi
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x434], 0
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x404faf
push 0x40b050
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x170]
push edx
push str._sffmpeg.exe
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x328]
push ecx
push 0
push 0
push 0x8005
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x405090
lea edx, [esp + 0x328]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42.DLL_CString::CString_3
push 1
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x43c], 2
call fcn.00406b3c
lea eax, [esp + 0x18]
push 1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x43c], 3
call sub.MFC42.DLL_CString::Right
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push eax
call edi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x434], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x405065
push 0x40b050
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push str._sVHS_to_DVD_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x434], 0
call sub.MFC42.DLL_CString::CString
jmp 0x4050a8
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push str._sCapture_
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x120]
push eax
push ecx
push str.OutFolder
push str.SOFTWAREhonestechHT_Video_To_DVD
push 0x80000001
call fcn.00405e20
add esp, 0x14
add esi, 0x174
test al, al
je 0x4050f8
lea edx, [esp + 0x120]
push edx
push 0x40b030
push esi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x120]
push 0
push eax
jmp 0x405112
lea ecx, [esp + 0x1c]
push ecx
push 0x40b030
push esi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.00406b3c
lea eax, [esp + 0x18]
push 1
push eax
mov ecx, esi
mov byte [esp + 0x43c], 4
call sub.MFC42.DLL_CString::Right
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push eax
call edi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x434], 0
call sub.MFC42.DLL_CString::CString
test bl, bl
pop ebx
je 0x405178
push 0x40b050
mov ecx, esi
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
mov dword [esp + 0x430], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x428]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x42c
ret