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

Disassembly:
mov eax, 0x10020e0c
call fcn.1001fbd0
sub esp, 0x11c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], eax
call fcn.1000bc6e
mov esi, eax
cmp esi, ebx
jl 0x1000c4b7
cmp byte [edi], 0x7d
je 0x1000c489
push dword [0x10023840]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push edi
call esi
push dword [0x10023838]
mov ebx, eax
neg ebx
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x1000c035
test ebx, ebx
je 0x1000c103
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1000bc6e
mov esi, eax
test esi, esi
jl 0x1000c489
cmp dword [ebp + 0x10], 0
je 0x1000c103
and dword [ebp + 8], 0
mov cl, byte [edi]
mov byte [ebp - 4], 1
mov eax, edi
test cl, cl
je 0x1000c07a
cmp cl, 0x5c
je 0x1000c072
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
jmp 0x1000c05e
test eax, eax
jne 0x1000c463
mov esi, 0x1002a0a8
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1000c0aa
add esi, 4
cmp esi, str.TYPELIB
jl 0x1000c07f
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.1000c524
and dword [ebp + 8], 0
test ebx, ebx
je 0x1000c0f0
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1000bc6e
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x1000c47b
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1000c93f
mov esi, eax
cmp esi, ebx
jl 0x1000c47b
and byte [ebp - 4], bl
cmp dword [ebp + 8], ebx
je 0x1000c415
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000c415
and byte [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1000c103
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x1002383c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000c12a
mov ecx, dword [ebp - 0x14]
and dword [ebp - 0x1c], eax
push edi
call fcn.1000bc6e
mov esi, eax
test esi, esi
jl 0x1000c489
push dword [0x10023834]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000c1d5
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x128]
push eax
call fcn.1000bc6e
mov esi, eax
test esi, esi
jl 0x1000c489
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1000bc6e
mov esi, eax
test esi, esi
jl 0x1000c489
cmp byte [edi], 0x3d
jne 0x1000c4b1
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x1000c1ae
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x128]
push edi
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.1000c61c
mov esi, eax
mov dword [ebp + 8], ebx
cmp esi, ebx
jl 0x1000c4b7
and byte [ebp - 4], bl
jmp 0x1000c415
cmp dword [ebp + 0x14], ebx
jne 0x1000c1c3
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1000c93f
mov esi, eax
cmp esi, ebx
jmp 0x1000c45c
mov cl, byte [edi]
mov eax, edi
test cl, cl
je 0x1000c1f9
cmp cl, 0x5c
je 0x1000c1ed
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
jmp 0x1000c1d9
xor ebx, ebx
cmp eax, ebx
jne 0x1000c4bc
jmp 0x1000c1fb
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x1000c29f
mov esi, 0xf003f
lea ecx, [ebp - 0x10]
push esi
push edi
push dword [ebp + 0xc]
call fcn.1000c4e6
test eax, eax
je 0x1000c26f
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.1000c4e6
test eax, eax
je 0x1000c26f
lea eax, [ebp - 0x24]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x1000c4bc
xor eax, eax
cmp dword [ebp - 0x10], ebx
je 0x1000c261
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x1000c4bc
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1000bc6e
mov esi, eax
test esi, esi
jl 0x1000c489
cmp byte [edi], 0x3d
jne 0x1000c415
mov ecx, dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.1000c61c
jmp 0x1000c40f
cmp dword [ebp + 0x14], ebx
jne 0x1000c2c0
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.1000c4e6
test eax, eax
je 0x1000c2c0
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x18], ebx
jne 0x1000c2d2
mov eax, 0x104
call fcn.1001fd80
mov dword [ebp - 0x18], esp
push 0x104
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp + 0x14], ebx
jne 0x1000c308
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.1000c893
test eax, eax
jne 0x1000c308
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.1000c8c8
test eax, eax
je 0x1000c3c7
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1000bc6e
mov esi, eax
test esi, esi
jl 0x1000c489
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1000c93f
mov esi, eax
test esi, esi
jl 0x1000c489
cmp byte [edi], 0x7b
jne 0x1000c37b
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
push 0
push dword [ebp - 0x10]
push edi
call fcn.1000bfc0
mov esi, eax
test esi, esi
jl 0x1000c489
cmp dword [ebp + 0x14], 0
je 0x1000c385
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push edi
mov dword [ebp + 0x14], eax
call fcn.1000bc6e
mov esi, eax
test esi, esi
jl 0x1000c489
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1000c93f
jmp 0x1000c458
cmp dword [ebp + 0x14], 0
jne 0x1000c001
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.1000c893
test eax, eax
je 0x1000c3c7
mov esi, 0x1002a0a8
push dword [esi]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1000c44f
add esi, 4
cmp esi, str.TYPELIB
jl 0x1000c399
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.1000c524
jmp 0x1000c44f
xor esi, esi
cmp dword [ebp - 0x10], esi
je 0x1000c3e2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
mov dword [ebp - 0x10], esi
jne 0x1000c4ca
cmp dword [ebp - 0x1c], esi
je 0x1000c3f3
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1000bc6e
mov esi, eax
test esi, esi
jl 0x1000c489
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1000c93f
mov esi, eax
test esi, esi
jl 0x1000c489
cmp dword [ebp + 0x10], 0
je 0x1000c001
cmp byte [edi], 0x7b
jne 0x1000c001
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x1000c001
push 0
mov ecx, dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push edi
call fcn.1000bfc0
mov esi, eax
test esi, esi
jl 0x1000c489
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1000bc6e
mov esi, eax
test esi, esi
jl 0x1000c489
jmp 0x1000c001
xor esi, esi
cmp dword [ebp + 8], esi
je 0x1000c476
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 8], esi
cmp dword [ebp - 0x10], esi
jmp 0x1000c4bf
cmp dword [ebp + 8], ebx
je 0x1000c489
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
je 0x1000c498
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x134]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp - 0x10], 0
jmp 0x1000c4bf
cmp dword [ebp - 0x10], ebx
jmp 0x1000c48d
cmp dword [ebp - 0x10], ebx
je 0x1000c4ca
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x1000c49a