Function at 0x4104d6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1400
call fcn.0052d050
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x239b]
push esi
push edi
call fcn.0041afc8
test al, al
je 0x410d6b
push 0x66
mov eax, ebx
call fcn.00402fa6
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jl 0x410d6b
push 0x84
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x410d6b
mov eax, ebx
call fcn.00411118
push 1
push ebx
lea esi, [ebp - 0xde4]
mov eax, edi
call fcn.00402f18
mov ecx, esi
lea eax, [ebp - 0xfec]
call fcn.004019f3
lea eax, [ebp - 0xfec]
push eax
call fcn.0051ffe8
pop ecx
mov ecx, dword [ebx + 0x239b]
mov eax, ecx
call fcn.0041afb4
test al, al
je 0x410c1b
mov eax, str..264
xor esi, esi
mov byte [ebp + 0xb], 0
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], str..3g2
mov dword [ebp - 0x134], str..3gp
mov dword [ebp - 0x130], str..3gpp
mov dword [ebp - 0x12c], str..amv
mov dword [ebp - 0x128], str..asf
mov dword [ebp - 0x124], str..asx
mov dword [ebp - 0x120], 0x54a8cc
mov dword [ebp - 0x11c], str..bik
mov dword [ebp - 0x118], str..dat
mov dword [ebp - 0x114], str..dav
mov dword [ebp - 0x110], str..div
mov dword [ebp - 0x10c], str..divx
mov dword [ebp - 0x108], 0x54e23c
mov dword [ebp - 0x104], str..dvr_ms
mov dword [ebp - 0x100], str..evo
mov dword [ebp - 0xfc], str..f4v
mov dword [ebp - 0xf8], str..flc
mov dword [ebp - 0xf4], str..flv
mov dword [ebp - 0xf0], str..gif
mov dword [ebp - 0xec], str..h264
mov dword [ebp - 0xe8], str..hdmov
mov dword [ebp - 0xe4], str..k3g
mov dword [ebp - 0xe0], str..kmv
mov dword [ebp - 0xdc], str..m1v
mov dword [ebp - 0xd8], str..m2p
mov dword [ebp - 0xd4], str..m2t
mov dword [ebp - 0xd0], str..m2ts
mov dword [ebp - 0xcc], str..m2v
mov dword [ebp - 0xc8], str..m4v
mov dword [ebp - 0xc4], str..mjpeg
mov dword [ebp - 0xc0], str..mkv
mov dword [ebp - 0xbc], str..mod
mov dword [ebp - 0xb8], str..moov
mov dword [ebp - 0xb4], str..mov
mov dword [ebp - 0xb0], str..mp4
mov dword [ebp - 0xac], str..mp4v
mov dword [ebp - 0xa8], str..mpe
mov dword [ebp - 0xa4], str..mpeg
mov dword [ebp - 0xa0], str..mpg
mov dword [ebp - 0x9c], str..mqv
mov dword [ebp - 0x98], str..mts
mov dword [ebp - 0x94], str..mtv
mov dword [ebp - 0x90], str..mxf
mov dword [ebp - 0x8c], str..nsv
mov dword [ebp - 0x88], str..nut
mov dword [ebp - 0x84], str..ogg
mov dword [ebp - 0x80], str..ogm
mov dword [ebp - 0x7c], str..ogv
mov dword [ebp - 0x78], 0x54e3b4
mov dword [ebp - 0x74], str..rmvb
mov dword [ebp - 0x70], 0x54e3c8
mov dword [ebp - 0x6c], str..swf
mov dword [ebp - 0x68], str..thp
mov dword [ebp - 0x64], str..tod
mov dword [ebp - 0x60], 0x54e3e8
mov dword [ebp - 0x5c], str..ts4
mov dword [ebp - 0x58], str..vob
mov dword [ebp - 0x54], str..vro
mov dword [ebp - 0x50], str..webm
mov dword [ebp - 0x4c], str..wmv
mov dword [ebp - 0x48], str..wtv
mov dword [ebp - 0x44], str..xmv
mov dword [ebp - 0x40], str..xvid
mov dword [ebp - 0x3c], str..y4m
mov dword [ebp - 0x38], esi
lea ecx, [ebp - 0xfec]
call fcn.00401031
test eax, eax
je 0x4107f0
mov eax, dword [ebp + esi*4 - 0x138]
inc esi
test eax, eax
jne 0x4107d3
jmp 0x4107f4
mov byte [ebp + 0xb], 1
push edi
mov eax, ebx
call fcn.0040cfdf
mov esi, eax
test esi, esi
mov dword [ebp - 0x10], esi
je 0x410d6b
cmp byte [ebp + 0xb], 0
je 0x410a2d
lea eax, [ebp - 0x3bc]
push eax
push 0x53ec98
push str.TempAudioFolder
mov edi, str.Settings
push edi
call fcn.00444aef
xor eax, eax
cmp word [ebp - 0x3bc], ax
jne 0x410853
lea ecx, [ebp - 0x3bc]
push ecx
push eax
push eax
push 5
push eax
mov word [ebp - 0x3bc], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, dword [ebx + 4]
push str.Please_select_a_folder_to_store_the_temporary_audio_file_for_editing
lea ecx, [ebp - 0x3bc]
push ecx
push eax
call fcn.004494bb
test al, al
je 0x410d6b
lea eax, [ebp - 0x3bc]
push eax
push str.TempAudioFolder
push edi
call fcn.00444b22
add esi, 0x10
mov ecx, esi
lea esi, [ebp - 0xbdc]
call fcn.0044a0a8
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0
lea eax, [ebp - 0xbdc]
mov esi, 0x104
lea edi, [ebp - 0x11f4]
jne 0x4108bc
push eax
push str._s.wav
call fcn.0044b138
pop ecx
pop ecx
jmp 0x4108cd
push dword [ebp - 8]
push eax
push str._s_d.wav
call fcn.0044b138
add esp, 0xc
push 0x53ec98
lea eax, [ebp - 0x11f4]
push eax
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x5c4]
push eax
call fcn.0044a0d6
lea eax, [ebp - 0x5c4]
push eax
call fcn.00401d29
test al, al
je 0x410901
inc dword [ebp - 8]
jmp 0x410896
lea eax, [ebp - 0x2c]
push eax
call fcn.00404cbe
mov esi, dword [ebp - 0x10]
add esi, 8
mov ecx, dword [esi]
test ecx, ecx
je 0x41091d
mov eax, dword [ecx]
push 0
call dword [eax + 0x10]
push esi
lea edi, [ebp - 0x28]
call fcn.004a488a
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x410935
mov cl, byte [eax + 8]
mov byte [ebp - 8], cl
jmp 0x410939
mov byte [ebp - 8], 1
test eax, eax
je 0x410942
mov eax, dword [eax + 4]
jmp 0x410947
mov eax, 0xac44
push dword [ebp - 8]
lea esi, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c4]
push eax
call fcn.004aa04c
mov edi, eax
lea esi, [ebp - 0x24]
call fcn.004a46aa
lea ecx, [ebp - 0x14]
call fcn.00404ca4
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea esi, [ebp - 0x14]
call fcn.00421270
cmp dword [eax], 0
je 0x4109d2
lea eax, [ebp - 0x5c4]
push eax
push str.Couldnt_create__s
mov esi, 0x104
lea edi, [ebp - 0x7cc]
call fcn.0044b138
pop ecx
pop ecx
push 0x2010
push str.Conversion_error
mov eax, edi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [ebp - 0x20]
call fcn.004a4856
lea ecx, [ebp - 0x24]
call fcn.00404ca4
lea eax, [ebp - 0x28]
call fcn.004a4856
jmp 0x410d6b
lea edi, [ebp - 0x24]
call fcn.004a46d0
push dword [ebp - 0x18]
lea eax, [ebp - 0x5c4]
push ebx
call fcn.00402e45
mov esi, dword [ebp - 0x10]
mov edi, 0x104
push edi
lea edx, [ebp - 0x5c4]
add esi, 0x10
call fcn.0044b0f6
push edi
lea edx, [ebp - 0x5c4]
lea esi, [ebp - 0xde4]
call fcn.0044b0f6
lea eax, [ebp - 0x20]
call fcn.004a4856
lea ecx, [ebp - 0x24]
call fcn.00404ca4
lea eax, [ebp - 0x28]
call fcn.004a4856
mov esi, dword [ebp - 0x10]
lea eax, [esi + 8]
call fcn.004a48e0
add esi, 0x10
push esi
mov dword [ebp - 8], esi
call fcn.00401ac8
add eax, 0x7ff
adc edx, 0
shrd eax, edx, 0xb
push 0
mov edi, 0x800
push edi
shr edx, 0xb
push edx
push eax
call fcn.0052d640
mov ecx, dword [ebx + 0x25b1]
cmp edx, ecx
mov esi, dword [ebx + 0x25ad]
jb 0x410a85
ja 0x410a75
cmp eax, esi
jbe 0x410a85
and dword [ebx + 0x25ad], 0
and dword [ebx + 0x25b1], 0
jmp 0x410a95
sub esi, eax
sbb ecx, edx
mov dword [ebx + 0x25ad], esi
mov dword [ebx + 0x25b1], ecx
push dword [ebx + 4]
mov eax, dword [ebp - 8]
call fcn.00407239
push dword [ebp - 8]
call fcn.00401ac8
add eax, 0x7ff
adc edx, 0
shrd eax, edx, 0xb
push 0
push edi
shr edx, 0xb
push edx
push eax
call fcn.0052d640
add dword [ebx + 0x25ad], eax
lea esi, [ebp - 0xc]
adc dword [ebx + 0x25b1], edx
call fcn.004a47c9
push dword [ebp - 8]
mov edi, dword [ebx + 4]
lea eax, [ebp - 0x1b4]
call fcn.00403ee5
mov eax, esi
mov esi, dword [ebp - 0x10]
push eax
add esi, 0x10
push esi
lea eax, [ebp - 0xc2]
push eax
push ebx
call fcn.0040c980
cmp eax, 1
jne 0x410c08
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x410b16
cmp byte [eax + 0xd], 0
setne al
jmp 0x410b18
mov al, 1
test al, al
jne 0x410c08
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
add edi, 8
call fcn.004a488a
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x410b43
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x410b47
and dword [ebp - 8], 0
test ecx, ecx
je 0x410b53
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], eax
jmp 0x410b5a
mov dword [ebp - 0x14], 0xac44
fild dword [ebp - 8]
fidiv dword [ebp - 0x14]
fmul qword [0x5998c8]
call fcn.00535ff0
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fmul qword [0x5997b0]
fcomp qword [0x599b98]
fnstsw ax
test ah, 5
jp 0x410bd1
cmp byte [ebp + 0xb], 0
je 0x410bd1
and word [ebp - 0x7cc], 0
lea eax, [ebp - 0x7cc]
push eax
call fcn.004c28d6
test al, al
je 0x410bd1
push esi
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 0x5531a0
call fcn.00408f9b
test edx, edx
jl 0x410bd1
jg 0x410bbd
test eax, eax
jbe 0x410bd1
push 0xac44
push eax
mov dword [ebp - 8], eax
call fcn.004a3e4b
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
lea esi, [ebp - 0x9d4]
lea eax, [ebp - 8]
call fcn.00402489
mov eax, esi
push eax
push dword [ebp - 0x18]
push 0x66
push ebx
push 2
pop eax
call fcn.00402e73
lea eax, [ebp - 0x1b4]
call fcn.00403f96
lea eax, [ebp - 0xc]
call fcn.004a4856
jmp 0x410d65
lea eax, [ebp - 0x1b4]
call fcn.00403f96
lea eax, [ebp - 0xc]
jmp 0x4109c8
cmp ecx, 1
je 0x410c29
cmp ecx, 2
jne 0x410d65
push 0x66
push ebx
mov eax, edi
call fcn.00402ee0
test eax, eax
mov dword [ebp - 8], eax
je 0x410d65
push eax
push 0x54a358
mov esi, 0x104
lea edi, [ebp - 0x9d4]
call fcn.0044b138
pop ecx
pop ecx
push dword [ebx + 4]
mov eax, edi
call fcn.0040746f
push dword [ebp - 8]
call fcn.004bd27b
mov edi, eax
test edi, edi
jne 0x410d02
call fcn.004db3d6
push dword [eax + 0x5f]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [ebp - 0xc]
call fcn.004a47c9
mov eax, esi
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0x5531a0
call fcn.00408a92
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test al, al
je 0x410ce8
push dword [ebp - 8]
mov esi, 0x208
push str.This_does_not_appear_to_be_a_valid_video_file:__s
lea edi, [ebp - 0x13fc]
call fcn.0044b138
pop ecx
pop ecx
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0x594e70
call fcn.004a4856
lea esi, [ebp + 8]
call fcn.0040646c
jmp 0x410d6b
mov edi, dword [esi + 0x5b]
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0x594e70
call fcn.004a4856
lea esi, [ebp + 8]
call fcn.0040646c
mov eax, edi
cdq
mov ecx, 0x3e8
idiv ecx
push 0x64
pop esi
mov ecx, eax
mov eax, edx
cdq
idiv esi
mov esi, 0x104
push eax
mov eax, ecx
cdq
push 0x3c
pop ecx
idiv ecx
mov eax, edi
mov ecx, 0xea60
push edx
cdq
idiv ecx
push 0x3c
pop ecx
cdq
idiv ecx
mov eax, edi
mov ecx, 0x36ee80
lea edi, [ebp - 0x7cc]
push edx
cdq
idiv ecx
push eax
push str._d:_.2d:_.2d._.1d
call fcn.0044b138
add esp, 0x14
mov eax, edi
push eax
push dword [ebp - 0x18]
push 0x66
push ebx
push 2
pop eax
call fcn.00402e73
push ebx
call fcn.004144f7
pop edi
pop esi
pop ebx
leave
ret 4