Function at 0x1400962c0
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.140096d30
mov rsi, rax
or rbx, 0xffffffffffffffff
cmp rax, rbx
je 0x140096456
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.14000c580
mov r14, rax
lea rax, [rsp + 0x28]
cmp rax, r14
je 0x1400963aa
cmp qword [rsp + 0x40], 8
jb 0x140096388
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 0x1400963bc
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 0x1400964cd
mov r9, rbx
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.14000c580
mov rdi, rax
lea rax, [rsp + 0x48]
cmp rax, rdi
je 0x14009642f
cmp qword [rsp + 0x60], 8
jb 0x14009640d
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 0x140096441
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 0x1400964cd
mov rcx, qword [rsp + 0x40]
cmp rcx, 1
jae 0x14009647a
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 0x1400964cd
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140007bc0
cmp qword [rsp + 0x58], 0
jne 0x1400964ec
mov r8d, 3
lea rdx, [0x140176680]
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 0x140096570
lea edx, [rax + 0x5c]
lea rcx, str..._file.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140096539
inc rax
jmp 0x140096540
lea rax, str..._file.cpp
mov rdx, rax
lea rcx, [0x14020c428]
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 0x1400965a3
cmp word [rbp - 0x70], 0
jne 0x14009657c
mov rbx, r12
jmp 0x14009658a
lea rax, [rbp - 0x70]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140096580
mov r8, rbx
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.140007d00
movabs rdi, 0x8000000000
cmp qword [rsp + 0x60], 8
jb 0x1400965b6
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 0x1400965dd
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.140108d90
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