Function at 0x140001e6c
Capabilities:
Get common file path

Disassembly:
push r15
mov rax, 7
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140001e75
sub rsp, 0x28
call fcn.140012b50
movabs rax, 0x14001f103
mov qword [0x14002050c], rax
mov qword [rsp + 0x28], 0
jmp 0x140001eab
mov rax, 3
cmp rax, qword [rsp + 0x28]
jl 0x140001f69
mov rax, qword [0x14002050c]
movsx rax, byte [rax]
mov qword [rsp + 0x30], rax
inc qword [0x14002050c]
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
mov r15, qword [rsp + 0x48]
imul r15, r15, 0xffffffffffffffff
mov rax, r15
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140007c80
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.140012980
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140012bc0
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140012bc0
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.140012980
inc qword [rsp + 0x28]
jno 0x140001eab
push 0x400
pop rcx
call fcn.14000d130
mov qword [rsp + 0x48], rax
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
pop rcx
sub rsp, 0x20
call fcn.14000e114
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.140012980
push qword [rsp + 0x48]
push 0
movabs rax, 0x14001f020
push rax
push qword [rsp + 0x68]
pop rcx
pop rdx
pop r8
pop r9
call sub.KERNEL32.DLL_GetTempFileNameW
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000d150
add rsp, 0x28
lea rcx, [0x140020594]
pop rdx
call fcn.140012980
push qword [0x140020594]
pop rcx
call fcn.14000e1bc
push qword [0x140020594]
pop rcx
call fcn.14000e064
push qword [rsp + 0x48]
push 0
movabs rax, 0x14001f020
push rax
push qword [0x140020594]
pop rcx
pop rdx
pop r8
pop r9
call sub.KERNEL32.DLL_GetTempFileNameW
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000d150
add rsp, 0x28
lea rcx, [0x1400204fc]
pop rdx
call fcn.140012980
push qword [0x1400204fc]
pop rcx
call fcn.14000e1bc
push qword [0x1400204fc]
pop rcx
call fcn.14000e064
push qword [rsp + 0x48]
push 0
movabs rax, 0x14001f020
push rax
push qword [0x1400204fc]
pop rcx
pop rdx
pop r8
pop r9
call sub.KERNEL32.DLL_GetTempFileNameW
push qword [0x1400204fc]
pop rcx
call sub.SHLWAPI.DLL_PathAddBackslashW
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000d150
add rsp, 0x28
lea rcx, [0x140020524]
pop rdx
call fcn.140012980
push qword [0x140020524]
pop rcx
call fcn.14000e1bc
push qword [rsp + 0x40]
push qword [0x140020524]
pop rcx
pop rdx
call sub.SHLWAPI.DLL_PathRenameExtensionW
push qword [rsp + 0x48]
push 0
movabs rax, 0x14001f020
push rax
push qword [0x1400204fc]
pop rcx
pop rdx
pop r8
pop r9
call sub.KERNEL32.DLL_GetTempFileNameW
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000d150
add rsp, 0x28
lea rcx, [0x140020584]
pop rdx
call fcn.140012980
push qword [rsp + 0x48]
pop rcx
call fcn.14000d110
jmp 0x1400021c0
push rax
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140012ad0
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140012ad0
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.140012ad0
add rsp, 0x28
pop rax
add rsp, 0x60
pop r15
ret