Function at 0x1401ca1f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1402a1fc0]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r14, rcx
xor r15d, r15d
lea r9, [rbp - 0x50]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14020b8b0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov qword [rsp + 0x30], r15
movdqa xmm0, xmmword [0x1402579f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r15w
mov rdx, qword [rbp - 0x50]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401ca270
lea rcx, [rsp + 0x30]
call fcn.140101d90
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.1401c9e10
nop
mov r8d, 0xa
lea rdx, str._DineNBash
mov rcx, rax
call fcn.1400055a0
mov qword [rsp + 0x50], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rsi, qword [rsp + 0x60]
lea rdi, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdi, qword [rsp + 0x50]
call fcn.1401e1ad8
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rsi
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1400ff950
nop
mov qword [rbp - 0x40], r15
lea rax, [0x1402a6630]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.1401c9ba0
cmp dword [rbp - 0x40], 0
jne 0x1401ca525
lea rcx, [rsp + 0x70]
call fcn.140101d20
nop
lea rcx, [rsp + 0x50]
call fcn.1400053c0
nop
lea rcx, [rbp - 0x70]
call fcn.1400053c0
nop
lea rcx, [rsp + 0x30]
call fcn.140101d20
mov qword [rsp + 0x30], r15
movdqa xmm0, xmmword [0x1402579f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r15w
mov rdx, qword [rbp - 0x50]
nop word [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1401ca380
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.140101d90
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.1401c9e10
nop
mov r8d, 0x18
lea rdx, str._DineNBash_UserData.json
mov rcx, rax
call fcn.1400055a0
mov qword [rbp - 0x20], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x70]
call fcn.1400053c0
nop
lea rcx, [rsp + 0x30]
call fcn.140101d20
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp]
call fcn.1401e227b
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
mov r8d, 0x10
lea rcx, [rbp]
call fcn.140114a10
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rbx
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0xa8]
mov dword [rbp + rcx - 4], r8d
mov byte [rbp - 0x30], 0
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.140018c00
nop
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.1401ca740
mov edx, 4
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, qword [rax]
mov rcx, qword [rbp]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp]
add rcx, rdx
mov rdx, qword [rax + 8]
call r8
lea rdx, [rbp - 0x30]
lea rcx, [rbp]
call fcn.14012b230
nop
movzx edx, byte [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.140018780
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], rbx
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 8]
call fcn.140030d90
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x20]
call fcn.1400053c0
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1401e0b10
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x40]
lea rcx, str.create_directories
call fcn.140127bc0
int3