Function at 0x140167570
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rsp + 0x128], rbx
mov eax, dword [0x1403fe608]
test al, 1
jne 0x1401675d0
or eax, 1
mov dword [0x1403fe608], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x1403fe5e0], rax
mov qword [0x1403fe5e8], 0xffffffff80000002
lea rcx, [0x1402de040]
call fcn.140299c6c
lea rdx, [0x140329c48]
lea rcx, [0x1403fe5e0]
call fcn.1400ec430
mov rbx, rax
test rax, rax
je 0x140167882
mov dil, 1
call fcn.140114940
mov rsi, rax
lea r12, [0x140323de0]
mov qword [rbp - 0x51], r12
xor r15d, r15d
mov qword [rbp - 0x49], r15
lea r8, [rbp - 0x51]
lea rdx, str.LastRenew
mov rcx, rbx
call fcn.1400d5720
lea r13, vtable.Core::DateTime.0
test al, al
je 0x1401676f3
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], r15
mov dword [rbp - 0x31], 1
cmp dword [rbp - 0x45], 0xa
jl 0x1401676ea
mov qword [rbp - 0x61], r15
lea edx, [r15 + 0x13]
lea rcx, [rbp - 0x69]
call fcn.1401e9030
mov eax, dword [rbp - 0x61]
inc eax
movsxd rdx, eax
lea r9d, [r15 + 0x13]
lea r8, str.yyyy_MM_dd_HH:mm:ss
mov rcx, qword [rbp - 0x69]
call fcn.14029b4d8
lea edx, [r15 + 0x13]
lea rcx, [rbp - 0x69]
call fcn.1401ea290
nop
xor r9d, r9d
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x69]
mov rcx, qword [rbp - 0x51]
call fcn.1400eba20
test al, al
sete r14b
cmp dword [rbp - 0x61], r15d
jle 0x1401676ab
mov rcx, qword [rbp - 0x69]
call fcn.140298600
test r14b, r14b
jne 0x1401676ea
lea r8, [rbp - 0x41]
lea rdx, [rbp + 7]
mov rcx, rsi
call fcn.1400ca960
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rax + 8]
divsd xmm1, qword [0x14034ce70]
movsd xmm0, qword [0x14034cd18]
comisd xmm0, xmm1
seta al
movzx edi, dil
test al, al
cmovne edi, r15d
test dil, dil
je 0x140167865
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r12
mov qword [rbp - 1], r15
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], r15
mov dword [rbp - 0x31], 1
lea rax, [rbp + 0x67]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x41]
lea r8, [rbp - 9]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x29]
call fcn.140168a70
cmp eax, 1
jne 0x140167832
mov qword [rbp - 0x61], r15
lea edx, [rax + 0x12]
lea rcx, [rbp - 0x69]
call fcn.1401e9030
mov eax, dword [rbp - 0x61]
inc eax
movsxd rdx, eax
mov r9d, 0x13
lea r8, str.yyyy_MM_dd_HH:mm:ss
mov rcx, qword [rbp - 0x69]
call fcn.14029b4d8
mov edx, 0x13
lea rcx, [rbp - 0x69]
call fcn.1401ea290
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp + 7]
mov rcx, rsi
call fcn.1400d3af0
mov ecx, dword [rax + 0xc]
mov r8, qword [rax]
lea eax, [rcx + rcx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
mov r9d, 1
xor r8d, r8d
lea rdx, str.LastRenew
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rbp + 0xf], 0
jle 0x1401677dc
mov rcx, qword [rbp + 7]
call fcn.140298600
nop
cmp dword [rbp - 0x61], 0
jle 0x1401677eb
mov rcx, qword [rbp - 0x69]
call fcn.140298600
lea rdx, [rbp - 0x69]
mov rcx, rsi
call fcn.140167430
mov r8, rax
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x41]
call fcn.1400ca960
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rax + 8]
divsd xmm0, qword [0x14034ce78]
cvttsd2si eax, xmm0
add eax, 0xb7
cmp eax, 0xd6
ja 0x140167832
lea rcx, [rbp - 0x29]
call fcn.1401678a0
nop
mov qword [rbp - 0x41], r13
cmp dword [rbp - 1], 0
jle 0x140167846
mov rcx, qword [rbp - 9]
call fcn.140298600
nop
cmp dword [rbp - 0x11], 0
jle 0x140167856
mov rcx, qword [rbp - 0x19]
call fcn.140298600
nop
cmp dword [rbp - 0x21], 0
jle 0x140167865
mov rcx, qword [rbp - 0x29]
call fcn.140298600
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rbp - 0x49], 0
jle 0x140167882
mov rcx, qword [rbp - 0x51]
call fcn.140298600
xor eax, eax
mov rbx, qword [rsp + 0x128]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret