Function at 0x1400ffb20
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x208]
sub rsp, 0x2f0
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x141949208]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov esi, edx
mov rdi, rcx
mov qword [rbp - 0x40], rcx
mov dword [rsp + 0x30], 0
lea rax, [0x14013adf0]
mov qword [rcx], rax
mov dword [rsp + 0x30], 1
lea eax, [rdx - 9]
or ebx, 0xffffffff
test eax, 0xfffffff9
jne 0x1400ffb8b
cmp edx, 0xf
jne 0x1400ffb97
lea eax, [rdx - 0x10]
cmp eax, 2
ja 0x1400ffe4c
mov eax, 0x1a
mov r8d, 0x1c
cmp esi, 0x11
cmove r8d, eax
xor r9d, r9d
lea rdx, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1400ffe4c
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x28]
call fcn.1400ffaa0
nop
cmp esi, 0xb
je 0x1400ffd1f
cmp esi, 0x10
je 0x1400ffd1f
lea rcx, [rsp + 0x48]
call fcn.1400449a0
mov rcx, qword [rax]
mov r14d, dword [rcx + 4]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1400ffc12
cmp eax, 0xffffffff
je 0x1400ffc20
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ffc20
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
test r14d, r14d
je 0x1400ffc81
lea rcx, [rsp + 0x50]
call fcn.1400449a0
nop
mov byte [rsp + 0x20], 0x2f
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x28]
call fcn.1400ac0a0
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400ffc73
cmp eax, 0xffffffff
je 0x1400ffc81
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ffc81
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
lea rcx, [rsp + 0x58]
call fcn.140043c20
mov rcx, qword [rax]
mov r14d, dword [rcx + 4]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1400ffcb2
cmp eax, 0xffffffff
je 0x1400ffcc0
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ffcc0
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
test r14d, r14d
je 0x1400ffd1f
lea rcx, [rsp + 0x60]
call fcn.140043c20
nop
mov byte [rsp + 0x21], 0x2f
lea rcx, [rsp + 0x21]
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], rax
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x28]
call fcn.1400ac0a0
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400ffd11
cmp eax, 0xffffffff
je 0x1400ffd1f
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ffd1f
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1400091b0
cmp esi, 0xb
je 0x1400ffe1e
lea rcx, [rsp + 0x68]
call fcn.1400438f0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400091b0
nop
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x1400ffd6c
cmp eax, 0xffffffff
je 0x1400ffd7a
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ffd7a
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
lea rcx, [rsp + 0x70]
call fcn.1400438f0
nop
mov dword [rbp - 0x68], 5
lea rcx, [0x1402685e8]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x50], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x58]
call fcn.1400c4420
nop
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1400091b0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400ffde0
cmp eax, 0xffffffff
je 0x1400ffdef
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ffdef
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
nop
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x1400ffe0f
cmp eax, 0xffffffff
je 0x1400ffe1e
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ffe1e
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400ffe3e
cmp eax, 0xffffffff
je 0x1400ffe4c
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ffe4c
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400ffec0
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140044ba0
nop
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400ffe85
cmp eax, 0xffffffff
je 0x1400ffe93
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400ffe93
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov rax, rdi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140103500
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret