Function at 0x40c4fd
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426578
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.00412540
mov eax, dword [0x43803c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x221c], eax
xor eax, eax
mov dword [ebp - 0x223c], eax
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2264], eax
push edi
mov ecx, ebx
call fcn.0040bb22
mov esi, eax
test esi, esi
js 0x40caa0
push 0x7d
pop eax
cmp word [edi], ax
je 0x40caa0
xor eax, eax
push str.Delete
inc eax
push edi
mov dword [ebp - 0x2224], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4273c8
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2220], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40c5b3
test esi, esi
je 0x40c67f
push edi
mov ecx, ebx
call fcn.0040bb22
mov esi, eax
test esi, esi
js 0x40caa0
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x40c681
push 0x5c
push edi
mov dword [ebp - 0x2230], esi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
call fcn.0040cd10
pop ecx
pop ecx
test eax, eax
jne 0x40ca90
push edi
mov ecx, ebx
call fcn.0040b588
test eax, eax
je 0x40c636
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2230]
push edi
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
call fcn.0040c07b
mov dword [ebp - 0x2230], esi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
cmp dword [ebp - 0x2220], esi
je 0x40c672
push edi
mov ecx, ebx
call fcn.0040bb22
mov esi, eax
test esi, esi
js 0x40ca88
push edi
mov ecx, ebx
call fcn.0040cc87
lea ecx, [ebp - 0x2230]
mov esi, eax
call fcn.0040b655
test esi, esi
js 0x40caa0
jmp 0x40ca44
lea ecx, [ebp - 0x2230]
call fcn.0040b655
jmp 0x40c681
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40c6a9
push edi
mov ecx, ebx
mov dword [ebp - 0x2224], esi
call fcn.0040bb22
mov esi, eax
test esi, esi
js 0x40caa0
push 0x4273c0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40c7d5
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.0040bb22
mov esi, eax
test esi, esi
js 0x40caa0
push edi
mov ecx, ebx
call fcn.0040bb22
mov esi, eax
test esi, esi
js 0x40caa0
push 0x3d
pop eax
cmp word [edi], ax
jne 0x40ca9b
cmp dword [ebp + 0x10], 0
je 0x40c75b
and dword [ebp - 0x2244], 0
xor eax, eax
and dword [ebp - 0x2240], 0
inc eax
mov byte [ebp - 4], al
mov ecx, ebx
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x2248], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2248]
push eax
call fcn.0040af06
mov esi, eax
lea ecx, [ebp - 0x2248]
xor eax, eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x2240], eax
test esi, esi
js 0x40cada
mov byte [ebp - 4], al
jmp 0x40ca3f
cmp dword [ebp + 0x14], 0
jne 0x40c7c8
cmp dword [ebp - 0x2224], 0
je 0x40c7c8
xor eax, eax
lea ecx, [ebp - 0x2260]
push 0x20006
push eax
push dword [ebp - 0x221c]
mov dword [ebp - 0x2260], eax
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
call fcn.0040bd00
test eax, eax
jne 0x40cacb
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2260]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x40c7bd
cmp eax, 2
jne 0x40cacb
lea ecx, [ebp - 0x2260]
call fcn.0040b655
push edi
mov ecx, ebx
call fcn.0040cc87
jmp 0x40c565
push 0x5c
push edi
call fcn.0040cd10
pop ecx
pop ecx
test eax, eax
jne 0x40ca9b
cmp dword [ebp + 0x10], eax
je 0x40c878
mov esi, dword [ebp - 0x221c]
lea ecx, [ebp - 0x223c]
push 0x2001f
push edi
push esi
call fcn.0040bd00
test eax, eax
je 0x40c842
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x223c]
call fcn.0040bd00
test eax, eax
je 0x40c842
xor eax, eax
lea ecx, [ebp - 0x223c]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.0040b66f
test eax, eax
jne 0x40c95a
push edi
mov ecx, ebx
call fcn.0040bb22
mov esi, eax
test esi, esi
js 0x40caa0
push 0x3d
pop eax
cmp word [edi], ax
jne 0x40ca44
push edi
push 0
lea eax, [ebp - 0x223c]
mov ecx, ebx
push eax
call fcn.0040af06
mov esi, eax
jmp 0x40c665
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x40c898
push 0x20019
push edi
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x223c]
call fcn.0040bd00
jmp 0x40c89b
push 2
pop eax
push 1
test eax, eax
mov dword [ebp - 0x2220], eax
pop eax
push 0xffffffffffffffff
cmovne esi, eax
lea eax, [ebp - 0x218]
push edi
push 0x104
push eax
mov dword [ebp + 0x14], esi
call fcn.00419f55
push eax
call fcn.00402a8f
add esp, 0x14
mov ecx, ebx
push edi
call fcn.0040bb22
mov esi, eax
test esi, esi
js 0x40caa0
push edi
mov ecx, ebx
call fcn.0040cc87
mov esi, eax
test esi, esi
js 0x40caa0
push 0x7b
pop eax
cmp word [edi], ax
jne 0x40c936
push edi
call fcn.00417ce2
pop ecx
cmp eax, 1
jne 0x40c936
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x223c]
push edi
call fcn.0040c4fd
mov esi, eax
test esi, esi
jns 0x40c924
cmp dword [ebp + 0x14], 0
je 0x40caa0
push edi
mov ecx, ebx
call fcn.0040bb22
mov esi, eax
test esi, esi
js 0x40caa0
mov eax, dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x2264]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x40c56f
test eax, eax
je 0x40c968
test ecx, ecx
jne 0x40c56f
push eax
call fcn.0040b4b9
pop ecx
mov esi, eax
jmp 0x40caa0
test ecx, ecx
je 0x40c9b7
push dword [ebp - 0x223c]
mov ecx, ebx
call fcn.0040b958
test eax, eax
je 0x40c9b7
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.0040b588
test eax, eax
je 0x40c56f
cmp dword [ebp - 0x2224], 0
je 0x40c56f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x223c]
call fcn.0040c07b
jmp 0x40c56f
push dword [ebp - 0x223c]
mov ecx, ebx
call fcn.0040b958
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x2220], eax
call fcn.0040b655
test eax, eax
jne 0x40c95a
cmp dword [ebp - 0x2224], eax
je 0x40c56f
cmp dword [ebp - 0x2220], eax
jne 0x40c56f
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2254]
and dword [ebp - 0x2250], 0
and dword [ebp - 0x224c], 0
mov dword [ebp - 0x2254], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040b6e0
xor ecx, ecx
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], ecx
mov dword [ebp - 0x224c], ecx
test eax, eax
jne 0x40cae1
lea ecx, [ebp - 0x2254]
call fcn.0040b655
cmp dword [ebp + 0x10], 0
je 0x40c56f
push 0x7b
pop eax
cmp word [edi], ax
jne 0x40c56f
push edi
call fcn.00417ce2
pop ecx
cmp eax, 1
jne 0x40c56f
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x223c]
push edi
call fcn.0040c4fd
mov esi, eax
test esi, esi
js 0x40caa0
jmp 0x40c55d
lea ecx, [ebp - 0x2230]
jmp 0x40cada
lea ecx, [ebp - 0x2230]
call fcn.0040b655
mov esi, 0x80020009
lea ecx, [ebp - 0x223c]
call fcn.0040b655
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 - 0x10]
xor ecx, ebp
call fcn.0041225f
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.0040b4b9
pop ecx
lea ecx, [ebp - 0x2260]
mov esi, eax
call fcn.0040b655
jmp 0x40caa0
push eax
call fcn.0040b4b9
pop ecx
lea ecx, [ebp - 0x2254]
jmp 0x40cad8