Function at 0x14000c668
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1070
call fcn.140015820
sub rsp, rax
mov rdi, rsp
mov ecx, 0x41c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1080]
mov rax, qword [0x140056008]
xor rax, rsp
mov qword [rsp + 0x1068], rax
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x51], 0
call fcn.140012ccc
movzx eax, al
test eax, eax
je 0x14000c6cd
mov al, byte [rsp + 0x50]
jmp 0x14000ccea
cmp qword [rsp + 0x1080], 0
je 0x14000c6ee
cmp qword [rsp + 0x1088], 0
je 0x14000c6ee
cmp qword [rsp + 0x1090], 0
jne 0x14000c6f7
mov al, byte [rsp + 0x50]
jmp 0x14000ccea
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0xa8], 0
lea rdx, [0x14003415c]
lea rcx, [rsp + 0xc8]
call fcn.140001e2c
nop
mov edx, 0x400
lea rcx, [rsp + 0x110]
call fcn.14000aa40
mov dword [rsp + 0x914], eax
lea rdx, [0x14003417c]
lea rcx, [rsp + 0x928]
call fcn.140001e2c
nop
cmp dword [rsp + 0x914], 0
je 0x14000c7b0
mov qword [rsp + 0x958], 0xffffffff80000003
lea rdx, str.USERS_
lea rcx, [rsp + 0x928]
call fcn.14000dd4c
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xc8]
call fcn.14000dd4c
lea rdx, [0x140034194]
lea rcx, [rsp + 0xc8]
call fcn.14000dd4c
jmp 0x14000c7d0
mov qword [rsp + 0x958], 0xffffffff80000001
lea rdx, str.CURRENT_USER_
lea rcx, [rsp + 0x928]
call fcn.14000dd4c
lea rdx, [0x140034590]
lea rcx, [rsp + 0xc8]
call fcn.14000dd4c
mov rdx, qword [rsp + 0x1080]
lea rcx, [rsp + 0xc8]
call fcn.14000dd4c
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x928]
call fcn.14000dd00
lea rdx, [0x140034488]
lea rcx, [rsp + 0x928]
call fcn.14000dd4c
call fcn.14000b608
movzx eax, al
test eax, eax
jne 0x14000caa3
lea rcx, [rsp + 0xc8]
call fcn.14000ded8
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x958]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c930
mov qword [rsp + 0x968], 0
lea rax, [rsp + 0x968]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140034610]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c922
mov rcx, qword [rsp + 0x968]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x928]
call fcn.14000ded8
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 4
mov edx, 4
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
lea rdx, [0x140034628]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14000c922
mov byte [rsp + 0x51], 1
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [rsp + 0x51]
test eax, eax
jne 0x14000caa1
mov qword [rsp + 0x988], 0
lea rdx, [0x140034640]
lea rcx, [rsp + 0xc8]
call fcn.14000dd4c
lea rcx, [rsp + 0xc8]
call fcn.14000ded8
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x988]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x958]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000caa1
cmp qword [rsp + 0x68], 0
je 0x14000ca02
xor edx, edx
lea rcx, [rsp + 0x928]
call fcn.1400080e8
mov qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 4
mov edx, 4
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov rcx, qword [rsp + 0x1088]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x1088]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Progid
mov rcx, qword [rsp + 0x988]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14000ca93
mov rcx, qword [rsp + 0x1090]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x1090]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Hash
mov rcx, qword [rsp + 0x988]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14000ca93
mov byte [rsp + 0x50], 1
mov rcx, qword [rsp + 0x988]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000cab8
mov rdx, qword [rsp + 0x1088]
mov rcx, qword [rsp + 0x1080]
call fcn.140001574
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
call fcn.14000b608
movzx eax, al
test eax, eax
je 0x14000cca4
lea rdx, [0x140034678]
mov rcx, qword [rsp + 0x1080]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14000cca4
lea rcx, [rsp + 0x9a8]
call fcn.140014494
nop
lea rax, [rsp + 0x9e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [0x140034688]
mov rcx, qword [rsp + 0x1088]
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
je 0x14000cb4f
lea r8, str.HKEY_LOCAL_MACHINESOFTWAREAdobeAcrobat_Reader
mov edx, 0x104
lea rcx, [rsp + 0x9e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x14000cb82
lea rdx, [0x140034718]
mov rcx, qword [rsp + 0x1088]
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
je 0x14000cb82
lea r8, str.HKEY_LOCAL_MACHINESOFTWAREAdobeAdobe_Acrobat
mov edx, 0x104
lea rcx, [rsp + 0x9e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rsp + 0x9e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
test rax, rax
je 0x14000cc97
xor r9d, r9d
lea r8, str.iSuppressToastMessage
lea rdx, [rsp + 0x9e0]
lea rcx, [rsp + 0x9a8]
call fcn.1400149cc
test eax, eax
jne 0x14000cc97
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0xc10]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0xe40]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea r8, str.HKEY_
mov edx, 0x104
lea rcx, [rsp + 0xe40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rsp + 0x928]
call fcn.14000ded8
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0xe40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov dword [rsp + 0x28], 0x105
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xc10]
lea r8, [0x1400347e0]
lea rdx, [rsp + 0xe40]
lea rcx, [rsp + 0x9a8]
call fcn.140014b58
lea rcx, [rsp + 0xc10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
test rax, rax
je 0x14000cc97
mov rdx, qword [rsp + 0x1088]
lea rcx, [rsp + 0xc10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000cc97
call fcn.14000b2e0
nop
lea rcx, [rsp + 0x9a8]
call fcn.1400144c8
cmp qword [rsp + 0x88], 0
je 0x14000ccbd
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, byte [rsp + 0x50]
mov byte [rsp + 0x1060], al
lea rcx, [rsp + 0x928]
call fcn.1400021bc
nop
lea rcx, [rsp + 0xc8]
call fcn.1400021bc
mov al, byte [rsp + 0x1060]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1400374f0]
call fcn.140015370
mov rax, rdi
mov rcx, qword [rsp + 0x1068]
xor rcx, rsp
call fcn.140015470
add rsp, 0x1070
pop rdi
ret