Function at 0x40ee48
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3ec8
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.004933d0
mov eax, dword [0x4f51d0]
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x223c], eax
mov eax, ebx
mov dword [ebp - 4], esi
call fcn.0040ed36
mov edi, eax
cmp edi, esi
jmp 0x40f3c9
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebx
mov dword [ebp - 0x2238], 1
call edi
mov esi, eax
neg esi
push str.ForceRemove
sbb esi, esi
push ebx
inc esi
call edi
test eax, eax
je 0x40eee9
test esi, esi
je 0x40efab
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.0040ed36
mov edi, eax
test edi, edi
jl 0x40f437
cmp dword [ebp + 0x10], 0
je 0x40efab
xor edi, edi
push 0x5c
mov eax, ebx
mov dword [ebp - 0x2234], edi
mov dword [ebp - 0x2230], edi
call fcn.0040e4d4
pop ecx
test eax, eax
jne 0x40f3d7
push ebx
call fcn.0040eae2
test eax, eax
je 0x40ef5e
mov eax, dword [ebp - 0x2220]
push ebx
lea ecx, [ebp - 0x2234]
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2230], edi
call fcn.0040eb4c
mov dword [ebp - 0x2234], edi
mov dword [ebp - 0x2230], edi
cmp esi, edi
je 0x40efa0
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.0040ed36
mov edi, eax
test edi, edi
jl 0x40f3e9
mov ecx, dword [ebp - 0x221c]
mov esi, ebx
call fcn.0040ea7d
lea esi, [ebp - 0x2234]
mov edi, eax
call fcn.0040ec6e
test edi, edi
jl 0x40f437
jmp 0x40f383
lea esi, [ebp - 0x2234]
call fcn.0040ec6e
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40efd8
and dword [ebp - 0x2238], eax
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.0040ed36
mov edi, eax
test edi, edi
jl 0x40f437
push 0x4d8a68
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40f0f8
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
call fcn.0040ed36
mov edi, eax
xor esi, esi
cmp edi, esi
jl 0x40f437
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.0040ed36
mov edi, eax
cmp edi, esi
jl 0x40f437
cmp word [ebx], 0x3d
jne 0x40f3e2
cmp dword [ebp + 0x10], esi
je 0x40f083
mov eax, dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x221c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x2244], eax
push ebx
lea eax, [ebp - 0x2218]
push eax
lea edx, [ebp - 0x2244]
mov dword [ebp - 0x2240], esi
call fcn.0040e77f
mov edi, eax
mov dword [ebp - 0x2244], esi
mov dword [ebp - 0x2240], esi
cmp edi, esi
lea esi, [ebp - 0x2244]
jl 0x40f432
mov byte [ebp - 4], 0
jmp 0x40f37e
cmp dword [ebp + 0x14], esi
jne 0x40f0e6
cmp dword [ebp - 0x2238], esi
je 0x40f0e6
push esi
push dword [ebp - 0x2220]
mov eax, 0x20006
lea ecx, [ebp - 0x224c]
mov dword [ebp - 0x224c], esi
mov dword [ebp - 0x2248], esi
call fcn.0040eb0e
cmp eax, esi
jne 0x40f3f1
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x224c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x40f0db
cmp eax, 2
jne 0x40f3f1
lea esi, [ebp - 0x224c]
call fcn.0040ec6e
mov ecx, dword [ebp - 0x221c]
mov esi, ebx
call fcn.0040ea7d
jmp 0x40f3c5
push 0x5c
mov eax, ebx
call fcn.0040e4d4
pop ecx
test eax, eax
jne 0x40f3e2
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x40f1a3
push ebx
push dword [ebp - 0x2220]
mov eax, 0x2001f
lea ecx, [ebp - 0x2228]
call fcn.0040eb0e
test eax, eax
je 0x40f167
push ebx
push dword [ebp - 0x2220]
mov eax, 0x20019
lea ecx, [ebp - 0x2228]
call fcn.0040eb0e
test eax, eax
je 0x40f167
push ebx
push dword [ebp - 0x2220]
lea eax, [ebp - 0x2228]
call fcn.0040e4fb
mov edi, eax
test edi, edi
jne 0x40f3fe
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.0040ed36
mov edi, eax
test edi, edi
jl 0x40f437
cmp word [ebx], 0x3d
jne 0x40f383
mov ecx, dword [ebp - 0x221c]
push ebx
push 0
lea edx, [ebp - 0x2228]
call fcn.0040e77f
mov edi, eax
jmp 0x40ef93
cmp dword [ebp + 0x14], esi
jne 0x40f1c7
push ebx
push dword [ebp - 0x2220]
mov eax, 0x20019
lea ecx, [ebp - 0x2228]
call fcn.0040eb0e
mov dword [ebp - 0x222c], eax
jmp 0x40f1d1
mov dword [ebp - 0x222c], 2
cmp dword [ebp - 0x222c], esi
je 0x40f1e0
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0048f126
push eax
call fcn.00408207
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
mov eax, ebx
call fcn.0040ed36
mov edi, eax
test edi, edi
jl 0x40f437
mov ecx, dword [ebp - 0x221c]
mov esi, ebx
call fcn.0040ea7d
mov edi, eax
test edi, edi
jl 0x40f437
cmp word [ebx], 0x7b
jne 0x40f27b
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40f27b
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp - 0x2228]
push ebx
call fcn.0040ee48
mov edi, eax
test edi, edi
jge 0x40f264
cmp dword [ebp + 0x14], 0
je 0x40f437
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.0040ed36
mov edi, eax
test edi, edi
jl 0x40f437
mov eax, dword [ebp - 0x223c]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x222c]
cmp eax, 2
je 0x40f3cb
test eax, eax
je 0x40f2b0
cmp dword [ebp - 0x223c], 0
jne 0x40f3cb
call fcn.0040ed01
mov edi, eax
jmp 0x40f437
cmp dword [ebp - 0x223c], 0
je 0x40f300
push dword [ebp - 0x2228]
call fcn.0040ec2e
test eax, eax
je 0x40f300
lea eax, [ebp - 0x218]
push eax
call fcn.0040eae2
test eax, eax
je 0x40f3cb
cmp dword [ebp - 0x2238], 0
je 0x40f3cb
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2228]
call fcn.0040eb4c
jmp 0x40f3cb
push dword [ebp - 0x2228]
call fcn.0040ec2e
lea esi, [ebp - 0x2228]
mov dword [ebp - 0x2258], eax
call fcn.0040ec6e
xor ecx, ecx
mov dword [ebp - 0x222c], eax
cmp eax, ecx
jne 0x40f412
cmp dword [ebp - 0x2238], ecx
je 0x40f3cb
cmp dword [ebp - 0x2258], ecx
jne 0x40f3cb
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 0x2254], eax
lea eax, [ebp - 0x218]
push eax
lea esi, [ebp - 0x2254]
mov dword [ebp - 0x2250], ecx
call fcn.0040ec91
and dword [ebp - 0x2254], 0
and dword [ebp - 0x2250], 0
test eax, eax
jne 0x40f425
call fcn.0040ec6e
cmp dword [ebp + 0x10], 0
je 0x40f3cb
cmp word [ebx], 0x7b
jne 0x40f3cb
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40f3cb
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x2228]
push ebx
call fcn.0040ee48
mov edi, eax
test edi, edi
jl 0x40f437
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.0040ed36
mov edi, eax
test edi, edi
jl 0x40f437
cmp word [ebx], 0x7d
jne 0x40eeb6
jmp 0x40f437
lea esi, [ebp - 0x2234]
call fcn.0040ec6e
mov edi, 0x80020009
jmp 0x40f437
lea esi, [ebp - 0x2234]
jmp 0x40f432
call fcn.0040ed01
lea esi, [ebp - 0x224c]
jmp 0x40f430
lea esi, [ebp - 0x2228]
call fcn.0040ec6e
mov eax, edi
call fcn.0040ed01
jmp 0x40f444
lea esi, [ebp - 0x2228]
call fcn.0040ec6e
mov eax, dword [ebp - 0x222c]
jmp 0x40f40b
call fcn.0040ed01
lea esi, [ebp - 0x2254]
mov edi, eax
call fcn.0040ec6e
lea esi, [ebp - 0x2228]
call fcn.0040ec6e
mov eax, edi
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.0048c64c
leave
ret 0x10