Function at 0x14001b8c0
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov edi, r8d
mov rsi, rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x58], r14
lea r8, [rcx + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14001b90f
mov r8, qword [r8]
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x28], 0x20206
mov dword [rsp + 0x20], r14d
mov rdx, qword [rcx + 8]
lea rcx, [rsp + 0x48]
call fcn.140018690
mov dword [rsp + 0x40], eax
mov rbx, qword [rsp + 0x48]
test eax, eax
je 0x14001b99a
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call fcn.1401a8d80
call fcn.140138af0
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 3
lea rcx, [rsp + 0x70]
call fcn.14000f010
nop
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d90b6.0]
cmp dword [rsp + 0x68], eax
setl byte [rbp + 0x68]
jl 0x14001bb3d
lea rcx, [rsp + 0x60]
call fcn.140021700
jmp 0x14001bb24
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.LastDelayedUpdateTime
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14001ba50
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call fcn.1401a8d80
call fcn.140138af0
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 3
lea rcx, [rsp + 0x70]
call fcn.14000f010
nop
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d90b6.0]
cmp dword [rsp + 0x68], eax
setl byte [rbp + 0x68]
jl 0x14001ba46
lea rdx, str.SetDelayedUpdateStatus:_Failed_to_write_LastDelayedUpdateTime:
lea rcx, [rsp + 0x60]
call fcn.140021770
mov rcx, rax
call fcn.140021490
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400214d0
mov byte [rbp + 0x68], 1
lea rcx, [rsp + 0x60]
call fcn.14000afe0
mov eax, 0x80004005
cmp byte [rsi], 0
cmovne eax, r14d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DelayedUpdateResult
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14001bb48
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call fcn.1401a8d80
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0x13c8
mov eax, dword [rcx + rdi]
mov esi, 0x13c0
test al, 1
jne 0x14001badb
or eax, 1
mov dword [rcx + rdi], eax
xor eax, eax
mov qword [rdi + rsi], rax
call fcn.140138a70
mov qword [rdi + rsi], rax
mov rax, qword [rdi + rsi]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 3
lea rcx, [rsp + 0x70]
call fcn.14000f010
nop
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d90b6.0]
cmp dword [rsp + 0x68], eax
setl byte [rbp + 0x68]
jl 0x14001bb3d
lea rdx, str.SetDelayedUpdateStatus:_Failed_to_write_DelayedUpdateResult:
lea rcx, [rsp + 0x60]
call fcn.1400217d0
mov rcx, rax
call fcn.140021490
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400214d0
mov byte [rbp + 0x68], 1
lea rcx, [rsp + 0x60]
call fcn.14000afe0
nop
test rbx, rbx
je 0x14001bb56
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140185380
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret