Function at 0x4d08f0
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fe969
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x638]
mov dword [ebp - 0x638], 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x4d0bde
lea eax, [ebp - 0x630]
push eax
push 0x2a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x4d0bd2
movzx eax, word [0x639ee0]
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push 0
push eax
call fcn.00588800
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
push dword [ebp - 0x630]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push str.LAV_Filtersx86LAVVideo.ax
push eax
call esi
movzx eax, word [0x639ee0]
push 0x206
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push 0
push eax
call fcn.00588800
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x630]
call edi
push str.LAV_Filtersx86LAVAudio.ax
lea eax, [ebp - 0x420]
push eax
call esi
movzx eax, word [0x639ee0]
push 0x206
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push 0
push eax
call fcn.00588800
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x630]
call edi
push str.LAV_Filtersx86LAVSplitter.ax
lea eax, [ebp - 0x628]
push eax
call esi
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4d0bfc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x63c], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x63c]
push str.regsvr32.exe__s___s_
push eax
call fcn.0040d300
mov edi, dword [ebp - 0x63c]
add esp, 0xc
xor edx, edx
mov ecx, edi
call fcn.004ddca0
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4d0c06
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x640], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x640]
push str.regsvr32.exe__s___s_
push eax
call fcn.0040d300
mov esi, dword [ebp - 0x640]
add esp, 0xc
xor edx, edx
mov ecx, esi
call fcn.004ddca0
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4d0c10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x634], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x634]
push str.regsvr32.exe__s___s_
push eax
call fcn.0040d300
mov ecx, dword [ebp - 0x634]
add esp, 0xc
xor edx, edx
call fcn.004ddca0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x644]
call fcn.0040c380
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x638]
push dword [ebp - 0x630]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push dword [ebp - 0x644]
mov dword [ebp - 0x630], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne byte [ebp - 0x629]
mov byte [ebp - 4], 5
or ebx, 0xffffffff
mov edx, dword [ebp - 0x644]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d0b72
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x634]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d0b93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4d0bae
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4d0bca
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x629]
jmp 0x4d0be0
mov eax, dword [ebp - 0x638]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
int3