Function at 0x14014c138
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, 0xd0
mov rax, qword [0x140183808]
xor rax, rsp
mov qword [rbp + 7], rax
mov rax, qword [rbp + 0x77]
mov r13d, r9d
mov r15, qword [rbp + 0x7f]
mov r12b, r8b
mov qword [rbp - 0x31], rax
mov sil, dl
mov rdi, rcx
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14014c1ae
test byte [rcx + 0x1c], 0x20
je 0x14014c1ae
cmp byte [rcx + 0x19], 4
jb 0x14014c1ae
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016e1d8]
mov edx, 0x2d
call fcn.140004e50
xor ebx, ebx
test r15, r15
jne 0x14014c1cd
lea r8, str.pBlbBackupStatUpdater___NULL
mov edx, 0x2a5
lea rcx, str.base_stor_blb_bmr_asrrestore.cpp
call fcn.14008f4c8
xorps xmm0, xmm0
mov qword [rbp - 0x41], rbx
xorps xmm1, xmm1
mov qword [rbp - 0x61], rbx
lea r8, [rbp - 0x29]
mov qword [rbp - 0x59], rbx
lea rcx, str.SeBackupPrivilege
mov qword [rbp - 0x39], rbx
movups xmmword [rbp - 0x29], xmm0
mov r14, rbx
mov dword [rbp - 0x49], ebx
movups xmmword [rbp - 0x19], xmm1
mov dword [rbp - 0x69], ebx
mov qword [rbp - 0x51], rbx
call fcn.14009db38
mov ebx, eax
test eax, eax
js 0x14014c5a2
lea r8, [rbp - 0x19]
lea rcx, str.SeRestorePrivilege
call fcn.14009db38
mov ebx, eax
test eax, eax
js 0x14014c5a2
lea r8, [rbp - 0x41]
mov rcx, rdi
lea rdx, str.WindowsSystem32configSoftware
call fcn.14009047c
mov r14, qword [rbp - 0x41]
xor edi, edi
mov ebx, eax
test eax, eax
js 0x14014c5a4
mov r8, r14
lea rdx, str.OfflineSoftwareHive
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
nop dword [rax + rax]
test eax, eax
je 0x14014c283
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14014c5a4
lea rax, [rbp - 0x61]
mov dword [rbp - 0x69], 1
mov ebx, 0xf003f
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea rdx, str.OfflineSoftwareHive
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14014c270
test sil, sil
jne 0x14014c377
mov rcx, qword [rbp - 0x61]
lea rax, [rbp - 0x39]
mov r9d, ebx
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 0x14014c336
mov rcx, qword [0x140183048]
lea rsi, [0x140183048]
cmp rcx, rsi
je 0x14014c37e
test byte [rcx + 0x1c], 0x20
je 0x14014c37e
cmp byte [rcx + 0x19], 3
jb 0x14014c37e
mov edx, 0x2e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016e1d8]
movzx r9d, ax
or r9d, 0x80070000
test eax, eax
cmovle r9d, eax
call fcn.140004e7c
jmp 0x14014c37e
mov rcx, qword [rbp - 0x39]
lea rdx, str.LastAliveStamp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, eax
je 0x14014c377
mov rcx, qword [0x140183048]
lea rsi, [0x140183048]
cmp rcx, rsi
je 0x14014c37e
test byte [rcx + 0x1c], 0x20
je 0x14014c37e
cmp byte [rcx + 0x19], 3
jb 0x14014c37e
mov edx, 0x2f
jmp 0x14014c313
lea rsi, [0x140183048]
mov rcx, qword [rbp - 0x61]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x40], rax
lea rdx, str.MICROSOFTWINDOWS_NTCurrentVersionASRRestoreSession
lea rax, [rbp - 0x59]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14014c40d
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x14014c5a4
test byte [rcx + 0x1c], 0x20
je 0x14014c5a4
cmp byte [rcx + 0x19], 2
jb 0x14014c5a4
mov edx, 0x30
mov r9d, ebx
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016e1d8]
call fcn.140004e7c
jmp 0x14014c5a4
mov rcx, qword [rbp - 0x59]
lea rdx, str.LastInstance
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, 0xfffffffd
je 0x14014c464
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x14014c5a4
test byte [rcx + 0x1c], 0x20
je 0x14014c5a4
cmp byte [rcx + 0x19], 2
jb 0x14014c5a4
mov edx, 0x31
jmp 0x14014c3f5
mov r9, qword [rbp - 0x59]
mov edx, r13d
mov r8, qword [rbp - 0x31]
mov cl, r12b
call fcn.14014c990
mov ebx, eax
test eax, eax
jns 0x14014c4ae
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x14014c5a4
test byte [rcx + 0x1c], 0x20
je 0x14014c5a4
cmp byte [rcx + 0x19], 2
jb 0x14014c5a4
mov edx, 0x32
mov r9d, eax
jmp 0x14014c3f8
lea rcx, [rbp - 9]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
nop dword [rax + rax]
test eax, eax
je 0x14014c4cc
mov ebx, 0x80004005
jmp 0x14014c5a4
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
nop dword [rax + rax]
test eax, eax
jne 0x14014c4c2
mov rcx, qword [rbp - 0x51]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x14014c4ec
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 - 0x59]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14014c559
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x14014c5a4
test byte [rcx + 0x1c], 0x20
je 0x14014c5a4
cmp byte [rcx + 0x19], 2
jb 0x14014c5a4
mov edx, 0x33
jmp 0x14014c3f5
mov rdx, qword [rbp - 0x61]
mov r8b, 1
mov rcx, r15
call fcn.14014b06c
mov ebx, eax
test eax, eax
jns 0x14014c5a4
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x14014c59e
test byte [rcx + 0x1c], 1
je 0x14014c59e
cmp byte [rcx + 0x19], 2
jb 0x14014c59e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016e1d8]
mov edx, 0x34
mov r9d, eax
call fcn.140004e7c
mov ebx, edi
jmp 0x14014c5a4
xor edi, edi
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
cmp dword [rbp - 0x69], edi
je 0x14014c5f3
lea rdx, str.OfflineSoftwareHive
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
nop dword [rax + rax]
cmp dword [rbp - 0x29], edi
je 0x14014c61d
lea rcx, [rbp - 0x29]
call fcn.14009dc0c
test eax, eax
jns 0x14014c61d
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
cmp dword [rbp - 0x19], edi
je 0x14014c647
lea rcx, [rbp - 0x19]
call fcn.14009dc0c
test eax, eax
jns 0x14014c647
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
lea rcx, [rbp - 0x51]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
mov qword [rbp - 0x51], rdi
test r14, r14
je 0x14014c66f
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14014c6a3
test byte [rcx + 0x1c], 0x20
je 0x14014c6a3
cmp byte [rcx + 0x19], 4
jb 0x14014c6a3
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016e1d8]
mov edx, 0x35
call fcn.140004e50
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401534b0
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret