Function at 0x401710
Capabilities:
Delete registry key

Disassembly:
sub esp, 0xe20
mov eax, dword [0x408258]
xor eax, esp
mov dword [esp + 0xe1c], eax
push 4
lea eax, [esp + 4]
push eax
push str.HKCUSoftwareFreeTimeFormatFactoryCodecInstalled
call fcn.00402fe0
add esp, 0xc
test al, al
je 0x4019bc
cmp dword [esp], 0
je 0x4019bc
push esi
lea ecx, [esp + 8]
push 1
push ecx
call fcn.00402a60
lea edx, [esp + 0x10]
push str.FFModulesFilters.ax
push edx
call fcn.00402860
mov ecx, dword [0x40821c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
add esp, 0x10
push 0
push 0
push 0
push 0
push 0x401060
lea edx, [esp + 0x1c]
push edx
call eax
lea ecx, [esp + 8]
push 1
push ecx
call fcn.00402a60
lea edx, [esp + 0x10]
push str.FFModulesFilters_ffdshow
push edx
call fcn.00402860
push 0x208
lea eax, [esp + 0x224]
push eax
push str.HKLMSOFTWAREGNU_ffdshowpth
call fcn.00402fe0
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add esp, 0x1c
test al, al
je 0x401840
lea edx, [esp + 0x210]
lea eax, [esp + 8]
call fcn.00401b20
test eax, eax
jne 0x401840
lea ecx, [esp + 8]
push 1
push ecx
call fcn.00402a60
lea edx, [esp + 0x10]
push str.FFModulesFilters_ffdshow_ffdshow.ax
push edx
call fcn.00402860
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x634]
push str.regsvr32__s__u___s_
push ecx
call fcn.00401b00
push 0
push 1
push 1
lea edx, [esp + 0x648]
push edx
push 0
call fcn.00402980
add esp, 0x30
push str.SOFTWAREGNU_ffdshow
push 0x80000002
call esi
push str.SOFTWAREGNU_ffdshow_audio
push 0x80000002
call esi
lea eax, [esp + 0x418]
push 1
push eax
call fcn.00402a60
lea ecx, [esp + 0x420]
push str.FFModulesFiltersHaali
push ecx
call fcn.00402860
push 0x208
lea edx, [esp + 0x224]
push edx
push str.HKLMSOFTWAREHaaliMkxInstall_Dir
call fcn.00402fe0
add esp, 0x1c
test al, al
je 0x4018ea
lea edx, [esp + 0x210]
lea eax, [esp + 0x418]
call fcn.00401b20
test eax, eax
jne 0x4018ea
lea eax, [esp + 8]
push 1
push eax
call fcn.00402a60
lea ecx, [esp + 0x10]
push str.FFModulesFiltersHaaliUninstall.bat
push ecx
call fcn.00402860
push 0
push 1
push 1
lea edx, [esp + 0x24]
push 0
push edx
call fcn.00402980
add esp, 0x24
push str.Media_TypeExtensions.ts
push 0x80000000
call esi
push str.Media_TypeExtensions.m2ts
push 0x80000000
call esi
push str.Media_TypeExtensions.evo
push 0x80000000
call esi
lea eax, [esp + 8]
push 1
push eax
call fcn.00402a60
lea ecx, [esp + 0x10]
push str.FFModulesRMCodecsdecodecs
push ecx
call fcn.00402860
push 0x208
lea edx, [esp + 0x224]
push edx
push str.HKCRSoftwareRealNetworksPreferencesDT_Codecs_
call fcn.00402fe0
add esp, 0x1c
test al, al
je 0x401996
lea edx, [esp + 0x210]
lea eax, [esp + 8]
call fcn.00401b20
test eax, eax
jne 0x401996
push 0x208
lea eax, [esp + 0x214]
push eax
push str.HKCRSoftwareRealNetworksPreferencesDT_CodecsBackup
call fcn.00402fe0
add esp, 0xc
test al, al
je 0x40198a
lea ecx, [esp + 0x210]
push ecx
call fcn.00402830
lea edx, [eax + eax + 2]
push edx
push 1
lea eax, [esp + 0x21c]
push eax
push str.HKCRSoftwareRealNetworksPreferencesDT_Codecs_
call fcn.00402ac0
push str.HKCRSoftwareRealNetworksPreferencesDT_CodecsBackup
call fcn.00402d80
add esp, 0x18
jmp 0x401996
push str.SoftwareRealNetworksPreferencesDT_Codecs
push 0x80000000
call esi
push 4
push 4
lea ecx, [esp + 0xc]
push ecx
push str.HKCUSoftwareFreeTimeFormatFactoryCodecInstalled
mov byte [0x408630], 0
mov dword [esp + 0x14], 0
call fcn.00402ac0
add esp, 0x10
pop esi
mov ecx, dword [esp + 0xe1c]
xor ecx, esp
call fcn.00404656
add esp, 0xe20
ret