Function at 0x10006bc4
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100200a0
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.100099c0
mov eax, dword [0x1002b024]
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 - 0x2230], eax
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], eax
mov dword [ebp - 4], eax
push edi
mov ecx, ebx
call fcn.100062ae
mov esi, eax
test esi, esi
js 0x1000714f
push 0x7d
pop eax
cmp word [edi], ax
je 0x1000714f
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 0x1002129c
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2220], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10006c71
test esi, esi
je 0x10006d31
push edi
mov ecx, ebx
call fcn.100062ae
mov esi, eax
test esi, esi
js 0x1000714f
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x10006d33
push 0x5c
push edi
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
call fcn.10007338
pop ecx
pop ecx
test eax, eax
jne 0x1000713f
push edi
mov ecx, ebx
call fcn.10005e15
test eax, eax
je 0x10006ce8
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x223c]
push edi
mov dword [ebp - 0x223c], eax
call fcn.100066c2
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
cmp dword [ebp - 0x2220], esi
je 0x10006d24
push edi
mov ecx, ebx
call fcn.100062ae
mov esi, eax
test esi, esi
js 0x10007137
push edi
mov ecx, ebx
call fcn.100072b1
lea ecx, [ebp - 0x223c]
mov esi, eax
call fcn.10005ec6
test esi, esi
js 0x1000714f
jmp 0x100070f3
lea ecx, [ebp - 0x223c]
call fcn.10005ec6
jmp 0x10006d33
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10006d5b
push edi
mov ecx, ebx
mov dword [ebp - 0x2224], esi
call fcn.100062ae
mov esi, eax
test esi, esi
js 0x1000714f
push 0x10021294
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10006e87
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.100062ae
mov esi, eax
test esi, esi
js 0x1000714f
push edi
mov ecx, ebx
call fcn.100062ae
mov esi, eax
test esi, esi
js 0x1000714f
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1000714a
cmp dword [ebp + 0x10], 0
je 0x10006e0d
and dword [ebp - 0x2248], 0
xor eax, eax
and dword [ebp - 0x2244], 0
inc eax
mov byte [ebp - 4], al
mov ecx, ebx
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x224c]
push eax
call fcn.10004f46
mov esi, eax
lea ecx, [ebp - 0x224c]
xor eax, eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
test esi, esi
js 0x10007187
mov byte [ebp - 4], al
jmp 0x100070ee
cmp dword [ebp + 0x14], 0
jne 0x10006e7a
cmp dword [ebp - 0x2224], 0
je 0x10006e7a
xor eax, eax
lea ecx, [ebp - 0x2258]
push 0x20006
push eax
push dword [ebp - 0x221c]
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], eax
call fcn.100063e6
test eax, eax
jne 0x10007178
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2258]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10006e6f
cmp eax, 2
jne 0x10007178
lea ecx, [ebp - 0x2258]
call fcn.10005ec6
push edi
mov ecx, ebx
call fcn.100072b1
jmp 0x10006c23
push 0x5c
push edi
call fcn.10007338
pop ecx
pop ecx
test eax, eax
jne 0x1000714a
cmp dword [ebp + 0x10], eax
je 0x10006f2a
mov esi, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2230]
push 0x2001f
push edi
push esi
call fcn.100063e6
test eax, eax
je 0x10006ef4
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2230]
call fcn.100063e6
test eax, eax
je 0x10006ef4
xor eax, eax
lea ecx, [ebp - 0x2230]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.10005ee0
test eax, eax
jne 0x10007010
push edi
mov ecx, ebx
call fcn.100062ae
mov esi, eax
test esi, esi
js 0x1000714f
push 0x3d
pop eax
cmp word [edi], ax
jne 0x100070f3
push edi
push 0
lea eax, [ebp - 0x2230]
mov ecx, ebx
push eax
call fcn.10004f46
mov esi, eax
jmp 0x10006d17
cmp dword [ebp + 0x14], 0
jne 0x10006f49
push 0x20019
push edi
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x2230]
call fcn.100063e6
jmp 0x10006f4c
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.100154c2
push eax
call fcn.100056bc
add esp, 0x14
mov ecx, ebx
push edi
call fcn.100062ae
mov esi, eax
test esi, esi
js 0x1000714f
push edi
mov ecx, ebx
call fcn.100072b1
mov esi, eax
test esi, esi
js 0x1000714f
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10006ff3
push edi
call fcn.1000e53d
pop ecx
cmp eax, 1
jne 0x10006ff3
push dword [ebp - 0x2240]
mov ecx, ebx
push 0
push dword [ebp - 0x2230]
push edi
call fcn.10006bc4
mov esi, eax
test esi, esi
jns 0x10006fe1
cmp dword [ebp - 0x2240], 0
je 0x1000714f
push edi
mov ecx, ebx
call fcn.100062ae
mov esi, eax
test esi, esi
js 0x1000714f
mov eax, dword [ebp - 0x2220]
cmp eax, 2
je 0x10006c2d
test eax, eax
je 0x1000701e
cmp dword [ebp + 0x14], 0
jne 0x10006c2d
push eax
call fcn.1000570e
pop ecx
mov esi, eax
jmp 0x1000714f
cmp dword [ebp + 0x14], 0
je 0x1000706f
push dword [ebp - 0x2230]
mov ecx, ebx
call fcn.100061f5
test eax, eax
je 0x1000706f
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.10005e15
test eax, eax
je 0x10006c2d
cmp dword [ebp - 0x2224], 0
je 0x10006c2d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.100066c2
jmp 0x10006c2d
push dword [ebp - 0x2230]
mov ecx, ebx
call fcn.100061f5
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2220], eax
call fcn.10005ec6
test eax, eax
jne 0x10007010
cmp dword [ebp - 0x2224], eax
je 0x10006c2d
cmp dword [ebp - 0x2220], eax
jne 0x10006c2d
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2264]
and dword [ebp - 0x2260], 0
and dword [ebp - 0x225c], 0
mov dword [ebp - 0x2264], eax
lea eax, [ebp - 0x218]
push eax
call fcn.10005f79
and dword [ebp - 0x2264], 0
test eax, eax
jne 0x1000718e
lea ecx, [ebp - 0x2264]
call fcn.10005ec6
cmp dword [ebp + 0x10], 0
je 0x10006c2d
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10006c2d
push edi
call fcn.1000e53d
pop ecx
cmp eax, 1
jne 0x10006c2d
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2230]
push edi
call fcn.10006bc4
mov esi, eax
test esi, esi
js 0x1000714f
jmp 0x10006c1b
lea ecx, [ebp - 0x223c]
jmp 0x10007187
lea ecx, [ebp - 0x223c]
call fcn.10005ec6
mov esi, 0x80020009
lea ecx, [ebp - 0x2230]
call fcn.10005ec6
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.100094b0
leave
ret 0x10
push eax
call fcn.1000570e
pop ecx
lea ecx, [ebp - 0x2258]
mov esi, eax
call fcn.10005ec6
jmp 0x1000714f
push eax
call fcn.1000570e
pop ecx
lea ecx, [ebp - 0x2264]
jmp 0x10007185