Function at 0x180136a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x225c
call fcn.1814ba20
mov eax, dword [0x1819f008]
xor eax, esp
mov dword [esp + 0x2258], eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov dword [esp + 8], ecx
xor ecx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov ecx, eax
mov dword [esp + 0xc], eax
jmp 0x18013b2f
push str.Delete
push edi
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x18161b10
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18013717
test ebx, ebx
je 0x180137c1
mov ecx, dword [esp + 0xc]
push edi
call fcn.18012cae
mov esi, eax
test esi, esi
js 0x18013b5d
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x180137c3
push 0x5c
pop edx
mov ecx, edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.18012c49
test eax, eax
jne 0x18013b4f
push edi
call fcn.180131d6
test eax, eax
je 0x1801377c
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push edi
mov dword [esp + 0x28], eax
call fcn.1801268d
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
test ebx, ebx
je 0x180137b6
mov ebx, dword [esp + 0xc]
mov ecx, ebx
push edi
call fcn.18012cae
mov esi, eax
test esi, esi
js 0x18013b49
push edi
mov ecx, ebx
call fcn.1801323a
mov esi, eax
lea ecx, [esp + 0x24]
call fcn.180125b6
test esi, esi
js 0x18013b5d
jmp 0x18013afc
lea ecx, [esp + 0x24]
call fcn.180125b6
jmp 0x180137c3
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x180137ed
push edi
mov ecx, ebx
mov dword [esp + 0x18], esi
call fcn.18012cae
mov esi, eax
test esi, esi
js 0x18013b5d
push 0x18161b08
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180138e9
lea eax, [esp + 0x260]
mov ecx, ebx
push eax
call fcn.18012cae
mov esi, eax
test esi, esi
js 0x18013b5d
push edi
mov ecx, ebx
call fcn.18012cae
mov esi, eax
test esi, esi
js 0x18013b5d
push 0x3d
pop eax
cmp word [edi], ax
jne 0x18013b58
cmp dword [ebp + 0x10], 0
je 0x1801387e
mov eax, dword [esp + 0x10]
mov ecx, ebx
and dword [esp + 0x38], 0
and dword [esp + 0x3c], 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x260]
push edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.18012e09
mov esi, eax
lea ecx, [esp + 0x34]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
jmp 0x180137a4
cmp dword [ebp + 0x14], 0
jne 0x180138dc
cmp dword [esp + 0x14], 0
je 0x180138dc
xor eax, eax
lea ecx, [esp + 0x40]
push 0x20006
push eax
push dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.18012631
test eax, eax
jne 0x18013b7f
lea eax, [esp + 0x260]
push eax
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x180138d3
cmp eax, 2
jne 0x18013b7f
lea ecx, [esp + 0x40]
call fcn.180125b6
push edi
mov ecx, ebx
call fcn.1801323a
jmp 0x18013b35
push 0x5c
pop edx
mov ecx, edi
call fcn.18012c49
test eax, eax
jne 0x18013b58
cmp dword [ebp + 0x10], eax
je 0x18013976
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push 0x2001f
push edi
push esi
call fcn.18012631
test eax, eax
je 0x18013942
push 0x20019
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.18012631
test eax, eax
je 0x18013942
sub esp, 0x14
lea ecx, [esp + 0x2c]
push edi
push esi
call fcn.180125d0
test eax, eax
jne 0x18013ba0
push edi
mov ecx, ebx
call fcn.18012cae
mov esi, eax
test esi, esi
js 0x18013b5d
push 0x3d
pop eax
cmp word [edi], ax
jne 0x18013afc
push edi
push 0
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.18012e09
mov esi, eax
jmp 0x180137a9
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x18013994
push 0x20019
push edi
push dword [esp + 0x18]
lea ecx, [esp + 0x24]
call fcn.18012631
mov ebx, eax
jmp 0x18013997
push 2
pop ebx
mov dword [esp + 0x30], esi
test ebx, ebx
je 0x180139a7
mov dword [esp + 0x30], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x60]
push 0x104
push eax
call fcn.1813594e
push eax
call fcn.18003316
mov ecx, dword [esp + 0x20]
add esp, 0x14
push edi
call fcn.18012cae
mov esi, eax
test esi, esi
js 0x18013b5d
mov ecx, dword [esp + 0xc]
push edi
call fcn.1801323a
mov esi, eax
test esi, esi
js 0x18013b5d
push 0x7b
pop eax
cmp word [edi], ax
jne 0x18013a37
push edi
call fcn.1813397d
pop ecx
cmp eax, 1
jne 0x18013a37
push dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push 0
push dword [esp + 0x20]
push edi
call fcn.180136a0
mov esi, eax
test esi, esi
jns 0x18013a23
cmp dword [esp + 0x30], 0
je 0x18013b5d
mov ecx, dword [esp + 0xc]
push edi
call fcn.18012cae
mov esi, eax
test esi, esi
js 0x18013b5d
cmp ebx, 2
je 0x18013b3b
test ebx, ebx
je 0x18013a5c
cmp dword [ebp + 0x14], 0
jne 0x18013b3b
mov ecx, ebx
call fcn.18012255
mov esi, eax
jmp 0x18013b5d
cmp dword [ebp + 0x14], 0
je 0x18013a9f
push dword [esp + 0x18]
call fcn.18013205
test eax, eax
je 0x18013a9f
lea eax, [esp + 0x58]
push eax
call fcn.180131d6
test eax, eax
je 0x18013b3b
cmp dword [esp + 0x14], 0
je 0x18013b3b
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x1c]
call fcn.1801268d
jmp 0x18013b3b
push dword [esp + 0x18]
call fcn.18013205
lea ecx, [esp + 0x18]
mov ebx, eax
call fcn.180125b6
test eax, eax
jne 0x18013ba0
cmp dword [esp + 0x14], eax
je 0x18013b3b
test ebx, ebx
jne 0x18013b3b
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.1801253d
mov dword [esp + 0x4c], ebx
test eax, eax
jne 0x18013b93
lea ecx, [esp + 0x4c]
call fcn.180125b6
mov ebx, dword [esp + 0xc]
cmp dword [ebp + 0x10], 0
je 0x18013b3b
push 0x7b
pop eax
cmp word [edi], ax
jne 0x18013b3b
push edi
call fcn.1813397d
pop ecx
cmp eax, 1
jne 0x18013b3b
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [esp + 0x20]
push edi
call fcn.180136a0
mov esi, eax
test esi, esi
js 0x18013b5d
mov ecx, ebx
push edi
call fcn.18012cae
mov esi, eax
test esi, esi
js 0x18013b5d
push 0x7d
pop eax
cmp word [edi], ax
jne 0x180136e6
jmp 0x18013b5d
lea ecx, [esp + 0x24]
jmp 0x18013b8c
lea ecx, [esp + 0x24]
call fcn.180125b6
mov esi, 0x80020009
lea ecx, [esp + 0x18]
call fcn.180125b6
mov ecx, dword [esp + 0x2264]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18128eaf
mov esp, ebp
pop ebp
ret 0x10
mov ecx, eax
call fcn.18012255
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.180125b6
jmp 0x18013b5d
mov ecx, eax
call fcn.18012255
lea ecx, [esp + 0x4c]
jmp 0x18013b8a
mov ecx, eax
jmp 0x18013a50