Function at 0x18028184
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2264
call fcn.18186520
mov eax, dword [0x1820f00c]
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.180277ae
mov esi, eax
test esi, esi
js 0x180286bf
push 0x7d
pop eax
cmp word [edi], ax
je 0x180286b0
push 0x181b835c
push edi
mov dword [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x181b8330
sbb esi, esi
inc esi
push edi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18028216
test esi, esi
je 0x180282b5
mov ecx, dword [esp + 0x10]
push edi
call fcn.180277ae
mov esi, eax
test esi, esi
js 0x180286b0
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x180282b7
push 0x5c
pop edx
mov ecx, edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
call fcn.1802772a
test eax, eax
jne 0x180286a4
push edi
call fcn.18027cbc
test eax, eax
je 0x18028277
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
call fcn.1802715f
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
cmp dword [esp + 0x18], esi
je 0x180282af
mov ecx, dword [esp + 0x10]
push edi
call fcn.180277ae
mov esi, eax
test esi, esi
js 0x180286b0
mov ecx, dword [esp + 0x10]
push edi
call fcn.18027d20
mov esi, eax
test esi, esi
js 0x180286b0
and dword [esp + 0x34], 0
jmp 0x18028494
mov dword [esp + 0x34], esi
jmp 0x180282b7
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180282df
mov ecx, dword [esp + 0x10]
push edi
mov dword [esp + 0x2c], esi
call fcn.180277ae
mov esi, eax
test esi, esi
js 0x180286b0
push 0x181b8328
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180283fc
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x268]
push eax
call fcn.180277ae
mov esi, eax
test esi, esi
js 0x180286b0
mov ecx, dword [esp + 0x10]
push edi
call fcn.180277ae
mov esi, eax
test esi, esi
js 0x180286b0
push 0x3d
pop eax
cmp word [edi], ax
jne 0x180286a4
cmp dword [ebp + 0x10], 0
je 0x1802837a
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.180278f8
mov esi, eax
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
test esi, esi
js 0x180286b0
mov dword [esp + 0x4c], eax
jmp 0x18028494
cmp dword [ebp + 0x14], 0
jne 0x180283e3
cmp dword [esp + 0x28], 0
je 0x180283e3
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.18027103
test eax, eax
jne 0x18028688
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x268]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x180283d0
cmp eax, 2
jne 0x18028678
test ebx, ebx
je 0x180283df
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.18027d20
mov esi, eax
test esi, esi
js 0x180286b0
jmp 0x18028667
push 0x5c
pop edx
mov ecx, edi
call fcn.1802772a
test eax, eax
jne 0x180286ab
cmp dword [ebp + 0x10], eax
je 0x180284d9
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 0x2001f
push edi
push ebx
call fcn.18027103
test eax, eax
je 0x18028459
push 0x20019
push edi
push ebx
lea ecx, [esp + 0x28]
call fcn.18027103
test eax, eax
je 0x18028459
sub esp, 0x14
lea ecx, [esp + 0x30]
push edi
push ebx
call fcn.180270a2
test eax, eax
jne 0x180285c1
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.180277ae
mov esi, eax
test esi, esi
js 0x180286b0
push 0x3d
pop eax
cmp word [edi], ax
jne 0x18028490
push edi
push 0
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.180278f8
mov esi, eax
test esi, esi
js 0x180286b0
mov ebx, dword [esp + 0x1c]
push 0x7b
pop eax
cmp word [edi], ax
jne 0x18028667
push edi
call fcn.18165959
pop ecx
cmp eax, 1
jne 0x18028667
push 0
push dword [ebp + 0x10]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
push edi
call fcn.18028184
mov esi, eax
test esi, esi
js 0x180286b0
push edi
mov ecx, ebx
call fcn.180277ae
jmp 0x180283ed
cmp dword [ebp + 0x14], 0
jne 0x18028503
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x28]
call fcn.18027103
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebx
test eax, eax
jne 0x1802850b
jmp 0x18028512
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.1816bc3a
push eax
call fcn.180065a6
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.180277ae
mov esi, eax
test esi, esi
js 0x180286b0
mov ecx, dword [esp + 0x10]
push edi
call fcn.18027d20
mov esi, eax
test esi, esi
js 0x180286b0
push 0x7b
pop eax
cmp word [edi], ax
jne 0x180285a2
push edi
call fcn.18165959
pop ecx
cmp eax, 1
jne 0x180285a2
mov ecx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x20]
push 0
push ebx
push edi
call fcn.18028184
mov esi, eax
test esi, esi
jns 0x1802858c
cmp dword [esp + 0x2c], 0
je 0x180286b0
mov ecx, dword [esp + 0x10]
push edi
call fcn.180277ae
mov esi, eax
test esi, esi
js 0x180286b0
jmp 0x180285a6
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp eax, 2
je 0x18028667
test eax, eax
je 0x180285cf
cmp dword [ebp + 0x14], 0
jne 0x18028667
mov ecx, eax
call fcn.18026d23
mov esi, eax
jmp 0x180286b0
cmp dword [ebp + 0x14], 0
je 0x18028604
push ebx
call fcn.18027ceb
test eax, eax
je 0x18028604
lea eax, [esp + 0x60]
push eax
call fcn.18027cbc
test eax, eax
je 0x18028667
cmp dword [esp + 0x28], 0
je 0x18028667
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x20]
call fcn.1802715f
jmp 0x18028667
push ebx
call fcn.18027ceb
mov ecx, eax
xor eax, eax
mov dword [esp + 0x18], ecx
test ebx, ebx
je 0x18028629
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
jmp 0x1802862b
xor ebx, ebx
mov dword [esp + 0x20], ebx
test eax, eax
jne 0x180285c1
cmp dword [esp + 0x28], eax
je 0x18028667
test ecx, ecx
jne 0x18028667
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.1802700f
mov dword [esp + 0x54], ebx
test eax, eax
jne 0x180285c1
push 0x7d
pop eax
cmp word [edi], ax
je 0x180286b0
mov ebx, dword [esp + 0x1c]
jmp 0x180281e1
mov ecx, eax
call fcn.18026d23
mov esi, eax
test ebx, ebx
je 0x180286b0
push ebx
jmp 0x1802869c
mov ecx, eax
call fcn.18026d23
cmp dword [esp + 0x3c], 0
mov esi, eax
je 0x180286b0
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180286b0
mov esi, 0x80020009
jmp 0x180286b4
mov esi, 0x80020009
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x180286bf
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.1814cf3d
mov esp, ebp
pop ebp
ret 0x10