Function at 0x140015c10
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 [0x140054100]
xor rax, rsp
mov qword [rbp + 0x2a8], rax
mov rsi, rcx
xor edi, edi
mov r12d, edi
xor ecx, ecx
call fcn.140027b10
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x14005a9f0]
call fcn.14000dff0
mov r13, rax
test rax, rax
je 0x140015cd1
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 0x140015cd3
mov ebx, edi
mov eax, dword [rsp + 0x38]
mov dword [rbp - 0x50], eax
mov r8b, 1
mov rdx, rsi
lea rcx, [0x14005a9f0]
call fcn.14000dff0
mov r13, rax
test rax, rax
je 0x140015d27
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 [0x14005a908]
jge 0x140015d42
lea r12d, [r15 + 0xe]
jmp 0x14001600d
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x118]
call fcn.1400282c0
test eax, eax
jne 0x140015d6a
mov ebx, dword [rbp + 0x12c]
add ebx, 0x76c
jmp 0x140015d6c
mov ebx, edi
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x28]
call fcn.1400282c0
test eax, eax
jne 0x140015d88
mov eax, dword [rbp + 0x3c]
add eax, 0x76c
jmp 0x140015d8a
mov eax, edi
cmp ebx, eax
jle 0x140015d99
mov r12d, 0xd
jmp 0x140015eb9
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x168]
call fcn.1400282c0
test eax, eax
jne 0x140015dbc
mov ebx, dword [rbp + 0x17c]
add ebx, 0x76c
jmp 0x140015dbe
mov ebx, edi
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x78]
call fcn.1400282c0
test eax, eax
jne 0x140015ddd
mov eax, dword [rbp + 0x8c]
add eax, 0x76c
jmp 0x140015ddf
mov eax, edi
cmp ebx, eax
jne 0x14001600d
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x208]
call fcn.1400282c0
test eax, eax
jne 0x140015e06
mov ebx, dword [rbp + 0x218]
inc ebx
jmp 0x140015e08
mov ebx, edi
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc8]
call fcn.1400282c0
test eax, eax
jne 0x140015e27
mov eax, dword [rbp + 0xd8]
inc eax
jmp 0x140015e29
mov eax, edi
cmp ebx, eax
jle 0x140015e38
mov r12d, 5
jmp 0x140015eb9
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x1b8]
call fcn.1400282c0
test eax, eax
jne 0x140015e57
mov ebx, dword [rbp + 0x1c8]
inc ebx
jmp 0x140015e59
mov ebx, edi
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.1400282c0
test eax, eax
jne 0x140015e72
mov eax, dword [rbp - 0x18]
inc eax
jmp 0x140015e74
mov eax, edi
cmp ebx, eax
jne 0x14001600d
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x258]
call fcn.1400282c0
mov ebx, edi
test eax, eax
cmove ebx, dword [rbp + 0x264]
lea rdx, [rsp + 0x40]
lea rcx, [rbp]
call fcn.1400282c0
mov ecx, edi
test eax, eax
cmove ecx, dword [rbp + 0xc]
cmp ebx, ecx
jle 0x14001600d
mov r12d, r15d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x50]
call fcn.1400282c0
mov r13d, edi
test eax, eax
cmove r13d, dword [rbp + 0x5c]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa0]
call fcn.1400282c0
test eax, eax
jne 0x140015ef0
mov ebx, dword [rbp + 0xb0]
inc ebx
jmp 0x140015ef2
mov ebx, edi
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xf0]
call fcn.1400282c0
test eax, eax
jne 0x140015f15
mov edx, dword [rbp + 0x104]
add edx, 0x76c
jmp 0x140015f17
mov edx, edi
mov r9d, r13d
mov r8d, ebx
lea rcx, [rbp - 0x38]
call fcn.140011a80
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x140]
call fcn.1400282c0
mov r13d, edi
test eax, eax
cmove r13d, dword [rbp + 0x14c]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x190]
call fcn.1400282c0
test eax, eax
jne 0x140015f63
mov ebx, dword [rbp + 0x1a0]
inc ebx
jmp 0x140015f65
mov ebx, edi
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x1e0]
call fcn.1400282c0
test eax, eax
jne 0x140015f88
mov edx, dword [rbp + 0x1f4]
add edx, 0x76c
jmp 0x140015f8a
mov edx, edi
mov r9d, r13d
mov r8d, ebx
lea rcx, [rbp - 0x40]
call fcn.140011a80
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x230]
call fcn.1400282c0
test eax, eax
jne 0x140015fb8
mov eax, dword [rbp + 0x248]
inc eax
jmp 0x140015fba
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.1400282c0
test eax, eax
jne 0x140015fed
mov eax, dword [rbp + 0x298]
inc eax
jmp 0x140015fef
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 0x14001600d
or r12d, 2
lea rcx, str.dailyPages
call qword [0x140041430]
mov rbx, rax
mov qword [rsp + 0x30], rax
test r15b, r12b
je 0x14001602c
mov r13d, r15d
jmp 0x14001609f
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x14005a9f0]
call fcn.14000dff0
mov r13, rax
test rax, rax
je 0x140016094
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 0x140016097
mov r13d, edi
inc r13d
mov rbx, qword [rsp + 0x30]
mov dword [rbp - 0x68], r13d
movzx r8d, r15b
mov rdx, rsi
lea rcx, [0x14005a9f0]
call fcn.14000dff0
mov r14, rax
test rax, rax
je 0x1400160ed
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.140015a80
lea rdx, str.weeklyPages
lea rcx, [rsp + 0x30]
call qword [0x140041400]
test r12b, 2
je 0x14001611d
mov ebx, r15d
jmp 0x14001618d
mov rbx, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x14005a9f0]
call fcn.14000dff0
mov r13, rax
test rax, rax
je 0x140016189
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 0x14001618b
mov ebx, edi
inc ebx
mov dword [rbp - 0x80], ebx
mov r14, qword [rsp + 0x30]
movzx r8d, r15b
mov rdx, rsi
lea rcx, [0x14005a9f0]
call fcn.14000dff0
mov r13, rax
test rax, rax
je 0x1400161df
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.140015a80
lea rdx, str.monthlyPages
lea rcx, [rsp + 0x30]
call qword [0x140041400]
test r12b, 4
je 0x14001636e
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, [0x14005a9f0]
call fcn.14000dff0
mov r13, rax
test rax, rax
je 0x1400162ab
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 0x1400162ab
mov r8d, dword [rsp + 0x4c]
test r8d, r8d
je 0x1400162ab
lea rdx, [0x140045d98]
lea rcx, [rsp + 0x60]
call fcn.14000c330
jmp 0x1400162c2
mov r8d, 2
lea rdx, [0x14004616c]
lea rcx, [rsp + 0x60]
call fcn.14000b480
mov r8b, 1
mov rdx, rsi
lea rcx, [0x14005a9f0]
call fcn.14000dff0
mov r13, rax
mov rbx, qword [rsp + 0x60]
test rax, rax
je 0x140016316
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 [0x140041458]
mov r13, rax
test rax, rax
jne 0x140016330
call fcn.14000b570
int3
xor r9d, r9d
mov r8, rax
lea rdx, str.prevMonthPages
mov rcx, rsi
call fcn.140015990
mov rcx, r13
call qword [0x140041470]
mov r13d, r15d
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400163e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400163e0
mov rbx, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x14005a9f0]
call fcn.14000dff0
mov r13, rax
test rax, rax
je 0x1400163da
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 0x1400163dc
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, [0x14005a9f0]
call fcn.14000dff0
mov rbx, rax
test rax, rax
je 0x140016434
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.140015a80
lea rdx, str.yearlyPages
lea rcx, [rsp + 0x30]
call qword [0x140041400]
test r12b, 8
jne 0x1400164cf
mov rbx, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x14005a9f0]
call fcn.14000dff0
mov r12, rax
test rax, rax
je 0x1400164cb
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 0x1400164cb
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, [0x14005a9f0]
call fcn.14000dff0
mov rbx, rax
test rax, rax
je 0x140016521
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.140015a80
mov rcx, qword [rsp + 0x30]
call qword [0x140041470]
mov rcx, qword [rbp + 0x2a8]
xor rcx, rsp
call fcn.140026aa0
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