Function at 0x180006460
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xbe8]
sub rsp, 0xcc0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180082098]
xor rax, rsp
mov qword [rbp + 0xbb0], rax
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r15d, r15d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x9a0]
call fcn.180039590
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x580]
call fcn.180039590
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x370]
call fcn.180039590
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x790]
call fcn.180039590
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.180039590
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.180039590
movdqa xmm0, xmmword [0x18005caf0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r15w
xor r9d, r9d
lea r8d, [r15 + 0x1a]
lea rdx, [rbp + 0x9a0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, r15d
nop dword [rax]
movzx eax, word [rbp + rcx + 0x9a0]
mov word [rsp + rcx + 0x50], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180006550
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.180039038
test rax, rax
je 0x18000672e
mov word [rax], r15w
mov rcx, r15
nop word [rax + rax]
movzx eax, word [rsp + rcx + 0x50]
mov word [rbp + rcx + 0x580], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180006590
lea rax, [rbp + 0x580]
sub rax, 2
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x1800065b1
movsd xmm0, qword [str.Local]
movsd qword [rax], xmm0
mov ecx, dword [0x18005eea0]
mov dword [rax + 8], ecx
movzx ecx, word [0x18005eea4]
mov word [rax + 0xc], cx
lea rcx, [rbp + 0x580]
call fcn.1800055f0
mov esi, r15d
mov r12d, 1
test al, al
cmovne esi, r12d
mov rcx, r15
nop dword [rax]
movzx eax, word [rsp + rcx + 0x50]
mov word [rbp + rcx + 0x370], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180006600
lea rcx, [rbp + 0x370]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180006621
movups xmm0, xmmword [str.LocalLow]
movups xmmword [rcx], xmm0
mov eax, dword [0x18005eeb8]
mov dword [rcx + 0x10], eax
lea rcx, [rbp + 0x370]
call fcn.1800055f0
mov edi, r15d
test al, al
cmovne edi, r12d
mov rcx, r15
nop word [rax + rax]
movzx eax, word [rsp + rcx + 0x50]
mov word [rbp + rcx + 0x790], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180006660
lea rcx, [rbp + 0x790]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180006681
movups xmm0, xmmword [str.Roaming]
movups xmmword [rcx], xmm0
movzx eax, word [0x18005eed0]
mov word [rcx + 0x10], ax
lea rcx, [rbp + 0x790]
call fcn.1800055f0
mov ecx, r15d
test al, al
cmovne ecx, r12d
test esi, esi
je 0x18000672e
test edi, edi
je 0x18000672e
test ecx, ecx
je 0x18000672e
mov r9, r14
lea r8, [rbp + 0x370]
lea rdx, str._s_s_
lea rcx, [rbp + 0x160]
call fcn.1800047e0
lea rcx, [rbp + 0x160]
call fcn.1800055f0
test al, al
jne 0x1800066fa
lea rcx, [rbp + 0x160]
call fcn.180006190
lea rax, [rbp + 0x160]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180006710
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x30]
call fcn.1800046a0
jmp 0x18000673b
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.180006270
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp + 0xbb0]
xor rcx, rsp
call fcn.18001b2e0
lea r11, [rsp + 0xcc0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret