Function at 0x140014c10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3b0
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140053100]
xor rax, rsp
mov qword [rbp + 0x2a8], rax
mov rsi, rcx
xor edi, edi
mov r12d, edi
xor ecx, ecx
call fcn.140026b10
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x1400599f0]
call fcn.14000cff0
mov r13, rax
test rax, rax
je 0x140014cd1
mov dword [rbp - 0x58], 4
mov dword [rbp - 0x60], 4
mov dword [rsp + 0x50], edi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x58]
xor r8d, r8d
lea rdx, str.lastPageView
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov ebx, dword [rsp + 0x50]
je 0x140014cd3
mov ebx, edi
mov eax, dword [rsp + 0x38]
mov dword [rbp - 0x50], eax
mov r8b, 1
mov rdx, rsi
lea rcx, [0x1400599f0]
call fcn.14000cff0
mov r13, rax
test rax, rax
je 0x140014d27
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.lastPageView
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsxd rax, ebx
mov r15d, 1
cmp rax, qword [0x140059908]
jge 0x140014d42
lea r12d, [r15 + 0xe]
jmp 0x14001500d
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x118]
call fcn.1400272c0
test eax, eax
jne 0x140014d6a
mov ebx, dword [rbp + 0x12c]
add ebx, 0x76c
jmp 0x140014d6c
mov ebx, edi
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x28]
call fcn.1400272c0
test eax, eax
jne 0x140014d88
mov eax, dword [rbp + 0x3c]
add eax, 0x76c
jmp 0x140014d8a
mov eax, edi
cmp ebx, eax
jle 0x140014d99
mov r12d, 0xd
jmp 0x140014eb9
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x168]
call fcn.1400272c0
test eax, eax
jne 0x140014dbc
mov ebx, dword [rbp + 0x17c]
add ebx, 0x76c
jmp 0x140014dbe
mov ebx, edi
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x78]
call fcn.1400272c0
test eax, eax
jne 0x140014ddd
mov eax, dword [rbp + 0x8c]
add eax, 0x76c
jmp 0x140014ddf
mov eax, edi
cmp ebx, eax
jne 0x14001500d
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x208]
call fcn.1400272c0
test eax, eax
jne 0x140014e06
mov ebx, dword [rbp + 0x218]
inc ebx
jmp 0x140014e08
mov ebx, edi
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc8]
call fcn.1400272c0
test eax, eax
jne 0x140014e27
mov eax, dword [rbp + 0xd8]
inc eax
jmp 0x140014e29
mov eax, edi
cmp ebx, eax
jle 0x140014e38
mov r12d, 5
jmp 0x140014eb9
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x1b8]
call fcn.1400272c0
test eax, eax
jne 0x140014e57
mov ebx, dword [rbp + 0x1c8]
inc ebx
jmp 0x140014e59
mov ebx, edi
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.1400272c0
test eax, eax
jne 0x140014e72
mov eax, dword [rbp - 0x18]
inc eax
jmp 0x140014e74
mov eax, edi
cmp ebx, eax
jne 0x14001500d
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x258]
call fcn.1400272c0
mov ebx, edi
test eax, eax
cmove ebx, dword [rbp + 0x264]
lea rdx, [rsp + 0x40]
lea rcx, [rbp]
call fcn.1400272c0
mov ecx, edi
test eax, eax
cmove ecx, dword [rbp + 0xc]
cmp ebx, ecx
jle 0x14001500d
mov r12d, r15d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x50]
call fcn.1400272c0
mov r13d, edi
test eax, eax
cmove r13d, dword [rbp + 0x5c]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa0]
call fcn.1400272c0
test eax, eax
jne 0x140014ef0
mov ebx, dword [rbp + 0xb0]
inc ebx
jmp 0x140014ef2
mov ebx, edi
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xf0]
call fcn.1400272c0
test eax, eax
jne 0x140014f15
mov edx, dword [rbp + 0x104]
add edx, 0x76c
jmp 0x140014f17
mov edx, edi
mov r9d, r13d
mov r8d, ebx
lea rcx, [rbp - 0x38]
call fcn.140010a80
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x140]
call fcn.1400272c0
mov r13d, edi
test eax, eax
cmove r13d, dword [rbp + 0x14c]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x190]
call fcn.1400272c0
test eax, eax
jne 0x140014f63
mov ebx, dword [rbp + 0x1a0]
inc ebx
jmp 0x140014f65
mov ebx, edi
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x1e0]
call fcn.1400272c0
test eax, eax
jne 0x140014f88
mov edx, dword [rbp + 0x1f4]
add edx, 0x76c
jmp 0x140014f8a
mov edx, edi
mov r9d, r13d
mov r8d, ebx
lea rcx, [rbp - 0x40]
call fcn.140010a80
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x230]
call fcn.1400272c0
test eax, eax
jne 0x140014fb8
mov eax, dword [rbp + 0x248]
inc eax
jmp 0x140014fba
mov eax, edi
cdqe
imul rax, rax, 0x15180
mov rbx, qword [rbp - 0x38]
sub rbx, rax
mov qword [rbp - 0x38], rbx
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x280]
call fcn.1400272c0
test eax, eax
jne 0x140014fed
mov eax, dword [rbp + 0x298]
inc eax
jmp 0x140014fef
mov eax, edi
movsxd rcx, eax
imul rcx, rcx, 0x15180
mov rax, qword [rbp - 0x40]
sub rax, rcx
mov qword [rbp - 0x40], rax
cmp rax, rbx
jle 0x14001500d
or r12d, 2
lea rcx, str.dailyPages
call qword [0x140040430]
mov rbx, rax
mov qword [rsp + 0x30], rax
test r15b, r12b
je 0x14001502c
mov r13d, r15d
jmp 0x14001509f
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x1400599f0]
call fcn.14000cff0
mov r13, rax
test rax, rax
je 0x140015094
mov dword [rsp + 0x6c], 4
mov dword [rbp - 0x44], 4
mov dword [rsp + 0x48], edi
lea rax, [rbp - 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov r13d, dword [rsp + 0x48]
je 0x140015097
mov r13d, edi
inc r13d
mov rbx, qword [rsp + 0x30]
mov dword [rbp - 0x68], r13d
movzx r8d, r15b
mov rdx, rsi
lea rcx, [0x1400599f0]
call fcn.14000cff0
mov r14, rax
test rax, rax
je 0x1400150ed
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
mov r8d, r13d
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140014a80
lea rdx, str.weeklyPages
lea rcx, [rsp + 0x30]
call qword [0x140040400]
test r12b, 2
je 0x14001511d
mov ebx, r15d
jmp 0x14001518d
mov rbx, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x1400599f0]
call fcn.14000cff0
mov r13, rax
test rax, rax
je 0x140015189
mov dword [rbp - 0x54], 4
mov dword [rsp + 0x78], 4
mov dword [rsp + 0x54], edi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x54]
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov ebx, dword [rsp + 0x54]
je 0x14001518b
mov ebx, edi
inc ebx
mov dword [rbp - 0x80], ebx
mov r14, qword [rsp + 0x30]
movzx r8d, r15b
mov rdx, rsi
lea rcx, [0x1400599f0]
call fcn.14000cff0
mov r13, rax
test rax, rax
je 0x1400151df
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, r14
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
mov r8d, ebx
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140014a80
lea rdx, str.monthlyPages
lea rcx, [rsp + 0x30]
call qword [0x140040400]
test r12b, 4
je 0x14001536e
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rbx, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x1400599f0]
call fcn.14000cff0
mov r13, rax
test rax, rax
je 0x1400152ab
mov dword [rbp - 0x74], 4
mov dword [rbp - 0x5c], 4
mov dword [rsp + 0x4c], edi
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x74]
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400152ab
mov r8d, dword [rsp + 0x4c]
test r8d, r8d
je 0x1400152ab
lea rdx, [0x140044d98]
lea rcx, [rsp + 0x60]
call fcn.14000b330
jmp 0x1400152c2
mov r8d, 2
lea rdx, [0x14004516c]
lea rcx, [rsp + 0x60]
call fcn.14000a480
mov r8b, 1
mov rdx, rsi
lea rcx, [0x1400599f0]
call fcn.14000cff0
mov r13, rax
mov rbx, qword [rsp + 0x60]
test rax, rax
je 0x140015316
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, r15d
xor r8d, r8d
lea rdx, str.prevMonthPages
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [rbx - 0x10]
mov rcx, rbx
call qword [0x140040458]
mov r13, rax
test rax, rax
jne 0x140015330
call fcn.14000a570
int3
xor r9d, r9d
mov r8, rax
lea rdx, str.prevMonthPages
mov rcx, rsi
call fcn.140014990
mov rcx, r13
call qword [0x140040470]
mov r13d, r15d
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400153e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400153e0
mov rbx, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x1400599f0]
call fcn.14000cff0
mov r13, rax
test rax, rax
je 0x1400153da
mov dword [rsp + 0x68], 4
mov dword [rbp - 0x48], 4
mov dword [rsp + 0x5c], edi
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov eax, dword [rsp + 0x5c]
je 0x1400153dc
mov eax, edi
lea r13d, [rax + 1]
mov dword [rsp + 0x70], r13d
mov r14, qword [rsp + 0x30]
mov r8b, 1
mov rdx, rsi
lea rcx, [0x1400599f0]
call fcn.14000cff0
mov rbx, rax
test rax, rax
je 0x140015434
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
mov r8d, r13d
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140014a80
lea rdx, str.yearlyPages
lea rcx, [rsp + 0x30]
call qword [0x140040400]
test r12b, 8
jne 0x1400154cf
mov rbx, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x1400599f0]
call fcn.14000cff0
mov r12, rax
test rax, rax
je 0x1400154cb
mov dword [rbp - 0x78], 4
mov dword [rsp + 0x7c], 4
mov dword [rsp + 0x58], edi
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400154cb
mov edi, dword [rsp + 0x58]
lea r15d, [rdi + 1]
mov dword [rbp - 0x70], r15d
mov rdi, qword [rsp + 0x30]
mov r8b, 1
mov rdx, rsi
lea rcx, [0x1400599f0]
call fcn.14000cff0
mov rbx, rax
test rax, rax
je 0x140015521
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
mov r8d, r15d
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140014a80
mov rcx, qword [rsp + 0x30]
call qword [0x140040470]
mov rcx, qword [rbp + 0x2a8]
xor rcx, rsp
call fcn.140025aa0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret