Function at 0x1400a2f80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x14038d940]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15d, edx
mov rdi, rcx
mov qword [rbp - 0x39], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
lea eax, [rdx - 7]
cmp eax, 0xf
ja case.0x1400a2fee.9
cdqe
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0xa34a0]
add rcx, rdx
jmp rcx
mov edx, 9
lea rcx, [rbp - 0x61]
call fcn.1400a34e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
lea rdx, [rbp - 9]
lea rcx, [rsp + 0x40]
call fcn.1400a2320
mov rdx, rax
mov rcx, qword [rdi]
mov rax, qword [rax]
mov qword [rdi], rax
mov qword [rdx], rcx
mov rcx, qword [rdi + 8]
mov rax, qword [rdx + 8]
mov qword [rdi + 8], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdx + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdx + 0x10], rcx
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400a3066
mov rsi, 0xffffffffffffffff
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1400a3066
mov rcx, qword [rsp + 0x40]
call fcn.1402275a0
cmp qword [rdi + 0x10], 0
je 0x1400a3473
mov rcx, rdi
call fcn.1400a2070
mov rcx, rdi
call fcn.1400a1fa0
lea rax, str._cache
mov qword [rsp + 0x30], 6
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 9], xmm0
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.140087e30
jmp 0x1400a3473
mov edx, 0xb
lea rcx, [rbp - 0x61]
call fcn.1400a34e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
lea rdx, [rbp - 9]
lea rcx, [rsp + 0x40]
call fcn.1400a2320
mov rdx, rax
mov rcx, qword [rdi]
mov rax, qword [rax]
mov qword [rdi], rax
mov qword [rdx], rcx
mov rcx, qword [rdi + 8]
mov rax, qword [rdx + 8]
mov qword [rdi + 8], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdx + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdx + 0x10], rcx
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400a3127
mov rsi, 0xffffffffffffffff
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1400a3127
mov rcx, qword [rsp + 0x40]
call fcn.1402275a0
cmp qword [rdi + 0x10], 0
je 0x1400a3473
mov rcx, rdi
call fcn.1400a2070
jmp 0x1400a3081
lea rcx, [rsp + 0x40]
call fcn.1400a8330
mov rdx, rax
mov rcx, qword [rdi]
mov rax, qword [rax]
mov qword [rdi], rax
mov qword [rdx], rcx
mov rcx, qword [rdi + 8]
mov rax, qword [rdx + 8]
mov qword [rdi + 8], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdx + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdx + 0x10], rcx
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400a3473
mov rsi, 0xffffffffffffffff
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1400a3473
mov rcx, qword [rsp + 0x40]
call fcn.1402275a0
jmp 0x1400a3473
lea rcx, [rsp + 0x40]
call fcn.1400aa710
jmp 0x1400a3149
mov edx, 9
lea rcx, [rbp - 0x61]
call fcn.1400a34e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
lea rdx, [rbp - 9]
lea rcx, [rsp + 0x40]
call fcn.1400a2320
mov rdx, rax
mov rcx, qword [rdi]
mov rax, qword [rax]
mov qword [rdi], rax
mov qword [rdx], rcx
mov rcx, qword [rdi + 8]
mov rax, qword [rdx + 8]
mov qword [rdi + 8], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdx + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdx + 0x10], rcx
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400a322b
mov rsi, 0xffffffffffffffff
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1400a322b
mov rcx, qword [rsp + 0x40]
call fcn.1402275a0
cmp qword [rdi + 0x10], 0
je 0x1400a3473
mov rcx, rdi
call fcn.1400a2070
mov rcx, rdi
call fcn.1400a1fa0
lea rax, str._State
jmp 0x1400a3088
mov edx, 0xb
lea rcx, [rbp - 0x61]
call fcn.1400a34e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
lea rdx, [rbp - 9]
lea rcx, [rsp + 0x40]
call fcn.1400a2320
mov rdx, rax
mov rcx, qword [rdi]
mov rax, qword [rax]
mov qword [rdi], rax
mov qword [rdx], rcx
mov rcx, qword [rdi + 8]
mov rax, qword [rdx + 8]
mov qword [rdi + 8], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdx + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdx + 0x10], rcx
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400a32c8
mov rsi, 0xffffffffffffffff
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1400a32c8
mov rcx, qword [rsp + 0x40]
call fcn.1402275a0
cmp qword [rdi + 0x10], 0
je 0x1400a3473
mov rcx, rdi
call fcn.1400a2070
lea rax, str._State
jmp 0x1400a3088
mov edx, r15d
lea rcx, [rbp - 0x19]
call fcn.1400a34e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x20], 3
mov r12, r14
mov r13, r14
lea r9, [rsp + 0x58]
xor r8d, r8d
mov edx, 0x4000
lea rcx, [rbp + 7]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rsi, 0xffffffffffffffff
test eax, eax
js 0x1400a33ed
mov r8, rsi
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp - 0x31]
call fcn.14008d720
nop
mov rcx, qword [rax]
mov qword [rax], r14
mov qword [rbp - 0x51], rcx
mov rcx, qword [rax + 8]
mov qword [rax + 8], r14
mov qword [rbp - 0x49], rcx
mov rcx, qword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rbp - 0x41], rcx
mov dword [rsp + 0x20], 0x23
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400a3395
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400a3395
mov rcx, qword [rbp - 0x31]
call fcn.1402275a0
nop
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x79]
call fcn.1400a8290
mov dword [rsp + 0x20], 0x27
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400a33c7
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400a33c7
mov rcx, qword [rbp - 0x51]
call fcn.1402275a0
mov rbx, qword [rbp - 0x79]
mov qword [rbp - 0x79], r14
mov r12, qword [rbp - 0x71]
mov qword [rbp - 0x71], r14
mov r13, qword [rbp - 0x69]
mov qword [rbp - 0x69], r14
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r14, rbx
mov rcx, qword [rdi]
mov qword [rdi], r14
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r13
and dword [rsp + 0x20], 0xfffffffd
test rcx, rcx
je 0x1400a3413
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1400a3413
call fcn.1402275a0
cmp qword [rdi + 0x10], 0
je 0x1400a3473
cmp r15d, 0x12
ja 0x1400a3473
mov eax, 0x72a00
bt eax, r15d
jae 0x1400a3473
call fcn.14014c090
test al, al
je 0x1400a345f
mov qword [rsp + 0x30], 7
lea rax, str._qttest
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 9], xmm0
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.140087e30
cmp r15d, 0x10
je 0x1400a3473
cmp r15d, 0xb
je 0x1400a3473
mov rcx, rdi
call fcn.1400a1fa0
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1402200b0
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret