Function at 0x180014ef0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
mov rsi, 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 dword [rcx + 0x20], 1
xor r14d, r14d
mov qword [rcx + 0x28], r14
mov qword [rcx + 0x30], r14
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x40], r14
mov qword [rcx + 0x48], r14
mov byte [rcx + 0x60], r14b
mov byte [rcx + 0x62], r14b
mov dword [rcx + 0xc0], 1
mov qword [rcx + 0xc8], r14
mov qword [rcx + 0xd0], r14
mov qword [rcx + 0xe0], r14
add rcx, 0xf8
call fcn.180016f90
nop
mov qword [rsi + 0x560], r14
mov qword [rsi + 0x568], r14
mov qword [rsi + 0x570], r14
lea rcx, [rsi + 0x580]
mov qword [rcx + 0x18], recv
mov qword [rcx + 0x10], r14
mov byte [rcx], r14b
xor r8d, r8d
lea rdx, [0x180045347]
call fcn.180003360
lock inc dword [0x180059d28]
call fcn.180021200
mov qword [rsi + 0x50], rax
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180059c10], rax
lea r12, [rsi + 0x358]
xor edx, edx
mov r8d, 0x208
mov rcx, r12
call fcn.180028cc0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsi + 0x150]
call fcn.180028cc0
xor r9d, r9d
lea r8d, [r14 + 0x1a]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov rdx, r12
lea rcx, [rsi + 0x150]
sub rcx, r12
nop
movzx eax, word [rdx]
mov word [rcx + rdx], ax
add rdx, 2
test ax, ax
jne 0x180015040
mov rdi, r12
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov eax, dword [0x18004875c]
mov dword [rdi - 2], eax
lea rdi, [rsi + 0x150]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov eax, dword [0x18004875c]
mov dword [rdi - 2], eax
mov edx, dword [0x180059dd4]
test dl, 1
jne 0x1800150aa
or edx, 1
mov dword [0x180059dd4], edx
call fcn.18001ff10
lea rcx, [0x1800400e0]
call fcn.180022e9c
nop
mov edx, dword [0x180059dd4]
lea rbx, [0x1800453b0]
mov r8, rbx
mov rax, qword [0x180059da0]
test rax, rax
cmovne r8, rax
mov rdi, r12
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
xor ecx, ecx
movzx eax, word [r8 + rcx]
mov word [rdi + rcx - 2], ax
add rcx, 2
test ax, ax
jne 0x1800150d0
test dl, 1
jne 0x180015109
or edx, 1
mov dword [0x180059dd4], edx
call fcn.18001ff10
lea rcx, [0x1800400e0]
call fcn.180022e9c
nop
mov edx, dword [0x180059dd4]
mov rax, qword [0x180059da0]
test rax, rax
cmovne rbx, rax
lea rdi, [rsi + 0x150]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
xor ecx, ecx
nop dword [rax]
movzx eax, word [rbx + rcx]
mov word [rdi + rcx - 2], ax
add rcx, 2
test ax, ax
jne 0x180015130
lea rdi, [rsi + 0x150]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov eax, dword [0x18004875c]
mov dword [rdi - 2], eax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], r14
test dl, 1
jne 0x18001518a
or edx, 1
mov dword [0x180059dd4], edx
call fcn.18001ff10
lea rcx, [0x1800400e0]
call fcn.180022e9c
nop
lea rdx, str.QWallpaper.cfg
mov rax, qword [0x180059dc0]
test rax, rax
cmovne rdx, rax
lea rcx, [rsp + 0x28]
call fcn.180007420
lea rdi, [rsi + 0x150]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
movzx eax, word [rbx + rcx]
mov word [rdi + rcx - 2], ax
add rcx, 2
test ax, ax
jne 0x1800151c0
mov byte [rsi + 0xf0], 1
mov qword [rsi + 0x58], r14
lea rcx, [rsi + 0xb8]
xor r8d, r8d
lea rdx, [rsi + 0xc0]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
mov rcx, rsi
call fcn.180015430
nop
test rbx, rbx
je 0x18001520a
mov rcx, rbx
call fcn.18002228c
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x180015219
call fcn.18002228c
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18001522b
call fcn.18002228c
nop
jmp 0x18001522b
mov rax, rsi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret