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

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x429060]
and dword [ebp - 0x6c], 0
xor eax, ebp
mov dword [ebp + 0x1a0], eax
mov eax, dword [ebp + 0x1b0]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1b8]
push ebx
mov ebx, dword [ebp + 0x1ac]
mov dword [ebp - 0x80], eax
push esi
mov eax, ebx
mov dword [ebp - 0x70], ecx
call fcn.0041c4b1
mov esi, eax
test esi, esi
jge 0x41c612
jmp 0x41c979
cmp byte [ebx], 0x7d
push edi
je 0x41c976
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Delete
push ebx
mov dword [ebp - 0x74], 1
call esi
mov edi, eax
neg edi
push str.ForceRemove
sbb edi, edi
push ebx
inc edi
call esi
test eax, eax
je 0x41c648
test edi, edi
je 0x41c6b7
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041c4b1
mov esi, eax
test esi, esi
jl 0x41c967
cmp dword [ebp + 0x1b4], 0
je 0x41c6b7
push 0x5c
mov eax, ebx
call fcn.0041c2c0
test eax, eax
pop ecx
jne 0x41ca4d
push ebx
call fcn.0041cff9
test eax, eax
je 0x41c690
mov eax, dword [ebp - 0x78]
push ebx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], eax
call fcn.0041d025
test edi, edi
je 0x41c6b7
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041c4b1
mov esi, eax
test esi, esi
jl 0x41c967
mov ecx, dword [ebp - 0x70]
mov edi, ebx
call fcn.0041cf60
jmp 0x41c88d
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41c6de
and dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041c4b1
mov esi, eax
test esi, esi
jl 0x41c967
push 0x426710
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41c7fa
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x68]
call fcn.0041c4b1
mov esi, eax
xor edi, edi
cmp esi, edi
jl 0x41c967
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041c4b1
mov esi, eax
cmp esi, edi
jl 0x41c967
cmp byte [ebx], 0x3d
jne 0x41ca10
cmp dword [ebp + 0x1b4], edi
je 0x41c79f
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
push ebx
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x74]
call fcn.0041cab9
mov esi, eax
cmp esi, edi
jl 0x41ca15
cmp byte [ebx], 0x7b
jne 0x41c791
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x41c791
mov ecx, dword [ebp - 0x70]
push 0
push dword [ebp + 0x1b4]
push dword [ebp - 0x6c]
push ebx
call fcn.0041c5c4
mov esi, eax
test esi, esi
jl 0x41c967
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041c4b1
mov esi, eax
test esi, esi
jl 0x41c967
cmp byte [ebx], 0x7d
jne 0x41c61c
jmp 0x41c967
cmp dword [ebp + 0x1b8], edi
jne 0x41c7ee
cmp dword [ebp - 0x74], edi
je 0x41c7ee
push 0x20006
push edi
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], edi
call fcn.0041cf2d
cmp eax, edi
jne 0x41ca2f
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x68]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x41c7e3
cmp eax, 2
jne 0x41ca1d
test edi, edi
je 0x41c7ee
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x70]
mov edi, ebx
call fcn.0041cf60
jmp 0x41c787
push 0x5c
mov eax, ebx
call fcn.0041c2c0
test eax, eax
pop ecx
jne 0x41ca4d
xor esi, esi
cmp dword [ebp + 0x1b4], esi
je 0x41c89c
push 0x2001f
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
call fcn.0041cf2d
test eax, eax
je 0x41c862
push 0x20019
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
call fcn.0041cf2d
test eax, eax
je 0x41c862
push esi
push 0x2001f
push esi
push esi
push ebx
push dword [ebp - 0x78]
xor edi, edi
lea eax, [ebp - 0x6c]
call fcn.0041ca70
cmp eax, esi
jne 0x41c960
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041c4b1
mov esi, eax
test esi, esi
jl 0x41c967
cmp byte [ebx], 0x3d
jne 0x41c74e
mov ecx, dword [ebp - 0x70]
push ebx
push 0
lea edx, [ebp - 0x6c]
call fcn.0041cab9
mov esi, eax
test esi, esi
jl 0x41c967
jmp 0x41c74e
cmp dword [ebp + 0x1b8], esi
jne 0x41c8ba
push 0x20019
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
call fcn.0041cf2d
mov dword [ebp - 0x7c], eax
jmp 0x41c8c1
mov dword [ebp - 0x7c], 2
cmp dword [ebp - 0x7c], esi
je 0x41c8d0
mov dword [ebp + 0x1b8], 1
push 0x104
push ebx
lea eax, [ebp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041c4b1
mov esi, eax
test esi, esi
jl 0x41c967
mov ecx, dword [ebp - 0x70]
mov edi, ebx
call fcn.0041cf60
mov esi, eax
test esi, esi
jl 0x41c967
cmp byte [ebx], 0x7b
jne 0x41c93b
push dword [ebp + 0x1b8]
mov ecx, dword [ebp - 0x70]
push 0
push dword [ebp - 0x6c]
push ebx
call fcn.0041c5c4
mov esi, eax
test esi, esi
jge 0x41c92b
cmp dword [ebp + 0x1b8], 0
je 0x41c967
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041c4b1
mov esi, eax
test esi, esi
jl 0x41c967
cmp dword [ebp - 0x7c], 2
mov eax, dword [ebp - 0x80]
mov dword [ebp + 0x1b8], eax
je 0x41c791
mov eax, dword [ebp - 0x7c]
xor edi, edi
cmp eax, edi
je 0x41c992
cmp dword [ebp - 0x80], edi
jne 0x41c791
call fcn.0041d122
mov esi, eax
cmp dword [ebp - 0x6c], 0
je 0x41c976
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
mov ecx, dword [ebp + 0x1a0]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042254d
add ebp, 0x1a4
leave
ret 0x10
cmp dword [ebp - 0x80], edi
je 0x41c9d5
push dword [ebp - 0x6c]
call fcn.0041cfc4
test eax, eax
je 0x41c9d5
lea eax, [ebp + 0x9c]
push eax
call fcn.0041cff9
test eax, eax
je 0x41c791
cmp dword [ebp - 0x74], 0
je 0x41c791
lea eax, [ebp + 0x9c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041d025
jmp 0x41c791
cmp dword [ebp - 0x6c], edi
je 0x41c9ea
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
mov dword [ebp - 0x6c], edi
jne 0x41ca66
cmp dword [ebp - 0x74], edi
je 0x41c791
lea eax, [ebp + 0x9c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x41c960
jmp 0x41c791
cmp dword [ebp - 0x6c], edi
jmp 0x41ca51
cmp dword [ebp - 0x6c], edi
jmp 0x41c96b
call fcn.0041d122
test edi, edi
mov esi, eax
je 0x41c967
push edi
jmp 0x41ca42
call fcn.0041d122
cmp dword [ebp - 0x74], edi
mov esi, eax
je 0x41c967
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41c967
cmp dword [ebp - 0x6c], 0
je 0x41ca5c
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x41c978
call fcn.0041d122
jmp 0x41c978