Function at 0x10004b6f
Capabilities:
Delete registry value

Disassembly:
push 0x118
mov eax, 0x1004676e
call fcn.1002ddda
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [0x10059648], 0
call fcn.100014f1
pop ecx
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp byte [ebp - 0x60], 7
jne 0x10004ed0
push str.backupExts
push str.Softwareprojonepodlp_smpcache_
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0x1004a134
lea ecx, [ebp - 0x2c]
call fcn.10004ef5
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
call fcn.100016d9
pop ecx
pop ecx
mov bl, al
neg bl
push esi
sbb bl, bl
push 1
lea ecx, [ebp - 0x2c]
inc bl
mov byte [ebp - 4], 0
call fcn.100058ba
test bl, bl
jne 0x10004ed0
push str.BackupExtensions
lea ecx, [ebp - 0xfc]
call fcn.10004ef5
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 2
call fcn.100018dc
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.100058ba
cmp dword [ebp - 0x84], esi
je 0x10004ec0
lea eax, [ebp - 0xc0]
push eax
mov byte [0x10059648], 1
call fcn.1000517b
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
jmp 0x10004db6
lea esi, [ebp - 0x3c]
call fcn.10017ff8
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.100012fa
pop ecx
pop ecx
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], 8
jb 0x10004c9f
mov eax, dword [eax + 4]
jmp 0x10004ca2
add eax, 4
push str.__.
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1001560c
add esp, 0xc
push 0
push 1
lea esi, [ebp - 0x124]
mov byte [ebp - 4], 8
call fcn.10005a92
mov esi, dword [ebp - 0x74]
cmp esi, dword [ebp - 0x70]
jbe 0x10004cd4
call fcn.1002d258
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x74], esi
jbe 0x10004cea
call fcn.1002d258
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
jmp 0x10004d86
lea esi, [ebp - 0x34]
call fcn.1000bafe
push eax
lea esi, [ebp - 0x2c]
call fcn.10004f8a
lea eax, [ebp - 0xd0]
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.10004fd9
mov esi, eax
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0x2c]
call fcn.10004ff9
mov edi, eax
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x2c]
call fcn.10004fd9
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0xc8]
push eax
call fcn.1000877b
add esp, 0x1c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ebx, [ebp - 0x108]
call fcn.10005396
push 0
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.10005a92
lea esi, [ebp - 0x34]
call fcn.1000bb26
lea edi, [ebp - 0x4c]
lea esi, [ebp - 0x34]
call fcn.10005320
test al, al
jne 0x10004cf8
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 5
call fcn.10005dc5
push dword [ebp - 0x80]
call fcn.1002d292
pop ecx
lea esi, [ebp - 0x3c]
call fcn.100054e6
lea edi, [ebp - 0x44]
lea esi, [ebp - 0x3c]
call fcn.10018070
test al, al
je 0x10004c79
lea ecx, [ebp - 0xc0]
call fcn.10001e96
mov edi, 0x1005964c
push edi
mov dword [ebp - 0x30], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0xc0]
push eax
mov esi, 0x10059608
mov byte [ebp - 4], 0xa
call fcn.10005365
push edi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
push str.BackupCount
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], esi
call fcn.10004ef5
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xb
call fcn.10001707
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.100058ba
mov eax, dword [ebp - 0x30]
cmp eax, esi
jle 0x10004e48
cmp eax, 0xa
jle 0x10004e4b
push 5
pop eax
push eax
push 0x10049b44
push str.Softwareprojonepodlp_smprule_
call fcn.100157f5
push str.BackupOnModify
lea ecx, [ebp - 0x2c]
call fcn.10004ef5
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xc
call fcn.100016d9
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x2c]
mov bl, al
mov byte [ebp - 4], 5
call fcn.100058ba
test bl, bl
je 0x10004eb0
cmp byte [0x10056fe5], 0
je 0x10004eb0
push 0x1004a184
mov byte [0x10056fe5], 0
call fcn.10016ae0
pop ecx
call fcn.100034fa
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 4
call fcn.1000533d
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0
call fcn.100051b1
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x68]
call fcn.1001d30a
call fcn.1002de5d
ret