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

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.00484d50
push 0xffffffffffffffff
push 0x4b3db8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4e97d0]
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.00418cfc
mov esi, eax
cmp esi, ebx
jmp 0x41a70a
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 0x41a30b
test ebx, ebx
je 0x41a3a5
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00418cfc
mov esi, eax
test esi, esi
jl 0x41a765
cmp dword [ebp + 0x221c], 0
je 0x41a3a5
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.00418c7d
pop ecx
pop ecx
test eax, eax
jne 0x41a718
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00418e0a
test eax, eax
je 0x41a366
mov eax, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call fcn.004190c5
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp ebx, esi
je 0x41a39d
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00418cfc
mov esi, eax
test esi, esi
jl 0x41a727
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00418e6b
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.004126c0
test esi, esi
jl 0x41a765
jmp 0x41a6c8
lea ecx, [ebp - 0x24]
call fcn.004126c0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41a3cb
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x28], eax
push edi
call fcn.00418cfc
mov esi, eax
test esi, esi
jl 0x41a765
push 0x4cd97c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41a4b1
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.00418cfc
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x41a765
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00418cfc
mov esi, eax
cmp esi, ebx
jl 0x41a765
cmp word [edi], 0x3d
jne 0x41a720
cmp dword [ebp + 0x221c], ebx
je 0x41a455
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.00419f85
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
lea ecx, [ebp - 0x38]
jl 0x41a760
mov byte [ebp - 4], bl
jmp 0x41a6c3
cmp dword [ebp + 0x2220], ebx
jne 0x41a4a3
cmp dword [ebp - 0x28], ebx
je 0x41a4a3
push 0x20006
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0041898e
cmp eax, ebx
jne 0x41a72c
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x41a49b
cmp eax, 2
jne 0x41a72c
lea ecx, [ebp - 0x30]
call fcn.004126c0
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00418e6b
jmp 0x41a2d2
push 0x5c
push edi
call fcn.00418c7d
pop ecx
pop ecx
test eax, eax
jne 0x41a720
cmp dword [ebp + 0x221c], eax
je 0x41a546
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0041898e
test eax, eax
je 0x41a513
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0041898e
test eax, eax
je 0x41a513
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.00418940
mov esi, eax
cmp esi, ebx
jne 0x41a738
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00418cfc
mov esi, eax
test esi, esi
jl 0x41a765
cmp word [edi], 0x3d
jne 0x41a6c8
mov ecx, dword [ebp - 0x10]
push edi
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00419f85
mov esi, eax
jmp 0x41a390
cmp dword [ebp + 0x2220], 0
jne 0x41a564
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0041898e
mov ebx, eax
jmp 0x41a567
push 2
pop ebx
test ebx, ebx
je 0x41a575
mov dword [ebp + 0x2220], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x2000]
push 0x104
push eax
call fcn.0048573e
push eax
call fcn.0040db10
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.00418cfc
mov esi, eax
test esi, esi
jl 0x41a765
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00418e6b
mov esi, eax
test esi, esi
jl 0x41a765
cmp word [edi], 0x7b
jne 0x41a604
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x41a604
push dword [ebp + 0x2220]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
push edi
call fcn.0041a269
mov esi, eax
test esi, esi
jge 0x41a5f1
cmp dword [ebp + 0x2220], 0
je 0x41a765
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00418cfc
mov esi, eax
test esi, esi
jl 0x41a765
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x2220], eax
cmp ebx, 2
je 0x41a70c
test ebx, ebx
je 0x41a630
test eax, eax
jne 0x41a70c
push ebx
call fcn.00418846
pop ecx
mov esi, eax
jmp 0x41a765
test eax, eax
je 0x41a678
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.00418e36
test eax, eax
je 0x41a678
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2000]
push eax
call fcn.00418e0a
test eax, eax
je 0x41a70c
cmp dword [ebp - 0x28], 0
je 0x41a70c
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004190c5
jmp 0x41a70c
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.00418e36
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], eax
call fcn.004126c0
mov ebx, eax
test ebx, ebx
jne 0x41a749
cmp dword [ebp - 0x28], eax
je 0x41a70c
cmp dword [ebp - 0x48], eax
jne 0x41a70c
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 0x41a754
lea ecx, [ebp - 0x40]
call fcn.004126c0
cmp dword [ebp + 0x221c], 0
je 0x41a70c
cmp word [edi], 0x7b
jne 0x41a70c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x41a70c
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp + 0x221c]
push dword [ebp - 0x1c]
push edi
call fcn.0041a269
mov esi, eax
test esi, esi
jl 0x41a765
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00418cfc
mov esi, eax
test esi, esi
jl 0x41a765
cmp word [edi], 0x7d
jne 0x41a2db
jmp 0x41a765
lea ecx, [ebp - 0x24]
call fcn.004126c0
mov esi, 0x80020009
jmp 0x41a765
lea ecx, [ebp - 0x24]
jmp 0x41a760
push eax
call fcn.00418846
pop ecx
lea ecx, [ebp - 0x30]
jmp 0x41a75e
lea ecx, [ebp - 0x1c]
call fcn.004126c0
push esi
call fcn.00418846
pop ecx
jmp 0x41a76f
lea ecx, [ebp - 0x1c]
call fcn.004126c0
push ebx
jmp 0x41a741
push eax
call fcn.00418846
pop ecx
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.004126c0
lea ecx, [ebp - 0x1c]
call fcn.004126c0
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.00484647
add ebp, 0x220c
leave
ret 0x10