Function at 0x418550
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push str.AudioCD
push dword [ebp + 8]
call fcn.0042e775
mov esi, eax
neg esi
sbb esi, esi
push str.Directory
push dword [ebp + 8]
inc esi
mov dword [ebp - 0x20], esi
call fcn.0042e775
add esp, 0x10
mov ebx, eax
mov eax, dword [0x453170]
neg ebx
sbb ebx, ebx
inc ebx
test esi, esi
mov dword [ebp - 0xc], eax
jne 0x4185ac
test ebx, ebx
jne 0x4185ac
lea eax, [ebp - 0x1c]
push eax
push 1
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x1c], 0x2e
call fcn.00401fa1
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00401be9
and dword [ebp - 4], 0
and dword [ebp - 8], 0
cmp dword [ebp - 0x20], 0
mov edi, 0x100
mov dword [ebp - 0x10], edi
mov esi, str.Backup
jne 0x418803
test ebx, ebx
jne 0x418803
mov ebx, dword [ebp - 0xc]
push 0x2001f
push ebx
push SysReAllocString
lea ecx, [ebp - 4]
call fcn.0040123d
test eax, eax
je 0x418610
lea ecx, [ebp - 8]
call fcn.00401226
lea ecx, [ebp - 4]
call fcn.00401226
lea ecx, [ebx - 0xc]
jmp 0x41886b
mov eax, dword [0x453170]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push edi
lea ecx, [ebp - 0x18]
call fcn.00401d43
push eax
mov ebx, 0x445354
push ebx
lea ecx, [ebp - 4]
call fcn.00401272
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00401d78
lea eax, [ebp - 0xc]
push eax
push str.Audio
lea ecx, [ebp - 0x1c]
call fcn.00401af2
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00408c68
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x41866c
call fcn.004013ad
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.0042e775
test eax, eax
pop ecx
pop ecx
jne 0x4187d4
push 0x2001f
push dword [ebp - 0x14]
lea ecx, [ebp - 8]
push SysReAllocString
call fcn.0040123d
test eax, eax
je 0x4186c9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x4186ad
call fcn.004013ad
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x418855
call fcn.004013ad
jmp 0x418855
mov eax, dword [0x453170]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], edi
call fcn.00401d43
push eax
push esi
lea ecx, [ebp - 4]
call fcn.00401272
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401d78
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00405924
test al, al
mov edi, dword [ebp - 0x1c]
je 0x41877e
push 0x2001f
push edi
push SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.0040123d
test eax, eax
jne 0x41877e
push 1
push edi
push ebx
lea ecx, [ebp - 4]
call fcn.0041251a
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 8]
call fcn.00401226
lea ecx, [ebp - 0x10]
call fcn.00401226
mov esi, dword [ebp - 0x14]
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], SysReAllocString
call fcn.00412eee
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
call fcn.00401226
lea ecx, [edi - 0xc]
cmp ecx, dword [0x453174]
je 0x418779
call fcn.004013ad
lea ecx, [esi - 0xc]
jmp 0x4187da
push 1
push edi
push ebx
lea ecx, [ebp - 4]
call fcn.0041251a
lea ecx, [ebp - 0x10]
call fcn.00401226
lea ecx, [edi - 0xc]
cmp ecx, dword [0x453174]
je 0x4187a2
call fcn.004013ad
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x4187bf
call fcn.004013ad
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x418821
call fcn.004013ad
jmp 0x418821
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x4187e7
call fcn.004013ad
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x418922
call fcn.004013ad
jmp 0x418922
push 0x2001f
push dword [ebp + 8]
lea ecx, [ebp - 8]
push SysReAllocString
call fcn.0040123d
test eax, eax
jne 0x418855
mov ebx, 0x445354
push str.CurVer
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x18], 0
mov edi, 0x2001f
push edi
push str.shell
push dword [ebp - 8]
lea ecx, [ebp - 0x18]
call fcn.0040123d
test eax, eax
lea ecx, [ebp - 0x18]
je 0x41887f
call fcn.00401226
lea ecx, [ebp - 8]
call fcn.00401226
lea ecx, [ebp - 4]
call fcn.00401226
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x418878
call fcn.004013ad
xor eax, eax
jmp 0x418948
push str.Playback
call fcn.00412eee
push str.PlayList
lea ecx, [ebp - 0x18]
call fcn.00412eee
cmp dword [ebp - 0x20], 0
je 0x41891a
and dword [ebp - 0x14], 0
push edi
push 0x4401cc
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.0040123d
test eax, eax
jne 0x418912
mov eax, dword [0x453170]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
push 0x10f
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x10e
call fcn.00401d43
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00401272
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401d78
mov edi, dword [ebp - 0x1c]
push 1
push edi
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041251a
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [edi - 0xc]
cmp ecx, dword [0x453174]
je 0x418912
call fcn.004013ad
lea ecx, [ebp - 0x14]
call fcn.00401226
lea ecx, [ebp - 0x18]
call fcn.00401226
lea ecx, [ebp - 8]
call fcn.00401226
lea ecx, [ebp - 4]
call fcn.00401226
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x418945
call fcn.004013ad
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret