Function at 0x1400c2610
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x20], rax
movaps xmm0, xmmword [0x1402825c0]
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx], xmm0
lea rcx, str.TMPDIR
call fcn.14020ee04
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov rdx, rax
call fcn.1400343a0
mov rcx, rdi
mov edx, 2
call fcn.1400c1b50
test al, al
je 0x1400c26b2
lea rbx, [rsi + 0x18]
cmp byte [rsp + 0x67], 0
js 0x1400c269e
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
jmp 0x1400c26c4
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rcx, rsi
call fcn.1401ad2f0
jmp 0x1400c2696
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x20], 0
mov rcx, qword [rsp + 0x68]
call fcn.140071eb0
cmp byte [rsp + 0x67], 0
jns 0x1400c26df
mov rcx, qword [rsp + 0x50]
call fcn.1401ef41c
movsx rax, byte [rsi + 0x17]
test rax, rax
mov rcx, qword [rsi + 8]
mov r8, rax
cmovs r8, rcx
mov edx, eax
test r8, r8
je 0x1400c2985
test dl, dl
mov r8, rax
cmovs r8, rcx
test r8, r8
jne 0x1400c279d
lea rbx, [rsp + 0x50]
mov r8d, 0x105
mov rcx, rbx
mov rdx, rsi
call fcn.140082670
mov rax, qword [rbx + 8]
mov rdx, qword [rax]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov rax, qword [rax]
test rax, rax
lea rdx, [0x14029d4fc]
cmovne rdx, rax
call fcn.14004d7f0
mov rbx, qword [rbx + 8]
call fcn.1400ab720
cmp rbx, rax
je 0x1400c2793
mov rbx, qword [rsp + 0x58]
dec word [rbx + 0x10]
setne al
test rbx, rbx
sete cl
or cl, al
jne 0x1400c278e
cmp byte [rbx + 0x12], 1
jne 0x1400c2786
mov rcx, qword [rbx]
call fcn.140071eb0
mov rcx, rbx
call fcn.1401ef41c
call fcn.1400ab720
mov dl, byte [rsi + 0x17]
mov rcx, qword [rsi + 8]
movzx eax, dl
test dl, dl
cmovs rax, rcx
test rax, rax
je 0x1400c2956
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x70], 0
mov edx, 1
mov rcx, rdi
mov r8w, 0x5c
call fcn.1401ad770
mov edx, 1
mov rcx, rdi
mov r8w, 0x2f
call fcn.1401ad770
movsx rax, byte [rsp + 0x67]
test rax, rax
jns 0x1400c27fb
mov rax, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [0x1402e6408]
movsx rdx, byte [rsi + 0x17]
mov rcx, rsi
test rdx, rdx
jns 0x1400c2816
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi]
lea r8, [rbx + 1]
cmp rdx, rbx
cmovbe r8, rdx
lea r14, [rcx + r8*2]
cmp r14, rcx
je 0x1400c2915
add r14, 0xfffffffffffffffe
test rax, rax
je 0x1400c2854
movzx r8d, word [r14]
mov rdx, rdi
mov r9, rax
cmp word [rdx], r8w
je 0x1400c28fa
add rdx, 2
dec r9
jne 0x1400c2841
sub r14, rcx
sar r14, 1
mov rcx, qword [rsp + 0x68]
call fcn.140071eb0
cmp byte [rsp + 0x67], 0
jns 0x1400c2875
mov rcx, qword [rsp + 0x50]
call fcn.1401ef41c
cmp r14, rbx
jne 0x1400c2921
xorps xmm0, xmm0
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x20], 0
mov edx, 1
mov rcx, rdi
mov r8w, 0x5c
call fcn.1401ad770
mov edx, 1
mov rcx, rdi
mov r8w, 0x2f
call fcn.1401ad770
cmp byte [rdi + 0x17], 0
jns 0x1400c28c4
mov rdi, qword [rsp + 0x50]
movzx edi, word [rdi]
mov rcx, qword [rsp + 0x68]
call fcn.140071eb0
cmp byte [rsp + 0x67], 0
jns 0x1400c28e2
mov rcx, qword [rsp + 0x50]
call fcn.1401ef41c
cmp byte [rsi + 0x17], 0
js 0x1400c2908
mov byte [rsi + 0x17], 1
mov rax, rsi
mov word [rax], di
mov word [rax + 2], 0
jmp 0x1400c2965
test rdx, rdx
jne 0x1400c2825
jmp 0x1400c2854
mov rax, qword [rsi]
mov qword [rsi + 8], 1
jmp 0x1400c28ef
mov r14, 0xffffffffffffffff
jmp 0x1400c285a
lea rdx, [r14 + 1]
movsx rax, byte [rsi + 0x17]
mov rcx, rax
test rax, rax
jns 0x1400c2936
mov rcx, qword [rsi + 8]
cmp rcx, rdx
jb 0x1400c2bdb
cmp rbx, 0xffffffffffffffff
je 0x1400c2be3
mov rcx, rsi
mov r8, rbx
call fcn.1401ad910
jmp 0x1400c2965
lea rdx, [0x14029ec1d]
mov rcx, rsi
call fcn.140085190
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401f08b0
mov rax, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14029f22c]
call fcn.14020ee04
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rax
call fcn.1400343a0
mov rcx, rbx
mov edx, 2
call fcn.1400c1b50
test al, al
je 0x1400c2a00
cmp byte [rsp + 0x3f], 0
js 0x1400c29d7
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
jmp 0x1400c2a16
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1401ad2f0
jmp 0x1400c29cd
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
jmp 0x1400c2a47
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x70], 0
lea rbx, [rsp + 0x50]
cmp rbx, rsi
je 0x1400c2a47
cmp byte [rsi + 0x17], 0
movzx r8d, byte [rsp + 0x67]
js 0x1400c2b9d
test r8b, r8b
jns 0x1400c29ed
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rcx, rsi
call fcn.14004da20
mov rcx, qword [rsp + 0x68]
call fcn.140071eb0
cmp byte [rsp + 0x67], 0
jns 0x1400c2a62
mov rcx, qword [rsp + 0x50]
call fcn.1401ef41c
mov rcx, qword [rsp + 0x40]
call fcn.140071eb0
cmp byte [rsp + 0x3f], 0
jns 0x1400c2a7d
mov rcx, qword [rsp + 0x28]
call fcn.1401ef41c
movsx rax, byte [rsi + 0x17]
test rax, rax
mov rcx, qword [rsi + 8]
mov r8, rax
cmovs r8, rcx
mov edx, eax
test r8, r8
jne 0x1400c26fd
lea rcx, str.TEMP
call fcn.14020ee04
lea r14, [rsp + 0x28]
mov rcx, r14
mov rdx, rax
call fcn.1400343a0
mov rcx, r14
mov edx, 2
call fcn.1400c1b50
test al, al
je 0x1400c2b03
cmp byte [rsp + 0x3f], 0
js 0x1400c2aed
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
jmp 0x1400c2b19
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1401ad2f0
jmp 0x1400c2ae3
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x70], 0
cmp rbx, rsi
je 0x1400c2b45
cmp byte [rsi + 0x17], 0
movzx r8d, byte [rsp + 0x67]
js 0x1400c2bbc
test r8b, r8b
jns 0x1400c2b8a
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rcx, rsi
call fcn.14004da20
mov rcx, qword [rsp + 0x68]
call fcn.140071eb0
cmp byte [rsp + 0x67], 0
jns 0x1400c2b60
mov rcx, qword [rsp + 0x50]
call fcn.1401ef41c
mov rcx, qword [rsp + 0x40]
call fcn.140071eb0
cmp byte [rsp + 0x3f], 0
jns 0x1400c2b7b
mov rcx, qword [rsp + 0x28]
call fcn.1401ef41c
mov dl, byte [rsi + 0x17]
mov rcx, qword [rsi + 8]
movzx eax, dl
jmp 0x1400c26fd
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
jmp 0x1400c2b45
test r8b, r8b
cmovs r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
cmovns rdx, rbx
mov rcx, rsi
call fcn.14004d8c0
jmp 0x1400c2a47
test r8b, r8b
cmovs r8, qword [rsp + 0x58]
cmovs rbx, qword [rsp + 0x50]
mov rcx, rsi
mov rdx, rbx
call fcn.14004d8c0
jmp 0x1400c2b45
mov rcx, rsi
call fcn.140236f60
test al, al
js 0x1400c2bfd
and dl, 0x7f
mov byte [rsi + 0x17], dl
mov rax, rsi
mov word [rax + r14*2 + 2], 0
jmp 0x1400c2965
mov rax, qword [rsi]
mov qword [rsi + 8], rdx
jmp 0x1400c2bf0