Function at 0x100028a8
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov eax, 0x1000fc41
call fcn.1000efb8
sub esp, 0x420
and dword [ebp - 0x10], 0
push ebx
push esi
mov dword [ebp - 0x14], ecx
and dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, ebx
call fcn.10002771
mov esi, eax
test esi, esi
jge 0x100028e0
jmp 0x10002c42
cmp word [ebx], 0x7d
push edi
je 0x10002c3f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebx
mov dword [ebp - 0x18], 1
call esi
mov edi, eax
neg edi
push str.ForceRemove
sbb edi, edi
push ebx
inc edi
call esi
test eax, eax
je 0x10002917
test edi, edi
je 0x10002983
mov ecx, dword [ebp - 0x14]
mov eax, ebx
call fcn.10002771
mov esi, eax
test esi, esi
jl 0x10002c30
cmp dword [ebp + 0x10], 0
je 0x10002983
push 0x5c
mov eax, ebx
call fcn.10002633
test eax, eax
pop ecx
jne 0x10002d0d
push ebx
call fcn.1000321e
test eax, eax
je 0x1000295c
mov eax, dword [ebp + 0xc]
push ebx
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.1000324a
test edi, edi
je 0x10002983
mov ecx, dword [ebp - 0x14]
mov eax, ebx
call fcn.10002771
mov esi, eax
test esi, esi
jl 0x10002c30
mov ecx, dword [ebp - 0x14]
mov edi, ebx
call fcn.100031a0
jmp 0x10002b64
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100029aa
and dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov eax, ebx
call fcn.10002771
mov esi, eax
test esi, esi
jl 0x10002c30
push 0x10012c80
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10002ad2
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x42c]
call fcn.10002771
mov esi, eax
xor edi, edi
cmp esi, edi
jl 0x10002c30
mov ecx, dword [ebp - 0x14]
mov eax, ebx
call fcn.10002771
mov esi, eax
cmp esi, edi
jl 0x10002c30
cmp word [ebx], 0x3d
jne 0x10002cd0
cmp dword [ebp + 0x10], edi
je 0x10002a77
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
mov dword [ebp + 8], eax
push ebx
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x14]
call fcn.10002d79
mov esi, eax
cmp esi, edi
jl 0x10002cd5
mov byte [ebp - 4], 0
cmp word [ebx], 0x7b
jne 0x10002a68
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10002a68
mov ecx, dword [ebp - 0x14]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push ebx
call fcn.100028a8
mov esi, eax
test esi, esi
jl 0x10002c30
mov ecx, dword [ebp - 0x14]
mov eax, ebx
call fcn.10002771
mov esi, eax
test esi, esi
jl 0x10002c30
cmp word [ebx], 0x7d
jne 0x100028eb
jmp 0x10002c30
cmp dword [ebp + 0x14], edi
jne 0x10002ac6
cmp dword [ebp - 0x18], edi
je 0x10002ac6
push 0x20006
push edi
push dword [ebp + 0xc]
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
call fcn.100016ac
cmp eax, edi
jne 0x10002cef
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x42c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10002abb
cmp eax, 2
jne 0x10002cdd
test edi, edi
je 0x10002ac6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
mov edi, ebx
call fcn.100031a0
jmp 0x10002a5e
push 0x5c
mov eax, ebx
call fcn.10002633
test eax, eax
pop ecx
jne 0x10002d0d
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x10002b73
push 0x2001f
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
call fcn.100016ac
test eax, eax
je 0x10002b37
push 0x20019
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
call fcn.100016ac
test eax, eax
je 0x10002b37
push esi
push 0x2001f
push esi
push esi
push ebx
push dword [ebp + 0xc]
xor edi, edi
lea eax, [ebp - 0x10]
call fcn.10002d30
cmp eax, esi
jne 0x10002c29
mov ecx, dword [ebp - 0x14]
mov eax, ebx
call fcn.10002771
mov esi, eax
test esi, esi
jl 0x10002c30
cmp word [ebx], 0x3d
jne 0x10002a27
push ebx
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call fcn.10002d79
mov esi, eax
test esi, esi
jl 0x10002c30
jmp 0x10002a27
cmp dword [ebp + 0x14], esi
jne 0x10002b8e
push 0x20019
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
call fcn.100016ac
mov dword [ebp + 8], eax
jmp 0x10002b95
mov dword [ebp + 8], 2
cmp dword [ebp + 8], esi
je 0x10002ba1
mov dword [ebp + 0x14], 1
push 0x104
push ebx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [ebp - 0x14]
mov eax, ebx
call fcn.10002771
mov esi, eax
test esi, esi
jl 0x10002c30
mov ecx, dword [ebp - 0x14]
mov edi, ebx
call fcn.100031a0
mov esi, eax
test esi, esi
jl 0x10002c30
cmp word [ebx], 0x7b
jne 0x10002c07
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
push 0
push dword [ebp - 0x10]
push ebx
call fcn.100028a8
mov esi, eax
test esi, esi
jge 0x10002bf7
cmp dword [ebp + 0x14], 0
je 0x10002c30
mov ecx, dword [ebp - 0x14]
mov eax, ebx
call fcn.10002771
mov esi, eax
test esi, esi
jl 0x10002c30
cmp dword [ebp + 8], 2
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x14], eax
je 0x10002a68
mov eax, dword [ebp + 8]
xor edi, edi
cmp eax, edi
je 0x10002c52
cmp dword [ebp - 0x1c], edi
jne 0x10002a68
call fcn.1000330e
mov esi, eax
cmp dword [ebp - 0x10], 0
je 0x10002c3f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
cmp dword [ebp - 0x1c], edi
je 0x10002c95
push dword [ebp - 0x10]
call fcn.100031e9
test eax, eax
je 0x10002c95
lea eax, [ebp - 0x224]
push eax
call fcn.1000321e
test eax, eax
je 0x10002a68
cmp dword [ebp - 0x18], 0
je 0x10002a68
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000324a
jmp 0x10002a68
cmp dword [ebp - 0x10], edi
je 0x10002caa
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
mov dword [ebp - 0x10], edi
jne 0x10002d26
cmp dword [ebp - 0x18], edi
je 0x10002a68
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x10002c29
jmp 0x10002a68
cmp dword [ebp - 0x10], edi
jmp 0x10002d11
cmp dword [ebp - 0x10], edi
jmp 0x10002c34
call fcn.1000330e
test edi, edi
mov esi, eax
je 0x10002c30
push edi
jmp 0x10002d02
call fcn.1000330e
cmp dword [ebp + 8], edi
mov esi, eax
je 0x10002c30
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10002c30
cmp dword [ebp - 0x10], 0
je 0x10002d1c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x10002c41
call fcn.1000330e
jmp 0x10002c41