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

Disassembly:
push 0x12c
mov eax, 0x101454b
call fcn.010083eb
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x130], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x120], ebx
mov eax, dword [ebp + 0x14]
push edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x138], eax
call fcn.01005761
mov esi, eax
cmp esi, ebx
jge 0x10070b8
lea ecx, [ebp - 0x120]
call fcn.01005216
lea ecx, [ebp - 0x130]
call fcn.01005e3c
mov eax, esi
lea esp, [ebp - 0x148]
call fcn.0100843f
ret 0x10
mov esi, dword [fcn.01001150]
push 0x1001440
push edi
call esi
mov ebx, eax
neg ebx
push 0x1001454
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x1006bc4
test ebx, ebx
je 0x1006c7e
mov ecx, dword [ebp - 0x11c]
push edi
call fcn.01005761
mov esi, eax
test esi, esi
jl 0x1006b75
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x1006c80
mov dword [ebp - 0x118], esi
push 0x5c
push edi
mov byte [ebp - 4], 2
call fcn.01005652
test eax, eax
jne 0x10070c6
mov ecx, dword [ebp - 0x11c]
push edi
call fcn.01005856
test eax, eax
je 0x1006c29
mov eax, dword [ebp - 0x124]
push edi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], eax
call fcn.010060de
mov dword [ebp - 0x118], esi
cmp ebx, esi
je 0x1006c6d
mov ecx, dword [ebp - 0x11c]
push edi
call fcn.01005761
mov esi, eax
test esi, esi
jl 0x10070eb
mov ecx, dword [ebp - 0x11c]
push edi
call fcn.0100594f
mov esi, eax
test esi, esi
lea ecx, [ebp - 0x118]
jl 0x10070f1
mov byte [ebp - 4], 1
call fcn.01005216
jmp 0x100706a
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.01005216
jmp 0x1006c80
xor esi, esi
push 0x1001448
push edi
call dword [fcn.01001150]
test eax, eax
jne 0x1006cae
mov ecx, dword [ebp - 0x11c]
and dword [ebp - 0x134], eax
push edi
call fcn.01005761
mov esi, eax
test esi, esi
jl 0x1006b75
xor esi, esi
mov ebx, dword [fcn.01001150]
push 0x1001460
push edi
call ebx
test eax, eax
jne 0x1006db2
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push eax
call fcn.01005761
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x1006b75
mov ecx, dword [ebp - 0x11c]
push edi
call fcn.01005761
mov esi, eax
cmp esi, ebx
jl 0x1006b75
cmp byte [edi], 0x3d
jne 0x10070d1
cmp dword [ebp + 0x10], ebx
je 0x1006d47
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x11c]
push ebx
mov dword [ebp - 0x118], eax
push edi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.010065ff
lea ecx, [ebp - 0x118]
mov esi, eax
mov dword [ebp - 0x118], ebx
call fcn.01005216
cmp esi, ebx
jmp 0x1007064
cmp dword [ebp + 0x14], ebx
jne 0x1006d9d
push ebx
push 0x20006
push ebx
push dword [ebp - 0x124]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], ebx
call fcn.01005289
cmp eax, ebx
jne 0x10070dd
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x1006d92
cmp eax, 2
jne 0x10070db
lea ecx, [ebp - 0x118]
call fcn.01005216
mov ecx, dword [ebp - 0x11c]
push edi
call fcn.0100594f
mov esi, eax
cmp esi, ebx
jmp 0x10070b2
push 0x5c
push edi
call fcn.01005652
test eax, eax
jne 0x10070d1
cmp dword [ebp + 0x10], esi
je 0x1006e89
push esi
push 0xf003f
push edi
push dword [ebp - 0x124]
lea ecx, [ebp - 0x120]
call fcn.01005289
test eax, eax
je 0x1006e26
push esi
push 0x20019
push edi
push dword [ebp - 0x124]
lea ecx, [ebp - 0x120]
call fcn.01005289
test eax, eax
je 0x1006e26
push esi
push esi
push 0x2001f
push esi
push esi
push edi
push dword [ebp - 0x124]
lea ecx, [ebp - 0x120]
call fcn.01005234
test eax, eax
jne 0x10070d1
mov al, byte [edi]
cmp al, 0x4c
mov byte [ebp - 0x12c], 0
je 0x1006e37
cmp al, 0x6c
jne 0x1006e4a
push 0x10017fc
push edi
call ebx
test eax, eax
jne 0x1006e4a
mov byte [ebp - 0x12c], 1
mov ecx, dword [ebp - 0x11c]
push edi
call fcn.01005761
mov esi, eax
test esi, esi
jl 0x1006b75
cmp byte [edi], 0x3d
jne 0x100706a
push dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x11c]
push edi
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.010065ff
jmp 0x1007060
cmp dword [ebp + 0x14], esi
jne 0x1006eb1
push esi
push 0x20019
push edi
push dword [ebp - 0x124]
lea ecx, [ebp - 0x120]
call fcn.01005289
test eax, eax
je 0x1006eb1
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x128], esi
mov ebx, 0x104
jne 0x1006ef5
push ebx
call fcn.01004fb2
test al, al
je 0x1006ed7
mov eax, ebx
call fcn.010085d0
mov dword [ebp - 0x128], esp
jmp 0x1006ee9
push ebx
lea ecx, [ebp - 0x130]
call fcn.010062c8
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], esi
je 0x10070fb
push ebx
push edi
push dword [ebp - 0x128]
call dword [0x1001148]
cmp dword [ebp + 0x14], esi
jne 0x1006f36
push dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
call fcn.0100588c
test eax, eax
jne 0x1006f36
push dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
call fcn.010058c8
test eax, eax
je 0x1007000
mov ebx, dword [ebp - 0x11c]
push edi
mov ecx, ebx
call fcn.01005761
mov esi, eax
test esi, esi
jl 0x1006b75
push edi
mov ecx, ebx
call fcn.0100594f
mov esi, eax
test esi, esi
jl 0x1006b75
cmp byte [edi], 0x7b
jne 0x1006fb0
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x120]
push edi
call fcn.01006b16
mov esi, eax
test esi, esi
jl 0x1006b75
cmp dword [ebp + 0x14], 0
je 0x1006fba
mov eax, dword [ebp - 0x138]
push edi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.01005761
mov esi, eax
test esi, esi
jl 0x1006b75
push edi
mov ecx, ebx
call fcn.0100594f
jmp 0x10070ae
cmp dword [ebp + 0x14], 0
jne 0x10070b8
push dword [ebp - 0x120]
mov ecx, ebx
call fcn.0100588c
test eax, eax
je 0x1006ff4
push dword [ebp - 0x128]
mov ecx, ebx
call fcn.01005856
test eax, eax
je 0x1006fed
push dword [ebp - 0x128]
lea ecx, [ebp - 0x120]
call fcn.010060de
mov ecx, ebx
jmp 0x10070a8
cmp dword [ebp + 0x14], 0
jne 0x10070b8
xor esi, esi
lea ecx, [ebp - 0x120]
call fcn.01005216
test eax, eax
jne 0x10070d1
cmp dword [ebp - 0x134], esi
je 0x100703e
push dword [ebp - 0x128]
push dword [ebp - 0x124]
call dword [entry0]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], esi
call fcn.01005216
mov ecx, dword [ebp - 0x11c]
push edi
call fcn.01005761
mov esi, eax
test esi, esi
jl 0x1006b75
mov ecx, dword [ebp - 0x11c]
push edi
call fcn.0100594f
mov esi, eax
test esi, esi
jl 0x1006b75
cmp dword [ebp + 0x10], 0
je 0x10070b8
cmp byte [edi], 0x7b
jne 0x10070b8
push edi
call dword [fcn.01001158]
cmp eax, 1
jne 0x10070b8
mov ecx, dword [ebp - 0x11c]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x120]
push edi
call fcn.01006b16
mov esi, eax
test esi, esi
jl 0x1006b75
mov ecx, dword [ebp - 0x11c]
push edi
call fcn.01005761
mov esi, eax
test esi, esi
jl 0x1006b75
cmp byte [edi], 0x7d
jne 0x1006b9b
jmp 0x1006b75
lea ecx, [ebp - 0x118]
call fcn.01005216
mov esi, 0x80020009
jmp 0x1006b75
cmp eax, ebx
jle 0x10070e9
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x118]
call fcn.01005216
jmp 0x1006b75
mov esi, 0x8007000e
jmp 0x1006b75