Function at 0x14014c7dc
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xc0
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r13, qword [rbp + 0x77]
mov r12d, r9d
mov r14, qword [rbp + 0x7f]
mov r15b, r8b
mov sil, dl
mov rdi, rcx
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14014c84e
test byte [rcx + 0x1c], 0x20
je 0x14014c84e
cmp byte [rcx + 0x19], 4
jb 0x14014c84e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov edx, 0x2d
call fcn.140006b98
xor ebx, ebx
test r14, r14
jne 0x14014c86d
lea r8, str.pBlbBackupStatUpdater___NULL
mov edx, 0x2a5
lea rcx, str.base_stor_blb_bmr_asrrestore.cpp
call fcn.14008ac24
xorps xmm0, xmm0
mov qword [rbp - 0x59], rbx
xorps xmm1, xmm1
mov qword [rbp - 0x49], rbx
lea r8, [rbp - 0x21]
mov qword [rbp - 0x41], rbx
lea rcx, str.SeBackupPrivilege
mov qword [rbp - 0x29], rbx
movups xmmword [rbp - 0x21], xmm0
mov dword [rbp - 0x31], ebx
movups xmmword [rbp - 0x11], xmm1
mov dword [rbp - 0x51], ebx
mov qword [rbp - 0x39], rbx
call fcn.1400996d4
mov ebx, eax
test eax, eax
js 0x14014cc3d
lea r8, [rbp - 0x11]
lea rcx, str.SeRestorePrivilege
call fcn.1400996d4
mov ebx, eax
test eax, eax
js 0x14014cc3d
lea r8, [rbp - 0x59]
mov rcx, rdi
lea rdx, str.WindowsSystem32configSoftware
call fcn.14008bdcc
mov rdi, qword [rbp - 0x59]
mov ebx, eax
test eax, eax
js 0x14014cc41
mov r8, rdi
lea rdx, str.OfflineSoftwareHive
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14014c921
jle 0x14014cc41
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14014cc3d
lea rax, [rbp - 0x49]
mov dword [rbp - 0x51], 1
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.OfflineSoftwareHive
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14014c90d
xor ebx, ebx
mov edi, 0x80070000
test sil, sil
jne 0x14014ca1f
mov rcx, qword [rbp - 0x49]
lea rax, [rbp - 0x29]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.MicrosoftWindowsCurrentVersionReliability
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14014c9d7
jle 0x14014c99e
movzx eax, ax
or eax, edi
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x14014ca26
test byte [rcx + 0x1c], 0x20
je 0x14014ca26
cmp byte [rcx + 0x19], 3
jb 0x14014ca26
mov edx, 0x2e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov r9d, eax
call fcn.140006bc4
jmp 0x14014ca26
mov rcx, qword [rbp - 0x29]
lea rdx, str.LastAliveStamp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, eax
je 0x14014ca1f
jle 0x14014c9f9
movzx eax, ax
or eax, edi
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x14014ca26
test byte [rcx + 0x1c], 0x20
je 0x14014ca26
cmp byte [rcx + 0x19], 3
jb 0x14014ca26
mov edx, 0x2f
jmp 0x14014c9c2
lea rsi, [0x14017a048]
mov rcx, qword [rbp - 0x49]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x40], rax
lea rdx, str.MICROSOFTWINDOWS_NTCurrentVersionASRRestoreSession
lea rax, [rbp - 0x41]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14014cab4
jle 0x14014ca73
movzx ebx, bx
or ebx, edi
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x14014cc3d
test byte [rcx + 0x1c], 0x20
je 0x14014cc3d
cmp byte [rcx + 0x19], 2
jb 0x14014cc3d
mov edx, 0x30
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov r9d, ebx
call fcn.140006bc4
jmp 0x14014cc3d
mov rcx, qword [rbp - 0x41]
lea rdx, str.LastInstance
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, 0xfffffffd
je 0x14014cb08
test eax, eax
jle 0x14014cadd
movzx ebx, bx
or ebx, edi
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x14014cc3d
test byte [rcx + 0x1c], 0x20
je 0x14014cc3d
cmp byte [rcx + 0x19], 2
jb 0x14014cc3d
mov edx, 0x31
jmp 0x14014ca9c
mov r9, qword [rbp - 0x41]
mov r8, r13
mov edx, r12d
mov cl, r15b
call fcn.14014be18
mov ebx, eax
test eax, eax
jns 0x14014cb4e
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x14014cc3d
test byte [rcx + 0x1c], 0x20
je 0x14014cc3d
cmp byte [rcx + 0x19], 2
jb 0x14014cc3d
mov edx, 0x32
jmp 0x14014ca9c
lea rcx, [rbp - 1]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
je 0x14014cb6e
mov ebx, 0x80004005
jmp 0x14014cc3d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
nop dword [rax + rax]
test eax, eax
jne 0x14014cb64
mov rcx, qword [rbp - 0x39]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x14014cb8e
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, str.LastInstance
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14014cbf6
jle 0x14014cbd4
movzx ebx, bx
or ebx, edi
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x14014cc3d
test byte [rcx + 0x1c], 0x20
je 0x14014cc3d
cmp byte [rcx + 0x19], 2
jb 0x14014cc3d
mov edx, 0x33
jmp 0x14014ca9c
mov rdx, qword [rbp - 0x49]
mov r8b, 1
mov rcx, r14
call fcn.14014accc
xor edi, edi
mov ebx, eax
test eax, eax
jns 0x14014cc3d
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x14014cc3b
test byte [rcx + 0x1c], 1
je 0x14014cc3b
cmp byte [rcx + 0x19], 2
jb 0x14014cc3b
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x34]
mov r9d, eax
lea r8, [0x14016abb8]
call fcn.140006bc4
mov ebx, edi
mov rdi, qword [rbp - 0x59]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
xor esi, esi
cmp dword [rbp - 0x51], esi
je 0x14014cc92
lea rdx, str.OfflineSoftwareHive
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
nop dword [rax + rax]
cmp dword [rbp - 0x21], esi
je 0x14014ccbc
lea rcx, [rbp - 0x21]
call fcn.140099430
test eax, eax
jns 0x14014ccbc
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
cmp dword [rbp - 0x11], esi
je 0x14014cce6
lea rcx, [rbp - 0x11]
call fcn.140099430
test eax, eax
jns 0x14014cce6
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
lea rcx, [rbp - 0x39]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
xor eax, eax
mov qword [rbp - 0x39], rax
test rdi, rdi
je 0x14014cd10
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14014cd44
test byte [rcx + 0x1c], 0x20
je 0x14014cd44
cmp byte [rcx + 0x19], 4
jb 0x14014cd44
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov edx, 0x35
call fcn.140006b98
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140001d90
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret