Function at 0x18012e99
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 0x18013416
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 0x18012f10
test esi, esi
je 0x18012fe0
mov ecx, dword [ebp - 0x41c]
mov eax, edi
call fcn.18012670
mov ebx, eax
push ebx
call fcn.18011fd0
pop ecx
test al, al
jne 0x180134a9
cmp dword [ebp + 0x10], 0
je 0x18012fe0
xor ebx, ebx
push 0x5c
mov eax, edi
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
call fcn.180125a8
pop ecx
test eax, eax
jne 0x18013436
push edi
call fcn.18012abc
test eax, eax
je 0x18012f8c
mov eax, dword [ebp - 0x420]
push edi
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], ebx
call fcn.1801838e
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
cmp esi, ebx
je 0x18012fd5
mov ecx, dword [ebp - 0x41c]
mov eax, edi
call fcn.18012670
mov ebx, eax
push ebx
call fcn.18011fd0
pop ecx
test al, al
jne 0x18013445
mov ecx, dword [ebp - 0x41c]
call fcn.18012b1d
mov ebx, eax
push ebx
call fcn.18011fd0
lea esi, [ebp - 0x434]
pop ecx
test al, al
jne 0x180134a4
jmp 0x180133cd
lea esi, [ebp - 0x434]
call fcn.18018470
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, dword [ebp - 0x41c]
test eax, eax
jne 0x18013016
and dword [ebp - 0x438], eax
mov eax, edi
mov ecx, esi
call fcn.18012670
mov ebx, eax
push ebx
call fcn.18011fd0
pop ecx
test al, al
jne 0x180134a9
push 0x1809b908
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x18013130
lea eax, [ebp - 0x418]
mov ecx, esi
call fcn.18012670
mov ebx, eax
push ebx
call fcn.18011fd0
pop ecx
test al, al
jne 0x180134a9
mov eax, edi
mov ecx, esi
call fcn.18012670
mov ebx, eax
push ebx
call fcn.18011fd0
pop ecx
test al, al
jne 0x180134a9
cmp word [edi], 0x3d
jne 0x1801344d
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x180130bd
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.180127a4
mov ebx, eax
push ebx
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
call fcn.18011fd0
lea esi, [ebp - 0x440]
jmp 0x18012fc7
cmp dword [ebp + 0x14], esi
jne 0x18013120
cmp dword [ebp - 0x438], esi
je 0x18013120
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.180182f9
cmp eax, esi
jne 0x18013458
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x450]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x18013115
cmp eax, 2
jne 0x18013458
lea esi, [ebp - 0x450]
call fcn.18018470
mov ecx, dword [ebp - 0x41c]
call fcn.18012b1d
jmp 0x1801341d
push 0x5c
mov eax, edi
call fcn.180125a8
pop ecx
test eax, eax
jne 0x18013465
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x180131e9
push edi
push dword [ebp - 0x420]
mov eax, 0x2001f
lea ecx, [ebp - 0x428]
call fcn.180182f9
test eax, eax
je 0x1801319f
push edi
push dword [ebp - 0x420]
mov eax, 0x20019
lea ecx, [ebp - 0x428]
call fcn.180182f9
test eax, eax
je 0x1801319f
push edi
push dword [ebp - 0x420]
lea eax, [ebp - 0x428]
call fcn.180182b8
mov ebx, eax
test ebx, ebx
jne 0x18013470
mov eax, edi
mov ecx, esi
call fcn.18012670
mov ebx, eax
push ebx
call fcn.18011fd0
pop ecx
test al, al
jne 0x180134a9
cmp word [edi], 0x3d
jne 0x180133d8
push edi
push 0
lea edx, [ebp - 0x428]
mov ecx, esi
call fcn.180127a4
mov ebx, eax
push ebx
call fcn.18011fd0
pop ecx
test al, al
jne 0x180134a9
jmp 0x180133d8
cmp dword [ebp + 0x14], ebx
jne 0x1801320d
push edi
push dword [ebp - 0x420]
mov eax, 0x20019
lea ecx, [ebp - 0x428]
call fcn.180182f9
mov dword [ebp - 0x42c], eax
jmp 0x18013217
mov dword [ebp - 0x42c], 2
cmp dword [ebp - 0x42c], ebx
je 0x18013226
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.18079ac5
push eax
call fcn.18003a8c
add esp, 0x14
mov eax, edi
mov ecx, esi
call fcn.18012670
mov ebx, eax
push ebx
call fcn.18011fd0
pop ecx
test al, al
jne 0x180134a9
mov ecx, esi
call fcn.18012b1d
mov ebx, eax
push ebx
call fcn.18011fd0
pop ecx
test al, al
jne 0x180134a9
cmp word [edi], 0x7b
jne 0x180132cb
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x180132cb
push dword [ebp + 0x14]
mov ecx, esi
push 0
push dword [ebp - 0x428]
push edi
call fcn.18012e99
mov ebx, eax
push ebx
call fcn.18011fd0
pop ecx
test al, al
je 0x180132b1
cmp dword [ebp + 0x14], 0
je 0x180134a9
mov eax, edi
mov ecx, esi
call fcn.18012670
mov ebx, eax
push ebx
call fcn.18011fd0
pop ecx
test al, al
jne 0x180134a9
cmp dword [ebp - 0x42c], 2
mov eax, dword [ebp - 0x458]
mov dword [ebp + 0x14], eax
je 0x1801342a
cmp dword [ebp - 0x42c], 0
je 0x18013304
test eax, eax
jne 0x1801342a
mov eax, dword [ebp - 0x42c]
call fcn.18018487
mov ebx, eax
jmp 0x180134a9
test eax, eax
je 0x1801334f
push dword [ebp - 0x428]
call fcn.18012ae8
test eax, eax
je 0x1801334f
lea eax, [ebp - 0x210]
push eax
call fcn.18012abc
test eax, eax
je 0x1801342a
cmp dword [ebp - 0x438], 0
je 0x1801342a
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x428]
call fcn.1801838e
jmp 0x1801342a
push dword [ebp - 0x428]
call fcn.18012ae8
lea esi, [ebp - 0x428]
mov dword [ebp - 0x454], eax
call fcn.18018470
xor ecx, ecx
mov dword [ebp - 0x42c], eax
cmp eax, ecx
jne 0x18013484
cmp dword [ebp - 0x438], ecx
je 0x1801342a
cmp dword [ebp - 0x454], ecx
jne 0x1801342a
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.18018337
and dword [ebp - 0x448], 0
and dword [ebp - 0x444], 0
test eax, eax
jne 0x18013497
call fcn.18018470
mov esi, dword [ebp - 0x41c]
cmp dword [ebp + 0x10], 0
je 0x1801342a
cmp word [edi], 0x7b
jne 0x1801342a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1801342a
push 0
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp - 0x428]
push edi
call fcn.18012e99
mov ebx, eax
push ebx
call fcn.18011fd0
pop ecx
test al, al
jne 0x180134a9
mov ecx, esi
mov eax, edi
call fcn.18012670
mov ebx, eax
push ebx
call fcn.18011fd0
pop ecx
test al, al
jne 0x180134a9
cmp word [edi], 0x7d
jne 0x18012edd
jmp 0x180134a9
mov eax, dword [ebp - 0x41c]
mov ebx, dword [eax + 8]
or ebx, 0x82110000
lea esi, [ebp - 0x434]
jmp 0x180134a4
mov ebx, dword [esi + 8]
or ebx, 0x82060000
jmp 0x180134a9
call fcn.18018487
lea esi, [ebp - 0x450]
jmp 0x180134a2
mov ebx, dword [esi + 8]
or ebx, 0x82110000
jmp 0x180134a9
lea esi, [ebp - 0x428]
call fcn.18018470
mov eax, ebx
call fcn.18018487
jmp 0x180134b6
lea esi, [ebp - 0x428]
call fcn.18018470
mov eax, dword [ebp - 0x42c]
jmp 0x1801347d
call fcn.18018487
lea esi, [ebp - 0x448]
mov ebx, eax
call fcn.18018470
lea esi, [ebp - 0x428]
call fcn.18018470
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18075e75
leave
ret 0x10