Function at 0x1400c3750
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push r12
push r15
lea rbp, [rsp - 0x3c8]
sub rsp, 0x4c8
mov rax, qword [0x140277eb8]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r15, rcx
xor r12d, r12d
mov ebx, r12d
lea rcx, [rbp + 0x1a0]
xor edx, edx
mov dword [rsp + 0x60], ebx
mov r8d, 0x20a
call fcn.1401872d0
lea rax, [rbp + 0x1a0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r12 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x1400c3809
call sub.libcef.dll_cef_get_min_log_level
cmp eax, 1
jg 0x1400c37f4
lea r9d, [r12 + 1]
lea r8d, [r12 + 0x69]
lea rdx, str.D:uworkspace03_27cefwinauto_srcoffscreen_renderer_shadowplay_wrapper.cpp
lea rcx, [rbp - 0x68]
call fcn.1400c64e0
lea rdx, str.Unable_to_get_dll_path
lea rcx, [rax + 8]
call fcn.1400025c0
mov ebx, 1
test bl, 1
je 0x1400c3802
lea rcx, [rbp - 0x68]
call fcn.1400c6840
xor al, al
jmp 0x1400c3ee6
mov qword [rsp + 0x500], rdi
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x4c0], r14
call fcn.140018fc0
lea rdx, str.nvspapi64.dll
lea rcx, [rsp + 0x68]
call fcn.140018fc0
mov r14, qword [rsp + 0x70]
test r14, r14
je 0x1400c3876
mov r8, qword [r14 + 8]
test r8, r8
je 0x1400c3876
mov rdx, qword [r14]
lea rcx, [rbp + 0x118]
movdqa xmm0, xmmword [0x14020b430]
movdqu xmmword [rbp + 0x128], xmm0
mov word [rbp + 0x118], r12w
call fcn.1400258a0
jmp 0x1400c388e
movdqa xmm0, xmmword [0x14020b430]
movdqu xmmword [rbp + 0x128], xmm0
mov word [rbp + 0x118], r12w
lea rdx, str.ShadowPlay_
lea rcx, [rsp + 0x48]
call fcn.140018fc0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400c38da
mov r8, qword [rdx + 8]
test r8, r8
je 0x1400c38da
mov rdx, qword [rdx]
lea rcx, [rbp + 0xf8]
movdqa xmm0, xmmword [0x14020b430]
movdqu xmmword [rbp + 0x108], xmm0
mov word [rbp + 0xf8], r12w
call fcn.1400258a0
jmp 0x1400c38f2
movdqa xmm0, xmmword [0x14020b430]
movdqu xmmword [rbp + 0x108], xmm0
mov word [rbp + 0xf8], r12w
lea rdx, str.NVIDIA_Corporation_
lea rcx, [rsp + 0x30]
call fcn.140018fc0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400c393e
mov r8, qword [rdx + 8]
test r8, r8
je 0x1400c393e
mov rdx, qword [rdx]
lea rcx, [rbp + 0xd8]
movdqa xmm0, xmmword [0x14020b430]
movdqu xmmword [rbp + 0xe8], xmm0
mov word [rbp + 0xd8], r12w
call fcn.1400258a0
jmp 0x1400c3956
movdqa xmm0, xmmword [0x14020b430]
movdqu xmmword [rbp + 0xe8], xmm0
mov word [rbp + 0xd8], r12w
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x1400c3991
mov r8, qword [rdi + 8]
test r8, r8
je 0x1400c3991
mov rdx, qword [rdi]
lea rcx, [rbp + 0xb8]
movdqa xmm0, xmmword [0x14020b430]
movdqu xmmword [rbp + 0xc8], xmm0
mov word [rbp + 0xb8], r12w
call fcn.1400258a0
jmp 0x1400c39a9
movdqa xmm0, xmmword [0x14020b430]
movdqu xmmword [rbp + 0xc8], xmm0
mov word [rbp + 0xb8], r12w
lea r8, [rbp + 0xd8]
mov qword [rsp + 0x4f8], rsi
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x178]
call fcn.140047ff0
mov rdx, rax
lea r8, [rbp + 0xf8]
lea rcx, [rbp + 0x158]
call fcn.140047ff0
mov rdx, rax
lea r8, [rbp + 0x118]
lea rcx, [rbp + 0x138]
call fcn.140047ff0
mov rdx, qword [rbp + 0x170]
cmp rdx, 8
jb 0x1400c3a3d
mov rcx, qword [rbp + 0x158]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3a38
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3f09
call fcn.140156f20
mov rdx, qword [rbp + 0x190]
movdqa xmm0, xmmword [0x14020b430]
mov word [rbp + 0x158], r12w
movdqu xmmword [rbp + 0x168], xmm0
cmp rdx, 8
jb 0x1400c3a9b
mov rcx, qword [rbp + 0x178]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3a96
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3f09
call fcn.140156f20
mov rdx, qword [rbp + 0xd0]
movdqa xmm0, xmmword [0x14020b430]
mov word [rbp + 0x178], r12w
movdqu xmmword [rbp + 0x188], xmm0
cmp rdx, 8
jb 0x1400c3af9
mov rcx, qword [rbp + 0xb8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3af4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3f09
call fcn.140156f20
mov rdx, qword [rbp + 0xf0]
movdqa xmm0, xmmword [0x14020b430]
mov word [rbp + 0xb8], r12w
movdqu xmmword [rbp + 0xc8], xmm0
cmp rdx, 8
jb 0x1400c3b57
mov rcx, qword [rbp + 0xd8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3b52
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3f09
call fcn.140156f20
mov rcx, qword [rsp + 0x38]
lea rsi, [0x140208820]
movdqa xmm0, xmmword [0x14020b430]
mov word [rbp + 0xd8], r12w
mov qword [rsp + 0x30], rsi
movdqu xmmword [rbp + 0xe8], xmm0
test rcx, rcx
je 0x1400c3ba8
cmp byte [rsp + 0x40], bl
je 0x1400c3b9f
call sub.libcef.dll_cef_string_utf16_clear
mov rcx, qword [rsp + 0x38]
mov edx, SafeArrayPutElement
call fcn.140156f20
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x40], bl
mov rdx, qword [rbp + 0x110]
cmp rdx, 8
jb 0x1400c3bee
mov rcx, qword [rbp + 0xf8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3be9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3f09
call fcn.140156f20
mov rcx, qword [rsp + 0x50]
movdqa xmm0, xmmword [0x14020b430]
mov word [rbp + 0xf8], r12w
mov qword [rsp + 0x48], rsi
movdqu xmmword [rbp + 0x108], xmm0
test rcx, rcx
je 0x1400c3c38
cmp byte [rsp + 0x58], bl
je 0x1400c3c2f
call sub.libcef.dll_cef_string_utf16_clear
mov rcx, qword [rsp + 0x50]
mov edx, SafeArrayPutElement
call fcn.140156f20
mov qword [rsp + 0x50], r12
mov byte [rsp + 0x58], bl
mov rdx, qword [rbp + 0x130]
cmp rdx, 8
jb 0x1400c3c7e
mov rcx, qword [rbp + 0x118]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3c79
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3f09
call fcn.140156f20
cmp qword [rbp + 0x150], 8
lea rcx, [rbp + 0x138]
cmovae rcx, qword [rbp + 0x138]
xor edx, edx
lea r8d, [rdx + 1]
call fcn.1400a0370
mov rcx, qword [r15]
mov qword [rcx], rax
mov rcx, qword [r15]
cmp qword [rcx], rbx
jne 0x1400c3cef
call sub.libcef.dll_cef_get_min_log_level
cmp eax, 1
jg 0x1400c3ce7
mov r9d, 1
lea rdx, str.D:uworkspace03_27cefwinauto_srcoffscreen_renderer_shadowplay_wrapper.cpp
lea rcx, [rbp - 0x68]
lea r8d, [r9 + 0x75]
call fcn.1400c64e0
lea rdx, str.Not_able_to_load_ShadowPlay2_dll
lea rcx, [rax + 8]
call fcn.1400025c0
mov ebx, 2
test bl, 2
jmp 0x1400c3e1f
lea rax, [rcx + 8]
mov dword [rbp + 0x9c], 0x10008
xorps xmm0, xmm0
mov qword [rbp + 0xb0], rax
movdqu xmmword [rbp + 0xa0], xmm0
mov dword [rbp + 0x98], 0x10020
lea rdx, str.CreateOverlayApiInterface
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400c3d71
call sub.libcef.dll_cef_get_min_log_level
cmp eax, 1
jg 0x1400c3d69
mov r9d, 1
lea rdx, str.D:uworkspace03_27cefwinauto_srcoffscreen_renderer_shadowplay_wrapper.cpp
mov r8d, 0x83
lea rcx, [rbp - 0x68]
call fcn.1400c64e0
lea rdx, str.Error_getting_address_of_CreateOverlayApiInterface
lea rcx, [rax + 8]
call fcn.1400025c0
mov ebx, 4
test bl, 4
jmp 0x1400c3e1f
lea rcx, [rbp + 0x98]
call rax
mov esi, eax
test eax, eax
jne 0x1400c3dd7
mov rcx, qword [r15]
cmp qword [rcx + 8], rbx
je 0x1400c3dd7
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x1400c3dc0
xor r9d, r9d
lea rdx, str.D:uworkspace03_27cefwinauto_srcoffscreen_renderer_shadowplay_wrapper.cpp
mov r8d, 0x8e
lea rcx, [rbp - 0x68]
call fcn.1400c64e0
lea rdx, str._Initialize_shadowplay2_success
lea rcx, [rax + 8]
call fcn.1400025c0
mov ebx, 0x10
test bl, 0x10
je 0x1400c3dce
lea rcx, [rbp - 0x68]
call fcn.1400c6840
mov byte [r15 + 8], 1
mov bl, 1
jmp 0x1400c3e2c
call sub.libcef.dll_cef_get_min_log_level
cmp eax, 1
jg 0x1400c3e1c
mov r9d, 1
lea rdx, str.D:uworkspace03_27cefwinauto_srcoffscreen_renderer_shadowplay_wrapper.cpp
mov r8d, 0x8a
lea rcx, [rbp - 0x68]
call fcn.1400c64e0
lea rdx, str.Error_calling_CreateOverlayApiInterface_
lea rcx, [rax + 8]
call fcn.1400025c0
mov rcx, rax
mov edx, esi
call fcn.1400503b0
mov ebx, 8
test bl, 8
je 0x1400c3e2a
lea rcx, [rbp - 0x68]
call fcn.1400c6840
xor bl, bl
mov rdx, qword [rbp + 0x150]
cmp rdx, 8
jb 0x1400c3e72
mov rcx, qword [rbp + 0x138]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3e6d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3f03
call fcn.140156f20
movdqa xmm0, xmmword [0x14020b430]
mov word [rbp + 0x138], r12w
movdqu xmmword [rbp + 0x148], xmm0
test r14, r14
je 0x1400c3eab
cmp byte [rsp + 0x78], r12b
je 0x1400c3eab
mov rcx, r14
call sub.libcef.dll_cef_string_utf16_clear
mov edx, SafeArrayPutElement
mov rcx, r14
call fcn.140156f20
test rdi, rdi
je 0x1400c3ecb
cmp byte [rbp - 0x70], r12b
je 0x1400c3ecb
mov rcx, rdi
call sub.libcef.dll_cef_string_utf16_clear
mov edx, SafeArrayPutElement
mov rcx, rdi
call fcn.140156f20
mov rsi, qword [rsp + 0x4f8]
movzx eax, bl
mov rdi, qword [rsp + 0x500]
mov r14, qword [rsp + 0x4c0]
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140156fc0
add rsp, 0x4c8
pop r15
pop r12
pop rbx
pop rbp
ret
call fcn.1401953dc
int3
call fcn.1401953dc
int3