Function at 0x18006cd70
Capabilities:
Get common file path

Disassembly:
jmp 0x18006cd70
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x528], rbx
mov rax, qword [0x1802678f8]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov dword [rsp + 0x60], r9d
mov rdi, r8
mov r13d, edx
mov rsi, rcx
lea r12, [rcx + 0x120]
mov qword [rsp + 0x48], r12
test r12, r12
je 0x18006cde3
mov rcx, r12
call qword [0x1802982a0]
mov r14b, 1
mov byte [rsp + 0x41], r14b
mov byte [rsp + 0x50], r14b
jmp 0x18006cdec
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x41], al
movzx eax, byte [rbp + 0x440]
mov byte [rsi + 0x255], al
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x42]
call fcn.180005c09
nop
xor ebx, ebx
cmp byte [rsp + 0x40], bl
jne 0x18006ce33
call qword [0x180298248]
mov r8d, eax
mov rdx, rdi
lea rcx, str.CLogger::Create_:_TI_failed_with_error__s____d
call fcn.18000a056
jmp 0x18006d18d
test rdi, rdi
jne 0x18006cf03
lea rdi, [0x18026aa20]
cmp byte [0x18026ab58], bl
jne 0x18006cf03
lea r8, [0x1801eeafc]
mov edx, 0x104
mov rcx, rdi
call fcn.18000550b
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x18006cefc
lea rcx, [rdi - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], bl
jne 0x18006ce82
movups xmm0, xmmword [0x1801fc108]
movups xmmword [rcx], xmm0
mov eax, dword [0x1801fc118]
mov dword [rcx + 0x10], eax
xor edx, edx
mov rcx, rdi
call qword [0x180298340]
lea rcx, [rdi - 1]
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], bl
jne 0x18006ceb0
movsd xmm0, qword [str.ShadowPlay]
movsd qword [rcx], xmm0
mov eax, dword [0x1801fc128]
mov dword [rcx + 8], eax
xor edx, edx
mov rcx, rdi
call qword [0x180298340]
lea rcx, [rdi - 1]
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], bl
jne 0x18006cee0
movups xmm0, xmmword [str.CaptureCore.log]
movups xmmword [rcx], xmm0
movzx eax, byte [0x1801fc140]
mov byte [rcx + 0x10], al
mov byte [0x18026ab58], 1
mov rcx, rsi
call fcn.180006b9f
mov rdx, rdi
mov rcx, rsi
call fcn.18000a85d
test eax, eax
je 0x18006d18d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
lea r14, [rsp + 0x68]
mov r9d, 0x1f01ff
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.1800075fe
test eax, eax
jns 0x18006cf74
call qword [0x180298248]
mov r8d, eax
mov rdx, rdi
lea rcx, str.CLogger::Create_:_CreateSA_failed___s_._Error__0x_x_
call fcn.18000a056
mov r14, rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov r9, r14
mov edx, 0x60004
mov r8d, 7
mov rcx, rdi
call qword [0x1802982f8]
mov qword [rsi + 8], rax
call qword [0x180298248]
mov dword [rsp + 0x44], eax
test r14, r14
je 0x18006cff1
mov dword [rsp + 0x5c], ebx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x58], ebx
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x5c]
mov rcx, qword [r14 + 8]
call qword [0x180298098]
test eax, eax
je 0x18006cfed
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18006cfed
call qword [0x1802983a0]
mov eax, dword [rsp + 0x44]
cmp qword [rsi + 8], 0xffffffffffffffff
jne 0x18006d015
call qword [0x180298248]
mov r8d, eax
mov rdx, rdi
lea rcx, str.CLogger::Create_:_Error_opening_log_file___s___Error__0x_x_
call fcn.18000a056
jmp 0x18006d18d
mov r9d, eax
lea r8, [rsi + 8]
mov rdx, rdi
mov rcx, rsi
call fcn.180007301
test eax, eax
jne 0x18006d038
mov rcx, rsi
call fcn.180006b9f
jmp 0x18006d18d
lea rcx, [rsi + 0x150]
mov r8, rdi
mov edx, 0x104
call fcn.18000550b
lea rdi, [rsi + 0x1c]
test rdi, rdi
je 0x18006d0f0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1c0]
call fcn.180005f33
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.180005f33
mov r8d, 0x104
lea rdx, [rbp - 0x50]
xor ecx, ecx
call qword [0x180298388]
mov edx, 0x5c
lea rcx, [rbp - 0x50]
call fcn.18000137a
test rax, rax
je 0x18006d0bf
lea r8, [rax + 2]
mov edx, 0x104
mov r9, 0xffffffffffffffff
lea rcx, [rbp + 0x1c0]
call fcn.180003463
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rdi
mov r9d, 0xffffffff
lea r8, [rbp + 0x1c0]
xor edx, edx
mov ecx, 0xfde9
call qword [0x1802982f0]
lea r15, str.setup.exe
nop word [rax + rax]
movsxd rax, ebx
imul r14, rax, 0x64
lea rdx, [r14 + r15]
mov rcx, rdi
call fcn.1800098ae
test eax, eax
je 0x18006d120
inc ebx
cmp ebx, 7
jb 0x18006d100
jmp 0x18006d13b
lea r8, [r15 + 0x32]
add r8, r14
mov edx, 0x104
mov r9, 0xffffffffffffffff
mov rcx, rdi
call fcn.18000b3d9
mov edx, 0x2e
mov rcx, rdi
call fcn.180005038
mov rbx, rax
test rax, rax
je 0x18006d168
call qword [0x180298258]
mov r8d, eax
lea rdx, [0x1801fc450]
mov rcx, rbx
call fcn.18000627b
mov eax, dword [rsp + 0x60]
mov dword [rsi + 0x14], eax
cmp r13d, 0xffffffff
je 0x18006d17b
cmp r13d, 0xa
jbe 0x18006d181
mov r13d, 6
mov dword [rsi + 0x14c], r13d
mov ebx, 1
call qword [0x180298378]
mov qword [rsp + 0x48], rax
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [0x180298068]
test eax, eax
je 0x18006d1bb
call qword [0x1802980b0]
mov rcx, qword [rsp + 0x48]
call qword [0x180298278]
nop
test r12, r12
je 0x18006d1d0
cmp byte [rsp + 0x41], 0
je 0x18006d1d0
mov rcx, r12
call qword [0x1802982a8]
mov eax, ebx
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.180003008
mov rbx, qword [rsp + 0x528]
add rsp, 0x4e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret