Function at 0x1400190a4
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x140035008]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov r15, r9
mov r12, r8
mov qword [rsp + 0x80], rdx
mov rdi, rcx
xor r13d, r13d
cmp byte [rcx + 0x50], r13b
je 0x140019160
lea rax, str.SH_ErrorCode
mov qword [rsp + 0x50], rax
mov ebx, 0x80004004
lea rax, [0x140027ea8]
mov qword [rsp + 0x48], rax
lea rax, [0x140027e80]
mov qword [rsp + 0x60], rax
lea rcx, [0x1400291f0]
mov qword [rsp + 0x68], rcx
lea rcx, str.__HRESULT_0x80004004L_
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov ecx, 0x130825a
lea r9, str.Initialize
mov word [rsp + 0x78], r13w
mov word [rsp + 0x5c], r13w
mov dword [rsp + 0x58], ebx
call fcn.140009b50
mov eax, ebx
jmp 0x140019374
lea rax, [0x140028ff4]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.1400062cc
lea rdx, [rsp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14001919e
lea rcx, [rdi + 0x18]
lea rdx, [rsp + 0x90]
call fcn.140008488
lea rcx, [rsp + 0x40]
call fcn.140006210
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
lea rcx, [rdi + 0x20]
call fcn.140008488
lea rcx, [rbx - 0xc]
cmp dword [rcx + 4], r13d
je 0x1400191db
cmp dword [rcx], 1
je 0x1400191d4
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400191db
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1110]
nop
mov rdx, qword [rdi + 0x20]
lea rcx, [rdi + 0x10]
call fcn.140009d58
mov ebx, eax
test eax, eax
jns 0x140019248
lea rax, str.SH_ErrorCode
mov qword [rsp + 0x50], rax
lea rax, [0x140027ea8]
mov qword [rsp + 0x48], rax
lea rax, [0x140027e80]
mov qword [rsp + 0x60], rax
lea rcx, [0x1400291f0]
mov qword [rsp + 0x68], rcx
lea rax, str.m_bstrTempFile.Append_m_tempFile.GetName___
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov ecx, 0x130825b
jmp 0x14001913d
lea rsi, [rdi + 8]
mov r15, qword [r15]
mov r12, qword [r12]
mov r14, qword [rdi + 0x10]
mov r13, qword [rdi]
xor edx, edx
test rsi, rsi
jne 0x14001926b
mov edi, 0x80004003
jmp 0x1400192ed
mov qword [rsi], rdx
mov qword [rsp + 0x40], rdx
lea rcx, [rsp + 0x40]
call fcn.140010318
mov edi, eax
xor edx, edx
test eax, eax
js 0x1400192ed
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14001929f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140026788]
mov rax, qword [rbx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r12
mov r9, r14
mov r8, qword [rsp + 0x80]
mov rdx, r13
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x140026788]
mov edi, eax
xor edx, edx
test eax, eax
jns 0x1400192e8
test rbx, rbx
je 0x1400192ed
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [0x140026788]
xor edx, edx
jmp 0x1400192ed
mov qword [rsi], rbx
mov edi, edx
test edi, edi
jns 0x140019364
lea rax, str.SH_ErrorCode
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], edi
mov word [rsp + 0x5c], dx
lea rax, [0x140027ea8]
mov qword [rsp + 0x48], rax
lea rax, [0x140027e80]
mov qword [rsp + 0x60], rax
lea rcx, [0x1400291f0]
mov qword [rsp + 0x68], rcx
lea rax, str.CreateScreenRecorder_m_spScreenRecorderCallback__rcScreenRecordingArea__m_bstrTempFile__audioCaptureDevice__audioRenderDevice__m_spScreenRecorder_
mov qword [rsp + 0x70], rax
mov word [rsp + 0x78], dx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.Initialize
mov ecx, 0x130825c
call fcn.140009b50
mov eax, edi
jmp 0x140019374
xor eax, eax
jmp 0x140019374
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400237c0
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret