Function at 0x140009540
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x14005e8d8]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rbx, rdx
mov qword [rsp + 0x30], rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.14001c930
xor edx, edx
lea rcx, [rbp + 0x6b0]
mov r8d, 0x104
call fcn.14001c930
xor edx, edx
lea rcx, [rbp + 0x5a0]
mov r8d, 0x104
call fcn.14001c930
xor edx, edx
lea rcx, [rbp + 0x270]
mov r8d, 0x104
call fcn.14001c930
xor edx, edx
lea rcx, [rbp + 0x380]
mov r8d, 0x104
call fcn.14001c930
xor edx, edx
lea rcx, [rbp + 0x490]
mov r8d, 0x104
call fcn.14001c930
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0x104
call fcn.14001c930
xor edx, edx
lea rcx, [rbp + 0x160]
mov r8d, 0x104
call fcn.14001c930
lea rdx, [rbp + 0x6b0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov r9d, 1
lea rax, [rbp + 0x5a0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x19]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov r9d, 1
lea rax, [rbp + 0x270]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1b]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov r9d, 1
lea rax, [rbp + 0x490]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 4]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov r9d, 1
lea rax, [rbp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x29]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov r9d, 1
lea rax, [rbp + 0x160]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x29]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov r9d, 1
lea rax, [rbp + 0x380]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x22]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400096f3
mov r8, qword [rbx]
lea rdx, str._sBlizzardBrowser
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x140009717
mov r8, qword [rbx]
lea rdx, str._sDataconfig
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x14000973b
mov r8, qword [rbx]
lea rdx, str._sDatadata_shmem
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x14000975f
mov r8, qword [rbx]
lea rdx, str._sDatadata_shmem
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x140009783
mov r8, qword [rbx]
lea rdx, str._sDataindices
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x1400097a7
mov r8, qword [rbx]
lea rdx, str._smaindata
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x1400097cb
mov r8, qword [rbx]
lea rdx, str._sxpak_cache
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x1400097ef
mov r8, qword [rbx]
lea rdx, str._s_blob_storage
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x140009813
mov r8, qword [rbx]
lea rdx, str._smaindata1.dcache
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x140009837
mov r8, qword [rbx]
lea rdx, str._smain
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x14000985b
mov r8, qword [rbx]
lea rdx, str._smain_toc0.dcache
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x14000987f
mov r8, qword [rbx]
lea rdx, str._smain_toc1.dcache
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x1400098a3
mov r8, qword [rbx]
lea rdx, str._smain_recipes
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x1400098c7
mov r8, qword [rbx]
lea rdx, str._smain_recipes
mov rcx, rdi
call fcn.14000a130
mov rcx, rdi
call fcn.140009e00
lea r8, [rbp + 0x5a0]
lea rdx, str._sBattle.net
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x270]
lea rdx, str._sActivision
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x270]
lea rdx, str._sCrashDumps
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x270]
lea rdx, str._sBattle.net
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x270]
lea rdx, str._sBlizzard_Entertainment
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x380]
lea rdx, str._sBattle.net
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x380]
lea rdx, str._sActivision.net
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x380]
lea rdx, str._sActivision
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x380]
lea rdx, str._sBlizzard_Entertainment
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x50]
lea rdx, str._sBattle.net
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x160]
lea rdx, str._sCall_of_Duty_Black_Ops_Cold_WarDataconfig
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x160]
lea rdx, str._sCall_of_Duty_Black_Ops_Cold_WarDatadata_shmem
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x160]
lea rdx, str._sCall_of_Duty_Black_Ops_Cold_Warmaindata0.dcache
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x160]
lea rdx, str._sCall_of_Duty_Black_Ops_Cold_Warmaindata1.dcache
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x160]
lea rdx, str._sCall_of_Duty_Black_Ops_Cold_Warmaindata
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x160]
lea rdx, str._sCall_of_Duty_Black_Ops_Cold_Warxpak_cache
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x160]
lea rdx, str._sCall_of_Duty_Black_Ops_Cold_War_blob_storage
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x160]
lea rdx, str._sCall_of_Duty_Black_Ops_Cold_Warmain_toc0.dcache
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x160]
lea rdx, str._sCall_of_Duty_Black_Ops_Cold_Warmain_toc1.dcache
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x160]
lea rdx, str._sCall_of_Duty_Black_Ops_Cold_Warmain_recipes
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x160]
lea rdx, str._sCall_of_Duty_Black_Ops_Cold_Warmain_recipes
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x160]
lea rdx, str._sCall_of_Duty_Black_Ops_Cold_Warmain_recipes
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x50]
lea rdx, str._sCall_of_Duty_Modern_WarfareDataconfig
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x50]
lea rdx, str._sCall_of_Duty_Modern_WarfareDatadata_shmem
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x50]
lea rdx, str._sCall_of_Duty_Modern_Warfaremaindata0.dcache
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x50]
lea rdx, str._sCall_of_Duty_Modern_Warfaremaindata1.dcache
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x50]
lea rdx, str._sCall_of_Duty_Modern_Warfaremaindata
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x50]
lea rdx, str._sCall_of_Duty_Modern_Warfarexpak_cache
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x50]
lea rdx, str._sCall_of_Duty_Modern_Warfare_blob_storage
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x50]
lea rdx, str._sCall_of_Duty_Modern_Warfaremain_toc0.dcache
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x50]
lea rdx, str._sCall_of_Duty_Modern_Warfaremain_toc1.dcache
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x50]
lea rdx, str._sCall_of_Duty_Modern_Warfaremain_recipes
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x50]
lea rdx, str._sCall_of_Duty_Modern_Warfaremain_recipes
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x50]
lea rdx, str._sCall_of_Duty_Modern_Warfaremain_recipes
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x490]
lea rdx, str._sCall_of_Duty_Modern_Warfare
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
lea r8, [rbp + 0x490]
lea rdx, str._sCall_Of_Duty_Black_Ops_Cold_War
lea rcx, [rsp + 0x40]
call fcn.14000a130
lea rcx, [rsp + 0x40]
call fcn.140009e00
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140009db5
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140009db0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009dec
mov rcx, r8
call fcn.14001a0d8
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.14001a6e0
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14002080c
int3