Function at 0x1800111b4
Capabilities:
Check os version
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x310
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18004b8d8]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r12, rcx
mov qword [rsp + 0x68], rcx
lea rax, vtable.CDeskBand.0
mov qword [rcx], rax
lea rax, vtable.CDeskBand.1.0
mov qword [rcx + 8], rax
lea rax, vtable.CDeskBand.2.0
mov qword [rcx + 0x10], rax
lea rax, vtable.CDeskBand.3.0
mov qword [rcx + 0x18], rax
mov edi, 1
mov dword [rcx + 0x20], edi
xor r15d, r15d
mov qword [rcx + 0x28], r15
mov qword [rcx + 0x30], r15
mov dword [rcx + 0x3c], r15d
mov qword [rcx + 0x40], r15
mov qword [rcx + 0x48], r15
mov byte [rcx + 0x60], r15b
mov byte [rcx + 0x62], r15b
mov dword [rcx + 0xc0], edi
mov qword [rcx + 0xc8], r15
mov qword [rcx + 0xd0], r15
mov qword [rcx + 0xe0], r15
lea rbx, [rcx + 0xf8]
mov qword [rsp + 0x30], rbx
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x28], r15
lea ecx, [rdi + 0x57]
call fcn.18001c2b0
test rax, rax
je 0x18001163e
mov qword [rbx + 0x20], rax
mov qword [rax], rax
mov rax, qword [rbx + 0x20]
mov qword [rax + 8], rax
mov rax, qword [rbx + 0x20]
mov qword [rax + 0x10], rax
mov rax, qword [rbx + 0x20]
mov byte [rax + 0x50], dil
mov rax, qword [rbx + 0x20]
mov byte [rax + 0x51], dil
mov qword [rbx + 0x40], r15
lea ecx, [rdi + 0x27]
call fcn.18001c2b0
test rax, rax
je 0x18001160f
mov qword [rbx + 0x38], rax
mov qword [rax], rax
mov rax, qword [rbx + 0x38]
mov qword [rax + 8], rax
mov word [rbx + 0x50], r15w
mov byte [rbx + 0x52], r15b
mov dword [rbx + 0x54], r15d
mov qword [r12 + 0x560], r15
mov qword [r12 + 0x568], r15
mov qword [r12 + 0x570], r15
mov qword [r12 + 0x598], 0xf
mov qword [r12 + 0x590], r15
mov byte [r12 + 0x580], r15b
lea rcx, [0x18003d357]
call fcn.18001c010
mov r8, rax
lea rdx, [0x18003d357]
lea rcx, [r12 + 0x580]
call fcn.180003020
lock add dword [0x1800501d8], edi
mov ebx, r15d
call qword [sym.imp.UxTheme.dll_IsAppThemed]
neg eax
sbb ecx, ecx
neg ecx
add ecx, edi
dec ecx
je 0x180011384
dec ecx
jne 0x180011411
lea ecx, [rdi + 0x17]
call fcn.18001c2b0
test rax, rax
je 0x18001140e
mov rcx, rax
call fcn.18001abfc
mov rbx, rax
jmp 0x180011411
mov ecx, 0x18
call fcn.18001c2b0
mov rbx, rax
test rax, rax
je 0x18001140e
mov qword [rax + 8], r15
mov dword [rax + 0x10], r15d
lea rax, vtable.CClassicVisualStyle.0
mov qword [rbx], rax
mov dword [rbp - 0x50], r15d
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp - 0x4c]
call fcn.18001c0d0
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
cmp ecx, 6
sbb eax, eax
and eax, 4
mov edx, 0x1f8
sub edx, eax
mov dword [rbp - 0x50], edx
xor r9d, r9d
lea r8, [rbp - 0x50]
lea ecx, [r9 + 0x29]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x1800113fe
lea rcx, [rbp + 0x148]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rbx + 8], rax
mov ecx, 7
call qword [sym.imp.USER32.dll_GetSysColor]
mov dword [rbx + 0x10], eax
jmp 0x180011411
mov rbx, r15
mov qword [r12 + 0x50], rbx
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1800500c0], rax
mov ebx, 0x208
mov r8d, ebx
xor edx, edx
lea rcx, [r12 + 0x358]
call fcn.18001c0d0
mov r8d, ebx
xor edx, edx
lea rcx, [r12 + 0x150]
call fcn.18001c0d0
xor r9d, r9d
lea r8d, [r9 + 0x1a]
lea rdx, [r12 + 0x358]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [r12 + 0x358]
lea rcx, [r12 + 0x150]
call fcn.18001e680
lea rdx, [0x18004038c]
lea rcx, [r12 + 0x358]
call fcn.18001e654
lea rdx, [0x18004038c]
lea rcx, [r12 + 0x150]
call fcn.18001e654
call fcn.18001a418
lea rbx, [0x18003d3c0]
mov rdx, rbx
cmp qword [rax + 0x40], r15
cmovne rdx, qword [rax + 0x40]
lea rcx, [r12 + 0x358]
call fcn.18001e654
call fcn.18001a418
cmp qword [rax + 0x40], r15
cmovne rbx, qword [rax + 0x40]
mov rdx, rbx
lea rcx, [r12 + 0x150]
call fcn.18001e654
lea rdx, [0x18004038c]
lea rcx, [r12 + 0x150]
call fcn.18001e654
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
call fcn.18001a418
lea rdx, str.QWallpaper.cfg
cmp qword [rax + 0x60], r15
cmovne rdx, qword [rax + 0x60]
lea rcx, [rsp + 0x48]
call fcn.180006aa0
mov rdx, qword [rsp + 0x50]
lea rcx, [r12 + 0x150]
call fcn.18001e654
mov byte [r12 + 0xf0], 1
mov qword [r12 + 0x58], r15
lea rcx, [r12 + 0xb8]
xor r8d, r8d
lea rdx, [r12 + 0xc0]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
mov word [rbp + 0x1b0], r15w
xor edx, edx
lea r8d, [rdx + 0x4c]
lea rcx, [rbp + 0x1b2]
call fcn.18001c0d0
call fcn.18001a418
movups xmm0, xmmword [rax + 0x14]
movdqu xmmword [rbp - 0x60], xmm0
mov r8d, 0x27
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
movzx ebx, ax
test ax, ax
je 0x1800115ff
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1800405a0]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x180039810]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1800115f5
mov rcx, qword [rsp + 0x30]
mov r8, qword [rcx]
mov rdx, r12
call qword [r8 + 0x18]
movzx ecx, bx
call qword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
nop
lea rcx, [rsp + 0x48]
call fcn.180006c3c
nop
mov rax, r12
jmp 0x180011670
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.18001c408
lea r11, vtable.std::bad_alloc.0
mov qword [rbp - 0x78], r11
lea rdx, [0x180048b48]
lea rcx, [rbp - 0x78]
call fcn.18001f558
nop
mov qword [rsp + 0x40], r15
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.18001c408
lea r11, vtable.std::bad_alloc.0
mov qword [rsp + 0x70], r11
lea rdx, [0x180048b48]
lea rcx, [rsp + 0x70]
call fcn.18001f558
int3
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.18001bbd0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret