Function at 0x180015af0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x1802609a8]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
mov ecx, dword [0x180273030]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180269710], ecx
jg 0x180015e04
cmp qword [0x1802600d0], 0
je 0x180015b61
lea rdx, [0x1802600c0]
mov rcx, rsi
call fcn.1800191a0
jmp 0x180015dd6
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov r8d, 4
lea rdx, str.SAVE
lea rcx, [rsp + 0x38]
call fcn.18001b120
nop
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x60]
call fcn.18017cc00
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x180015be9
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180015bd0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.18001b120
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180015c24
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov word [rax + rcx], 0x5c
lea rdi, [rsp + 0x38]
jmp 0x180015c48
mov qword [rsp + 0x20], 1
lea r9, [0x1801b86cc]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x38]
call fcn.1800188d0
mov rdi, rax
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x17
jb 0x180015c8f
lea rax, [rcx + 0x17]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180015c70
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8d, 0x17
lea rdx, str.Goldberg_SocialClub_Emu
mov rcx, rbx
call fcn.18017c7f0
mov byte [rbx + 0x17], 0
jmp 0x180015cb1
mov qword [rsp + 0x20], 0x17
lea r9, str.Goldberg_SocialClub_Emu
xor r8d, r8d
lea edx, [r8 + 0x17]
mov rcx, rdi
call fcn.1800188d0
mov rdi, rax
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x180015cf8
lea rax, [rcx + 6]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180015cd9
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8d, 6
lea rdx, str._Saves
mov rcx, rbx
call fcn.18017c7f0
mov byte [rbx + 6], 0
jmp 0x180015d1a
mov qword [rsp + 0x20], 6
lea r9, str._Saves
xor r8d, r8d
lea edx, [r8 + 6]
mov rcx, rdi
call fcn.1800188d0
mov rdi, rax
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180015d4a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180015d42
mov rax, qword [rdi]
mov word [rax + rcx], 0x5c
jmp 0x180015d6c
mov qword [rsp + 0x20], 1
lea r9, [0x1801b86f0]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.1800188d0
mov rdi, rax
lea rbx, [0x1802600c0]
cmp rbx, rdi
je 0x180015d91
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x180015d86
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rbx
call fcn.18001b120
mov rdx, rbx
mov rcx, rsi
call fcn.1800191a0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x180015dd6
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015dd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015dfe
call fcn.18015dea8
mov rax, rsi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18015e5e0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1801810ec
int3
lea rcx, [0x180269710]
call fcn.18015e3c0
cmp dword [0x180269710], 0xffffffff
jne 0x180015b43
lea rcx, [0x1801b6930]
call fcn.18015e220
lea rcx, [0x180269710]
call fcn.18015e360
jmp 0x180015b43