Function at 0x140004053
Capabilities:
Get common file path

Disassembly:
xor rax, rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
push 0x400
pop rcx
call fcn.14000ff00
mov qword [rsp + 0x28], rax
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
pop rcx
sub rsp, 0x20
call fcn.140010240
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.140013f60
push qword [rsp + 0x28]
push 0
movabs rax, 0x14001b01e
push rax
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
pop r9
call sub.KERNEL32.dll_GetTempFileNameA
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
push qword [rsp + 0x40]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000ffd0
add rsp, 0x28
lea rcx, [0x14001cc1c]
pop rdx
call fcn.140013f60
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
push 0x800
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140006cf0
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.140013f60
push qword [0x14001d5d0]
sub rsp, 8
push 0x800
push qword [rsp + 0x50]
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
pop rcx
sub rsp, 0x20
call fcn.140009e04
add rsp, 0x28
mov rdx, qword [0x14001d5e0]
add qword [rsp], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call sub.KERNEL32.dll_GetShortPathNameA
add rsp, 0x28
pop qword [0x14001d5d0]
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
pop rcx
sub rsp, 0x20
call fcn.140009e04
add rsp, 0x28
inc qword [0x14001d5d0]
push qword [0x14001ca74]
mov rdx, qword [0x14001d5e0]
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000a0b8
add rsp, 0x28
pop qword [0x14001d5d0]
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
push qword [0x14001d5d0]
push qword [0x14001d5d0]
pop rcx
sub rsp, 0x20
call fcn.140009e04
add rsp, 0x20
mov rdx, qword [0x14001d5e0]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140010500
add rsp, 0x28
inc qword [0x14001d5d0]
push qword [0x14001cafc]
mov rdx, qword [0x14001d5e0]
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000a0b8
add rsp, 0x28
pop qword [0x14001d5d0]
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
push qword [0x14001d5d0]
push qword [0x14001d5d0]
pop rcx
sub rsp, 0x20
call fcn.140009e04
add rsp, 0x20
mov rdx, qword [0x14001d5e0]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140010390
add rsp, 0x28
inc qword [0x14001d5d0]
push qword [0x14001cc0c]
mov rdx, qword [0x14001d5e0]
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000a0b8
add rsp, 0x28
pop qword [0x14001d5d0]
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140006150
add rsp, 0x28
inc qword [0x14001d5d0]
push qword [0x14001ca8c]
mov rdx, qword [0x14001d5e0]
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000a0b8
add rsp, 0x28
pop qword [0x14001d5d0]
mov rcx, qword [0x14001cb24]
push qword [0x14001d5d0]
sub rsp, 0x28
call fcn.140014120
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.140013f60
push qword [rsp + 0x40]
pop rcx
call sub.SHLWAPI.DLL_PathAddBackslashA
push qword [rsp + 0x40]
push qword [0x14001cc24]
pop rcx
pop rdx
call fcn.14000a0b8
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
push qword [0x14001ca64]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140006950
add rsp, 0x28
inc qword [0x14001d5d0]
push qword [0x14001cba4]
mov rdx, qword [0x14001d5e0]
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000a0b8
add rsp, 0x28
pop qword [0x14001d5d0]
push qword [0x14001cc1c]
push qword [0x14001cb04]
pop rcx
pop rdx
call fcn.14000a0b8
xor rax, rax
push rax
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400140f0
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400140f0
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.1400140f0
add rsp, 0x28
pop rax
add rsp, 0x48
ret