Function at 0x10004e84
Capabilities:
Delete registry value

Disassembly:
push 0x118
mov eax, 0x10047fb0
call fcn.1002f38a
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [0x1005c748], 0
call fcn.1000161b
pop ecx
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp byte [ebp - 0x60], 7
jne 0x100051e5
push str.backupExts
push str.Softwareprojonepodlp_smpcache_
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0x1004c184
lea ecx, [ebp - 0x2c]
call fcn.1000520a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
call fcn.10001803
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.10005c5b
test bl, bl
jne 0x100051e5
push str.BackupExtensions
lea ecx, [ebp - 0xfc]
call fcn.1000520a
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.10001a2d
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.10005c5b
cmp dword [ebp - 0x84], esi
je 0x100051d5
lea eax, [ebp - 0xc0]
push eax
mov byte [0x1005c748], 1
call fcn.100054cb
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 0x100050cb
lea esi, [ebp - 0x3c]
call fcn.1000cb79
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.100012dd
pop ecx
pop ecx
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], 8
jb 0x10004fb4
mov eax, dword [eax + 4]
jmp 0x10004fb7
add eax, 4
push str.__.
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10015baa
add esp, 0xc
push 0
push 1
lea esi, [ebp - 0x124]
mov byte [ebp - 4], 8
call fcn.10005e33
mov esi, dword [ebp - 0x74]
cmp esi, dword [ebp - 0x70]
jbe 0x10004fe9
call fcn.1002e810
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 0x10004fff
call fcn.1002e810
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
jmp 0x1000509b
lea esi, [ebp - 0x34]
call fcn.10009349
push eax
lea esi, [ebp - 0x2c]
call fcn.100052b6
lea eax, [ebp - 0xd0]
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.10005305
mov esi, eax
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0x2c]
call fcn.10005325
mov edi, eax
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x2c]
call fcn.10005305
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.10008a0c
add esp, 0x1c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ebx, [ebp - 0x108]
call fcn.100056a5
push 0
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.10005e33
lea esi, [ebp - 0x34]
call fcn.1000615c
lea edi, [ebp - 0x4c]
lea esi, [ebp - 0x34]
call fcn.1002a061
test al, al
jne 0x1000500d
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 5
call fcn.10006137
push dword [ebp - 0x80]
call fcn.1002e84a
pop ecx
lea esi, [ebp - 0x3c]
call fcn.100057f5
lea edi, [ebp - 0x44]
lea esi, [ebp - 0x3c]
call fcn.1001652a
test al, al
je 0x10004f8e
lea ecx, [ebp - 0xc0]
call fcn.100020f4
mov edi, 0x1005c74c
push edi
mov dword [ebp - 0x30], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0xc0]
push eax
mov esi, 0x1005c708
mov byte [ebp - 4], 0xa
call fcn.10005674
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.1000520a
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.10001831
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10005c5b
mov eax, dword [ebp - 0x30]
cmp eax, esi
jle 0x1000515d
cmp eax, 0xa
jle 0x10005160
push 5
pop eax
push eax
push 0x1004bb8c
push str.Softwareprojonepodlp_smprule_
call fcn.10015d93
push str.BackupOnModify
lea ecx, [ebp - 0x2c]
call fcn.1000520a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xc
call fcn.10001803
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x2c]
mov bl, al
mov byte [ebp - 4], 5
call fcn.10005c5b
test bl, bl
je 0x100051c5
cmp byte [0x1005a0e9], 0
je 0x100051c5
push 0x1004c1d4
mov byte [0x1005a0e9], 0
call fcn.10017071
pop ecx
call fcn.100036ef
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 4
call fcn.1000564c
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0
call fcn.10005501
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x68]
call fcn.1001d8e9
call fcn.1002f40d
ret