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

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x42a060]
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.0041d9ae
mov esi, eax
test esi, esi
jge 0x41db0f
jmp 0x41de76
cmp byte [ebx], 0x7d
push edi
je 0x41de73
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 0x41db45
test edi, edi
je 0x41dbb4
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041d9ae
mov esi, eax
test esi, esi
jl 0x41de64
cmp dword [ebp + 0x1b4], 0
je 0x41dbb4
push 0x5c
mov eax, ebx
call fcn.0041d7bd
test eax, eax
pop ecx
jne 0x41df4a
push ebx
call fcn.0041e51b
test eax, eax
je 0x41db8d
mov eax, dword [ebp - 0x78]
push ebx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], eax
call fcn.0041e547
test edi, edi
je 0x41dbb4
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041d9ae
mov esi, eax
test esi, esi
jl 0x41de64
mov ecx, dword [ebp - 0x70]
mov edi, ebx
call fcn.0041e482
jmp 0x41dd8a
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41dbdb
and dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041d9ae
mov esi, eax
test esi, esi
jl 0x41de64
push 0x4278c0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41dcf7
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x68]
call fcn.0041d9ae
mov esi, eax
xor edi, edi
cmp esi, edi
jl 0x41de64
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041d9ae
mov esi, eax
cmp esi, edi
jl 0x41de64
cmp byte [ebx], 0x3d
jne 0x41df0d
cmp dword [ebp + 0x1b4], edi
je 0x41dc9c
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.0041dfb6
mov esi, eax
cmp esi, edi
jl 0x41df12
cmp byte [ebx], 0x7b
jne 0x41dc8e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x41dc8e
mov ecx, dword [ebp - 0x70]
push 0
push dword [ebp + 0x1b4]
push dword [ebp - 0x6c]
push ebx
call fcn.0041dac1
mov esi, eax
test esi, esi
jl 0x41de64
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041d9ae
mov esi, eax
test esi, esi
jl 0x41de64
cmp byte [ebx], 0x7d
jne 0x41db19
jmp 0x41de64
cmp dword [ebp + 0x1b8], edi
jne 0x41dceb
cmp dword [ebp - 0x74], edi
je 0x41dceb
push 0x20006
push edi
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], edi
call fcn.0041e44f
cmp eax, edi
jne 0x41df2c
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x68]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x41dce0
cmp eax, 2
jne 0x41df1a
test edi, edi
je 0x41dceb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x70]
mov edi, ebx
call fcn.0041e482
jmp 0x41dc84
push 0x5c
mov eax, ebx
call fcn.0041d7bd
test eax, eax
pop ecx
jne 0x41df4a
xor esi, esi
cmp dword [ebp + 0x1b4], esi
je 0x41dd99
push 0x2001f
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
call fcn.0041e44f
test eax, eax
je 0x41dd5f
push 0x20019
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
call fcn.0041e44f
test eax, eax
je 0x41dd5f
push esi
push 0x2001f
push esi
push esi
push ebx
push dword [ebp - 0x78]
xor edi, edi
lea eax, [ebp - 0x6c]
call fcn.0041df6d
cmp eax, esi
jne 0x41de5d
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041d9ae
mov esi, eax
test esi, esi
jl 0x41de64
cmp byte [ebx], 0x3d
jne 0x41dc4b
mov ecx, dword [ebp - 0x70]
push ebx
push 0
lea edx, [ebp - 0x6c]
call fcn.0041dfb6
mov esi, eax
test esi, esi
jl 0x41de64
jmp 0x41dc4b
cmp dword [ebp + 0x1b8], esi
jne 0x41ddb7
push 0x20019
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
call fcn.0041e44f
mov dword [ebp - 0x7c], eax
jmp 0x41ddbe
mov dword [ebp - 0x7c], 2
cmp dword [ebp - 0x7c], esi
je 0x41ddcd
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.0041d9ae
mov esi, eax
test esi, esi
jl 0x41de64
mov ecx, dword [ebp - 0x70]
mov edi, ebx
call fcn.0041e482
mov esi, eax
test esi, esi
jl 0x41de64
cmp byte [ebx], 0x7b
jne 0x41de38
push dword [ebp + 0x1b8]
mov ecx, dword [ebp - 0x70]
push 0
push dword [ebp - 0x6c]
push ebx
call fcn.0041dac1
mov esi, eax
test esi, esi
jge 0x41de28
cmp dword [ebp + 0x1b8], 0
je 0x41de64
mov ecx, dword [ebp - 0x70]
mov eax, ebx
call fcn.0041d9ae
mov esi, eax
test esi, esi
jl 0x41de64
cmp dword [ebp - 0x7c], 2
mov eax, dword [ebp - 0x80]
mov dword [ebp + 0x1b8], eax
je 0x41dc8e
mov eax, dword [ebp - 0x7c]
xor edi, edi
cmp eax, edi
je 0x41de8f
cmp dword [ebp - 0x80], edi
jne 0x41dc8e
call fcn.0041e644
mov esi, eax
cmp dword [ebp - 0x6c], 0
je 0x41de73
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.00423ac2
add ebp, 0x1a4
leave
ret 0x10
cmp dword [ebp - 0x80], edi
je 0x41ded2
push dword [ebp - 0x6c]
call fcn.0041e4e6
test eax, eax
je 0x41ded2
lea eax, [ebp + 0x9c]
push eax
call fcn.0041e51b
test eax, eax
je 0x41dc8e
cmp dword [ebp - 0x74], 0
je 0x41dc8e
lea eax, [ebp + 0x9c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041e547
jmp 0x41dc8e
cmp dword [ebp - 0x6c], edi
je 0x41dee7
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
mov dword [ebp - 0x6c], edi
jne 0x41df63
cmp dword [ebp - 0x74], edi
je 0x41dc8e
lea eax, [ebp + 0x9c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x41de5d
jmp 0x41dc8e
cmp dword [ebp - 0x6c], edi
jmp 0x41df4e
cmp dword [ebp - 0x6c], edi
jmp 0x41de68
call fcn.0041e644
test edi, edi
mov esi, eax
je 0x41de64
push edi
jmp 0x41df3f
call fcn.0041e644
cmp dword [ebp - 0x74], edi
mov esi, eax
je 0x41de64
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41de64
cmp dword [ebp - 0x6c], 0
je 0x41df59
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x41de75
call fcn.0041e644
jmp 0x41de75