Function at 0x18012ed4
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x428], 0
and dword [ebp - 0x424], 0
push ebx
push esi
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x458], eax
jmp 0x18013451
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x438], 1
call ebx
mov esi, eax
neg esi
push str.ForceRemove
sbb esi, esi
push edi
inc esi
call ebx
test eax, eax
je 0x18012f4b
test esi, esi
je 0x1801301b
mov ecx, dword [ebp - 0x41c]
mov eax, edi
call fcn.180126ab
mov ebx, eax
push ebx
call fcn.18011ff7
pop ecx
test al, al
jne 0x180134e4
cmp dword [ebp + 0x10], 0
je 0x1801301b
xor ebx, ebx
push 0x5c
mov eax, edi
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
call fcn.180125e3
pop ecx
test eax, eax
jne 0x18013471
push edi
call fcn.18012af7
test eax, eax
je 0x18012fc7
mov eax, dword [ebp - 0x420]
push edi
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], ebx
call fcn.180183fb
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
cmp esi, ebx
je 0x18013010
mov ecx, dword [ebp - 0x41c]
mov eax, edi
call fcn.180126ab
mov ebx, eax
push ebx
call fcn.18011ff7
pop ecx
test al, al
jne 0x18013480
mov ecx, dword [ebp - 0x41c]
call fcn.18012b58
mov ebx, eax
push ebx
call fcn.18011ff7
lea esi, [ebp - 0x434]
pop ecx
test al, al
jne 0x180134df
jmp 0x18013408
lea esi, [ebp - 0x434]
call fcn.180184dd
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, dword [ebp - 0x41c]
test eax, eax
jne 0x18013051
and dword [ebp - 0x438], eax
mov eax, edi
mov ecx, esi
call fcn.180126ab
mov ebx, eax
push ebx
call fcn.18011ff7
pop ecx
test al, al
jne 0x180134e4
push 0x1809b930
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1801316b
lea eax, [ebp - 0x418]
mov ecx, esi
call fcn.180126ab
mov ebx, eax
push ebx
call fcn.18011ff7
pop ecx
test al, al
jne 0x180134e4
mov eax, edi
mov ecx, esi
call fcn.180126ab
mov ebx, eax
push ebx
call fcn.18011ff7
pop ecx
test al, al
jne 0x180134e4
cmp word [edi], 0x3d
jne 0x18013488
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x180130f8
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x440], eax
push edi
lea eax, [ebp - 0x418]
push eax
lea edx, [ebp - 0x440]
mov dword [ebp - 0x43c], esi
call fcn.180127df
mov ebx, eax
push ebx
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
call fcn.18011ff7
lea esi, [ebp - 0x440]
jmp 0x18013002
cmp dword [ebp + 0x14], esi
jne 0x1801315b
cmp dword [ebp - 0x438], esi
je 0x1801315b
push esi
push dword [ebp - 0x420]
mov eax, 0x20006
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x44c], esi
call fcn.18018366
cmp eax, esi
jne 0x18013493
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x450]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x18013150
cmp eax, 2
jne 0x18013493
lea esi, [ebp - 0x450]
call fcn.180184dd
mov ecx, dword [ebp - 0x41c]
call fcn.18012b58
jmp 0x18013458
push 0x5c
mov eax, edi
call fcn.180125e3
pop ecx
test eax, eax
jne 0x180134a0
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x18013224
push edi
push dword [ebp - 0x420]
mov eax, 0x2001f
lea ecx, [ebp - 0x428]
call fcn.18018366
test eax, eax
je 0x180131da
push edi
push dword [ebp - 0x420]
mov eax, 0x20019
lea ecx, [ebp - 0x428]
call fcn.18018366
test eax, eax
je 0x180131da
push edi
push dword [ebp - 0x420]
lea eax, [ebp - 0x428]
call fcn.18018325
mov ebx, eax
test ebx, ebx
jne 0x180134ab
mov eax, edi
mov ecx, esi
call fcn.180126ab
mov ebx, eax
push ebx
call fcn.18011ff7
pop ecx
test al, al
jne 0x180134e4
cmp word [edi], 0x3d
jne 0x18013413
push edi
push 0
lea edx, [ebp - 0x428]
mov ecx, esi
call fcn.180127df
mov ebx, eax
push ebx
call fcn.18011ff7
pop ecx
test al, al
jne 0x180134e4
jmp 0x18013413
cmp dword [ebp + 0x14], ebx
jne 0x18013248
push edi
push dword [ebp - 0x420]
mov eax, 0x20019
lea ecx, [ebp - 0x428]
call fcn.18018366
mov dword [ebp - 0x42c], eax
jmp 0x18013252
mov dword [ebp - 0x42c], 2
cmp dword [ebp - 0x42c], ebx
je 0x18013261
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.18079e15
push eax
call fcn.18003aa0
add esp, 0x14
mov eax, edi
mov ecx, esi
call fcn.180126ab
mov ebx, eax
push ebx
call fcn.18011ff7
pop ecx
test al, al
jne 0x180134e4
mov ecx, esi
call fcn.18012b58
mov ebx, eax
push ebx
call fcn.18011ff7
pop ecx
test al, al
jne 0x180134e4
cmp word [edi], 0x7b
jne 0x18013306
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x18013306
push dword [ebp + 0x14]
mov ecx, esi
push 0
push dword [ebp - 0x428]
push edi
call fcn.18012ed4
mov ebx, eax
push ebx
call fcn.18011ff7
pop ecx
test al, al
je 0x180132ec
cmp dword [ebp + 0x14], 0
je 0x180134e4
mov eax, edi
mov ecx, esi
call fcn.180126ab
mov ebx, eax
push ebx
call fcn.18011ff7
pop ecx
test al, al
jne 0x180134e4
cmp dword [ebp - 0x42c], 2
mov eax, dword [ebp - 0x458]
mov dword [ebp + 0x14], eax
je 0x18013465
cmp dword [ebp - 0x42c], 0
je 0x1801333f
test eax, eax
jne 0x18013465
mov eax, dword [ebp - 0x42c]
call fcn.180184f4
mov ebx, eax
jmp 0x180134e4
test eax, eax
je 0x1801338a
push dword [ebp - 0x428]
call fcn.18012b23
test eax, eax
je 0x1801338a
lea eax, [ebp - 0x210]
push eax
call fcn.18012af7
test eax, eax
je 0x18013465
cmp dword [ebp - 0x438], 0
je 0x18013465
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x428]
call fcn.180183fb
jmp 0x18013465
push dword [ebp - 0x428]
call fcn.18012b23
lea esi, [ebp - 0x428]
mov dword [ebp - 0x454], eax
call fcn.180184dd
xor ecx, ecx
mov dword [ebp - 0x42c], eax
cmp eax, ecx
jne 0x180134bf
cmp dword [ebp - 0x438], ecx
je 0x18013465
cmp dword [ebp - 0x454], ecx
jne 0x18013465
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x210]
push eax
lea esi, [ebp - 0x448]
mov dword [ebp - 0x444], ecx
call fcn.180183a4
and dword [ebp - 0x448], 0
and dword [ebp - 0x444], 0
test eax, eax
jne 0x180134d2
call fcn.180184dd
mov esi, dword [ebp - 0x41c]
cmp dword [ebp + 0x10], 0
je 0x18013465
cmp word [edi], 0x7b
jne 0x18013465
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x18013465
push 0
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp - 0x428]
push edi
call fcn.18012ed4
mov ebx, eax
push ebx
call fcn.18011ff7
pop ecx
test al, al
jne 0x180134e4
mov ecx, esi
mov eax, edi
call fcn.180126ab
mov ebx, eax
push ebx
call fcn.18011ff7
pop ecx
test al, al
jne 0x180134e4
cmp word [edi], 0x7d
jne 0x18012f18
jmp 0x180134e4
mov eax, dword [ebp - 0x41c]
mov ebx, dword [eax + 8]
or ebx, 0x82110000
lea esi, [ebp - 0x434]
jmp 0x180134df
mov ebx, dword [esi + 8]
or ebx, 0x82060000
jmp 0x180134e4
call fcn.180184f4
lea esi, [ebp - 0x450]
jmp 0x180134dd
mov ebx, dword [esi + 8]
or ebx, 0x82110000
jmp 0x180134e4
lea esi, [ebp - 0x428]
call fcn.180184dd
mov eax, ebx
call fcn.180184f4
jmp 0x180134f1
lea esi, [ebp - 0x428]
call fcn.180184dd
mov eax, dword [ebp - 0x42c]
jmp 0x180134b8
call fcn.180184f4
lea esi, [ebp - 0x448]
mov ebx, eax
call fcn.180184dd
lea esi, [ebp - 0x428]
call fcn.180184dd
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.180761c5
leave
ret 0x10