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

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.00467130
push 0xffffffffffffffff
push 0x488533
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4be8a0]
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.004292bb
mov esi, eax
cmp esi, ebx
jmp 0x42a4d0
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 0x42a0d1
test ebx, ebx
je 0x42a16b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004292bb
mov esi, eax
test esi, esi
jl 0x42a52b
cmp dword [ebp + 0x221c], 0
je 0x42a16b
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.0042924b
pop ecx
pop ecx
test eax, eax
jne 0x42a4de
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004293c9
test eax, eax
je 0x42a12c
mov eax, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call fcn.00429595
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp ebx, esi
je 0x42a163
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004292bb
mov esi, eax
test esi, esi
jl 0x42a4ed
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0042942a
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0040b8c2
test esi, esi
jl 0x42a52b
jmp 0x42a48e
lea ecx, [ebp - 0x24]
call fcn.0040b8c2
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42a191
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x28], eax
push edi
call fcn.004292bb
mov esi, eax
test esi, esi
jl 0x42a52b
push 0x4a0c70
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42a277
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.004292bb
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x42a52b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004292bb
mov esi, eax
cmp esi, ebx
jl 0x42a52b
cmp word [edi], 0x3d
jne 0x42a4e6
cmp dword [ebp + 0x221c], ebx
je 0x42a21b
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.00429d4b
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
lea ecx, [ebp - 0x38]
jl 0x42a526
mov byte [ebp - 4], bl
jmp 0x42a489
cmp dword [ebp + 0x2220], ebx
jne 0x42a269
cmp dword [ebp - 0x28], ebx
je 0x42a269
push 0x20006
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0040b881
cmp eax, ebx
jne 0x42a4f2
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x42a261
cmp eax, 2
jne 0x42a4f2
lea ecx, [ebp - 0x30]
call fcn.0040b8c2
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0042942a
jmp 0x42a098
push 0x5c
push edi
call fcn.0042924b
pop ecx
pop ecx
test eax, eax
jne 0x42a4e6
cmp dword [ebp + 0x221c], eax
je 0x42a30c
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040b881
test eax, eax
je 0x42a2d9
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040b881
test eax, eax
je 0x42a2d9
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.00428f7c
mov esi, eax
cmp esi, ebx
jne 0x42a4fe
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004292bb
mov esi, eax
test esi, esi
jl 0x42a52b
cmp word [edi], 0x3d
jne 0x42a48e
mov ecx, dword [ebp - 0x10]
push edi
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00429d4b
mov esi, eax
jmp 0x42a156
cmp dword [ebp + 0x2220], 0
jne 0x42a32a
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040b881
mov ebx, eax
jmp 0x42a32d
push 2
pop ebx
test ebx, ebx
je 0x42a33b
mov dword [ebp + 0x2220], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x2000]
push 0x104
push eax
call fcn.00468721
push eax
call fcn.0040262f
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.004292bb
mov esi, eax
test esi, esi
jl 0x42a52b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0042942a
mov esi, eax
test esi, esi
jl 0x42a52b
cmp word [edi], 0x7b
jne 0x42a3ca
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x42a3ca
push dword [ebp + 0x2220]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
push edi
call fcn.0042a02f
mov esi, eax
test esi, esi
jge 0x42a3b7
cmp dword [ebp + 0x2220], 0
je 0x42a52b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004292bb
mov esi, eax
test esi, esi
jl 0x42a52b
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x2220], eax
cmp ebx, 2
je 0x42a4d2
test ebx, ebx
je 0x42a3f6
test eax, eax
jne 0x42a4d2
push ebx
call fcn.00428eb4
pop ecx
mov esi, eax
jmp 0x42a52b
test eax, eax
je 0x42a43e
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.004293f5
test eax, eax
je 0x42a43e
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2000]
push eax
call fcn.004293c9
test eax, eax
je 0x42a4d2
cmp dword [ebp - 0x28], 0
je 0x42a4d2
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00429595
jmp 0x42a4d2
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.004293f5
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], eax
call fcn.0040b8c2
mov ebx, eax
test ebx, ebx
jne 0x42a50f
cmp dword [ebp - 0x28], eax
je 0x42a4d2
cmp dword [ebp - 0x48], eax
jne 0x42a4d2
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 0x42a51a
lea ecx, [ebp - 0x40]
call fcn.0040b8c2
cmp dword [ebp + 0x221c], 0
je 0x42a4d2
cmp word [edi], 0x7b
jne 0x42a4d2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x42a4d2
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp + 0x221c]
push dword [ebp - 0x1c]
push edi
call fcn.0042a02f
mov esi, eax
test esi, esi
jl 0x42a52b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004292bb
mov esi, eax
test esi, esi
jl 0x42a52b
cmp word [edi], 0x7d
jne 0x42a0a1
jmp 0x42a52b
lea ecx, [ebp - 0x24]
call fcn.0040b8c2
mov esi, 0x80020009
jmp 0x42a52b
lea ecx, [ebp - 0x24]
jmp 0x42a526
push eax
call fcn.00428eb4
pop ecx
lea ecx, [ebp - 0x30]
jmp 0x42a524
lea ecx, [ebp - 0x1c]
call fcn.0040b8c2
push esi
call fcn.00428eb4
pop ecx
jmp 0x42a535
lea ecx, [ebp - 0x1c]
call fcn.0040b8c2
push ebx
jmp 0x42a507
push eax
call fcn.00428eb4
pop ecx
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0040b8c2
lea ecx, [ebp - 0x1c]
call fcn.0040b8c2
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.0046711a
add ebp, 0x220c
leave
ret 0x10