Function at 0x140179c90
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 [0x140430c6e], 0
je 0x140179ccb
mov eax, 0x1d
jmp 0x140179fb7
mov eax, dword [0x140431ac0]
test al, 1
jne 0x140179d03
or eax, 1
mov dword [0x140431ac0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x140431ac8], rax
mov qword [0x140431ad0], 0xffffffff80000002
lea rcx, [0x1403050b0]
call fcn.1402be804
lea rdx, [0x140352cb8]
lea rcx, [0x140431ac8]
call fcn.1400ece40
mov rbx, rax
test rax, rax
je 0x140179fb5
mov dil, 1
call fcn.1401167f0
mov rsi, rax
lea r12, [0x14034d1a0]
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.1400d9fd0
lea r13, vtable.Core::DateTime.0
test al, al
je 0x140179e26
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], r15
mov dword [rbp - 0x31], 1
cmp dword [rbp - 0x45], 0xa
jl 0x140179e1d
mov qword [rbp - 0x61], r15
lea edx, [r15 + 0x13]
lea rcx, [rbp - 0x69]
call fcn.1402028a0
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.1402c06dc
lea edx, [r15 + 0x13]
lea rcx, [rbp - 0x69]
call fcn.140203bb0
nop
xor r9d, r9d
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x69]
mov rcx, qword [rbp - 0x51]
call fcn.1400ec430
test al, al
sete r14b
cmp dword [rbp - 0x61], r15d
jle 0x140179dde
mov rcx, qword [rbp - 0x69]
call fcn.1402bd0e0
test r14b, r14b
jne 0x140179e1d
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 [0x140379550]
movsd xmm0, qword [0x1403793f8]
comisd xmm0, xmm1
seta al
movzx edi, dil
test al, al
cmovne edi, r15d
test dil, dil
je 0x140179f98
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.14017b1b0
cmp eax, 1
jne 0x140179f65
mov qword [rbp - 0x61], r15
lea edx, [rax + 0x12]
lea rcx, [rbp - 0x69]
call fcn.1402028a0
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.1402c06dc
mov edx, 0x13
lea rcx, [rbp - 0x69]
call fcn.140203bb0
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp + 7]
mov rcx, rsi
call fcn.1400d83a0
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 0x140179f0f
mov rcx, qword [rbp + 7]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x61], 0
jle 0x140179f1e
mov rcx, qword [rbp - 0x69]
call fcn.1402bd0e0
lea rdx, [rbp - 0x69]
mov rcx, rsi
call fcn.140179a90
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 [0x140379558]
cvttsd2si eax, xmm0
add eax, 0xb7
cmp eax, 0xd6
ja 0x140179f65
lea rcx, [rbp - 0x29]
call fcn.140179fe0
nop
mov qword [rbp - 0x41], r13
cmp dword [rbp - 1], 0
jle 0x140179f79
mov rcx, qword [rbp - 9]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x11], 0
jle 0x140179f89
mov rcx, qword [rbp - 0x19]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x21], 0
jle 0x140179f98
mov rcx, qword [rbp - 0x29]
call fcn.1402bd0e0
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rbp - 0x49], 0
jle 0x140179fb5
mov rcx, qword [rbp - 0x51]
call fcn.1402bd0e0
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