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

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.0044b870
push 0xffffffffffffffff
push 0x4624f0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x47dad4]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x2218]
mov edi, dword [ebp + 0x2214]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0x2220]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], eax
call fcn.00429450
mov esi, eax
cmp esi, ebx
jmp 0x42a6be
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x28], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x42a2bf
test ebx, ebx
je 0x42a359
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00429450
mov esi, eax
test esi, esi
jl 0x42a719
cmp dword [ebp + 0x221c], 0
je 0x42a359
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.004293e0
pop ecx
pop ecx
test eax, eax
jne 0x42a6cc
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0042955e
test eax, eax
je 0x42a31a
mov eax, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call fcn.004296ee
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp ebx, esi
je 0x42a351
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00429450
mov esi, eax
test esi, esi
jl 0x42a6db
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004295bf
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.004290c1
test esi, esi
jl 0x42a719
jmp 0x42a67c
lea ecx, [ebp - 0x24]
call fcn.004290c1
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x42a37f
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x28], eax
push edi
call fcn.00429450
mov esi, eax
test esi, esi
jl 0x42a719
push 0x468dc4
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x42a465
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.00429450
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x42a719
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00429450
mov esi, eax
cmp esi, ebx
jl 0x42a719
cmp word [edi], 0x3d
jne 0x42a6d4
cmp dword [ebp + 0x221c], ebx
je 0x42a409
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], ebx
call fcn.00429f39
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
lea ecx, [ebp - 0x38]
jl 0x42a714
mov byte [ebp - 4], bl
jmp 0x42a677
cmp dword [ebp + 0x2220], ebx
jne 0x42a457
cmp dword [ebp - 0x28], ebx
je 0x42a457
push 0x20006
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0042912a
cmp eax, ebx
jne 0x42a6e0
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x42a44f
cmp eax, 2
jne 0x42a6e0
lea ecx, [ebp - 0x30]
call fcn.004290c1
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004295bf
jmp 0x42a286
push 0x5c
push edi
call fcn.004293e0
pop ecx
pop ecx
test eax, eax
jne 0x42a6d4
cmp dword [ebp + 0x221c], eax
je 0x42a4fa
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0042912a
test eax, eax
je 0x42a4c7
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0042912a
test eax, eax
je 0x42a4c7
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.004290dc
mov esi, eax
cmp esi, ebx
jne 0x42a6ec
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00429450
mov esi, eax
test esi, esi
jl 0x42a719
cmp word [edi], 0x3d
jne 0x42a67c
mov ecx, dword [ebp - 0x10]
push edi
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00429f39
mov esi, eax
jmp 0x42a344
cmp dword [ebp + 0x2220], 0
jne 0x42a518
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0042912a
mov ebx, eax
jmp 0x42a51b
push 2
pop ebx
test ebx, ebx
je 0x42a529
mov dword [ebp + 0x2220], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x2000]
push 0x104
push eax
call fcn.0044c8ac
push eax
call fcn.00420aa1
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.00429450
mov esi, eax
test esi, esi
jl 0x42a719
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004295bf
mov esi, eax
test esi, esi
jl 0x42a719
cmp word [edi], 0x7b
jne 0x42a5b8
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 1
jne 0x42a5b8
push dword [ebp + 0x2220]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
push edi
call fcn.0042a21d
mov esi, eax
test esi, esi
jge 0x42a5a5
cmp dword [ebp + 0x2220], 0
je 0x42a719
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00429450
mov esi, eax
test esi, esi
jl 0x42a719
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x2220], eax
cmp ebx, 2
je 0x42a6c0
test ebx, ebx
je 0x42a5e4
test eax, eax
jne 0x42a6c0
push ebx
call fcn.00428ff9
pop ecx
mov esi, eax
jmp 0x42a719
test eax, eax
je 0x42a62c
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.0042958a
test eax, eax
je 0x42a62c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2000]
push eax
call fcn.0042955e
test eax, eax
je 0x42a6c0
cmp dword [ebp - 0x28], 0
je 0x42a6c0
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004296ee
jmp 0x42a6c0
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.0042958a
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], eax
call fcn.004290c1
mov ebx, eax
test ebx, ebx
jne 0x42a6fd
cmp dword [ebp - 0x28], eax
je 0x42a6c0
cmp dword [ebp - 0x48], eax
jne 0x42a6c0
lea eax, [ebp + 0x2000]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x40], ebx
and dword [ebp - 0x3c], ebx
test eax, eax
jne 0x42a708
lea ecx, [ebp - 0x40]
call fcn.004290c1
cmp dword [ebp + 0x221c], 0
je 0x42a6c0
cmp word [edi], 0x7b
jne 0x42a6c0
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 1
jne 0x42a6c0
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp + 0x221c]
push dword [ebp - 0x1c]
push edi
call fcn.0042a21d
mov esi, eax
test esi, esi
jl 0x42a719
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00429450
mov esi, eax
test esi, esi
jl 0x42a719
cmp word [edi], 0x7d
jne 0x42a28f
jmp 0x42a719
lea ecx, [ebp - 0x24]
call fcn.004290c1
mov esi, 0x80020009
jmp 0x42a719
lea ecx, [ebp - 0x24]
jmp 0x42a714
push eax
call fcn.00428ff9
pop ecx
lea ecx, [ebp - 0x30]
jmp 0x42a712
lea ecx, [ebp - 0x1c]
call fcn.004290c1
push esi
call fcn.00428ff9
pop ecx
jmp 0x42a723
lea ecx, [ebp - 0x1c]
call fcn.004290c1
push ebx
jmp 0x42a6f5
push eax
call fcn.00428ff9
pop ecx
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.004290c1
lea ecx, [ebp - 0x1c]
call fcn.004290c1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.0044a6c9
add ebp, 0x220c
leave
ret 0x10