Function at 0x140178050
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
cmp byte [0x14042bc36], 0
je 0x14017808b
mov eax, 0x1d
jmp 0x140178377
mov eax, dword [0x14042c9e0]
test al, 1
jne 0x1401780c3
or eax, 1
mov dword [0x14042c9e0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x14042c9e8], rax
mov qword [0x14042c9f0], 0xffffffff80000002
lea rcx, [0x1403017d0]
call fcn.1402bb344
lea rdx, [0x14034ee50]
lea rcx, [0x14042c9e8]
call fcn.1400eb8d0
mov rbx, rax
test rax, rax
je 0x140178375
mov dil, 1
call fcn.140114e00
mov rsi, rax
lea r12, [0x140348ca0]
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.1400d8b50
lea r13, vtable.Core::DateTime.0
test al, al
je 0x1401781e6
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], r15
mov dword [rbp - 0x31], 1
cmp dword [rbp - 0x45], 0xa
jl 0x1401781dd
mov qword [rbp - 0x61], r15
lea edx, [r15 + 0x13]
lea rcx, [rbp - 0x69]
call fcn.1401ff260
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.1402bd21c
lea edx, [r15 + 0x13]
lea rcx, [rbp - 0x69]
call fcn.140200570
nop
xor r9d, r9d
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x69]
mov rcx, qword [rbp - 0x51]
call fcn.1400eaec0
test al, al
sete r14b
cmp dword [rbp - 0x61], r15d
jle 0x14017819e
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
test r14b, r14b
jne 0x1401781dd
lea r8, [rbp - 0x41]
lea rdx, [rbp + 7]
mov rcx, rsi
call fcn.1400cb050
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rax + 8]
divsd xmm1, qword [0x140374980]
movsd xmm0, qword [0x140374828]
comisd xmm0, xmm1
seta al
movzx edi, dil
test al, al
cmovne edi, r15d
test dil, dil
je 0x140178358
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.140179570
cmp eax, 1
jne 0x140178325
mov qword [rbp - 0x61], r15
lea edx, [rax + 0x12]
lea rcx, [rbp - 0x69]
call fcn.1401ff260
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.1402bd21c
mov edx, 0x13
lea rcx, [rbp - 0x69]
call fcn.140200570
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp + 7]
mov rcx, rsi
call fcn.1400d6f20
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 0x1401782cf
mov rcx, qword [rbp + 7]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x61], 0
jle 0x1401782de
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
lea rdx, [rbp - 0x69]
mov rcx, rsi
call fcn.140177e50
mov r8, rax
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x41]
call fcn.1400cb050
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rax + 8]
divsd xmm0, qword [0x140374988]
cvttsd2si eax, xmm0
add eax, 0xb7
cmp eax, 0xd6
ja 0x140178325
lea rcx, [rbp - 0x29]
call fcn.1401783a0
nop
mov qword [rbp - 0x41], r13
cmp dword [rbp - 1], 0
jle 0x140178339
mov rcx, qword [rbp - 9]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x11], 0
jle 0x140178349
mov rcx, qword [rbp - 0x19]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x21], 0
jle 0x140178358
mov rcx, qword [rbp - 0x29]
call fcn.1402b9c20
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rbp - 0x49], 0
jle 0x140178375
mov rcx, qword [rbp - 0x51]
call fcn.1402b9c20
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