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

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.10011570
push 0xffffffffffffffff
push 0x10020ac1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1002b3ec]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x2218]
mov edi, dword [ebp + 0x2214]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0x2220]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], eax
call fcn.1000a212
mov esi, eax
cmp esi, ebx
jmp 0x1000b778
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x28], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x1000b379
test ebx, ebx
je 0x1000b413
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1000a212
mov esi, eax
test esi, esi
jl 0x1000b7d3
cmp dword [ebp + 0x221c], 0
je 0x1000b413
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.1000a1a2
pop ecx
pop ecx
test eax, eax
jne 0x1000b786
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1000a320
test eax, eax
je 0x1000b3d4
mov eax, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call fcn.1000a4f1
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp ebx, esi
je 0x1000b40b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1000a212
mov esi, eax
test esi, esi
jl 0x1000b795
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1000a381
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.10009e83
test esi, esi
jl 0x1000b7d3
jmp 0x1000b736
lea ecx, [ebp - 0x24]
call fcn.10009e83
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000b439
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x28], eax
push edi
call fcn.1000a212
mov esi, eax
test esi, esi
jl 0x1000b7d3
push 0x1002372c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000b51f
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.1000a212
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x1000b7d3
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1000a212
mov esi, eax
cmp esi, ebx
jl 0x1000b7d3
cmp word [edi], 0x3d
jne 0x1000b78e
cmp dword [ebp + 0x221c], ebx
je 0x1000b4c3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], ebx
call fcn.1000aff3
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
lea ecx, [ebp - 0x38]
jl 0x1000b7ce
mov byte [ebp - 4], bl
jmp 0x1000b731
cmp dword [ebp + 0x2220], ebx
jne 0x1000b511
cmp dword [ebp - 0x28], ebx
je 0x1000b511
push 0x20006
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.10009eec
cmp eax, ebx
jne 0x1000b79a
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1000b509
cmp eax, 2
jne 0x1000b79a
lea ecx, [ebp - 0x30]
call fcn.10009e83
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1000a381
jmp 0x1000b340
push 0x5c
push edi
call fcn.1000a1a2
pop ecx
pop ecx
test eax, eax
jne 0x1000b78e
cmp dword [ebp + 0x221c], eax
je 0x1000b5b4
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.10009eec
test eax, eax
je 0x1000b581
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.10009eec
test eax, eax
je 0x1000b581
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.10009e9e
mov esi, eax
cmp esi, ebx
jne 0x1000b7a6
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1000a212
mov esi, eax
test esi, esi
jl 0x1000b7d3
cmp word [edi], 0x3d
jne 0x1000b736
mov ecx, dword [ebp - 0x10]
push edi
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.1000aff3
mov esi, eax
jmp 0x1000b3fe
cmp dword [ebp + 0x2220], 0
jne 0x1000b5d2
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.10009eec
mov ebx, eax
jmp 0x1000b5d5
push 2
pop ebx
test ebx, ebx
je 0x1000b5e3
mov dword [ebp + 0x2220], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x2000]
push 0x104
push eax
call fcn.10013429
push eax
call fcn.10009551
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.1000a212
mov esi, eax
test esi, esi
jl 0x1000b7d3
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1000a381
mov esi, eax
test esi, esi
jl 0x1000b7d3
cmp word [edi], 0x7b
jne 0x1000b672
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1000b672
push dword [ebp + 0x2220]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
push edi
call fcn.1000b2d7
mov esi, eax
test esi, esi
jge 0x1000b65f
cmp dword [ebp + 0x2220], 0
je 0x1000b7d3
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1000a212
mov esi, eax
test esi, esi
jl 0x1000b7d3
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x2220], eax
cmp ebx, 2
je 0x1000b77a
test ebx, ebx
je 0x1000b69e
test eax, eax
jne 0x1000b77a
push ebx
call fcn.10009dbb
pop ecx
mov esi, eax
jmp 0x1000b7d3
test eax, eax
je 0x1000b6e6
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.1000a34c
test eax, eax
je 0x1000b6e6
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2000]
push eax
call fcn.1000a320
test eax, eax
je 0x1000b77a
cmp dword [ebp - 0x28], 0
je 0x1000b77a
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000a4f1
jmp 0x1000b77a
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.1000a34c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], eax
call fcn.10009e83
mov ebx, eax
test ebx, ebx
jne 0x1000b7b7
cmp dword [ebp - 0x28], eax
je 0x1000b77a
cmp dword [ebp - 0x48], eax
jne 0x1000b77a
lea eax, [ebp + 0x2000]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x40], ebx
and dword [ebp - 0x3c], ebx
test eax, eax
jne 0x1000b7c2
lea ecx, [ebp - 0x40]
call fcn.10009e83
cmp dword [ebp + 0x221c], 0
je 0x1000b77a
cmp word [edi], 0x7b
jne 0x1000b77a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1000b77a
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp + 0x221c]
push dword [ebp - 0x1c]
push edi
call fcn.1000b2d7
mov esi, eax
test esi, esi
jl 0x1000b7d3
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1000a212
mov esi, eax
test esi, esi
jl 0x1000b7d3
cmp word [edi], 0x7d
jne 0x1000b349
jmp 0x1000b7d3
lea ecx, [ebp - 0x24]
call fcn.10009e83
mov esi, 0x80020009
jmp 0x1000b7d3
lea ecx, [ebp - 0x24]
jmp 0x1000b7ce
push eax
call fcn.10009dbb
pop ecx
lea ecx, [ebp - 0x30]
jmp 0x1000b7cc
lea ecx, [ebp - 0x1c]
call fcn.10009e83
push esi
call fcn.10009dbb
pop ecx
jmp 0x1000b7dd
lea ecx, [ebp - 0x1c]
call fcn.10009e83
push ebx
jmp 0x1000b7af
push eax
call fcn.10009dbb
pop ecx
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.10009e83
lea ecx, [ebp - 0x1c]
call fcn.10009e83
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.10011556
add ebp, 0x220c
leave
ret 0x10