Function at 0x140176c80
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 [0x140428c56], 0
je 0x140176cbb
mov eax, 0x1d
jmp 0x140176fa7
mov eax, dword [0x140429a18]
test al, 1
jne 0x140176cf3
or eax, 1
mov dword [0x140429a18], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x1404299f0], rax
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
lea rdx, [0x14034ce18]
lea rcx, [0x1404299f0]
call fcn.1400ea630
mov rbx, rax
test rax, rax
je 0x140176fa5
mov dil, 1
call fcn.140113b80
mov rsi, rax
lea r12, [0x140346ce0]
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.1400d8ae0
lea r13, vtable.Core::DateTime.0
test al, al
je 0x140176e16
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], r15
mov dword [rbp - 0x31], 1
cmp dword [rbp - 0x45], 0xa
jl 0x140176e0d
mov qword [rbp - 0x61], r15
lea edx, [r15 + 0x13]
lea rcx, [rbp - 0x69]
call fcn.1401fcb40
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.1402ba94c
lea edx, [r15 + 0x13]
lea rcx, [rbp - 0x69]
call fcn.1401fde50
nop
xor r9d, r9d
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x69]
mov rcx, qword [rbp - 0x51]
call fcn.1400e9c20
test al, al
sete r14b
cmp dword [rbp - 0x61], r15d
jle 0x140176dce
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
test r14b, r14b
jne 0x140176e0d
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 [0x140372170]
movsd xmm0, qword [0x140372018]
comisd xmm0, xmm1
seta al
movzx edi, dil
test al, al
cmovne edi, r15d
test dil, dil
je 0x140176f88
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.1401781a0
cmp eax, 1
jne 0x140176f55
mov qword [rbp - 0x61], r15
lea edx, [rax + 0x12]
lea rcx, [rbp - 0x69]
call fcn.1401fcb40
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.1402ba94c
mov edx, 0x13
lea rcx, [rbp - 0x69]
call fcn.1401fde50
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp + 7]
mov rcx, rsi
call fcn.1400d6eb0
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 0x140176eff
mov rcx, qword [rbp + 7]
call fcn.1402b7350
nop
cmp dword [rbp - 0x61], 0
jle 0x140176f0e
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
lea rdx, [rbp - 0x69]
mov rcx, rsi
call fcn.140176a80
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 [0x140372178]
cvttsd2si eax, xmm0
add eax, 0xb7
cmp eax, 0xd6
ja 0x140176f55
lea rcx, [rbp - 0x29]
call fcn.140176fd0
nop
mov qword [rbp - 0x41], r13
cmp dword [rbp - 1], 0
jle 0x140176f69
mov rcx, qword [rbp - 9]
call fcn.1402b7350
nop
cmp dword [rbp - 0x11], 0
jle 0x140176f79
mov rcx, qword [rbp - 0x19]
call fcn.1402b7350
nop
cmp dword [rbp - 0x21], 0
jle 0x140176f88
mov rcx, qword [rbp - 0x29]
call fcn.1402b7350
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rbp - 0x49], 0
jle 0x140176fa5
mov rcx, qword [rbp - 0x51]
call fcn.1402b7350
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