Function at 0x1000237b0
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x8d0
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1000400a0]
xor rax, rsp
mov qword [rsp + 0x8c0], rax
mov r13, rcx
and qword [rsp + 0x68], 0
xor ebx, ebx
mov qword [rsp + 0x70], rbx
xor ebp, ebp
mov qword [rsp + 0x78], rbp
and dword [rsp + 0x80], ebx
lea rdi, [0x100040120]
mov rcx, rdi
mov rax, qword [0x100040120]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, rdi
mov rax, qword [0x100040120]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov rax, qword [0x100040120]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1000340d8]
call sub.SHELL32.dll_SHGetKnownFolderPath
lea rcx, [rsp + 0x38]
call fcn.10000ec90
or r12, 0xffffffffffffffff
mov rdx, qword [rsp + 0x88]
test rdx, rdx
jne 0x100023887
xor ecx, ecx
jmp 0x100023898
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x38]
call fcn.100004f64
xor eax, eax
mov rcx, r12
lea rdx, str.MicrosoftWindows_SidebarSettings.ini
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x38]
call fcn.100004f64
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.100008cb4
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0xc0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r14d, eax
test eax, eax
je 0x1000239dc
xor edi, edi
lea rdx, [rsp + rdi*2 + 0xc0]
lea rcx, [rsp + 0x58]
call fcn.100002f84
nop
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx - 0x10]
lea edi, [rdi + rax + 1]
mov r12, rcx
mov rsi, rbx
mov qword [rsp + 0xa8], rbx
cmp rbx, rbp
jb 0x100023967
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x68]
call fcn.100005450
test al, al
je 0x1000239c9
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x68]
lea r8, [rax + rsi*8]
mov qword [rsp + 0xb8], r8
test r8, r8
je 0x10002398d
mov rdx, r12
mov rcx, r8
call fcn.100002f84
mov rcx, qword [rsp + 0x58]
inc rbx
mov qword [rsp + 0x70], rbx
lea rdx, [rcx - 0x18]
or r12, 0xffffffffffffffff
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1000239b5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
cmp r14d, edi
jbe 0x1000239d7
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
jmp 0x100023919
mov ecx, 0x8007000e
call fcn.100018078
nop
jmp 0x1000239d6
nop
mov rbx, qword [rsp + 0x70]
lea r9, [rsp + 0x98]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1000340e8]
call sub.SHELL32.dll_SHGetKnownFolderPath
lea rcx, [rsp + 0x30]
call fcn.10000ec90
mov rdx, qword [rsp + 0x98]
test rdx, rdx
jne 0x100023a10
xor ecx, ecx
jmp 0x100023a21
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x30]
call fcn.100004f64
xor eax, eax
mov rcx, r12
lea rdx, str.Windows_SidebarGadgetsNotes.Gadget
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x30]
call fcn.100004f64
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.100023d70
xor esi, esi
test rbx, rbx
je 0x100023cc6
xor edi, edi
lea rbp, [0x100040120]
mov rcx, rbp
mov rax, qword [0x100040120]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, str.PrivateSetting_GadgetName
lea rcx, [rsp + 0xa0]
call fcn.100002f84
nop
cmp rdi, rbx
jae 0x100023cb8
mov rax, qword [rsp + 0x68]
lea rdx, [rax + rdi*8]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.100024320
mov bl, al
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
mov ecx, r12d
lock xadd dword [rdx + 0x10], ecx
add ecx, r12d
test ecx, ecx
jg 0x100023aff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test bl, bl
je 0x100023c76
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.100023d70
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x100023c76
mov rcx, rbp
mov rax, qword [0x100040120]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov rcx, rbp
mov rax, qword [0x100040120]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov r8d, ebx
lea rdx, [0x100033bbc]
lea rcx, [rsp + 0x60]
call fcn.100004080
cmp rdi, qword [rsp + 0x70]
jae 0x100023caa
mov rax, qword [rsp + 0x68]
lea rdx, [rax + rdi*8]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.100024320
test al, al
je 0x100023c28
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x48]
mov rcx, r13
call fcn.100023d70
and qword [rsp + 0x90], 0
mov byte [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x90]
mov rcx, qword [r13]
call fcn.100009848
mov rax, qword [r13 + 0x10]
mov rcx, qword [rax + 0x178]
mov rax, qword [rcx]
and qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x48]
xor r8d, r8d
lea edx, [r8 + 0xc]
call qword [rax + 0x18]
mov rdx, qword [r13 + 0x10]
test rdx, rdx
je 0x100023c0f
add rdx, 0x138
jmp 0x100023c11
xor edx, edx
mov rcx, qword [rsp + 0x90]
call fcn.100003d78
mov rcx, qword [r13]
call fcn.10000b024
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x100023c49
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc ebx
cmp ebx, 0xa
jb 0x100023b49
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x100023c76
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x100023c97
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc esi
mov edi, esi
mov rbx, qword [rsp + 0x70]
cmp rdi, rbx
jae 0x100023cc6
jmp 0x100023a85
mov ecx, 0x80070057
call fcn.100018078
nop
jmp 0x100023cb7
nop
mov ecx, 0x80070057
call fcn.100018078
nop
jmp 0x100023cc5
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x100023ce8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x100023d0a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x100023d2c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x68]
call fcn.100009e30
xor al, al
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.1000012f0
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret