Function at 0x1000edaa
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c119
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.10049a40
mov eax, dword [0x1006500c]
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, ecx
mov dword [ebp - 0x2220], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x221c], ecx
xor ecx, ecx
mov dword [ebp - 0x2240], ecx
mov dword [ebp - 0x223c], ecx
mov dword [ebp - 0x2238], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.1000e253
mov esi, eax
test esi, esi
js 0x1000f38e
push 0x7d
pop eax
cmp word [edi], ax
je 0x1000f38e
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 0x10056df4
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1000ee57
test ebx, ebx
je 0x1000ef32
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.1000e253
mov esi, eax
test esi, esi
js 0x1000f38e
cmp dword [ebp + 0x10], 0
je 0x1000ef32
xor eax, eax
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], eax
inc eax
mov byte [ebp - 4], al
mov ecx, edi
push 0x5c
pop edx
call fcn.1000e1cf
test eax, eax
jne 0x1000f37a
push edi
call fcn.1000e8c3
test eax, eax
je 0x1000eee6
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2234]
and dword [ebp - 0x2230], 0
and dword [ebp - 0x222c], 0
push edi
mov dword [ebp - 0x2234], eax
call fcn.1000db8a
and dword [ebp - 0x2234], 0
and dword [ebp - 0x2230], 0
and dword [ebp - 0x222c], 0
test ebx, ebx
je 0x1000ef23
mov ebx, dword [ebp - 0x2220]
mov ecx, ebx
push edi
call fcn.1000e253
mov esi, eax
test esi, esi
js 0x1000f36e
push edi
mov ecx, ebx
call fcn.1000e927
mov esi, eax
test esi, esi
js 0x1000f36e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2234]
jmp 0x1000f323
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2234]
call fcn.1000dac4
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x2220]
test eax, eax
jne 0x1000ef60
and dword [ebp - 0x2224], eax
mov ecx, ebx
push edi
call fcn.1000e253
mov esi, eax
test esi, esi
js 0x1000f38e
push 0x10056dec
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000f0a4
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.1000e253
mov esi, eax
test esi, esi
js 0x1000f38e
push edi
mov ecx, ebx
call fcn.1000e253
mov esi, eax
test esi, esi
js 0x1000f38e
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1000f389
cmp dword [ebp + 0x10], 0
je 0x1000f022
xor ecx, ecx
mov dword [ebp - 0x224c], ecx
mov dword [ebp - 0x2248], ecx
mov dword [ebp - 0x2244], ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x224c]
mov dword [ebp - 0x2248], ecx
mov dword [ebp - 0x2244], ecx
mov ecx, ebx
push eax
call fcn.1000e39d
mov esi, eax
xor eax, eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
test esi, esi
js 0x1000f3bb
mov byte [ebp - 4], al
lea ecx, [ebp - 0x224c]
jmp 0x1000f323
cmp dword [ebp + 0x14], 0
jne 0x1000f097
cmp dword [ebp - 0x2224], 0
je 0x1000f097
xor eax, eax
mov dword [ebp - 0x2268], eax
mov dword [ebp - 0x2264], eax
mov dword [ebp - 0x2260], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2268]
push 0x20006
push eax
push dword [ebp - 0x221c]
call fcn.1000db3a
test eax, eax
jne 0x1000f3c6
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2268]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1000f088
cmp eax, 2
jne 0x1000f3c6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2268]
call fcn.1000dac4
push edi
mov ecx, ebx
call fcn.1000e927
jmp 0x1000ee0f
push 0x5c
pop edx
mov ecx, edi
call fcn.1000e1cf
test eax, eax
jne 0x1000f389
cmp dword [ebp + 0x10], eax
je 0x1000f147
mov esi, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2240]
push 0x2001f
push edi
push esi
call fcn.1000db3a
test eax, eax
je 0x1000f109
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2240]
call fcn.1000db3a
test eax, eax
je 0x1000f109
sub esp, 0x14
lea ecx, [ebp - 0x2240]
push edi
push esi
call fcn.1000dade
test eax, eax
jne 0x1000f22d
push edi
mov ecx, ebx
call fcn.1000e253
mov esi, eax
test esi, esi
js 0x1000f38e
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1000f328
push edi
push 0
lea eax, [ebp - 0x2240]
mov ecx, ebx
push eax
call fcn.1000e39d
mov esi, eax
test esi, esi
js 0x1000f38e
jmp 0x1000f328
cmp dword [ebp + 0x14], 0
jne 0x1000f166
push 0x20019
push edi
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x2240]
call fcn.1000db3a
jmp 0x1000f169
push 2
pop eax
mov ecx, dword [ebp + 0x14]
test eax, eax
push 1
mov dword [ebp - 0x2228], eax
pop eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp - 0x218]
push edi
push 0x104
push eax
mov dword [ebp - 0x225c], ecx
call fcn.1003e297
push eax
call fcn.1000d6a2
add esp, 0x14
mov ecx, ebx
push edi
call fcn.1000e253
mov esi, eax
test esi, esi
js 0x1000f38e
push edi
mov ecx, ebx
call fcn.1000e927
mov esi, eax
test esi, esi
js 0x1000f38e
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1000f210
push edi
call fcn.1003dd45
pop ecx
cmp eax, 1
jne 0x1000f210
push dword [ebp - 0x225c]
mov ecx, ebx
push 0
push dword [ebp - 0x2240]
push edi
call fcn.1000edaa
mov esi, eax
test esi, esi
jns 0x1000f1fe
cmp dword [ebp - 0x225c], 0
je 0x1000f38e
push edi
mov ecx, ebx
call fcn.1000e253
mov esi, eax
test esi, esi
js 0x1000f38e
mov eax, dword [ebp - 0x2228]
cmp eax, 2
je 0x1000ee19
test eax, eax
je 0x1000f23b
cmp dword [ebp + 0x14], 0
jne 0x1000ee19
mov ecx, eax
call fcn.1000d6f4
mov esi, eax
jmp 0x1000f38e
cmp dword [ebp + 0x14], 0
je 0x1000f288
push dword [ebp - 0x2240]
call fcn.1000e8f2
test eax, eax
je 0x1000f288
lea eax, [ebp - 0x218]
push eax
call fcn.1000e8c3
test eax, eax
je 0x1000ee19
cmp dword [ebp - 0x2224], 0
je 0x1000ee19
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2240]
call fcn.1000db8a
jmp 0x1000ee19
push dword [ebp - 0x2240]
call fcn.1000e8f2
lea ecx, [ebp - 0x2240]
mov dword [ebp - 0x2228], eax
call fcn.1000dac4
test eax, eax
jne 0x1000f22d
cmp dword [ebp - 0x2224], eax
je 0x1000ee19
cmp dword [ebp - 0x2228], eax
jne 0x1000ee19
xor ecx, ecx
mov dword [ebp - 0x2258], ecx
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], ecx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
mov dword [ebp - 0x2258], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor edx, edx
mov dword [ebp - 0x2258], edx
mov dword [ebp - 0x2254], edx
mov dword [ebp - 0x2250], edx
test eax, eax
jne 0x1000f3e0
mov byte [ebp - 4], dl
lea ecx, [ebp - 0x2258]
call fcn.1000dac4
cmp dword [ebp + 0x10], 0
je 0x1000ee19
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1000ee19
push edi
call fcn.1003dd45
pop ecx
cmp eax, 1
jne 0x1000ee19
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2240]
push edi
call fcn.1000edaa
mov esi, eax
test esi, esi
js 0x1000f38e
mov ecx, ebx
jmp 0x1000ee09
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2234]
jmp 0x1000f3d9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2234]
call fcn.1000dac4
mov esi, 0x80020009
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2240]
call fcn.1000dac4
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.10036316
leave
ret 0x10
mov byte [ebp - 4], al
lea ecx, [ebp - 0x224c]
jmp 0x1000f3d9
mov ecx, eax
call fcn.1000d6f4
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2268]
call fcn.1000dac4
jmp 0x1000f38e
mov ecx, eax
call fcn.1000d6f4
mov esi, eax
mov byte [ebp - 4], dl
lea ecx, [ebp - 0x2258]
jmp 0x1000f3d9