Function at 0x1400c3bb0
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 + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1414cdb60]
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, [0x141385fd0]
mov qword [rcx], rax
mov dword [rsp + 0x30], 1
cmp edx, 0x10
ja 0x1400c3e9f
mov eax, 0x12a00
bt eax, edx
jae 0x1400c3e9f
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1400c3e9f
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x28]
call fcn.1400c3b30
nop
cmp esi, 0xb
je 0x1400c3d88
cmp esi, 0x10
je 0x1400c3d88
lea rcx, [rsp + 0x58]
call fcn.14002d520
mov rcx, qword [rax]
cmp dword [rcx + 4], 0
setne r14b
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3c8b
cmp eax, 0xffffffff
je 0x1400c3c99
lock dec dword [rcx]
jne 0x1400c3c99
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
test r14b, r14b
je 0x1400c3cf2
lea rcx, [rsp + 0x68]
call fcn.14002d520
nop
mov byte [rsp + 0x21], 0x2f
lea rcx, [rsp + 0x21]
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x28]
call fcn.14007b790
nop
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3ce4
cmp eax, 0xffffffff
je 0x1400c3cf2
lock dec dword [rcx]
jne 0x1400c3cf2
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
lea rcx, [rsp + 0x70]
call fcn.14002c5e0
mov rcx, qword [rax]
cmp dword [rcx + 4], 0
setne r14b
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3d21
cmp eax, 0xffffffff
je 0x1400c3d2f
lock dec dword [rcx]
jne 0x1400c3d2f
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
test r14b, r14b
je 0x1400c3d88
lea rcx, [rsp + 0x48]
call fcn.14002c5e0
nop
mov byte [rsp + 0x20], 0x2f
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], rax
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x28]
call fcn.14007b790
nop
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3d7a
cmp eax, 0xffffffff
je 0x1400c3d88
lock dec dword [rcx]
jne 0x1400c3d88
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1400082a0
cmp esi, 0xb
je 0x1400c3e77
lea rcx, [rsp + 0x60]
call fcn.14002c2e0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400082a0
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3dcf
cmp eax, 0xffffffff
je 0x1400c3ddd
lock dec dword [rcx]
jne 0x1400c3ddd
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
lea rcx, [rsp + 0x50]
call fcn.14002c2e0
nop
mov dword [rbp - 0x58], 5
lea rcx, [0x141476008]
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x80], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.1400afe90
nop
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1400082a0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3e3f
cmp eax, 0xffffffff
je 0x1400c3e4e
lock dec dword [rcx]
jne 0x1400c3e4e
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3e68
cmp eax, 0xffffffff
je 0x1400c3e77
lock dec dword [rcx]
jne 0x1400c3e77
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3e91
cmp eax, 0xffffffff
je 0x1400c3e9f
lock dec dword [rcx]
jne 0x1400c3e9f
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400c3f10
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140028870
nop
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3ed4
cmp eax, 0xffffffff
je 0x1400c3ee2
lock dec dword [rcx]
jne 0x1400c3ee2
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov rax, rdi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400face0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret