Function at 0x1800af690
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
xor r13d, r13d
mov qword [rbp - 0x49], r13
lea r8, [rbp - 0x49]
lea edx, [r13 + 0x11]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1800afe72
cmp qword [rbp - 0x49], r13
je 0x1800afe72
mov qword [rbp - 0x51], r13
lea rcx, [rbp - 0x51]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x1800afe5e
mov r9, qword [rbp - 0x51]
test r9, r9
je 0x1800afe5e
mov dword [rsp + 0x38], 1
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0xffffffffffff0000
xor r8d, r8d
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.1800af380
mov rdi, rax
mov rcx, qword [rsi + 0x68]
mov rax, qword [rcx]
mov r8d, 0x9d04
lea rdx, [rbp + 0xf]
call qword [rax + 0x20]
nop
lea r8, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae r8, qword [rbp + 0xf]
mov rdx, rdi
lea rcx, [rsi + 8]
call fcn.1800b3430
mov r8, rdi
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b0d40
nop
mov rdx, rax
lea rcx, [0x1804dd2f0]
call fcn.1800049e0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800af7d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800af7d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800af7d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
lea rdx, [0x1804dd2f0]
lea rcx, [rsi + 0xd8]
call fcn.1800b30d0
lea rcx, [rbp + 0xf]
cmp rax, rcx
je 0x1800af81f
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x1f]
mov rcx, rax
call fcn.180004ea0
mov qword [rbp - 0x59], r13
lea r8, [rbp - 0x59]
mov edx, 0x10
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1800afd83
cmp qword [rbp - 0x59], 0
je 0x1800afd83
mov dword [rsp + 0x38], 2
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdi
mov r9, qword [rbp - 0x51]
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.1800af380
mov rbx, rax
mov r8, rax
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b0d40
nop
mov rdx, rax
lea rcx, [0x1804dd310]
call fcn.1800049e0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800af8d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800af8d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800af8d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.180203b00
nop
lea rdx, [0x1804dd310]
lea rcx, [rsi + 0xd8]
call fcn.1800b30d0
lea rcx, [rbp - 0x31]
cmp rax, rcx
je 0x1800af92d
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
call fcn.180004ea0
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r8, qword [rbp - 0x31]
mov rdx, rbx
lea rcx, [rsi + 8]
call fcn.1800b3430
lea r8, [rbp - 0x59]
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1800afdd9
cmp qword [rbp - 0x59], 0
je 0x1800afdd9
mov dword [rsp + 0x38], 6
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov r9, qword [rbp - 0x51]
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.1800af380
mov r14, rax
mov r8, rax
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b0d40
nop
mov rdx, rax
lea rcx, [0x1804dd390]
call fcn.1800049e0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800af9fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800af9f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800af9f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.180203b00
mov rbx, rax
lea rax, [rbp - 0x31]
cmp rax, rbx
je 0x1800afa4e
lea rcx, [rbp - 0x31]
call fcn.180004e20
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800afa91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800afa8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800afa8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
lea rdx, [0x1804dd390]
lea rcx, [rsi + 0xd8]
call fcn.1800b30d0
lea rcx, [rbp - 0x31]
cmp rax, rcx
je 0x1800afad9
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
call fcn.180004ea0
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r8, qword [rbp - 0x31]
mov rdx, r14
lea rcx, [rsi + 8]
call fcn.1800b3430
lea r8, [rbp - 0x59]
mov edx, 0x27
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1800afdd9
cmp qword [rbp - 0x59], 0
je 0x1800afdd9
mov dword [rsp + 0x38], 5
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov r9, qword [rbp - 0x51]
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.1800af380
mov r14, rax
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.180203b00
mov rbx, rax
lea rax, [rbp - 0x31]
cmp rax, rbx
je 0x1800afb85
lea rcx, [rbp - 0x31]
call fcn.180004e20
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800afbc8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800afbc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800afbc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov r8, r14
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b0d40
nop
mov rdx, rax
lea rcx, [0x1804dd370]
call fcn.1800049e0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800afc3d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800afc38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800afc38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.180203b00
mov rbx, rax
lea rdx, [0x1804dd370]
lea rcx, [rsi + 0xd8]
call fcn.1800b30d0
mov rcx, rax
mov rdx, rbx
call fcn.1800049e0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800afcc1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800afcbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800afcbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r8, qword [rbp - 0x31]
mov rdx, r14
lea rcx, [rsi + 8]
call fcn.1800b3430
mov rcx, qword [rbp - 0x49]
call fcn.180203d10
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1800afd0c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
nop
mov r9, rdi
mov r8, qword [rbp - 0x49]
mov rdx, rbx
mov rcx, rsi
call fcn.1800aefb0
nop
test rbx, rbx
je 0x1800afd2e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1800afd71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800afd6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800afd6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r13w
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1800afd93
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1800afe4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800afe45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800afe45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1800afe1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800afe17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800afe17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r13w
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1800afe3d
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdi, r13
jmp 0x1800afd93
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], r13w
jmp 0x1800afe61
mov rdi, r13
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1800afe75
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1800afe75
mov rdi, r13
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1800afe84
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1803868f0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret