Function at 0x1801a50c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x180f51f0]
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 0x1801aa89
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 0x1801a583
test esi, esi
je 0x1801a653
mov ecx, dword [ebp - 0x41c]
mov eax, edi
call fcn.18019ce3
mov ebx, eax
push ebx
call fcn.18019615
pop ecx
test al, al
jne 0x1801ab1c
cmp dword [ebp + 0x10], 0
je 0x1801a653
xor ebx, ebx
push 0x5c
mov eax, edi
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
call fcn.18019c1b
pop ecx
test eax, eax
jne 0x1801aaa9
push edi
call fcn.1801a12f
test eax, eax
je 0x1801a5ff
mov eax, dword [ebp - 0x420]
push edi
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], ebx
call fcn.1802285d
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
cmp esi, ebx
je 0x1801a648
mov ecx, dword [ebp - 0x41c]
mov eax, edi
call fcn.18019ce3
mov ebx, eax
push ebx
call fcn.18019615
pop ecx
test al, al
jne 0x1801aab8
mov ecx, dword [ebp - 0x41c]
call fcn.1801a190
mov ebx, eax
push ebx
call fcn.18019615
lea esi, [ebp - 0x434]
pop ecx
test al, al
jne 0x1801ab17
jmp 0x1801aa40
lea esi, [ebp - 0x434]
call fcn.1802293f
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, dword [ebp - 0x41c]
test eax, eax
jne 0x1801a689
and dword [ebp - 0x438], eax
mov eax, edi
mov ecx, esi
call fcn.18019ce3
mov ebx, eax
push ebx
call fcn.18019615
pop ecx
test al, al
jne 0x1801ab1c
push 0x180c2078
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1801a7a3
lea eax, [ebp - 0x418]
mov ecx, esi
call fcn.18019ce3
mov ebx, eax
push ebx
call fcn.18019615
pop ecx
test al, al
jne 0x1801ab1c
mov eax, edi
mov ecx, esi
call fcn.18019ce3
mov ebx, eax
push ebx
call fcn.18019615
pop ecx
test al, al
jne 0x1801ab1c
cmp word [edi], 0x3d
jne 0x1801aac0
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x1801a730
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.18019e17
mov ebx, eax
push ebx
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
call fcn.18019615
lea esi, [ebp - 0x440]
jmp 0x1801a63a
cmp dword [ebp + 0x14], esi
jne 0x1801a793
cmp dword [ebp - 0x438], esi
je 0x1801a793
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.180227c8
cmp eax, esi
jne 0x1801aacb
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x450]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x1801a788
cmp eax, 2
jne 0x1801aacb
lea esi, [ebp - 0x450]
call fcn.1802293f
mov ecx, dword [ebp - 0x41c]
call fcn.1801a190
jmp 0x1801aa90
push 0x5c
mov eax, edi
call fcn.18019c1b
pop ecx
test eax, eax
jne 0x1801aad8
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x1801a85c
push edi
push dword [ebp - 0x420]
mov eax, 0x2001f
lea ecx, [ebp - 0x428]
call fcn.180227c8
test eax, eax
je 0x1801a812
push edi
push dword [ebp - 0x420]
mov eax, 0x20019
lea ecx, [ebp - 0x428]
call fcn.180227c8
test eax, eax
je 0x1801a812
push edi
push dword [ebp - 0x420]
lea eax, [ebp - 0x428]
call fcn.18022787
mov ebx, eax
test ebx, ebx
jne 0x1801aae3
mov eax, edi
mov ecx, esi
call fcn.18019ce3
mov ebx, eax
push ebx
call fcn.18019615
pop ecx
test al, al
jne 0x1801ab1c
cmp word [edi], 0x3d
jne 0x1801aa4b
push edi
push 0
lea edx, [ebp - 0x428]
mov ecx, esi
call fcn.18019e17
mov ebx, eax
push ebx
call fcn.18019615
pop ecx
test al, al
jne 0x1801ab1c
jmp 0x1801aa4b
cmp dword [ebp + 0x14], ebx
jne 0x1801a880
push edi
push dword [ebp - 0x420]
mov eax, 0x20019
lea ecx, [ebp - 0x428]
call fcn.180227c8
mov dword [ebp - 0x42c], eax
jmp 0x1801a88a
mov dword [ebp - 0x42c], 2
cmp dword [ebp - 0x42c], ebx
je 0x1801a899
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.180a095b
push eax
call fcn.18003ec7
add esp, 0x14
mov eax, edi
mov ecx, esi
call fcn.18019ce3
mov ebx, eax
push ebx
call fcn.18019615
pop ecx
test al, al
jne 0x1801ab1c
mov ecx, esi
call fcn.1801a190
mov ebx, eax
push ebx
call fcn.18019615
pop ecx
test al, al
jne 0x1801ab1c
cmp word [edi], 0x7b
jne 0x1801a93e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1801a93e
push dword [ebp + 0x14]
mov ecx, esi
push 0
push dword [ebp - 0x428]
push edi
call fcn.1801a50c
mov ebx, eax
push ebx
call fcn.18019615
pop ecx
test al, al
je 0x1801a924
cmp dword [ebp + 0x14], 0
je 0x1801ab1c
mov eax, edi
mov ecx, esi
call fcn.18019ce3
mov ebx, eax
push ebx
call fcn.18019615
pop ecx
test al, al
jne 0x1801ab1c
cmp dword [ebp - 0x42c], 2
mov eax, dword [ebp - 0x458]
mov dword [ebp + 0x14], eax
je 0x1801aa9d
cmp dword [ebp - 0x42c], 0
je 0x1801a977
test eax, eax
jne 0x1801aa9d
mov eax, dword [ebp - 0x42c]
call fcn.18022956
mov ebx, eax
jmp 0x1801ab1c
test eax, eax
je 0x1801a9c2
push dword [ebp - 0x428]
call fcn.1801a15b
test eax, eax
je 0x1801a9c2
lea eax, [ebp - 0x210]
push eax
call fcn.1801a12f
test eax, eax
je 0x1801aa9d
cmp dword [ebp - 0x438], 0
je 0x1801aa9d
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x428]
call fcn.1802285d
jmp 0x1801aa9d
push dword [ebp - 0x428]
call fcn.1801a15b
lea esi, [ebp - 0x428]
mov dword [ebp - 0x454], eax
call fcn.1802293f
xor ecx, ecx
mov dword [ebp - 0x42c], eax
cmp eax, ecx
jne 0x1801aaf7
cmp dword [ebp - 0x438], ecx
je 0x1801aa9d
cmp dword [ebp - 0x454], ecx
jne 0x1801aa9d
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.18022806
and dword [ebp - 0x448], 0
and dword [ebp - 0x444], 0
test eax, eax
jne 0x1801ab0a
call fcn.1802293f
mov esi, dword [ebp - 0x41c]
cmp dword [ebp + 0x10], 0
je 0x1801aa9d
cmp word [edi], 0x7b
jne 0x1801aa9d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1801aa9d
push 0
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp - 0x428]
push edi
call fcn.1801a50c
mov ebx, eax
push ebx
call fcn.18019615
pop ecx
test al, al
jne 0x1801ab1c
mov ecx, esi
mov eax, edi
call fcn.18019ce3
mov ebx, eax
push ebx
call fcn.18019615
pop ecx
test al, al
jne 0x1801ab1c
cmp word [edi], 0x7d
jne 0x1801a550
jmp 0x1801ab1c
mov eax, dword [ebp - 0x41c]
mov ebx, dword [eax + 8]
or ebx, 0x82110000
lea esi, [ebp - 0x434]
jmp 0x1801ab17
mov ebx, dword [esi + 8]
or ebx, 0x82060000
jmp 0x1801ab1c
call fcn.18022956
lea esi, [ebp - 0x450]
jmp 0x1801ab15
mov ebx, dword [esi + 8]
or ebx, 0x82110000
jmp 0x1801ab1c
lea esi, [ebp - 0x428]
call fcn.1802293f
mov eax, ebx
call fcn.18022956
jmp 0x1801ab29
lea esi, [ebp - 0x428]
call fcn.1802293f
mov eax, dword [ebp - 0x42c]
jmp 0x1801aaf0
call fcn.18022956
lea esi, [ebp - 0x448]
mov ebx, eax
call fcn.1802293f
lea esi, [ebp - 0x428]
call fcn.1802293f
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1809ccb5
leave
ret 0x10