Function at 0x1001e62b
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005debe
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.1003f210
mov eax, dword [0x1007b4bc]
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 - 0x2244], eax
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], eax
mov dword [ebp - 4], eax
push edi
mov ecx, ebx
call fcn.1001dd4f
mov esi, eax
test esi, esi
js 0x1001ebd5
push 0x7d
pop eax
cmp word [edi], ax
je 0x1001ebd5
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 0x100614b8
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2220], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001e6de
test esi, esi
je 0x1001e79e
push edi
mov ecx, ebx
call fcn.1001dd4f
mov esi, eax
test esi, esi
js 0x1001ebd5
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x1001e7a0
push 0x5c
push edi
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
call fcn.1001ee6f
pop ecx
pop ecx
test eax, eax
jne 0x1001ebc5
push edi
mov ecx, ebx
call fcn.1001d1c3
test eax, eax
je 0x1001e755
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x223c]
push edi
mov dword [ebp - 0x223c], eax
call fcn.1001e146
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
cmp dword [ebp - 0x2220], esi
je 0x1001e791
push edi
mov ecx, ebx
call fcn.1001dd4f
mov esi, eax
test esi, esi
js 0x1001ebbd
push edi
mov ecx, ebx
call fcn.1001ede8
mov esi, eax
lea ecx, [ebp - 0x223c]
call fcn.1001d295
test esi, esi
js 0x1001ebd5
jmp 0x1001eb65
lea ecx, [ebp - 0x223c]
call fcn.1001d295
jmp 0x1001e7a0
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1001e7c8
push edi
mov ecx, ebx
mov dword [ebp - 0x2224], esi
call fcn.1001dd4f
mov esi, eax
test esi, esi
js 0x1001ebd5
push 0x100614b0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1001e8e3
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.1001dd4f
mov esi, eax
test esi, esi
js 0x1001ebd5
push edi
mov ecx, ebx
call fcn.1001dd4f
mov esi, eax
test esi, esi
js 0x1001ebd5
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1001ebd0
cmp dword [ebp + 0x10], 0
je 0x1001e869
mov eax, dword [ebp - 0x221c]
mov ecx, ebx
mov dword [ebp - 0x2250], eax
xor eax, eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2250]
push eax
call fcn.1001c35b
mov esi, eax
lea ecx, [ebp - 0x2250]
xor eax, eax
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
jmp 0x1001e77f
cmp dword [ebp + 0x14], 0
jne 0x1001e8d6
cmp dword [ebp - 0x2224], 0
je 0x1001e8d6
xor eax, eax
lea ecx, [ebp - 0x225c]
push 0x20006
push eax
push dword [ebp - 0x221c]
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
call fcn.1001de87
test eax, eax
jne 0x1001ebfe
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x225c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1001e8cb
cmp eax, 2
jne 0x1001ebfe
lea ecx, [ebp - 0x225c]
call fcn.1001d295
push edi
mov ecx, ebx
call fcn.1001ede8
jmp 0x1001e690
push 0x5c
push edi
call fcn.1001ee6f
pop ecx
pop ecx
test eax, eax
jne 0x1001ebd0
cmp dword [ebp + 0x10], eax
je 0x1001e987
mov esi, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2230]
push 0x2001f
push edi
push esi
call fcn.1001de87
test eax, eax
je 0x1001e950
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2230]
call fcn.1001de87
test eax, eax
je 0x1001e950
xor eax, eax
lea ecx, [ebp - 0x2230]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.1001d2af
test eax, eax
jne 0x1001ea81
push edi
mov ecx, ebx
call fcn.1001dd4f
mov esi, eax
test esi, esi
js 0x1001ebd5
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1001eb65
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x2230]
push eax
call fcn.1001c35b
mov esi, eax
jmp 0x1001e784
cmp dword [ebp + 0x14], 0
jne 0x1001e9a6
push 0x20019
push edi
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x2230]
call fcn.1001de87
jmp 0x1001e9a9
push 2
pop eax
mov ecx, dword [ebp + 0x14]
test eax, eax
push 1
mov dword [ebp - 0x2220], eax
pop eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp - 0x218]
push edi
push 0x104
push eax
mov dword [ebp - 0x2240], ecx
call fcn.10049920
push eax
call fcn.1000ab3e
add esp, 0x14
mov ecx, ebx
push edi
call fcn.1001dd4f
mov esi, eax
test esi, esi
js 0x1001ebd5
push edi
mov ecx, ebx
call fcn.1001ede8
mov esi, eax
test esi, esi
js 0x1001ebd5
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1001ea64
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2244]
jne 0x1001ea0e
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x1001ea64
push dword [ebp - 0x2240]
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp - 0x2230]
push edi
call fcn.1001e62b
mov esi, eax
test esi, esi
jns 0x1001ea52
cmp dword [ebp - 0x2240], 0
je 0x1001ebd5
push edi
mov ecx, ebx
call fcn.1001dd4f
mov esi, eax
test esi, esi
js 0x1001ebd5
mov eax, dword [ebp - 0x2220]
cmp eax, 2
je 0x1001e69a
test eax, eax
je 0x1001ea8f
cmp dword [ebp + 0x14], 0
jne 0x1001e69a
push eax
call fcn.1001ca60
pop ecx
mov esi, eax
jmp 0x1001ebd5
cmp dword [ebp + 0x14], 0
je 0x1001eae0
push dword [ebp - 0x2230]
mov ecx, ebx
call fcn.1001d8d7
test eax, eax
je 0x1001eae0
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.1001d1c3
test eax, eax
je 0x1001e69a
cmp dword [ebp - 0x2224], 0
je 0x1001e69a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.1001e146
jmp 0x1001e69a
push dword [ebp - 0x2230]
mov ecx, ebx
call fcn.1001d8d7
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2220], eax
call fcn.1001d295
test eax, eax
jne 0x1001ea81
cmp dword [ebp - 0x2224], eax
je 0x1001e69a
cmp dword [ebp - 0x2220], eax
jne 0x1001e69a
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2268]
mov dword [ebp - 0x2268], eax
xor eax, eax
mov dword [ebp - 0x2264], eax
mov dword [ebp - 0x2260], eax
lea eax, [ebp - 0x218]
push eax
call fcn.1001d3a7
xor ecx, ecx
mov dword [ebp - 0x2268], ecx
test eax, eax
jne 0x1001ec14
lea ecx, [ebp - 0x2268]
call fcn.1001d295
cmp dword [ebp + 0x10], 0
je 0x1001e69a
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1001e69a
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2244]
jne 0x1001eb80
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x1001e69a
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x2230]
push edi
call fcn.1001e62b
mov esi, eax
test esi, esi
js 0x1001ebd5
jmp 0x1001e688
lea ecx, [ebp - 0x223c]
jmp 0x1001ec0d
lea ecx, [ebp - 0x223c]
call fcn.1001d295
mov esi, 0x80020009
lea ecx, [ebp - 0x2230]
call fcn.1001d295
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.1003eec9
leave
ret 0x10
push eax
call fcn.1001ca60
pop ecx
lea ecx, [ebp - 0x225c]
mov esi, eax
call fcn.1001d295
jmp 0x1001ebd5
push eax
call fcn.1001ca60
pop ecx
lea ecx, [ebp - 0x2268]
jmp 0x1001ec0b