Function at 0x180062170
Capabilities:
Get common file path

Disassembly:
jmp 0x180062170
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x368]
sub rsp, 0x440
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov rbx, rcx
xor r12d, r12d
mov qword [rsp + 0x40], r12
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x18010c3a0]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov edi, eax
test eax, eax
jns 0x180062205
lfence
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x1800621fe
mov r8d, eax
lea rdx, str.NvRtmpStreamerSink::Initialize:_SHGetKnownFolderPath_failed.HRESULT__0x_08X
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov eax, edi
jmp 0x1800627ab
movdqa xmm0, xmmword [0x1801048d0]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r12w
mov rdx, qword [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x180062230
lea rcx, [rbp + 0x80]
call fcn.18000286f
nop
lea r8, str.NVIDIA_CorporationNvContainerlibcrypto_1_1.dll
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x100]
call fcn.1800054e3
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x1800622a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800622a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800627dc
call fcn.180001bf4
movdqa xmm0, xmmword [0x1801048d0]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r12w
movdqu xmmword [rbp + 0xf0], xmm0
mov word [rbp + 0xe0], r12w
mov rdx, qword [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800622e0
lea rcx, [rbp + 0xe0]
call fcn.18000286f
nop
lea r8, str.NVIDIA_CorporationNvContainerlibssl_1_1.dll
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0xc0]
call fcn.1800054e3
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 8
jb 0x180062359
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180062354
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800627e2
call fcn.180001bf4
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x120]
call fcn.180003a85
lea rax, str.NvRtmpStreamer64.dll
mov qword [rsp + 0x30], rax
lea rax, str.NVIDIA_CorporationShadowPlay
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, str._s_s_s
mov edx, 0x104
mov r8, 0xffffffffffffffff
lea rcx, [rbp + 0x120]
call fcn.180002bfd
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x40], r12
lea rcx, [rbp + 0x100]
cmp qword [rbp + 0x118], 8
cmovae rcx, qword [rbp + 0x100]
xor edx, edx
lea r8d, [rdx + 1]
call fcn.180002806
mov r15, rax
mov rcx, qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x180062432
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180062428
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.NvRtmpStreamerSink::Initialize_:_Cannot_preload_libcrypto_dependency_status0x_x
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov ebx, 0x80004005
jmp 0x1800626fa
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 8
cmovae rcx, qword [rbp + 0xc0]
xor edx, edx
lea r8d, [rdx + 1]
call fcn.180002806
mov rsi, rax
mov rcx, qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x1800624aa
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x1800625ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.NvRtmpStreamerSink::Initialize_:_Cannot_preload_libssl_dependency_status0x_x
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov ebx, 0x80004005
jmp 0x1800626eb
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rbp + 0x120]
call fcn.180002806
nop
mov rcx, qword [rbx + 0x5a0]
mov qword [rbx + 0x5a0], rax
test rcx, rcx
je 0x1800624d7
call qword [rbx + 0x598]
nop
cmp qword [rbx + 0x5a0], 0
jne 0x180062525
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x1800625ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rbp + 0x120]
lea rdx, str.NvRtmpStreamerSink::Initialize_:Could_not_Load_NvRtmpStreamer.dll_from_path:____s_status0x_x
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov ebx, 0x80004005
jmp 0x1800626eb
cmp byte [0x180135076], 0
je 0x180062550
xor edx, edx
lea rcx, [rbp + 0x120]
call fcn.180003b8e
movzx ecx, byte [0x180135076]
test rax, rax
cmovne ecx, r12d
mov byte [0x180135076], cl
lea rdx, str.NvCreateRTMP
mov rcx, qword [rbx + 0x5a0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x5a8], rax
test rax, rax
jne 0x1800625c4
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x1800625a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.NvRtmpStreamerSink::Initialize_:_NvCreateRTMP_GetProcAddressFailed__status0x_x
lea rcx, vtable.CLogger.0
call fcn.1800024fa
nop
mov rcx, qword [rbx + 0x5a0]
mov qword [rbx + 0x5a0], r12
test rcx, rcx
je 0x1800625ba
call qword [rbx + 0x598]
nop
mov ebx, 0x80004005
jmp 0x1800626eb
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xb8], 0xf
mov byte [rbp + 0xa0], 0
mov r8d, 0x18
lea rdx, str.NvRtmpStreamerSink_begin
lea rcx, [rbp + 0xa0]
call fcn.180003abc
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x70]
call fcn.180003a85
lea rdx, [rbp + 0xa0]
mov rdi, qword [rbp + 0xa0]
mov r14, qword [rbp + 0xb8]
cmp r14, 0x10
cmovae rdx, rdi
mov r8, qword [rbp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.180004de5
lea rcx, [rsp + 0x70]
call qword [rbx + 0x5a8]
test eax, eax
je 0x180062678
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180062676
mov r9, qword [rbp + 0x70]
lea r8, [rsp + 0x70]
lea rdx, str.NvRtmpStreamerSink::Initialize:_message_____s_rtmp0x_x
lea rcx, vtable.CLogger.0
call fcn.1800024fa
nop
jmp 0x180062688
mov rax, qword [rbp + 0x70]
mov qword [rbx + 0x5b0], rax
test rax, rax
jne 0x1800626a9
mov rcx, qword [rbx + 0x5a0]
test rcx, rcx
mov qword [rbx + 0x5a0], r12
je 0x1800626a2
call qword [rbx + 0x598]
nop
mov ebx, 0x80004005
jmp 0x1800626b3
mov dword [rbx + 0x5c4], r12d
mov ebx, r12d
cmp r14, 0x10
jb 0x1800626eb
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800626e2
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800627e8
mov rcx, rdi
call fcn.180001bf4
nop
test rsi, rsi
je 0x1800626fa
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
test r15, r15
je 0x180062709
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 8
jb 0x18006274f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006274a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800627ee
call fcn.180001bf4
movdqa xmm0, xmmword [0x1801048d0]
movdqu xmmword [rbp + 0xd0], xmm0
mov word [rbp + 0xc0], r12w
mov rdx, qword [rbp + 0x118]
cmp rdx, 8
jb 0x1800627a9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800627a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800627d6
call fcn.180001bf4
mov eax, ebx
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.180002397
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.180002d92
nop
call fcn.180002d92
nop
call fcn.180002d92
nop
call fcn.180002d92
nop
call fcn.180002d92
int3