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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c202
mov eax, dword fs:[0]
push eax
mov eax, 0x114c
call fcn.1001f710
mov eax, dword [0x1003a0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x111c], ecx
mov dword [ebp - 0x1120], eax
mov dword [ebp - 0x1128], esi
mov dword [ebp - 0x1124], esi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1150], eax
mov eax, ebx
mov dword [ebp - 4], esi
call fcn.1000b4bd
mov edi, eax
cmp edi, esi
jmp 0x1000bb02
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Delete
push ebx
mov dword [ebp - 0x1134], 1
call edi
mov esi, eax
neg esi
push str.ForceRemove
sbb esi, esi
push ebx
inc esi
call edi
test eax, eax
je 0x1000b653
test esi, esi
je 0x1000b715
mov ecx, dword [ebp - 0x111c]
mov eax, ebx
call fcn.1000b4bd
mov edi, eax
test edi, edi
jl 0x1000bb6f
cmp dword [ebp + 0x10], 0
je 0x1000b715
xor edi, edi
push 0x5c
mov eax, ebx
mov dword [ebp - 0x1130], edi
mov dword [ebp - 0x112c], edi
call fcn.1000ad95
pop ecx
test eax, eax
jne 0x1000bb0f
push ebx
call fcn.1000b368
test eax, eax
je 0x1000b6c8
mov eax, dword [ebp - 0x1120]
push ebx
lea ecx, [ebp - 0x1130]
mov dword [ebp - 0x1130], eax
mov dword [ebp - 0x112c], edi
call fcn.1000b394
mov dword [ebp - 0x1130], edi
mov dword [ebp - 0x112c], edi
cmp esi, edi
je 0x1000b70a
mov ecx, dword [ebp - 0x111c]
mov eax, ebx
call fcn.1000b4bd
mov edi, eax
test edi, edi
jl 0x1000bb21
mov ecx, dword [ebp - 0x111c]
mov edi, ebx
call fcn.1000b304
lea esi, [ebp - 0x1130]
mov edi, eax
call fcn.100017e3
test edi, edi
jl 0x1000bb6f
jmp 0x1000babd
lea esi, [ebp - 0x1130]
call fcn.100017e3
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000b742
and dword [ebp - 0x1134], eax
mov ecx, dword [ebp - 0x111c]
mov eax, ebx
call fcn.1000b4bd
mov edi, eax
test edi, edi
jl 0x1000bb6f
push 0x10030e9c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000b863
mov ecx, dword [ebp - 0x111c]
lea eax, [ebp - 0x1118]
call fcn.1000b4bd
mov edi, eax
xor esi, esi
cmp edi, esi
jl 0x1000bb6f
mov ecx, dword [ebp - 0x111c]
mov eax, ebx
call fcn.1000b4bd
mov edi, eax
cmp edi, esi
jl 0x1000bb6f
cmp byte [ebx], 0x3d
jne 0x1000bb1a
cmp dword [ebp + 0x10], esi
je 0x1000b7ec
mov eax, dword [ebp - 0x1120]
mov ecx, dword [ebp - 0x111c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x113c], eax
push ebx
lea eax, [ebp - 0x1118]
push eax
lea edx, [ebp - 0x113c]
mov dword [ebp - 0x1138], esi
call fcn.1000aebb
mov edi, eax
mov dword [ebp - 0x113c], esi
mov dword [ebp - 0x1138], esi
cmp edi, esi
lea esi, [ebp - 0x113c]
jl 0x1000bb6a
mov byte [ebp - 4], 0
jmp 0x1000bab8
cmp dword [ebp + 0x14], esi
jne 0x1000b851
cmp dword [ebp - 0x1134], esi
je 0x1000b851
push 0x20006
push esi
push dword [ebp - 0x1120]
lea eax, [ebp - 0x1144]
mov dword [ebp - 0x1144], esi
mov dword [ebp - 0x1140], esi
call fcn.100017b0
cmp eax, esi
jne 0x1000bb29
lea eax, [ebp - 0x1118]
push eax
push dword [ebp - 0x1144]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, esi
je 0x1000b844
cmp eax, 2
jne 0x1000bb29
lea esi, [ebp - 0x1144]
call fcn.100017e3
xor esi, esi
mov ecx, dword [ebp - 0x111c]
mov edi, ebx
call fcn.1000b304
jmp 0x1000b617
push 0x5c
mov eax, ebx
call fcn.1000ad95
pop ecx
test eax, eax
jne 0x1000bb1a
cmp dword [ebp + 0x10], eax
je 0x1000b90b
push 0x2001f
push ebx
push dword [ebp - 0x1120]
lea eax, [ebp - 0x1128]
call fcn.100017b0
test eax, eax
je 0x1000b8d0
push 0x20019
push ebx
push dword [ebp - 0x1120]
lea eax, [ebp - 0x1128]
call fcn.100017b0
test eax, eax
je 0x1000b8d0
push ebx
push dword [ebp - 0x1120]
lea eax, [ebp - 0x1128]
call fcn.1000adb9
mov edi, eax
test edi, edi
jne 0x1000bb36
mov ecx, dword [ebp - 0x111c]
mov eax, ebx
call fcn.1000b4bd
mov edi, eax
test edi, edi
jl 0x1000bb6f
cmp byte [ebx], 0x3d
jne 0x1000babd
mov ecx, dword [ebp - 0x111c]
push ebx
push 0
lea edx, [ebp - 0x1128]
call fcn.1000aebb
mov edi, eax
jmp 0x1000b6fd
cmp dword [ebp + 0x14], 0
jne 0x1000b92c
push 0x20019
push ebx
push dword [ebp - 0x1120]
lea eax, [ebp - 0x1128]
call fcn.100017b0
mov esi, eax
jmp 0x1000b92f
push 2
pop esi
test esi, esi
je 0x1000b93a
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.10018df2
push eax
call fcn.10010587
mov ecx, dword [ebp - 0x111c]
add esp, 0x14
mov eax, ebx
call fcn.1000b4bd
mov edi, eax
test edi, edi
jl 0x1000bb6f
mov ecx, dword [ebp - 0x111c]
mov edi, ebx
call fcn.1000b304
mov edi, eax
test edi, edi
jl 0x1000bb6f
cmp byte [ebx], 0x7b
jne 0x1000b9d4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x1000b9d4
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x111c]
push 0
push dword [ebp - 0x1128]
push ebx
call fcn.1000b5b2
mov edi, eax
test edi, edi
jge 0x1000b9bd
cmp dword [ebp + 0x14], 0
je 0x1000bb6f
mov ecx, dword [ebp - 0x111c]
mov eax, ebx
call fcn.1000b4bd
mov edi, eax
test edi, edi
jl 0x1000bb6f
mov eax, dword [ebp - 0x1150]
mov dword [ebp + 0x14], eax
cmp esi, 2
je 0x1000bb04
test esi, esi
je 0x1000ba00
test eax, eax
jne 0x1000bb04
mov eax, esi
call fcn.1000b4ae
mov edi, eax
jmp 0x1000bb6f
test eax, eax
je 0x1000ba4b
push dword [ebp - 0x1128]
call fcn.1000b479
test eax, eax
je 0x1000ba4b
lea eax, [ebp - 0x118]
push eax
call fcn.1000b368
test eax, eax
je 0x1000bb04
cmp dword [ebp - 0x1134], 0
je 0x1000bb04
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x1128]
call fcn.1000b394
jmp 0x1000bb04
push dword [ebp - 0x1128]
call fcn.1000b479
lea esi, [ebp - 0x1128]
mov dword [ebp - 0x1158], eax
call fcn.100017e3
xor esi, esi
mov dword [ebp - 0x1154], eax
cmp eax, esi
jne 0x1000bb4a
cmp dword [ebp - 0x1134], esi
je 0x1000bb04
cmp dword [ebp - 0x1158], esi
jne 0x1000bb04
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x1120]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x114c], esi
mov dword [ebp - 0x1148], esi
cmp eax, esi
jne 0x1000bb5d
lea esi, [ebp - 0x114c]
call fcn.100017e3
cmp dword [ebp + 0x10], 0
je 0x1000bb04
cmp byte [ebx], 0x7b
jne 0x1000bb04
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x1000bb04
mov ecx, dword [ebp - 0x111c]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x1128]
push ebx
call fcn.1000b5b2
mov edi, eax
test edi, edi
jl 0x1000bb6f
mov ecx, dword [ebp - 0x111c]
mov eax, ebx
call fcn.1000b4bd
mov edi, eax
test edi, edi
jl 0x1000bb6f
cmp byte [ebx], 0x7d
jne 0x1000b620
jmp 0x1000bb6f
lea esi, [ebp - 0x1130]
call fcn.100017e3
mov edi, 0x80020009
jmp 0x1000bb6f
lea esi, [ebp - 0x1130]
jmp 0x1000bb6a
call fcn.1000b4ae
lea esi, [ebp - 0x1144]
jmp 0x1000bb68
lea esi, [ebp - 0x1128]
call fcn.100017e3
mov eax, edi
call fcn.1000b4ae
jmp 0x1000bb7c
lea esi, [ebp - 0x1128]
call fcn.100017e3
mov eax, dword [ebp - 0x1154]
jmp 0x1000bb43
call fcn.1000b4ae
lea esi, [ebp - 0x114c]
mov edi, eax
call fcn.100017e3
lea esi, [ebp - 0x1128]
call fcn.100017e3
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10016165
leave
ret 0x10