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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push str.AudioCD
push dword [ebp + 8]
call edi
mov esi, eax
neg esi
sbb esi, esi
push str.Directory
push dword [ebp + 8]
inc esi
mov dword [ebp - 0x28], esi
call edi
add esp, 0x10
mov edi, eax
mov eax, dword [0x4e4150]
neg edi
sbb edi, edi
inc edi
test esi, esi
mov dword [ebp - 0x10], eax
jne 0x4789ba
test edi, edi
jne 0x4789ba
lea eax, [ebp - 4]
push eax
xor eax, eax
inc eax
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 0x2e
call fcn.004033dd
mov esi, dword [ebp - 0x28]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00403081
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
test esi, esi
mov dword [ebp - 0x1c], 0x100
mov ebx, 0x4ce228
jne 0x478d07
test edi, edi
jne 0x478d07
mov esi, dword [ebp - 0x10]
push 0x2001f
push esi
push Ordinal_2
lea eax, [ebp - 8]
call fcn.00401221
test eax, eax
je 0x478a1a
cmp dword [ebp - 8], edi
je 0x478a12
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0xc]
jmp 0x478cb8
mov eax, dword [0x4e4150]
mov dword [ebp - 0x18], eax
mov eax, 0x100
lea ecx, [ebp - 0x18]
call fcn.004030e2
push 0x4c91aa
lea ecx, [ebp - 8]
push ecx
lea esi, [ebp - 0x1c]
mov edi, eax
call fcn.00401254
or eax, 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040310e
push str.Audio
lea edi, [ebp - 0x24]
call fcn.00402faf
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.0040316e
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x478a7d
push eax
call fcn.00401377
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.MSVCRT.dll__mbsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x478ccd
push 0x2001f
push esi
push Ordinal_2
lea eax, [ebp - 0xc]
call fcn.00401221
test eax, eax
je 0x478af3
lea eax, [esi - 0xc]
cmp eax, dword [0x4e4154]
je 0x478abd
push eax
call fcn.00401377
lea eax, [edi - 0xc]
cmp eax, dword [0x4e4154]
je 0x478ace
push eax
call fcn.00401377
cmp dword [ebp - 0xc], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x478adf
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 8], 0
je 0x478cb2
push dword [ebp - 8]
call esi
jmp 0x478cb2
mov eax, dword [0x4e4150]
mov dword [ebp - 0x24], eax
mov eax, 0x100
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
call fcn.004030e2
push ebx
lea ecx, [ebp - 8]
push ecx
lea esi, [ebp - 0x1c]
mov edi, eax
call fcn.00401254
or eax, 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040310e
mov esi, dword [ebp - 0x24]
and dword [ebp - 0x14], 0
push esi
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.dll__mbscmp]
test eax, eax
pop ecx
pop ecx
je 0x478bfb
push 0x2001f
push esi
mov edi, Ordinal_2
push edi
lea eax, [ebp - 0x14]
call fcn.00401221
test eax, eax
jne 0x478bfb
push 1
push esi
push 0x4c91aa
lea eax, [ebp - 8]
push eax
call fcn.0046c568
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp - 0xc], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x478b8c
push dword [ebp - 0xc]
call ebx
and dword [ebp - 0xc], 0
cmp dword [ebp - 0x14], 0
je 0x478b97
push dword [ebp - 0x14]
call ebx
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x20]
push edi
lea ecx, [ebp - 0x14]
call fcn.0046c590
add esi, 0xfffffff4
cmp esi, dword [0x4e4154]
je 0x478bb7
push esi
call fcn.00401377
lea eax, [edi - 0xc]
cmp eax, dword [0x4e4154]
je 0x478bc8
push eax
call fcn.00401377
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x478bdc
push eax
call fcn.00401377
cmp dword [ebp - 0xc], 0
je 0x478be7
push dword [ebp - 0xc]
call ebx
cmp dword [ebp - 8], 0
je 0x478e12
push dword [ebp - 8]
call ebx
jmp 0x478e12
push 1
push esi
push 0x4c91aa
lea eax, [ebp - 8]
push eax
call fcn.0046c568
cmp dword [ebp - 0x14], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x478c1d
push dword [ebp - 0x14]
call edi
lea eax, [esi - 0xc]
cmp eax, dword [0x4e4154]
je 0x478c2e
push eax
call fcn.00401377
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x478c4c
push eax
call fcn.00401377
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x478c60
push eax
call fcn.00401377
mov esi, dword [ebp - 0x28]
push 0x4ce230
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
and dword [ebp - 0x14], 0
push 0x2001f
push str.shell
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
call fcn.00401221
test eax, eax
je 0x478d3c
xor esi, esi
cmp dword [ebp - 0x14], esi
je 0x478c9e
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0xc], esi
je 0x478ca8
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 8], esi
je 0x478cb2
push dword [ebp - 8]
call edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x478cc6
push eax
call fcn.00401377
xor eax, eax
jmp 0x478e29
lea eax, [esi - 0xc]
cmp eax, dword [0x4e4154]
je 0x478cde
push eax
call fcn.00401377
lea eax, [edi - 0xc]
cmp eax, dword [0x4e4154]
je 0x478cef
push eax
call fcn.00401377
cmp dword [ebp - 8], 0
je 0x478e12
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x478e12
push 0x2001f
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push Ordinal_2
call fcn.00401221
test eax, eax
je 0x478d31
cmp dword [ebp - 0xc], 0
je 0x478cb2
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x478cb2
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x478c63
push str.Playback
lea ecx, [ebp - 0x14]
call fcn.0046c590
push str.PlayList
lea ecx, [ebp - 0x14]
call fcn.0046c590
test esi, esi
je 0x478df1
and dword [ebp - 0x18], 0
push 0x2001f
push str.opencommand
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.00401221
test eax, eax
jne 0x478de6
mov eax, dword [0x4e4150]
mov dword [ebp - 0x28], eax
mov eax, 0x10f
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], 0x10e
call fcn.004030e2
push ebx
lea ecx, [ebp - 0x18]
push ecx
lea esi, [ebp - 0x1c]
mov edi, eax
call fcn.00401254
or eax, 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040310e
mov esi, dword [ebp - 0x28]
push 1
push esi
push 0x4c91aa
lea eax, [ebp - 0x18]
push eax
call fcn.0046c568
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [esi - 0xc]
cmp eax, dword [0x4e4154]
je 0x478de0
push eax
call fcn.00401377
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 0
je 0x478df1
push dword [ebp - 0x18]
call edi
cmp dword [ebp - 0x14], 0
je 0x478dfc
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0xc], 0
je 0x478e07
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 8], 0
je 0x478e12
push dword [ebp - 8]
call edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x478e26
push eax
call fcn.00401377
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret