Function at 0x14001c8d0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x340], rbx
mov rax, qword [0x140079258]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rbx, rcx
cmp edx, 0x95
je 0x14001c91a
call fcn.14000f480
jmp 0x14001cb2a
lea rdx, [rbp - 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x14001c9e1
movabs rax, 0xf35f747b3b21fff0
mov qword [rsp + 0x30], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rsp + 0x38], rax
lea rax, str.winnt_dir::OpenSpecialDir
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x8e7
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x80], xmm1
lea rcx, [0x140056994]
call fcn.140005930
mov qword [rsp + 0x20], rax
mov r9d, 0x40007
lea r8, [0x14005b348]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.14000c540
nop
mov rcx, qword [rbx + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbx + 0x10]
add rcx, rdx
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001c9da
lock dec dword [rcx]
jne 0x14001c9da
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x14001c9c3
xor eax, eax
jmp 0x14001cb2a
mov qword [rbp - 0x18], 7
xor edi, edi
mov qword [rbp - 0x20], rdi
mov word [rbp - 0x30], di
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rdi
mov word [rbp - 0x50], di
xor r8d, r8d
lea rdx, [0x14005b374]
lea rcx, [rbp - 0x50]
call fcn.140004610
nop
xor r9d, r9d
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.140010a10
test al, al
sete sil
cmp qword [rbp - 0x38], 8
jb 0x14001ca41
mov rcx, qword [rbp - 0x50]
call fcn.1400376e4
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rdi
mov word [rbp - 0x50], di
test sil, sil
je 0x14001cafa
movabs rax, 0xf35f747b3b21fff6
mov qword [rsp + 0x30], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rsp + 0x38], rax
lea rax, str.winnt_dir::OpenSpecialDir
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x8ed
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x60], xmm1
lea rcx, [0x140056994]
call fcn.140005930
mov r9, rax
mov r8d, 0x40007
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.140033ba0
nop
mov rcx, qword [rbx + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbx + 0x10]
add rcx, rdx
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001cb17
lock dec dword [rcx]
jne 0x14001cb17
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x14001cae1
jmp 0x14001cb17
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x110]
mov rdi, rax
cmp qword [rbp - 0x18], 8
jb 0x14001cb27
mov rcx, qword [rbp - 0x30]
call fcn.1400376e4
mov rax, rdi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140038d80
mov rbx, qword [rsp + 0x340]
add rsp, 0x310
pop rdi
pop rsi
pop rbp
ret