Function at 0x1401442bc
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 [0x140173708]
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 [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x14014432e
test byte [rcx + 0x1c], 0x20
je 0x14014432e
cmp byte [rcx + 0x19], 4
jb 0x14014432e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401633f8]
mov edx, 0x2d
call fcn.14000c328
xor ebx, ebx
test r14, r14
jne 0x14014434d
lea r8, str.pBlbBackupStatUpdater___NULL
mov edx, 0x2a5
lea rcx, str.base_stor_blb_bmr_asrrestore.cpp
call fcn.1400906e0
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.14009ee8c
mov ebx, eax
test eax, eax
js 0x14014471d
lea r8, [rbp - 0x11]
lea rcx, str.SeRestorePrivilege
call fcn.14009ee8c
mov ebx, eax
test eax, eax
js 0x14014471d
lea r8, [rbp - 0x59]
mov rcx, rdi
lea rdx, str.WindowsSystem32configSoftware
call fcn.140091810
mov rdi, qword [rbp - 0x59]
mov ebx, eax
test eax, eax
js 0x140144721
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 0x140144401
jle 0x140144721
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14014471d
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 0x1401443ed
xor ebx, ebx
mov edi, 0x80070000
test sil, sil
jne 0x1401444ff
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 0x1401444b7
jle 0x14014447e
movzx eax, ax
or eax, edi
mov rcx, qword [0x140173048]
lea rsi, [0x140173048]
cmp rcx, rsi
je 0x140144506
test byte [rcx + 0x1c], 0x20
je 0x140144506
cmp byte [rcx + 0x19], 3
jb 0x140144506
mov edx, 0x2e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401633f8]
mov r9d, eax
call fcn.14000c354
jmp 0x140144506
mov rcx, qword [rbp - 0x29]
lea rdx, str.LastAliveStamp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, eax
je 0x1401444ff
jle 0x1401444d9
movzx eax, ax
or eax, edi
mov rcx, qword [0x140173048]
lea rsi, [0x140173048]
cmp rcx, rsi
je 0x140144506
test byte [rcx + 0x1c], 0x20
je 0x140144506
cmp byte [rcx + 0x19], 3
jb 0x140144506
mov edx, 0x2f
jmp 0x1401444a2
lea rsi, [0x140173048]
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 0x140144594
jle 0x140144553
movzx ebx, bx
or ebx, edi
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x14014471d
test byte [rcx + 0x1c], 0x20
je 0x14014471d
cmp byte [rcx + 0x19], 2
jb 0x14014471d
mov edx, 0x30
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401633f8]
mov r9d, ebx
call fcn.14000c354
jmp 0x14014471d
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 0x1401445e8
test eax, eax
jle 0x1401445bd
movzx ebx, bx
or ebx, edi
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x14014471d
test byte [rcx + 0x1c], 0x20
je 0x14014471d
cmp byte [rcx + 0x19], 2
jb 0x14014471d
mov edx, 0x31
jmp 0x14014457c
mov r9, qword [rbp - 0x41]
mov r8, r13
mov edx, r12d
mov cl, r15b
call fcn.140143990
mov ebx, eax
test eax, eax
jns 0x14014462e
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x14014471d
test byte [rcx + 0x1c], 0x20
je 0x14014471d
cmp byte [rcx + 0x19], 2
jb 0x14014471d
mov edx, 0x32
jmp 0x14014457c
lea rcx, [rbp - 1]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
je 0x14014464e
mov ebx, 0x80004005
jmp 0x14014471d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
nop dword [rax + rax]
test eax, eax
jne 0x140144644
mov rcx, qword [rbp - 0x39]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x14014466e
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 0x1401446d6
jle 0x1401446b4
movzx ebx, bx
or ebx, edi
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x14014471d
test byte [rcx + 0x1c], 0x20
je 0x14014471d
cmp byte [rcx + 0x19], 2
jb 0x14014471d
mov edx, 0x33
jmp 0x14014457c
mov rdx, qword [rbp - 0x49]
mov r8b, 1
mov rcx, r14
call fcn.140142998
xor edi, edi
mov ebx, eax
test eax, eax
jns 0x14014471d
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x14014471b
test byte [rcx + 0x1c], 1
je 0x14014471b
cmp byte [rcx + 0x19], 2
jb 0x14014471b
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x34]
mov r9d, eax
lea r8, [0x1401633f8]
call fcn.14000c354
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 0x140144772
lea rdx, str.OfflineSoftwareHive
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
nop dword [rax + rax]
cmp dword [rbp - 0x21], esi
je 0x14014479c
lea rcx, [rbp - 0x21]
call fcn.14009ebe8
test eax, eax
jns 0x14014479c
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 0x1401447c6
lea rcx, [rbp - 0x11]
call fcn.14009ebe8
test eax, eax
jns 0x1401447c6
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 0x1401447f0
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140144824
test byte [rcx + 0x1c], 0x20
je 0x140144824
cmp byte [rcx + 0x19], 4
jb 0x140144824
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401633f8]
mov edx, 0x35
call fcn.14000c328
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140007410
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret