Function at 0x14000bbdc
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.140014940
sub rsp, rax
lea rdi, [rsp + 0x50]
mov ecx, 0x408
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1080]
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1068], rax
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x51], 0
call fcn.140012014
movzx eax, al
test eax, eax
je 0x14000bc43
mov al, byte [rsp + 0x50]
jmp 0x14000c260
cmp qword [rsp + 0x1080], 0
je 0x14000bc64
cmp qword [rsp + 0x1088], 0
je 0x14000bc64
cmp qword [rsp + 0x1090], 0
jne 0x14000bc6d
mov al, byte [rsp + 0x50]
jmp 0x14000c260
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0xa8], 0
lea rdx, [0x1400345b8]
lea rcx, [rsp + 0xc8]
call fcn.140001e2c
nop
mov edx, 0x400
lea rcx, [rsp + 0x110]
call fcn.14000a128
mov dword [rsp + 0x914], eax
lea rdx, [0x140034a00]
lea rcx, [rsp + 0x928]
call fcn.140001e2c
nop
cmp dword [rsp + 0x914], 0
je 0x14000bd26
mov qword [rsp + 0x958], 0xffffffff80000003
lea rdx, str.USERS_
lea rcx, [rsp + 0x928]
call fcn.14000d1c4
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xc8]
call fcn.14000d1c4
lea rdx, [0x140034a18]
lea rcx, [rsp + 0xc8]
call fcn.14000d1c4
jmp 0x14000bd46
mov qword [rsp + 0x958], 0xffffffff80000001
lea rdx, str.CURRENT_USER_
lea rcx, [rsp + 0x928]
call fcn.14000d1c4
lea rdx, [0x140034a40]
lea rcx, [rsp + 0xc8]
call fcn.14000d1c4
mov rdx, qword [rsp + 0x1080]
lea rcx, [rsp + 0xc8]
call fcn.14000d1c4
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x928]
call fcn.14000d18c
lea rdx, [0x140034ac0]
lea rcx, [rsp + 0x928]
call fcn.14000d1c4
call fcn.14000ac54
movzx eax, al
test eax, eax
jne 0x14000c019
lea rcx, [rsp + 0xc8]
call fcn.14000d404
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 0x14000bea6
mov qword [rsp + 0x968], 0
lea rax, [rsp + 0x968]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140034ad8]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000be98
mov rcx, qword [rsp + 0x968]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x928]
call fcn.14000d404
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, [0x140034af0]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14000be98
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 0x14000c017
mov qword [rsp + 0x988], 0
lea rdx, [0x140034b08]
lea rcx, [rsp + 0xc8]
call fcn.14000d1c4
lea rcx, [rsp + 0xc8]
call fcn.14000d404
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 0x14000c017
cmp qword [rsp + 0x68], 0
je 0x14000bf78
xor edx, edx
lea rcx, [rsp + 0x928]
call fcn.1400079b8
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 0x14000c009
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 0x14000c009
mov byte [rsp + 0x50], 1
mov rcx, qword [rsp + 0x988]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000c02e
mov rdx, qword [rsp + 0x1088]
mov rcx, qword [rsp + 0x1080]
call fcn.14000156c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
call fcn.14000ac54
movzx eax, al
test eax, eax
je 0x14000c21a
lea rdx, [0x140034b40]
mov rcx, qword [rsp + 0x1080]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14000c21a
lea rcx, [rsp + 0x9a8]
call fcn.140013784
nop
lea rax, [rsp + 0x9e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [0x140034b50]
mov rcx, qword [rsp + 0x1088]
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
je 0x14000c0c5
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 0x14000c0f8
lea rdx, [0x140034be8]
mov rcx, qword [rsp + 0x1088]
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
je 0x14000c0f8
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 0x14000c20d
xor r9d, r9d
lea r8, str.iSuppressToastMessage
lea rdx, [rsp + 0x9e0]
lea rcx, [rsp + 0x9a8]
call fcn.140013c88
test eax, eax
jne 0x14000c20d
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.14000d404
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, [0x140034cb0]
lea rdx, [rsp + 0xe40]
lea rcx, [rsp + 0x9a8]
call fcn.140013e14
lea rcx, [rsp + 0xc10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
test rax, rax
je 0x14000c20d
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 0x14000c20d
call fcn.14000a950
nop
lea rcx, [rsp + 0x9a8]
call fcn.1400137b8
cmp qword [rsp + 0x88], 0
je 0x14000c233
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.1400020e0
nop
lea rcx, [rsp + 0xc8]
call fcn.1400020e0
mov al, byte [rsp + 0x1060]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140037950]
call fcn.140014604
mov rax, rdi
mov rcx, qword [rsp + 0x1068]
xor rcx, rsp
call fcn.140014710
add rsp, 0x1070
pop rdi
ret