Function at 0x1802addc
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2264
call fcn.18199bf0
mov eax, dword [0x1822b00c]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
mov eax, ecx
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
and dword [esp + 0x1c], ebx
and dword [esp + 0x20], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], ecx
mov ecx, eax
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
call fcn.1802a406
mov esi, eax
test esi, esi
js 0x1802b317
push 0x7d
pop eax
cmp word [edi], ax
je 0x1802b308
push 0x181cb38c
push edi
mov dword [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x181cb360
sbb esi, esi
inc esi
push edi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1802ae6e
test esi, esi
je 0x1802af0d
mov ecx, dword [esp + 0x10]
push edi
call fcn.1802a406
mov esi, eax
test esi, esi
js 0x1802b308
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x1802af0f
push 0x5c
pop edx
mov ecx, edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
call fcn.1802a382
test eax, eax
jne 0x1802b2fc
push edi
call fcn.1802a914
test eax, eax
je 0x1802aecf
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
call fcn.18029db7
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
cmp dword [esp + 0x18], esi
je 0x1802af07
mov ecx, dword [esp + 0x10]
push edi
call fcn.1802a406
mov esi, eax
test esi, esi
js 0x1802b308
mov ecx, dword [esp + 0x10]
push edi
call fcn.1802a978
mov esi, eax
test esi, esi
js 0x1802b308
and dword [esp + 0x34], 0
jmp 0x1802b0ec
mov dword [esp + 0x34], esi
jmp 0x1802af0f
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1802af37
mov ecx, dword [esp + 0x10]
push edi
mov dword [esp + 0x2c], esi
call fcn.1802a406
mov esi, eax
test esi, esi
js 0x1802b308
push 0x181cb358
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1802b054
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x268]
push eax
call fcn.1802a406
mov esi, eax
test esi, esi
js 0x1802b308
mov ecx, dword [esp + 0x10]
push edi
call fcn.1802a406
mov esi, eax
test esi, esi
js 0x1802b308
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1802b2fc
cmp dword [ebp + 0x10], 0
je 0x1802afd2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x268]
push edi
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1802a550
mov esi, eax
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
test esi, esi
js 0x1802b308
mov dword [esp + 0x4c], eax
jmp 0x1802b0ec
cmp dword [ebp + 0x14], 0
jne 0x1802b03b
cmp dword [esp + 0x28], 0
je 0x1802b03b
xor esi, esi
lea ecx, [esp + 0x3c]
push 0x20006
push esi
push dword [esp + 0x1c]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call fcn.18029d5b
test eax, eax
jne 0x1802b2e0
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x268]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1802b028
cmp eax, 2
jne 0x1802b2d0
test ebx, ebx
je 0x1802b037
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov ecx, dword [esp + 0x10]
push edi
call fcn.1802a978
mov esi, eax
test esi, esi
js 0x1802b308
jmp 0x1802b2bf
push 0x5c
pop edx
mov ecx, edi
call fcn.1802a382
test eax, eax
jne 0x1802b303
cmp dword [ebp + 0x10], eax
je 0x1802b131
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 0x2001f
push edi
push ebx
call fcn.18029d5b
test eax, eax
je 0x1802b0b1
push 0x20019
push edi
push ebx
lea ecx, [esp + 0x28]
call fcn.18029d5b
test eax, eax
je 0x1802b0b1
sub esp, 0x14
lea ecx, [esp + 0x30]
push edi
push ebx
call fcn.18029cfa
test eax, eax
jne 0x1802b219
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.1802a406
mov esi, eax
test esi, esi
js 0x1802b308
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1802b0e8
push edi
push 0
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.1802a550
mov esi, eax
test esi, esi
js 0x1802b308
mov ebx, dword [esp + 0x1c]
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1802b2bf
push edi
call fcn.18179019
pop ecx
cmp eax, 1
jne 0x1802b2bf
push 0
push dword [ebp + 0x10]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
push edi
call fcn.1802addc
mov esi, eax
test esi, esi
js 0x1802b308
push edi
mov ecx, ebx
call fcn.1802a406
jmp 0x1802b045
cmp dword [ebp + 0x14], 0
jne 0x1802b15b
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x28]
call fcn.18029d5b
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebx
test eax, eax
jne 0x1802b163
jmp 0x1802b16a
mov dword [esp + 0x18], 2
xor ebx, ebx
inc ebx
mov dword [esp + 0x2c], ebx
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x68]
push 0x104
push eax
call fcn.1817f28a
push eax
call fcn.18006676
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.1802a406
mov esi, eax
test esi, esi
js 0x1802b308
mov ecx, dword [esp + 0x10]
push edi
call fcn.1802a978
mov esi, eax
test esi, esi
js 0x1802b308
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1802b1fa
push edi
call fcn.18179019
pop ecx
cmp eax, 1
jne 0x1802b1fa
mov ecx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x20]
push 0
push ebx
push edi
call fcn.1802addc
mov esi, eax
test esi, esi
jns 0x1802b1e4
cmp dword [esp + 0x2c], 0
je 0x1802b308
mov ecx, dword [esp + 0x10]
push edi
call fcn.1802a406
mov esi, eax
test esi, esi
js 0x1802b308
jmp 0x1802b1fe
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp eax, 2
je 0x1802b2bf
test eax, eax
je 0x1802b227
cmp dword [ebp + 0x14], 0
jne 0x1802b2bf
mov ecx, eax
call fcn.1802997b
mov esi, eax
jmp 0x1802b308
cmp dword [ebp + 0x14], 0
je 0x1802b25c
push ebx
call fcn.1802a943
test eax, eax
je 0x1802b25c
lea eax, [esp + 0x60]
push eax
call fcn.1802a914
test eax, eax
je 0x1802b2bf
cmp dword [esp + 0x28], 0
je 0x1802b2bf
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x20]
call fcn.18029db7
jmp 0x1802b2bf
push ebx
call fcn.1802a943
mov ecx, eax
xor eax, eax
mov dword [esp + 0x18], ecx
test ebx, ebx
je 0x1802b281
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
jmp 0x1802b283
xor ebx, ebx
mov dword [esp + 0x20], ebx
test eax, eax
jne 0x1802b219
cmp dword [esp + 0x28], eax
je 0x1802b2bf
test ecx, ecx
jne 0x1802b2bf
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.18029c67
mov dword [esp + 0x54], ebx
test eax, eax
jne 0x1802b219
push 0x7d
pop eax
cmp word [edi], ax
je 0x1802b308
mov ebx, dword [esp + 0x1c]
jmp 0x1802ae39
mov ecx, eax
call fcn.1802997b
mov esi, eax
test ebx, ebx
je 0x1802b308
push ebx
jmp 0x1802b2f4
mov ecx, eax
call fcn.1802997b
cmp dword [esp + 0x3c], 0
mov esi, eax
je 0x1802b308
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1802b308
mov esi, 0x80020009
jmp 0x1802b30c
mov esi, 0x80020009
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x1802b317
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x226c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.181605f4
mov esp, ebp
pop ebp
ret 0x10