Function at 0x14008c620
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.14008d090
mov rsi, rax
or rbx, 0xffffffffffffffff
cmp rax, rbx
je 0x14008c7b6
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.14000c420
mov r14, rax
lea rax, [rsp + 0x28]
cmp rax, r14
je 0x14008c70a
cmp qword [rsp + 0x40], 8
jb 0x14008c6e8
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.140007a90
nop
cmp qword [rbp - 0x80], 8
jb 0x14008c71c
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 0x14008c82d
mov r9, rbx
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.14000c420
mov rdi, rax
lea rax, [rsp + 0x48]
cmp rax, rdi
je 0x14008c78f
cmp qword [rsp + 0x60], 8
jb 0x14008c76d
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.140007a90
nop
cmp qword [rbp - 0x80], 8
jb 0x14008c7a1
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 0x14008c82d
mov rcx, qword [rsp + 0x40]
cmp rcx, 1
jae 0x14008c7da
mov r8, qword [rsp + 0x38]
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140008570
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 0x14008c82d
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140007b20
cmp qword [rsp + 0x58], 0
jne 0x14008c84c
mov r8d, 3
lea rdx, [0x14015a418]
lea rcx, [rsp + 0x48]
call fcn.140007c60
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 0x14008c8d0
lea edx, [rax + 0x5c]
lea rcx, str..._file.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14008c899
inc rax
jmp 0x14008c8a0
lea rax, str..._file.cpp
mov rdx, rax
lea rcx, [0x1401e26e8]
call fcn.140005f30
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 0x14008c903
cmp word [rbp - 0x70], 0
jne 0x14008c8dc
mov rbx, r12
jmp 0x14008c8ea
lea rax, [rbp - 0x70]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14008c8e0
mov r8, rbx
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.140007c60
movabs rdi, 0x8000000000
cmp qword [rsp + 0x60], 8
jb 0x14008c916
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 0x14008c93d
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.1400f5ff0
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