Function at 0x42d5f2
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x21c8]
mov eax, 0x2248
call fcn.0044e970
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp + 0x21c4], eax
mov eax, dword [ebp + 0x21d4]
and dword [ebp - 0x54], 0
and dword [ebp - 0x50], 0
push ebx
push esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x21dc]
push edi
mov edi, dword [ebp + 0x21d0]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x7c], eax
jmp 0x42da69
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x60], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x42d66c
test ebx, ebx
je 0x42d706
mov ecx, dword [ebp - 0x48]
push edi
call fcn.0042c922
mov esi, eax
test esi, esi
jl 0x42dace
cmp dword [ebp + 0x21d8], 0
je 0x42d706
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
call fcn.0042c8b2
pop ecx
pop ecx
test eax, eax
jne 0x42da81
mov ecx, dword [ebp - 0x48]
push edi
call fcn.0042ca30
test eax, eax
je 0x42d6c7
mov eax, dword [ebp - 0x4c]
push edi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], esi
call fcn.0042cc27
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
cmp ebx, esi
je 0x42d6fe
mov ecx, dword [ebp - 0x48]
push edi
call fcn.0042c922
mov esi, eax
test esi, esi
jl 0x42da90
mov ecx, dword [ebp - 0x48]
push edi
call fcn.0042ca91
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.0042c585
test esi, esi
jl 0x42dace
jmp 0x42da31
lea ecx, [ebp - 0x5c]
call fcn.0042c585
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42d72c
mov ecx, dword [ebp - 0x48]
and dword [ebp - 0x60], eax
push edi
call fcn.0042c922
mov esi, eax
test esi, esi
jl 0x42dace
push 0x4739cc
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42d80e
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call fcn.0042c922
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x42dace
mov ecx, dword [ebp - 0x48]
push edi
call fcn.0042c922
mov esi, eax
cmp esi, ebx
jl 0x42dace
cmp word [edi], 0x3d
jne 0x42da89
cmp dword [ebp + 0x21d8], ebx
je 0x42d7ae
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x78], eax
push edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x74], ebx
call fcn.0042d360
lea ecx, [ebp - 0x78]
mov esi, eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
call fcn.0042c585
cmp esi, ebx
jmp 0x42d6f3
cmp dword [ebp + 0x21dc], ebx
jne 0x42d7fc
cmp dword [ebp - 0x60], ebx
je 0x42d7fc
push 0x20006
push ebx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
call fcn.0042c5fa
cmp eax, ebx
jne 0x42da95
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x42d7f4
cmp eax, 2
jne 0x42da95
lea ecx, [ebp - 0x68]
call fcn.0042c585
mov ecx, dword [ebp - 0x48]
push edi
call fcn.0042ca91
mov esi, eax
cmp esi, ebx
jmp 0x42da73
push 0x5c
push edi
call fcn.0042c8b2
pop ecx
pop ecx
test eax, eax
jne 0x42da89
cmp dword [ebp + 0x21d8], eax
je 0x42d8a3
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
call fcn.0042c5fa
test eax, eax
je 0x42d870
push 0x20019
push edi
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
call fcn.0042c5fa
test eax, eax
je 0x42d870
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
call fcn.0042c5a0
mov esi, eax
cmp esi, ebx
jne 0x42daa1
mov ecx, dword [ebp - 0x48]
push edi
call fcn.0042c922
mov esi, eax
test esi, esi
jl 0x42dace
cmp word [edi], 0x3d
jne 0x42da31
mov ecx, dword [ebp - 0x48]
push edi
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.0042d360
mov esi, eax
jmp 0x42d6f1
cmp dword [ebp + 0x21dc], 0
jne 0x42d8c1
push 0x20019
push edi
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
call fcn.0042c5fa
mov ebx, eax
jmp 0x42d8c4
push 2
pop ebx
test ebx, ebx
je 0x42d8d2
mov dword [ebp + 0x21dc], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x1fbc]
push 0x104
push eax
call fcn.0044e82e
push eax
call fcn.004080ce
mov ecx, dword [ebp - 0x48]
add esp, 0x14
push edi
call fcn.0042c922
mov esi, eax
test esi, esi
jl 0x42dace
mov ecx, dword [ebp - 0x48]
push edi
call fcn.0042ca91
mov esi, eax
test esi, esi
jl 0x42dace
cmp word [edi], 0x7b
jne 0x42d961
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x42d961
push dword [ebp + 0x21dc]
mov ecx, dword [ebp - 0x48]
push 0
push dword [ebp - 0x54]
push edi
call fcn.0042d5f2
mov esi, eax
test esi, esi
jge 0x42d94e
cmp dword [ebp + 0x21dc], 0
je 0x42dace
mov ecx, dword [ebp - 0x48]
push edi
call fcn.0042c922
mov esi, eax
test esi, esi
jl 0x42dace
mov eax, dword [ebp - 0x7c]
mov dword [ebp + 0x21dc], eax
cmp ebx, 2
je 0x42da75
test ebx, ebx
je 0x42d98d
test eax, eax
jne 0x42da75
push ebx
call fcn.0042c462
pop ecx
mov esi, eax
jmp 0x42dace
test eax, eax
je 0x42d9d5
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x48]
call fcn.0042ca5c
test eax, eax
je 0x42d9d5
mov ecx, dword [ebp - 0x48]
lea eax, [ebp + 0x1fbc]
push eax
call fcn.0042ca30
test eax, eax
je 0x42da75
cmp dword [ebp - 0x60], 0
je 0x42da75
lea eax, [ebp + 0x1fbc]
push eax
lea ecx, [ebp - 0x54]
call fcn.0042cc27
jmp 0x42da75
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x48]
call fcn.0042ca5c
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x80], eax
call fcn.0042c585
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x42dab2
cmp dword [ebp - 0x60], eax
je 0x42da75
cmp dword [ebp - 0x80], eax
jne 0x42da75
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x1fbc]
mov dword [ebp - 0x70], ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0042c52a
and dword [ebp - 0x70], 0
and dword [ebp - 0x6c], 0
test eax, eax
jne 0x42dabd
lea ecx, [ebp - 0x70]
call fcn.0042c585
cmp dword [ebp + 0x21d8], 0
je 0x42da75
cmp word [edi], 0x7b
jne 0x42da75
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x42da75
mov ecx, dword [ebp - 0x48]
push 0
push dword [ebp + 0x21d8]
push dword [ebp - 0x54]
push edi
call fcn.0042d5f2
mov esi, eax
test esi, esi
jl 0x42dace
mov ecx, dword [ebp - 0x48]
push edi
call fcn.0042c922
mov esi, eax
test esi, esi
jl 0x42dace
cmp word [edi], 0x7d
jne 0x42d63c
jmp 0x42dace
lea ecx, [ebp - 0x5c]
call fcn.0042c585
mov esi, 0x80020009
jmp 0x42dace
lea ecx, [ebp - 0x5c]
jmp 0x42dac9
push eax
call fcn.0042c462
pop ecx
lea ecx, [ebp - 0x68]
jmp 0x42dac7
lea ecx, [ebp - 0x54]
call fcn.0042c585
push esi
call fcn.0042c462
pop ecx
jmp 0x42dad8
lea ecx, [ebp - 0x54]
call fcn.0042c585
push ebx
jmp 0x42daaa
push eax
call fcn.0042c462
pop ecx
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0042c585
lea ecx, [ebp - 0x54]
call fcn.0042c585
mov eax, esi
mov ecx, dword [ebp + 0x21c4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
add ebp, 0x21c8
leave
ret 0x10