Function at 0x6971c7
Capabilities:
Delete registry key

Disassembly:
push 0x174
mov eax, 0x7b4f84
call fcn.00645f96
mov edi, ecx
push 1
call fcn.00697f20
test al, al
jne 0x6971ea
inc al
jmp 0x6974f2
lea ecx, [edi + 8]
call fcn.00663864
xor ebx, ebx
test al, al
jne 0x69745c
mov eax, dword [edi + 4]
cmp eax, dword [0x9da058]
je 0x69721b
push ebx
push 0x5c
lea ecx, [edi + 8]
call fcn.00669917
cmp eax, 0xffffffff
je 0x69745c
lea ecx, [ebp - 0x180]
call fcn.004a7679
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 4
call fcn.00408cc0
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.00697774
jmp 0x69726a
push 1
lea eax, [ebp - 0x70]
push eax
call fcn.0066c4d7
lea eax, [ebp - 0x168]
mov ecx, edi
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.006978ef
lea ecx, [ebp - 0x180]
test al, al
jne 0x69724d
call fcn.00673fe2
mov dword [ebp - 0x168], eax
mov esi, ebx
test eax, eax
je 0x6972cd
push esi
lea ecx, [ebp - 0x180]
call fcn.0066978c
push eax
push edi
lea ecx, [ebp - 0xa4]
call fcn.00696825
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.006971c7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
test al, al
je 0x69734f
call fcn.0069697b
inc esi
cmp esi, dword [ebp - 0x168]
jb 0x697285
mov ecx, edi
call fcn.006969bf
push str.advapi32
lea ecx, [ebp - 0x50]
call fcn.0042aa63
push 2
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x16c]
call fcn.0042aa48
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.00408e36
push str.RegDeleteKeyEx
lea ecx, [ebp - 0x30]
call fcn.00408c6d
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x16c]
call fcn.0067ec0b
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
mov esi, eax
call fcn.00408e36
test esi, esi
je 0x697359
push ebx
push dword [edi + 0x28]
call fcn.00697857
pop ecx
push eax
lea ecx, [edi + 8]
call fcn.00669d63
push eax
push dword [edi + 4]
call esi
jmp 0x69736b
call fcn.0069697b
jmp 0x69743e
lea ecx, [edi + 8]
call fcn.00669d63
push eax
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x69742d
cmp eax, 2
je 0x69742d
push str.Cant_delete_key__s
lea ecx, [ebp - 0xc4]
call fcn.00408c6d
lea ecx, [ebp - 0x144]
call fcn.00408cc0
mov esi, eax
lea ecx, [ebp - 0x124]
call fcn.00408cc0
push esi
push eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0xd
push eax
call fcn.00669628
add esp, 0xc
lea ecx, [ebp - 0x24]
push eax
call fcn.0066154b
push 1
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0xe
push eax
mov ecx, edi
call fcn.00697877
sub esp, 0xc
mov ecx, eax
push esp
call fcn.004474bf
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x30]
call fcn.00689bdf
add esp, 0x14
lea ecx, [ebp - 0x104]
call fcn.00408e36
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.00661721
lea ecx, [ebp - 0x124]
call fcn.00408e36
lea ecx, [ebp - 0x144]
call fcn.00408e36
lea ecx, [ebp - 0xc4]
call fcn.00408e36
jmp 0x69742f
mov bl, 1
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 5
call fcn.00672b87
lea ecx, [ebp - 0x70]
call fcn.00408e36
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x180]
call fcn.0066c3d9
mov al, bl
jmp 0x6974f2
push str.Registry_key__s_is_needed_for_normal_system_operation__ndeleting_it_will_leave_your_system_in_unusable_state:_noperation_aborted.
lea ecx, [ebp - 0xe4]
call fcn.00408c6d
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call fcn.00408cc0
mov esi, eax
lea ecx, [ebp - 0x164]
call fcn.00408cc0
push esi
push eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 2
push eax
call fcn.00669628
add esp, 0xc
lea ecx, [ebp - 0x44]
push eax
call fcn.0066154b
sub esp, 0x20
mov byte [ebp - 4], 3
mov eax, esp
push edi
push eax
call fcn.006977c2
pop ecx
pop ecx
lea eax, [ebp - 0x44]
push eax
call fcn.00672ad8
add esp, 0x24
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00661721
lea ecx, [ebp - 0x164]
call fcn.00408e36
lea ecx, [ebp - 0x90]
call fcn.00408e36
lea ecx, [ebp - 0xe4]
call fcn.00408e36
xor al, al
call fcn.00645f45
ret