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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x225c
call fcn.00432530
mov eax, dword [0x475668]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2214], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x2210], ecx
mov dword [ebp - 0x2220], ebx
mov dword [ebp - 0x221c], ebx
mov dword [ebp - 0x2218], ebx
mov dword [ebp - 0x224c], eax
call fcn.0042c782
mov esi, eax
cmp esi, ebx
jl 0x42dd9c
jmp 0x42dd31
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x2230], 1
call esi
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x42d83f
test ebx, ebx
je 0x42d916
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0042c782
mov esi, eax
test esi, esi
js 0x42dd9c
cmp dword [ebp + 0x10], 0
je 0x42d916
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
call fcn.0042c6fb
pop ecx
pop ecx
test eax, eax
jne 0x42dd3d
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0042c898
test eax, eax
je 0x42d8cb
mov eax, dword [ebp - 0x2214]
push edi
lea ecx, [ebp - 0x222c]
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
call fcn.0042cb94
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
cmp ebx, esi
je 0x42d90b
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0042c782
mov esi, eax
test esi, esi
js 0x42dd4f
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0042c8fc
lea ecx, [ebp - 0x222c]
mov esi, eax
call fcn.0042c35e
test esi, esi
js 0x42dd9c
jmp 0x42dcea
lea ecx, [ebp - 0x222c]
call fcn.0042c35e
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42d942
mov ecx, dword [ebp - 0x2210]
and dword [ebp - 0x2230], eax
push edi
call fcn.0042c782
mov esi, eax
test esi, esi
js 0x42dd9c
push 0x466c20
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42da71
mov ecx, dword [ebp - 0x2210]
lea eax, [ebp - 0x220c]
push eax
call fcn.0042c782
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x42dd9c
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0042c782
mov esi, eax
cmp esi, ebx
jl 0x42dd9c
cmp word [edi], 0x3d
jne 0x42dd48
cmp dword [ebp + 0x10], ebx
je 0x42d9f7
mov eax, dword [ebp - 0x2214]
mov ecx, dword [ebp - 0x2210]
mov dword [ebp - 0x223c], eax
push edi
lea eax, [ebp - 0x220c]
push eax
lea eax, [ebp - 0x223c]
push eax
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.0042d4bd
lea ecx, [ebp - 0x223c]
mov esi, eax
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.0042c35e
cmp esi, ebx
jl 0x42dd9c
jmp 0x42dcea
cmp dword [ebp + 0x14], ebx
jne 0x42da60
cmp dword [ebp - 0x2230], ebx
je 0x42da60
push 0x20006
push ebx
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2248]
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 0x2240], ebx
call fcn.0042c3d5
cmp eax, ebx
jne 0x42dd57
lea eax, [ebp - 0x220c]
push eax
push dword [ebp - 0x2248]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x42da55
cmp eax, 2
jne 0x42dd57
lea ecx, [ebp - 0x2248]
call fcn.0042c35e
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0042c8fc
jmp 0x42d7ff
push 0x5c
push edi
call fcn.0042c6fb
pop ecx
pop ecx
test eax, eax
jne 0x42dd48
cmp dword [ebp + 0x10], eax
je 0x42db22
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.0042c3d5
test eax, eax
je 0x42dae6
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.0042c3d5
test eax, eax
je 0x42dae6
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.0042c379
mov esi, eax
cmp esi, ebx
jne 0x42dd66
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0042c782
mov esi, eax
test esi, esi
js 0x42dd9c
cmp word [edi], 0x3d
jne 0x42dcea
mov ecx, dword [ebp - 0x2210]
push edi
push 0
lea eax, [ebp - 0x2220]
push eax
call fcn.0042d4bd
mov esi, eax
jmp 0x42d8fe
cmp dword [ebp + 0x14], 0
jne 0x42db43
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.0042c3d5
mov ebx, eax
jmp 0x42db46
push 2
pop ebx
test ebx, ebx
je 0x42db51
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00431b12
push eax
call fcn.00429b3c
mov ecx, dword [ebp - 0x2210]
add esp, 0x14
push edi
call fcn.0042c782
mov esi, eax
test esi, esi
js 0x42dd9c
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0042c8fc
mov esi, eax
test esi, esi
js 0x42dd9c
cmp word [edi], 0x7b
jne 0x42dbe9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x42dbe9
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp - 0x2220]
push edi
call fcn.0042d7b0
mov esi, eax
test esi, esi
jns 0x42dbd3
cmp dword [ebp + 0x14], 0
je 0x42dd9c
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0042c782
mov esi, eax
test esi, esi
js 0x42dd9c
mov eax, dword [ebp - 0x224c]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x42dd31
test ebx, ebx
je 0x42dc15
test eax, eax
jne 0x42dd31
push ebx
call fcn.0042c0f6
pop ecx
mov esi, eax
jmp 0x42dd9c
test eax, eax
je 0x42dc6c
push dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x2210]
call fcn.0042c8c7
test eax, eax
je 0x42dc6c
mov ecx, dword [ebp - 0x2210]
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c898
test eax, eax
je 0x42dd31
cmp dword [ebp - 0x2230], 0
je 0x42dd31
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2220]
call fcn.0042cb94
jmp 0x42dd31
push dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x2210]
call fcn.0042c8c7
lea ecx, [ebp - 0x2220]
mov dword [ebp - 0x2250], eax
call fcn.0042c35e
mov ebx, eax
test ebx, ebx
jne 0x42dd7a
cmp dword [ebp - 0x2230], eax
je 0x42dd31
cmp dword [ebp - 0x2250], eax
jne 0x42dd31
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x2214]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor ecx, ecx
mov dword [ebp - 0x225c], ecx
mov dword [ebp - 0x2258], ecx
mov dword [ebp - 0x2254], ecx
cmp eax, ecx
jne 0x42dd88
lea ecx, [ebp - 0x225c]
call fcn.0042c35e
cmp dword [ebp + 0x10], 0
je 0x42dd31
cmp word [edi], 0x7b
jne 0x42dd31
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x42dd31
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x2220]
push edi
call fcn.0042d7b0
mov esi, eax
test esi, esi
js 0x42dd9c
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0042c782
mov esi, eax
test esi, esi
js 0x42dd9c
cmp word [edi], 0x7d
jne 0x42d80e
jmp 0x42dd9c
lea ecx, [ebp - 0x222c]
call fcn.0042c35e
mov esi, 0x80020009
jmp 0x42dd9c
lea ecx, [ebp - 0x222c]
jmp 0x42dd97
push eax
call fcn.0042c0f6
pop ecx
lea ecx, [ebp - 0x2248]
jmp 0x42dd95
lea ecx, [ebp - 0x2220]
call fcn.0042c35e
push esi
call fcn.0042c0f6
pop ecx
jmp 0x42dda9
lea ecx, [ebp - 0x2220]
call fcn.0042c35e
push ebx
jmp 0x42dd72
push eax
call fcn.0042c0f6
pop ecx
lea ecx, [ebp - 0x225c]
mov esi, eax
call fcn.0042c35e
lea ecx, [ebp - 0x2220]
call fcn.0042c35e
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004319f9
leave
ret 0x10