Function at 0x1801a528
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 0x1801aaa5
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 0x1801a59f
test esi, esi
je 0x1801a66f
mov ecx, dword [ebp - 0x41c]
mov eax, edi
call fcn.18019cff
mov ebx, eax
push ebx
call fcn.18019631
pop ecx
test al, al
jne 0x1801ab38
cmp dword [ebp + 0x10], 0
je 0x1801a66f
xor ebx, ebx
push 0x5c
mov eax, edi
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
call fcn.18019c37
pop ecx
test eax, eax
jne 0x1801aac5
push edi
call fcn.1801a14b
test eax, eax
je 0x1801a61b
mov eax, dword [ebp - 0x420]
push edi
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], ebx
call fcn.1802287a
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
cmp esi, ebx
je 0x1801a664
mov ecx, dword [ebp - 0x41c]
mov eax, edi
call fcn.18019cff
mov ebx, eax
push ebx
call fcn.18019631
pop ecx
test al, al
jne 0x1801aad4
mov ecx, dword [ebp - 0x41c]
call fcn.1801a1ac
mov ebx, eax
push ebx
call fcn.18019631
lea esi, [ebp - 0x434]
pop ecx
test al, al
jne 0x1801ab33
jmp 0x1801aa5c
lea esi, [ebp - 0x434]
call fcn.1802295c
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, dword [ebp - 0x41c]
test eax, eax
jne 0x1801a6a5
and dword [ebp - 0x438], eax
mov eax, edi
mov ecx, esi
call fcn.18019cff
mov ebx, eax
push ebx
call fcn.18019631
pop ecx
test al, al
jne 0x1801ab38
push 0x180c2078
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1801a7bf
lea eax, [ebp - 0x418]
mov ecx, esi
call fcn.18019cff
mov ebx, eax
push ebx
call fcn.18019631
pop ecx
test al, al
jne 0x1801ab38
mov eax, edi
mov ecx, esi
call fcn.18019cff
mov ebx, eax
push ebx
call fcn.18019631
pop ecx
test al, al
jne 0x1801ab38
cmp word [edi], 0x3d
jne 0x1801aadc
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x1801a74c
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.18019e33
mov ebx, eax
push ebx
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
call fcn.18019631
lea esi, [ebp - 0x440]
jmp 0x1801a656
cmp dword [ebp + 0x14], esi
jne 0x1801a7af
cmp dword [ebp - 0x438], esi
je 0x1801a7af
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.180227e5
cmp eax, esi
jne 0x1801aae7
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x450]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x1801a7a4
cmp eax, 2
jne 0x1801aae7
lea esi, [ebp - 0x450]
call fcn.1802295c
mov ecx, dword [ebp - 0x41c]
call fcn.1801a1ac
jmp 0x1801aaac
push 0x5c
mov eax, edi
call fcn.18019c37
pop ecx
test eax, eax
jne 0x1801aaf4
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x1801a878
push edi
push dword [ebp - 0x420]
mov eax, 0x2001f
lea ecx, [ebp - 0x428]
call fcn.180227e5
test eax, eax
je 0x1801a82e
push edi
push dword [ebp - 0x420]
mov eax, 0x20019
lea ecx, [ebp - 0x428]
call fcn.180227e5
test eax, eax
je 0x1801a82e
push edi
push dword [ebp - 0x420]
lea eax, [ebp - 0x428]
call fcn.180227a4
mov ebx, eax
test ebx, ebx
jne 0x1801aaff
mov eax, edi
mov ecx, esi
call fcn.18019cff
mov ebx, eax
push ebx
call fcn.18019631
pop ecx
test al, al
jne 0x1801ab38
cmp word [edi], 0x3d
jne 0x1801aa67
push edi
push 0
lea edx, [ebp - 0x428]
mov ecx, esi
call fcn.18019e33
mov ebx, eax
push ebx
call fcn.18019631
pop ecx
test al, al
jne 0x1801ab38
jmp 0x1801aa67
cmp dword [ebp + 0x14], ebx
jne 0x1801a89c
push edi
push dword [ebp - 0x420]
mov eax, 0x20019
lea ecx, [ebp - 0x428]
call fcn.180227e5
mov dword [ebp - 0x42c], eax
jmp 0x1801a8a6
mov dword [ebp - 0x42c], 2
cmp dword [ebp - 0x42c], ebx
je 0x1801a8b5
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.18019cff
mov ebx, eax
push ebx
call fcn.18019631
pop ecx
test al, al
jne 0x1801ab38
mov ecx, esi
call fcn.1801a1ac
mov ebx, eax
push ebx
call fcn.18019631
pop ecx
test al, al
jne 0x1801ab38
cmp word [edi], 0x7b
jne 0x1801a95a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1801a95a
push dword [ebp + 0x14]
mov ecx, esi
push 0
push dword [ebp - 0x428]
push edi
call fcn.1801a528
mov ebx, eax
push ebx
call fcn.18019631
pop ecx
test al, al
je 0x1801a940
cmp dword [ebp + 0x14], 0
je 0x1801ab38
mov eax, edi
mov ecx, esi
call fcn.18019cff
mov ebx, eax
push ebx
call fcn.18019631
pop ecx
test al, al
jne 0x1801ab38
cmp dword [ebp - 0x42c], 2
mov eax, dword [ebp - 0x458]
mov dword [ebp + 0x14], eax
je 0x1801aab9
cmp dword [ebp - 0x42c], 0
je 0x1801a993
test eax, eax
jne 0x1801aab9
mov eax, dword [ebp - 0x42c]
call fcn.18022973
mov ebx, eax
jmp 0x1801ab38
test eax, eax
je 0x1801a9de
push dword [ebp - 0x428]
call fcn.1801a177
test eax, eax
je 0x1801a9de
lea eax, [ebp - 0x210]
push eax
call fcn.1801a14b
test eax, eax
je 0x1801aab9
cmp dword [ebp - 0x438], 0
je 0x1801aab9
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x428]
call fcn.1802287a
jmp 0x1801aab9
push dword [ebp - 0x428]
call fcn.1801a177
lea esi, [ebp - 0x428]
mov dword [ebp - 0x454], eax
call fcn.1802295c
xor ecx, ecx
mov dword [ebp - 0x42c], eax
cmp eax, ecx
jne 0x1801ab13
cmp dword [ebp - 0x438], ecx
je 0x1801aab9
cmp dword [ebp - 0x454], ecx
jne 0x1801aab9
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.18022823
and dword [ebp - 0x448], 0
and dword [ebp - 0x444], 0
test eax, eax
jne 0x1801ab26
call fcn.1802295c
mov esi, dword [ebp - 0x41c]
cmp dword [ebp + 0x10], 0
je 0x1801aab9
cmp word [edi], 0x7b
jne 0x1801aab9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1801aab9
push 0
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp - 0x428]
push edi
call fcn.1801a528
mov ebx, eax
push ebx
call fcn.18019631
pop ecx
test al, al
jne 0x1801ab38
mov ecx, esi
mov eax, edi
call fcn.18019cff
mov ebx, eax
push ebx
call fcn.18019631
pop ecx
test al, al
jne 0x1801ab38
cmp word [edi], 0x7d
jne 0x1801a56c
jmp 0x1801ab38
mov eax, dword [ebp - 0x41c]
mov ebx, dword [eax + 8]
or ebx, 0x82110000
lea esi, [ebp - 0x434]
jmp 0x1801ab33
mov ebx, dword [esi + 8]
or ebx, 0x82060000
jmp 0x1801ab38
call fcn.18022973
lea esi, [ebp - 0x450]
jmp 0x1801ab31
mov ebx, dword [esi + 8]
or ebx, 0x82110000
jmp 0x1801ab38
lea esi, [ebp - 0x428]
call fcn.1802295c
mov eax, ebx
call fcn.18022973
jmp 0x1801ab45
lea esi, [ebp - 0x428]
call fcn.1802295c
mov eax, dword [ebp - 0x42c]
jmp 0x1801ab0c
call fcn.18022973
lea esi, [ebp - 0x448]
mov ebx, eax
call fcn.1802295c
lea esi, [ebp - 0x428]
call fcn.1802295c
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1809cca5
leave
ret 0x10