Function at 0x10004ca3
Capabilities:
Delete registry value

Disassembly:
push 0x118
mov eax, 0x10046f40
call fcn.1002e47a
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [0x1005b748], 0
call fcn.1000156a
pop ecx
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp byte [ebp - 0x60], 7
jne 0x10005004
push str.backupExts
push str.Softwareprojonepodlp_smpcache_
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0x1004b17c
lea ecx, [ebp - 0x2c]
call fcn.10005029
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
call fcn.10001752
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.10005a12
test bl, bl
jne 0x10005004
push str.BackupExtensions
lea ecx, [ebp - 0xfc]
call fcn.10005029
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.1000197c
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.10005a12
cmp dword [ebp - 0x84], esi
je 0x10004ff4
lea eax, [ebp - 0xc0]
push eax
mov byte [0x1005b748], 1
call fcn.100052a5
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 0x10004eea
lea esi, [ebp - 0x3c]
call fcn.10013ac5
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.1000125f
pop ecx
pop ecx
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], 8
jb 0x10004dd3
mov eax, dword [eax + 4]
jmp 0x10004dd6
add eax, 4
push str.__.
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10015813
add esp, 0xc
push 0
push 1
lea esi, [ebp - 0x124]
mov byte [ebp - 4], 8
call fcn.10005bea
mov esi, dword [ebp - 0x74]
cmp esi, dword [ebp - 0x70]
jbe 0x10004e08
call fcn.1002d8f8
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 0x10004e1e
call fcn.1002d8f8
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
jmp 0x10004eba
lea esi, [ebp - 0x34]
call fcn.10005f13
push eax
lea esi, [ebp - 0x2c]
call fcn.100050b4
lea eax, [ebp - 0xd0]
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.10005103
mov esi, eax
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0x2c]
call fcn.10005123
mov edi, eax
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x2c]
call fcn.10005103
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.10008894
add esp, 0x1c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ebx, [ebp - 0x108]
call fcn.100054c0
push 0
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.10005bea
lea esi, [ebp - 0x34]
call fcn.10005f3b
lea edi, [ebp - 0x4c]
lea esi, [ebp - 0x34]
call fcn.1000544a
test al, al
jne 0x10004e2c
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 5
call fcn.10005eee
push dword [ebp - 0x80]
call fcn.1002d932
pop ecx
lea esi, [ebp - 0x3c]
call fcn.10005610
lea edi, [ebp - 0x44]
lea esi, [ebp - 0x3c]
call fcn.1000bfa1
test al, al
je 0x10004dad
lea ecx, [ebp - 0xc0]
call fcn.10002043
mov edi, 0x1005b74c
push edi
mov dword [ebp - 0x30], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0xc0]
push eax
mov esi, 0x1005b708
mov byte [ebp - 4], 0xa
call fcn.1000548f
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.10005029
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.10001780
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10005a12
mov eax, dword [ebp - 0x30]
cmp eax, esi
jle 0x10004f7c
cmp eax, 0xa
jle 0x10004f7f
push 5
pop eax
push eax
push 0x1004ab8c
push str.Softwareprojonepodlp_smprule_
call fcn.100159fc
push str.BackupOnModify
lea ecx, [ebp - 0x2c]
call fcn.10005029
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xc
call fcn.10001752
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x2c]
mov bl, al
mov byte [ebp - 4], 5
call fcn.10005a12
test bl, bl
je 0x10004fe4
cmp byte [0x100590e9], 0
je 0x10004fe4
push 0x1004b1cc
mov byte [0x100590e9], 0
call fcn.10016d40
pop ecx
call fcn.1000363e
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 4
call fcn.10005467
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0
call fcn.100052db
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x68]
call fcn.1001d5a3
call fcn.1002e4fd
ret