Function at 0x10014cf7
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002eb85
mov eax, dword fs:[0]
push eax
mov eax, 0x115c
call fcn.10018610
mov eax, dword [0x1003d200]
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 - 0x1118], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1120], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x112c], ecx
mov dword [ebp - 0x1130], ebx
mov dword [ebp - 0x1128], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.10013cbd
mov esi, eax
test esi, esi
js 0x1001534c
jmp 0x10015311
push str.Delete
push edi
mov dword [ebp - 0x111c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.ForceRemove
mov esi, eax
push edi
mov dword [ebp - 0x1124], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10014da3
test esi, esi
jne 0x10014e68
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10013cbd
mov esi, eax
test esi, esi
js 0x10015341
cmp dword [ebp + 0x10], 0
je 0x10014e68
and dword [ebp - 0x114c], 0
and dword [ebp - 0x1144], 0
push 0x5c
push edi
call fcn.10015936
pop ecx
pop ecx
test eax, eax
jne 0x1001533c
mov esi, dword [ebp - 0x1118]
mov ecx, esi
push edi
call fcn.10011200
test eax, eax
je 0x10014e22
mov eax, dword [ebp - 0x1120]
lea ecx, [ebp - 0x114c]
and dword [ebp - 0x1148], 0
push edi
mov dword [ebp - 0x114c], eax
call fcn.100146c1
and dword [ebp - 0x114c], 0
and dword [ebp - 0x1144], 0
cmp dword [ebp - 0x1124], 0
jne 0x10014e5f
push edi
mov ecx, esi
call fcn.10013cbd
mov esi, eax
test esi, esi
js 0x10015341
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.100158a2
mov esi, eax
test esi, esi
js 0x10015341
and dword [ebp - 0x1148], 0
jmp 0x100150f7
and dword [ebp - 0x1148], 0
jmp 0x10014e6e
mov esi, dword [ebp - 0x1118]
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10014e96
and dword [ebp - 0x111c], eax
mov ecx, esi
push edi
call fcn.10013cbd
mov esi, eax
test esi, esi
js 0x10015341
push 0x10031708
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10014fe6
mov ecx, dword [ebp - 0x1118]
lea eax, [ebp - 0x1114]
push eax
call fcn.10013cbd
mov esi, eax
test esi, esi
js 0x10015341
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10013cbd
mov esi, eax
test esi, esi
js 0x10015341
cmp byte [edi], 0x3d
jne 0x1001533c
cmp dword [ebp + 0x10], 0
je 0x10014f4f
mov eax, dword [ebp - 0x1120]
mov ecx, dword [ebp - 0x1118]
and dword [ebp - 0x1154], 0
and dword [ebp - 0x1150], 0
mov dword [ebp - 0x1158], eax
lea eax, [ebp - 0x1114]
push edi
push eax
lea eax, [ebp - 0x1158]
mov byte [ebp - 4], 1
push eax
call fcn.1000fc12
mov esi, eax
xor eax, eax
mov dword [ebp - 0x1158], eax
mov dword [ebp - 0x1154], eax
mov dword [ebp - 0x1150], eax
test esi, esi
js 0x10015341
mov byte [ebp - 4], al
mov dword [ebp - 0x1154], eax
jmp 0x100150f7
cmp dword [ebp + 0x14], 0
jne 0x10014fcb
cmp dword [ebp - 0x111c], 0
je 0x10014fcb
xor eax, eax
lea ecx, [ebp - 0x113c]
push 0x20006
push eax
push dword [ebp - 0x1120]
mov dword [ebp - 0x113c], eax
mov dword [ebp - 0x1138], eax
mov dword [ebp - 0x1134], eax
call fcn.100140ad
test eax, eax
jne 0x1001531c
mov esi, dword [ebp - 0x113c]
lea eax, [ebp - 0x1114]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x10014fb2
cmp eax, 2
jne 0x1001531c
test esi, esi
je 0x10014fc4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x113c], 0
and dword [ebp - 0x1138], 0
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.100158a2
mov esi, eax
test esi, esi
js 0x10015341
jmp 0x10015311
push 0x5c
push edi
call fcn.10015936
pop ecx
pop ecx
test eax, eax
jne 0x1001533c
cmp dword [ebp + 0x10], eax
je 0x1001513d
mov ebx, dword [ebp - 0x1120]
lea ecx, [ebp - 0x1130]
mov esi, 0x2001f
push esi
push edi
push ebx
call fcn.100140ad
test eax, eax
je 0x100150b1
push 0x20019
push edi
push ebx
lea ecx, [ebp - 0x1130]
call fcn.100140ad
test eax, eax
je 0x100150b1
mov ecx, dword [ebp - 0x1128]
lea eax, [ebp - 0x115c]
push eax
xor edx, edx
lea eax, [ebp - 0x111c]
mov dword [ebp - 0x111c], edx
push eax
push edx
push esi
push edx
push edx
push edx
push edi
push ebx
test ecx, ecx
je 0x10015066
call fcn.100147af
jmp 0x1001506c
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10015099
cmp dword [ebp - 0x1130], eax
je 0x10015084
push dword [ebp - 0x1130]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x111c]
and dword [ebp - 0x112c], 0
mov dword [ebp - 0x1130], ebx
jmp 0x1001509f
mov ebx, dword [ebp - 0x1130]
test eax, eax
je 0x100150b7
push eax
call fcn.1001078e
pop ecx
mov esi, eax
jmp 0x10015341
mov ebx, dword [ebp - 0x1130]
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10013cbd
mov esi, eax
test esi, esi
js 0x10015341
cmp byte [edi], 0x3d
jne 0x100150f7
mov ecx, dword [ebp - 0x1118]
lea eax, [ebp - 0x1130]
push edi
push 0
push eax
call fcn.1000fc12
mov ebx, dword [ebp - 0x1130]
mov esi, eax
test esi, esi
js 0x10015341
cmp byte [edi], 0x7b
jne 0x10015311
push edi
call fcn.1001dab0
pop ecx
cmp eax, 1
jne 0x10015311
mov ecx, dword [ebp - 0x1118]
push 0
push dword [ebp + 0x10]
push ebx
push edi
call fcn.10014cf7
mov esi, eax
test esi, esi
js 0x10015341
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10013cbd
jmp 0x10014fd7
cmp dword [ebp + 0x14], 0
jne 0x10015162
push 0x20019
push edi
push dword [ebp - 0x1120]
lea ecx, [ebp - 0x1130]
call fcn.100140ad
mov ebx, dword [ebp - 0x1130]
jmp 0x10015165
push 2
pop eax
xor ecx, ecx
mov dword [ebp - 0x1124], eax
push 0xffffffffffffffff
inc ecx
test eax, eax
push edi
cmove ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x114]
push 0x104
push eax
mov dword [ebp - 0x1140], ecx
call fcn.100210ab
push eax
call fcn.10002832
mov ecx, dword [ebp - 0x1118]
add esp, 0x14
push edi
call fcn.10013cbd
mov esi, eax
test esi, esi
js 0x10015341
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.100158a2
mov esi, eax
test esi, esi
js 0x10015341
cmp byte [edi], 0x7b
jne 0x10015212
push edi
call fcn.1001dab0
pop ecx
cmp eax, 1
jne 0x10015212
push dword [ebp - 0x1140]
mov ecx, dword [ebp - 0x1118]
push 0
push ebx
push edi
call fcn.10014cf7
mov esi, eax
test esi, esi
jns 0x100151fc
cmp dword [ebp - 0x1140], 0
je 0x10015341
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10013cbd
mov esi, eax
test esi, esi
js 0x10015341
mov eax, dword [ebp - 0x1124]
cmp eax, 2
je 0x10015311
test eax, eax
je 0x10015234
cmp dword [ebp + 0x14], 0
je 0x100150a3
jmp 0x10015311
cmp dword [ebp + 0x14], 0
je 0x1001528e
mov ecx, dword [ebp - 0x1118]
push ebx
call fcn.100123b9
test eax, eax
je 0x1001528e
mov ecx, dword [ebp - 0x1118]
lea eax, [ebp - 0x114]
push eax
call fcn.10011200
test eax, eax
je 0x10015311
cmp dword [ebp - 0x111c], 0
je 0x10015311
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1130]
call fcn.100146c1
mov ebx, dword [ebp - 0x1130]
jmp 0x10015311
mov ecx, dword [ebp - 0x1118]
push ebx
call fcn.100123b9
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x1124], ecx
test ebx, ebx
je 0x100152bd
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1124]
xor ebx, ebx
mov dword [ebp - 0x1130], ebx
and dword [ebp - 0x112c], 0
test eax, eax
jne 0x100150a3
cmp dword [ebp - 0x111c], eax
je 0x10015311
test ecx, ecx
jne 0x10015311
mov eax, dword [ebp - 0x1120]
and dword [ebp - 0x1164], ecx
and dword [ebp - 0x1160], ecx
lea ecx, [ebp - 0x1168]
mov dword [ebp - 0x1168], eax
lea eax, [ebp - 0x114]
push eax
call fcn.10011675
and dword [ebp - 0x1168], 0
test eax, eax
jne 0x100150a3
cmp byte [edi], 0x7d
jne 0x10014d6d
jmp 0x10015341
push eax
call fcn.1001078e
cmp dword [ebp - 0x113c], 0
mov esi, eax
pop ecx
je 0x10015341
push dword [ebp - 0x113c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10015341
mov esi, 0x80020009
test ebx, ebx
je 0x1001534c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.100181cd
leave
ret 0x10