Function at 0x14000cc60
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402f1140]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rcx
xor eax, eax
mov dword [rbp - 0x11], eax
lea r14, [0x140172000]
mov qword [rbp + 0x2f], r14
mov qword [rbp + 0x27], rax
lea r9, [rbp + 0x27]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14013c9f0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
or edi, 0xffffffff
test eax, eax
js 0x14000cd1e
mov r8d, edi
mov rdx, qword [rbp + 0x27]
lea rcx, [rbp - 0x39]
call fcn.140005580
mov rdx, rax
mov rcx, qword [rbp + 0x2f]
mov qword [rbp + 7], rcx
mov rax, qword [rax]
mov qword [rbp + 0x2f], rax
mov qword [rdx], rcx
mov rcx, qword [rbp - 0x39]
mov eax, dword [rcx]
test eax, eax
je 0x14000cd06
cmp eax, edi
je 0x14000cd14
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14000cd14
mov rcx, qword [rbp - 0x39]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
mov rcx, qword [rbp + 0x27]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rbp + 0x2f]
cmp dword [rax + 4], 0
jne 0x14000ce97
mov edx, 0xb
lea rcx, [rbp - 0x31]
call fcn.14004b360
mov rdx, rax
mov rcx, qword [rbp + 0x2f]
mov qword [rbp + 0xf], rcx
mov rax, qword [rax]
mov qword [rbp + 0x2f], rax
mov qword [rdx], rcx
mov rcx, qword [rbp - 0x31]
mov eax, dword [rcx]
test eax, eax
je 0x14000cd6d
cmp eax, 0xffffffff
je 0x14000cd7b
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14000cd7b
mov rcx, qword [rbp - 0x31]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
mov rax, qword [rbp + 0x2f]
cmp dword [rax + 4], 0
je 0x14000ce0c
xor eax, eax
mov qword [rbp + 0x37], rax
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0x37]
call fcn.1400248d0
nop
lea rcx, [rbp + 0x37]
call fcn.1400262d0
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x37]
call fcn.140025d20
mov rdx, rax
mov rcx, qword [rbp + 0x2f]
mov qword [rbp + 0x17], rcx
mov rax, qword [rax]
mov qword [rbp + 0x2f], rax
mov qword [rdx], rcx
mov rcx, qword [rbp - 0x29]
mov eax, dword [rcx]
test eax, eax
je 0x14000cde6
cmp eax, 0xffffffff
je 0x14000cdf5
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14000cdf5
mov rcx, qword [rbp - 0x29]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
nop
lea rcx, [rbp + 0x37]
call fcn.140024e20
mov rax, qword [rbp + 0x2f]
cmp dword [rax + 4], 0
jne 0x14000ce97
lea rdx, str.LOCALAPPDATA
lea rcx, [rbp - 0x19]
call fcn.1400311e0
nop
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140005460
mov rdx, rax
mov rcx, qword [rbp + 0x2f]
mov qword [rbp + 0x1f], rcx
mov rax, qword [rax]
mov qword [rbp + 0x2f], rax
mov qword [rdx], rcx
mov rcx, qword [rbp - 0x21]
mov eax, dword [rcx]
test eax, eax
je 0x14000ce5c
cmp eax, 0xffffffff
je 0x14000ce6b
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14000ce6b
mov rcx, qword [rbp - 0x21]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
nop
mov rcx, qword [rbp - 0x19]
mov eax, dword [rcx]
test eax, eax
je 0x14000ce89
cmp eax, 0xffffffff
je 0x14000ce97
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14000ce97
mov rcx, qword [rbp - 0x19]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002cd80
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 9]
call fcn.1400248d0
nop
mov rcx, rax
call fcn.140026e40
test al, al
sete bl
lea rcx, [rbp - 9]
call fcn.140024e20
test bl, bl
je 0x14000cec4
mov qword [rsi], r14
jmp 0x14000ced1
lea rdx, [rbp + 0x2f]
mov rcx, rsi
call fcn.140028710
nop
mov rcx, qword [rbp + 0x2f]
mov eax, dword [rcx]
test eax, eax
je 0x14000ceed
cmp eax, 0xffffffff
je 0x14000cefc
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x14000cefc
mov rcx, qword [rbp + 0x2f]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.14002cd80
mov rax, rsi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14010a180
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret