Function at 0x40bede
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1108]
mov eax, 0x1108
call fcn.0046f800
push 0xffffffffffffffff
push 0x483cda
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x49ab28]
xor eax, ebp
mov dword [ebp + 0x1104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1114]
mov edi, dword [ebp + 0x1110]
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 + 0x111c]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], eax
call fcn.0040a5df
mov esi, eax
cmp esi, ebx
jmp 0x40c387
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
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 0x40bf80
test ebx, ebx
je 0x40c01a
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040a5df
mov esi, eax
test esi, esi
jl 0x40c3e1
cmp dword [ebp + 0x1118], 0
je 0x40c01a
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.0040a577
pop ecx
pop ecx
test eax, eax
jne 0x40c394
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040a6c9
test eax, eax
je 0x40bfdb
mov eax, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call fcn.0040a88a
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp ebx, esi
je 0x40c012
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040a5df
mov esi, eax
test esi, esi
jl 0x40c3a3
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040a72a
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0040970b
test esi, esi
jl 0x40c3e1
jmp 0x40c346
lea ecx, [ebp - 0x24]
call fcn.0040970b
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40c040
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x28], eax
push edi
call fcn.0040a5df
mov esi, eax
test esi, esi
jl 0x40c3e1
push 0x485854
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40c125
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.0040a5df
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x40c3e1
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040a5df
mov esi, eax
cmp esi, ebx
jl 0x40c3e1
cmp byte [edi], 0x3d
jne 0x40c39c
cmp dword [ebp + 0x1118], ebx
je 0x40c0c9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
call fcn.0040bb71
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x40]
jl 0x40c3dc
mov byte [ebp - 4], bl
jmp 0x40c341
cmp dword [ebp + 0x111c], ebx
jne 0x40c117
cmp dword [ebp - 0x28], ebx
je 0x40c117
push 0x20006
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00409726
cmp eax, ebx
jne 0x40c3a8
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x40c10f
cmp eax, 2
jne 0x40c3a8
lea ecx, [ebp - 0x30]
call fcn.0040970b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040a72a
jmp 0x40bf47
push 0x5c
push edi
call fcn.0040a577
pop ecx
pop ecx
test eax, eax
jne 0x40c39c
cmp dword [ebp + 0x1118], eax
je 0x40c1b9
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00409726
test eax, eax
je 0x40c187
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00409726
test eax, eax
je 0x40c187
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.0040a28f
mov esi, eax
cmp esi, ebx
jne 0x40c3b4
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040a5df
mov esi, eax
test esi, esi
jl 0x40c3e1
cmp byte [edi], 0x3d
jne 0x40c346
mov ecx, dword [ebp - 0x10]
push edi
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.0040bb71
mov esi, eax
jmp 0x40c005
cmp dword [ebp + 0x111c], 0
jne 0x40c1d7
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00409726
mov ebx, eax
jmp 0x40c1da
push 2
pop ebx
test ebx, ebx
je 0x40c1e8
mov dword [ebp + 0x111c], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x1000]
push 0x104
push eax
call fcn.0046f75c
push eax
call fcn.00409546
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.0040a5df
mov esi, eax
test esi, esi
jl 0x40c3e1
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040a72a
mov esi, eax
test esi, esi
jl 0x40c3e1
cmp byte [edi], 0x7b
jne 0x40c276
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x40c276
push dword [ebp + 0x111c]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
push edi
call fcn.0040bede
mov esi, eax
test esi, esi
jge 0x40c263
cmp dword [ebp + 0x111c], 0
je 0x40c3e1
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040a5df
mov esi, eax
test esi, esi
jl 0x40c3e1
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x111c], eax
cmp ebx, 2
je 0x40c389
test ebx, ebx
je 0x40c2a2
test eax, eax
jne 0x40c389
push ebx
call fcn.00409629
pop ecx
mov esi, eax
jmp 0x40c3e1
test eax, eax
je 0x40c2ea
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.0040a6f5
test eax, eax
je 0x40c2ea
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x1000]
push eax
call fcn.0040a6c9
test eax, eax
je 0x40c389
cmp dword [ebp - 0x28], 0
je 0x40c389
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040a88a
jmp 0x40c389
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.0040a6f5
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], eax
call fcn.0040970b
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x40c3c5
cmp dword [ebp - 0x28], eax
je 0x40c389
cmp dword [ebp - 0x48], eax
jne 0x40c389
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x1000]
mov dword [ebp - 0x38], ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.004096b0
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
test eax, eax
jne 0x40c3d0
lea ecx, [ebp - 0x38]
call fcn.0040970b
cmp dword [ebp + 0x1118], 0
je 0x40c389
cmp byte [edi], 0x7b
jne 0x40c389
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x40c389
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp + 0x1118]
push dword [ebp - 0x1c]
push edi
call fcn.0040bede
mov esi, eax
test esi, esi
jl 0x40c3e1
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040a5df
mov esi, eax
test esi, esi
jl 0x40c3e1
cmp byte [edi], 0x7d
jne 0x40bf50
jmp 0x40c3e1
lea ecx, [ebp - 0x24]
call fcn.0040970b
mov esi, 0x80020009
jmp 0x40c3e1
lea ecx, [ebp - 0x24]
jmp 0x40c3dc
push eax
call fcn.00409629
pop ecx
lea ecx, [ebp - 0x30]
jmp 0x40c3da
lea ecx, [ebp - 0x1c]
call fcn.0040970b
push esi
call fcn.00409629
pop ecx
jmp 0x40c3eb
lea ecx, [ebp - 0x1c]
call fcn.0040970b
push ebx
jmp 0x40c3bd
push eax
call fcn.00409629
pop ecx
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.0040970b
lea ecx, [ebp - 0x1c]
call fcn.0040970b
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 + 0x1104]
xor ecx, ebp
call fcn.0046c1d2
add ebp, 0x1108
leave
ret 0x10