Function at 0x14008686c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x7f8]
sub rsp, 0x8e0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140100070]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x802
lea rcx, [rbp - 0x40]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x801a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor r14d, r14d
test eax, eax
jne 0x140086b40
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x38]
call fcn.14007ef18
nop
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14007c478
mov rbx, rax
lea rcx, str.AdobeHeadlightsCCHLLog_
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov r9, rax
lea r8, str.AdobeHeadlightsCCHLLog_
mov rcx, rbx
call fcn.140081780
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
lea r8d, [r14 + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea r8, str..txt
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.14008a310
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400809b0
nop
mov esi, 0x1000
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1400869b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, rsi
jb 0x1400869ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140086a47
call fcn.1400a9870
movdqa xmm0, xmmword [0x1400e2c90]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r14w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400869ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rsi
jb 0x1400869fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140086a47
call fcn.1400a9870
movdqa xmm0, xmmword [0x1400e2c90]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r14w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140086a53
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rsi
jb 0x140086a4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140086a4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400a9870
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.14007e64c
nop
mov rcx, rax
call fcn.14007d6e8
mov bl, al
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140086aad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rsi
jb 0x140086aa8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140086aa8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9870
test bl, bl
je 0x140086aff
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14007c300
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140086b4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov r8, rcx
cmp rdx, rsi
jb 0x140086af8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140086b34
call fcn.1400a9870
jmp 0x140086b4f
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140086b40
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rsi
jb 0x140086b3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140086b3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9870
lea rdx, [0x1400d6958]
mov rcx, rdi
call fcn.140074e28
mov rax, rdi
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1400a95a0
lea r11, [rsp + 0x8e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret