Function at 0x140095a20
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r15, rdx
mov rdi, rcx
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], r12w
call fcn.140096490
mov rsi, rax
or rbx, 0xffffffffffffffff
cmp rax, rbx
je 0x140095bb6
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.14000c550
mov r14, rax
lea rax, [rsp + 0x28]
cmp rax, r14
je 0x140095b0a
cmp qword [rsp + 0x40], 8
jb 0x140095ae8
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.140007b30
nop
cmp qword [rbp - 0x80], 8
jb 0x140095b1c
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r12
mov word [rsp + 0x68], r12w
lea r8, [rsi + 1]
cmp r8, qword [rdi + 0x10]
jae 0x140095c2d
mov r9, rbx
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.14000c550
mov rdi, rax
lea rax, [rsp + 0x48]
cmp rax, rdi
je 0x140095b8f
cmp qword [rsp + 0x60], 8
jb 0x140095b6d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], r12w
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140007b30
nop
cmp qword [rbp - 0x80], 8
jb 0x140095ba1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r12
mov word [rsp + 0x68], r12w
jmp 0x140095c2d
mov rcx, qword [rsp + 0x40]
cmp rcx, 1
jae 0x140095bda
mov r8, qword [rsp + 0x38]
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.1400086b0
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x28]
cmp rcx, 8
cmovae rax, qword [rsp + 0x28]
mov ecx, MsiGetFeatureCostA
mov word [rax], cx
mov qword [rsp + 0x38], 1
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rax, qword [rsp + 0x28]
mov word [rax + 2], r12w
lea rax, [rsp + 0x48]
cmp rax, rdi
je 0x140095c2d
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140007bc0
cmp qword [rsp + 0x58], 0
jne 0x140095c4c
mov r8d, 3
lea rdx, [0x140174580]
lea rcx, [rsp + 0x48]
call fcn.140007d00
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
lea r9, [rbp - 0x70]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x140095cd0
lea edx, [rax + 0x5c]
lea rcx, str..._file.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140095c99
inc rax
jmp 0x140095ca0
lea rax, str..._file.cpp
mov rdx, rax
lea rcx, [0x140209428]
call fcn.140005ff0
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or rdi, rbx
movabs rax, 0x7d2500000000
or rdi, rax
jmp 0x140095d03
cmp word [rbp - 0x70], 0
jne 0x140095cdc
mov rbx, r12
jmp 0x140095cea
lea rax, [rbp - 0x70]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140095ce0
mov r8, rbx
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.140007d00
movabs rdi, 0x8000000000
cmp qword [rsp + 0x60], 8
jb 0x140095d16
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], r12w
cmp qword [rsp + 0x40], 8
jb 0x140095d3d
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140107280
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret