Function at 0x180018a30
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1801610c0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
cmp byte [0x18016c1c0], 1
je 0x180018a80
xor al, al
jmp 0x180018ca1
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x180018ab7
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4023
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x180018cd1
lea rdx, [rbp - 0x50]
lea rcx, [0x18016c1a0]
call fcn.180038970
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
lea rdx, str.NvidiaLogging_
lea rcx, [0x18016c1a0]
call fcn.180029ad0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.1800164c0
nop
mov ecx, 0x18
call fcn.180091eb0
mov r12, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
xor r13d, r13d
mov qword [rax], r13
mov qword [rax + 8], r13
call fcn.18000da60
mov qword [r12], rax
mov dword [r12 + 0x10], 6
mov qword [rsp + 0x58], r12
mov ecx, 0x248
call fcn.180091eb0
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.180022400
mov r14, rax
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
lea rdx, str.DebugOutputLogManager
lea rcx, [rsp + 0x70]
call fcn.180038970
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x70]
call fcn.1800187c0
mov rsi, rax
mov rdi, rax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x70]
call fcn.1800389f0
test rdi, rdi
je 0x180018bc4
mov edi, r13d
mov qword [rsp + 0x50], r13
mov rcx, qword [r14]
mov rbx, qword [rcx + 8]
mov rcx, rbx
call qword [fcn.180001d00]
mov rdx, rsi
mov rcx, r14
call rbx
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
lea rdx, str.FileLogManager
lea rcx, [rsp + 0x70]
call fcn.180038970
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x70]
call fcn.1800187c0
mov r15, rax
mov rbx, rax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x70]
call fcn.1800389f0
test rbx, rbx
je 0x180018c38
mov rbx, r13
mov qword [rsp + 0x30], rbx
mov rcx, qword [r14]
mov rsi, qword [rcx + 8]
mov rcx, rsi
call qword [fcn.180001d00]
mov rdx, r15
mov rcx, r14
call rsi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r14
lea rdx, [rsp + 0x38]
call fcn.180022670
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
test rbx, rbx
je 0x180018c76
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rcx, rsi
call qword [fcn.180001d00]
mov edx, 1
mov rcx, rbx
call rsi
nop
test rdi, rdi
je 0x180018c96
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.180001d00]
mov edx, 1
mov rcx, rdi
call rbx
nop
lea rcx, [rbp - 0x70]
call fcn.1800389f0
mov al, 1
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1800916f0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, str.Cannot_set_logging_location
lea rcx, [rsp + 0x38]
call fcn.180035d70
lea rdx, [0x18015ddd0]
lea rcx, [rsp + 0x38]
call fcn.1800b2060
int3