Function at 0x5a93ef
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
push str.AudioCD
push edi
mov dword [ebp - 0x18], edi
call fcn.005144ec
mov esi, eax
xor eax, eax
test esi, esi
push str.Directory
sete al
push edi
mov dword [ebp - 0x14], eax
call fcn.005144ec
mov ecx, dword [0x668294]
add esp, 0x10
neg eax
mov dword [ebp - 0x10], ecx
sbb eax, eax
inc eax
mov dword [ebp - 8], eax
test esi, esi
je 0x5a9450
test eax, eax
jne 0x5a9450
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x2e
push eax
push 1
lea ecx, [ebp - 0x10]
call fcn.0040f513
xor ebx, ebx
test edi, edi
jne 0x5a945a
mov eax, ebx
jmp 0x5a9461
push edi
call fcn.00505bb3
pop ecx
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f454
mov edi, ebx
mov dword [ebp - 0xc], 0x100
mov dword [ebp - 4], edi
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
test edi, edi
jne 0x5a97e7
cmp dword [ebp - 8], ebx
jne 0x5a97e7
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
push 0x2001f
push esi
push SysReAllocString
call fcn.00413668
test eax, eax
jne 0x5a97b1
mov eax, dword [0x668294]
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x100
call fcn.0040ceb7
push eax
push 0x6349bc
lea ecx, [ebp - 0x30]
call fcn.004136c4
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.0040ce81
push str.Audio
lea ecx, [ebp - 0x18]
call fcn.0040d2ee
mov ecx, dword [0x668294]
push esi
push dword [esi - 8]
mov eax, dword [eax]
push eax
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
push dword [eax - 8]
call fcn.0040f4c7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x5a9527
call fcn.00407965
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
push esi
push edi
call fcn.005144ec
pop ecx
pop ecx
test eax, eax
jne 0x5a9637
push 0x2001f
push edi
push SysReAllocString
lea ecx, [ebp - 0x3c]
call fcn.00413668
test eax, eax
je 0x5a9560
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
jmp 0x5a963a
mov eax, dword [0x668294]
mov ecx, 0x100
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ecx
push ecx
lea ecx, [ebp - 4]
call fcn.0040ceb7
push eax
push str.Backup
lea ecx, [ebp - 0x30]
call fcn.004136c4
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.0040ce81
mov esi, dword [ebp - 4]
push esi
push edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.005073b0
pop ecx
pop ecx
test eax, eax
je 0x5a9663
push 0x2001f
push esi
push SysReAllocString
lea ecx, [ebp - 0x24]
call fcn.00413668
test eax, eax
jne 0x5a9663
push ecx
push esi
push 0x6349bc
lea ecx, [ebp - 0x30]
call fcn.0048053a
push str.Backup
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
test eax, eax
je 0x5a9600
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x24], ebx
je 0x5a960e
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], SysReAllocString
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00480573
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x5a9634
call fcn.00407965
mov esi, dword [ebp - 8]
xor ebx, ebx
inc ebx
lea ecx, [edi - 0xc]
cmp ecx, 0x668010
je 0x5a964a
call fcn.00407965
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x5a97b1
call fcn.00407965
jmp 0x5a97b1
push ecx
push esi
push 0x6349bc
lea ecx, [ebp - 0x30]
call fcn.0048053a
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x5a9680
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi - 0xc]
mov esi, 0x668010
cmp ecx, esi
je 0x5a9691
call fcn.00407965
push str.Backup
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [edi - 0xc]
cmp ecx, esi
je 0x5a96ab
call fcn.00407965
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff4
cmp ecx, esi
je 0x5a96ba
call fcn.00407965
mov edi, dword [ebp - 0x14]
push 0x63b5f8
lea ecx, [ebp - 0x3c]
call fcn.004803ef
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x24]
mov esi, 0x2001f
mov dword [ebp - 0x24], ebx
push esi
push str.shell
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], eax
call fcn.00413668
test eax, eax
jne 0x5a97a9
push 0x63be88
lea ecx, [ebp - 0x24]
call fcn.00480573
push 0x63a8d4
lea ecx, [ebp - 0x24]
call fcn.00480573
test edi, edi
je 0x5a97a6
push esi
push str.opencommand
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.00413668
mov edi, dword [ebp - 0x3c]
test eax, eax
jne 0x5a979b
mov eax, dword [0x668294]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
push 0x10f
mov dword [ebp - 0xc], 0x10e
call fcn.0040ceb7
push eax
mov ebx, str.Backup
lea ecx, [ebp - 0x3c]
push ebx
call fcn.004136c4
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040ce81
mov esi, dword [ebp - 0x14]
push ecx
push esi
push 0x6349bc
lea ecx, [ebp - 0x3c]
call fcn.0048053a
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x5a979b
call fcn.00407965
test edi, edi
je 0x5a97a6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x24]
call fcn.0041364e
mov eax, dword [ebp - 4]
test eax, eax
je 0x5a97bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x5a97cd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x5a97e0
call fcn.00407965
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
push 0x2001f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push SysReAllocString
call fcn.00413668
test eax, eax
je 0x5a96bd
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
jmp 0x5a97b1