Function at 0x14001a090
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x29], rdx
mov r13, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xor edi, edi
mov qword [rbp - 0x11], rdi
mov dword [rbp - 9], edi
mov qword [rbp - 1], rdi
lea rsi, [rcx + 0x10]
mov r12, qword [rsi + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, 8
jb 0x14001a346
cmp qword [rsi + 0x18], 8
jb 0x14001a101
mov rsi, qword [rsi]
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], rdi
lea r15, [r12 + 8]
mov ebx, 7
lea r14, [rbp - 0x49]
cmp r15, rbx
jbe 0x14001a174
mov rbx, r15
or rbx, 7
cmp rbx, rcx
jbe 0x14001a131
mov rbx, rcx
jmp 0x14001a13d
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14001a34c
lfence
add rcx, rcx
call fcn.140012d70
mov r14, rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], rbx
lea rbx, [r12 + r12]
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.1401a9040
movups xmm0, xmmword [0x14020a5d0]
movups xmmword [rbx + r14], xmm0
mov word [r14 + r15*2], di
lea r8, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae r8, qword [rbp - 0x49]
mov r9d, 0x20206
mov rdx, qword [r13 + 8]
lea rcx, [rbp - 0x11]
call fcn.140018800
test eax, eax
setne sil
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x14001a206
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a201
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a340
call fcn.1401853a0
mov rbx, qword [rbp - 0x11]
test sil, sil
jne 0x14001a30b
movabs r14, 0x346dc5d63886594b
mov rax, r14
mov rsi, qword [rbp - 0x29]
imul qword [rsi + 8]
sar rdx, 0xb
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
mov qword [rbp + 7], rdx
mov dword [rsp + 0x28], 8
lea rcx, [rbp + 7]
mov qword [rsp + 0x20], rcx
mov r9d, 0xb
xor r8d, r8d
lea rdx, str.LastGoodInstallTime
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, r14
imul qword [rsi + 0x10]
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp + 0xf], rdx
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
lea rdx, str.InstallFailedSinceTime
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rsi], 0
sete dil
mov dword [rbp - 0x21], edi
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.InstallState
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rsi]
mov dword [rbp - 0x19], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.InstallStateCredit
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
test rbx, rbx
je 0x14001a319
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140185380
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401b3c00
nop
call fcn.140008810
int3
call fcn.140008770
int3