Function at 0x180014bd0
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub rsp, 0x28
call fcn.1800156d0
mov rcx, rax
add rsp, 0x28
jmp 0x180014bd0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x18010d3c0]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
call fcn.180015970
mov rcx, qword [rax]
add rcx, 0x14
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x180014c4d
lea rcx, str._Dirs__Failed_to_get_documents_folder_n
call fcn.1800140d0
xor al, al
jmp 0x1800156a4
lea rax, [rbp + 0x300]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [rsp + 0x38], 5
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180015970
mov rcx, qword [rax]
add rcx, 0x14
lea r8, [rbp + 0x300]
lea rdx, [0x180088a88]
call fcn.180015910
mov dword [rsp + 0x38], r14d
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180015970
mov rbx, qword [rax]
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180015970
mov rcx, qword [rax]
add rcx, 0x14
lea r8, [rbx + 0x14]
lea rdx, str._sVirtual_X
call fcn.180015910
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180015970
mov rbx, qword [rax]
mov dword [rsp + 0x38], 3
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180015970
mov rcx, qword [rax]
add rcx, 0x14
lea r8, [rbx + 0x14]
lea rdx, str._s_fonts_
call fcn.180015910
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180015970
mov rbx, qword [rax]
mov dword [rsp + 0x38], 6
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180015970
mov rcx, qword [rax]
add rcx, 0x14
lea r8, [rbx + 0x14]
lea rdx, str._s_textures_
call fcn.180015910
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180015970
mov rbx, qword [rax]
mov dword [rsp + 0x38], 7
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180015970
mov rcx, qword [rax]
add rcx, 0x14
lea r8, [rbx + 0x14]
lea rdx, str._sThemes_
call fcn.180015910
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov r8d, 7
lea rdx, str.log.txt
lea rcx, [rsp + 0x68]
call fcn.180004840
nop
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180015970
mov rdx, qword [rax]
add rdx, 0x14
xorps xmm0, xmm0
movups xmmword [rbp + 0x2e0], xmm0
mov qword [rbp + 0x2f0], r14
mov qword [rbp + 0x2f8], r14
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180014e50
lea rcx, [rbp + 0x2e0]
call fcn.180004840
nop
lea r9, [rsp + 0x68]
lea r8, [rbp + 0x2e0]
lea rdx, [rbp - 0x50]
call fcn.1800149f0
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x180014e89
mov rbx, qword [rax]
mov dword [rsp + 0x38], 2
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180015970
mov rcx, qword [rax]
add rcx, 0x14
mov rdx, rbx
call fcn.180015910
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180014ef1
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180014eec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180014eec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a100
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180015970
mov rbx, qword [rax]
mov dword [rsp + 0x38], 3
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180015970
mov rcx, qword [rax]
add rcx, 0x14
lea r8, [rbx + 0x14]
lea rdx, str._s_fonts_
call fcn.180015910
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180015970
mov rbx, qword [rax]
mov dword [rsp + 0x38], 8
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180015970
mov rcx, qword [rax]
add rcx, 0x14
lea r8, [rbx + 0x14]
lea rdx, str._sOutfits_
call fcn.180015910
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180015970
mov rbx, qword [rax]
mov dword [rsp + 0x38], 9
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180015970
mov rcx, qword [rax]
add rcx, 0x14
lea r8, [rbx + 0x14]
lea rdx, str._sVehicle_
call fcn.180015910
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180015970
mov rbx, qword [rax]
mov dword [rsp + 0x38], 0xa
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180015970
mov rcx, qword [rax]
add rcx, 0x14
lea r8, [rbx + 0x14]
lea rdx, str._sTeleport_
call fcn.180015910
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180015970
mov rbx, qword [rax]
mov dword [rsp + 0x38], 0xb
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180015970
mov rcx, qword [rax]
add rcx, 0x14
lea r8, [rbx + 0x14]
lea rdx, str._sPlayer_
call fcn.180015910
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x1b0]
mov rcx, rsi
call fcn.180015970
mov rdx, qword [rax]
add rdx, 0x14
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1d0], xmm1
mov r8, rdi
inc r8
cmp byte [rdx + r8], 0
jne 0x1800150b2
lea rcx, [rbp + 0x1c0]
call fcn.180004840
nop
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov r8d, 8
lea rdx, str.textures
lea rcx, [rbp - 0x30]
call fcn.180004840
nop
mov dword [rsp + 0x38], 1
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0x2e0]
mov rcx, rsi
call fcn.180015970
mov rdx, qword [rax]
add rdx, 0x14
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r14
mov qword [rbp + 8], r14
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180015130
lea rcx, [rbp - 0x10]
call fcn.180004840
nop
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x1e0]
call fcn.1800149f0
nop
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], r14
mov r8d, 5
lea rdx, str.fonts
lea rcx, [rbp + 0x10]
call fcn.180004840
nop
mov dword [rbp - 0x78], 1
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x2e0]
mov rcx, rsi
call fcn.180015970
mov rdx, qword [rax]
add rdx, 0x14
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1800151c0
lea rcx, [rbp + 0x30]
call fcn.180004840
nop
lea r9, [rbp + 0x10]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x200]
call fcn.1800149f0
nop
lea rax, [rbp + 0x50]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], r14
mov r8d, 0xc
lea rdx, str.translations
lea rcx, [rbp + 0x50]
call fcn.180004840
nop
mov dword [rbp - 0x70], 1
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x2e0]
mov rcx, rsi
call fcn.180015970
mov rdx, qword [rax]
add rdx, 0x14
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], r14
mov r8, rdi
inc r8
cmp byte [rdx + r8], 0
jne 0x180015251
lea rcx, [rbp + 0x70]
call fcn.180004840
nop
lea r9, [rbp + 0x50]
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x220]
call fcn.1800149f0
nop
lea rax, [rbp + 0x90]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xa8], r14
mov r8d, 6
lea rdx, str.Themes
lea rcx, [rbp + 0x90]
call fcn.180004840
nop
mov dword [rbp - 0x68], 1
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0x2e0]
mov rcx, rsi
call fcn.180015970
mov rdx, qword [rax]
add rdx, 0x14
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], r14
mov r8, rdi
inc r8
cmp byte [rdx + r8], 0
jne 0x1800152f4
lea rcx, [rbp + 0xb0]
call fcn.180004840
nop
lea r9, [rbp + 0x90]
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0x240]
call fcn.1800149f0
nop
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xe8], r14
mov r8d, 7
lea rdx, str.Outfits
lea rcx, [rbp + 0xd0]
call fcn.180004840
nop
mov dword [rbp - 0x60], 1
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x2e0]
mov rcx, rsi
call fcn.180015970
mov rdx, qword [rax]
add rdx, 0x14
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x108], r14
mov r8, rdi
inc r8
cmp byte [rdx + r8], 0
jne 0x1800153a0
lea rcx, [rbp + 0xf0]
call fcn.180004840
nop
lea r9, [rbp + 0xd0]
lea r8, [rbp + 0xf0]
lea rdx, [rbp + 0x260]
call fcn.1800149f0
nop
lea rax, [rbp + 0x110]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], r14
mov qword [rbp + 0x128], r14
mov r8d, 7
lea rdx, str.Vehicle
lea rcx, [rbp + 0x110]
call fcn.180004840
nop
mov dword [rbp - 0x58], 1
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x2e0]
mov rcx, rsi
call fcn.180015970
mov rdx, qword [rax]
add rdx, 0x14
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
mov qword [rbp + 0x140], r14
mov qword [rbp + 0x148], r14
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180015450
lea rcx, [rbp + 0x130]
call fcn.180004840
nop
lea r9, [rbp + 0x110]
lea r8, [rbp + 0x130]
lea rdx, [rbp + 0x280]
call fcn.1800149f0
nop
lea rax, [rbp + 0x150]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], r14
mov qword [rbp + 0x168], r14
mov r8d, 8
lea rdx, str.Teleport
lea rcx, [rbp + 0x150]
call fcn.180004840
nop
mov dword [rsp + 0x60], 1
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x2e0]
mov rcx, rsi
call fcn.180015970
mov rdx, qword [rax]
add rdx, 0x14
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], r14
mov qword [rbp + 0x188], r14
mov r8, rdi
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x180015500
lea rcx, [rbp + 0x170]
call fcn.180004840
nop
lea r9, [rbp + 0x150]
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x2a0]
call fcn.1800149f0
nop
lea rax, [rbp + 0x190]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x190], xmm0
mov qword [rbp + 0x1a0], r14
mov qword [rbp + 0x1a8], r14
mov r8d, 6
lea rdx, str.Player
lea rcx, [rbp + 0x190]
call fcn.180004840
nop
mov dword [rsp + 0x50], 1
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x2e0]
mov rcx, rsi
call fcn.180015970
mov rdx, qword [rax]
add rdx, 0x14
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
inc rdi
cmp byte [rdx + rdi], 0
jne 0x1800155a2
mov r8, rdi
lea rcx, [rbp - 0x50]
call fcn.180004840
nop
lea r9, [rbp + 0x190]
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x2c0]
call fcn.1800149f0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
mov ecx, 0x120
call fcn.180059ba0
mov rbx, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea rcx, [rax + 0x120]
mov qword [rsp + 0x78], rcx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rdi, [rbp + 0x1c0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x2e0], xmm0
mov qword [rbp + 0x2e0], rbx
mov qword [rbp + 0x2e8], rbx
lea rax, [rsp + 0x68]
mov qword [rbp + 0x2f0], rax
nop word [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.180005f90
add rbx, 0x20
mov qword [rbp + 0x2e8], rbx
add rdi, 0x20
lea rax, [rbp + 0x2e0]
cmp rdi, rax
jne 0x180015640
mov rdx, rbx
mov rcx, rbx
call fcn.180009100
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x68]
call fcn.1800143a0
movzx ebx, al
lea r9, [fcn.180005f30]
mov edx, 0x20
lea r8d, [rdx - 0x17]
lea rcx, [rbp + 0x1c0]
call fcn.18005a25c
test bl, bl
setne al
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.180059b80
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret